diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index cc103b98..ba9cf491 100644
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 664aaca5-a41f-4434-8f2a-642dba92fe68
management:
- docChecksum: 91d38b9d4b28ef9b1b98e10a0b5a7371
+ docChecksum: 00e5ac498ff962a54ae07ba16fd250d1
docVersion: 0.9.0
- speakeasyVersion: 1.686.0
- generationVersion: 2.796.1
- releaseVersion: 0.13.20
- configChecksum: ecbd235044d6f8e1d9e77ed003fa9e63
+ speakeasyVersion: 1.695.0
+ generationVersion: 2.799.0
+ releaseVersion: 0.13.21
+ configChecksum: 5487a4bf59dda29c2ee7fcac1e1e674c
repoURL: https://github.com/gleanwork/api-client-typescript.git
installationURL: https://github.com/gleanwork/api-client-typescript
published: true
persistentEdits:
- generation_id: a2225486-f26b-450c-9ff5-a10d36926e2e
- pristine_commit_hash: d9239460b32c64c23b65a0112a68436ef66c6a7c
- pristine_tree_hash: 114771b136c5bfa38aec79a2b240e15e8415e5ce
+ generation_id: 8a92758a-577d-4495-860f-a6df360fcf01
+ pristine_commit_hash: f1f33a03c0c050e1817b8fde2cd5b6a2114cfa10
+ pristine_tree_hash: 32e18c73cfe380bc2c7f9bb3b548b90759e5657a
features:
typescript:
additionalDependencies: 0.1.0
@@ -34,11 +34,11 @@ features:
groups: 2.81.3
mockServer: 0.1.1
nameOverrides: 2.81.2
- reactQueryHooks: 0.2.3
+ reactQueryHooks: 0.2.4
responseFormat: 0.2.3
retries: 2.83.0
sdkHooks: 0.4.0
- tests: 0.17.3
+ tests: 0.17.4
unions: 2.86.3
uploadStreams: 0.1.0
trackedFiles:
@@ -1316,8 +1316,8 @@ trackedFiles:
pristine_git_object: 5e11e426a9138cd4648f0ac0528eca388b9d6451
docs/models/components/gleandataerror.md:
id: bf50c64232db
- last_write_checksum: sha1:d3819a6a6cb1e858ab9a67d2fe529edad5cee1f9
- pristine_git_object: 2557db958c4142f535f6e0bdabba0522756a96a7
+ last_write_checksum: sha1:69b9d9721c7fcd8bc982f620450a253db7c8a01e
+ pristine_git_object: 66283a675e5815db2bf2747200263287eb53bc76
docs/models/components/grantpermission.md:
id: 8d9a22466ab1
last_write_checksum: sha1:228eedbc040c547861f86c4e31e05deaa9ad7222
@@ -1408,8 +1408,8 @@ trackedFiles:
pristine_git_object: 7e5d5893d25765e9f9ea059729f7b555c4d01729
docs/models/components/inputoptions.md:
id: 62e10ac3918a
- last_write_checksum: sha1:9a3475e07ed61dc253db42a1df968646bddf0104
- pristine_git_object: bc8225cb69196e26888b1e45e37b5b991d81d1fa
+ last_write_checksum: sha1:686ae8239db0da6ed907e096123cf203801f9aa6
+ pristine_git_object: 07a118c22a24ca6857b27e6f47dea675572320db
docs/models/components/inputoptionstimeperiodtype.md:
id: ab93d14b3df5
last_write_checksum: sha1:b1900f86d47a2ddd8d66ce8f7e531fc1411da095
@@ -2168,8 +2168,8 @@ trackedFiles:
pristine_git_object: a3fee4b342caf989e8ff76b33598f7dbb9073172
docs/models/components/ugctype.md:
id: 40fa5e032f80
- last_write_checksum: sha1:7625401deb4e2b88c8a551e3b21f0727ff22485e
- pristine_git_object: c8739a4a55d0f468c75233df44bb3e33bc2504e7
+ last_write_checksum: sha1:e7599c1a01bc68df0dd3a9f756f056f22d5463f8
+ pristine_git_object: e22e1b6559d76fcd640e3a049360dc7c5cc01db5
docs/models/components/uiconfig.md:
id: 755fbd873311
last_write_checksum: sha1:e4c21e972dd18f962b16321f2f7f61eaf1617cd5
@@ -2364,36 +2364,88 @@ trackedFiles:
pristine_git_object: f298635a2ec82acebc10d5ad6c2f3f89b43b010e
docs/models/errors/gleandataerror.md:
id: 96ba1a8dd7a2
- last_write_checksum: sha1:5397a9c3e33cd1ac2ba863a11824ac48e3c7f059
- pristine_git_object: 6bd75d9056f711eb6da04384bc0e360fe3dc4e5a
+ last_write_checksum: sha1:f9f1f67b22b2b6fa22c5b14a0ec34398233dbf65
+ pristine_git_object: 3c5ffc6c63530a3a37d1dacf5c3d7857ff18dd7e
+ docs/models/operations/addcollectionitemsrequest.md:
+ id: f81175bea05e
+ last_write_checksum: sha1:40c047c7aca4aedb681a36f3e47f6b166a5187a6
+ pristine_git_object: 2afe6959a35ec1362233c2a3e30d41617aed328a
+ docs/models/operations/addverificationreminderrequest.md:
+ id: 70ff55eddfd0
+ last_write_checksum: sha1:872b46ec563a1d90ed0faabf042b71e571d1f9df
+ pristine_git_object: ed0d312791795bcd36537f2047f155aab32e266b
+ docs/models/operations/adminsearchrequest.md:
+ id: 159181bacf5b
+ last_write_checksum: sha1:87cf10cbca7b8f65b21175a2b019f6a324787bd4
+ pristine_git_object: 3e279e6b6e3de63030d95f32211d812d8f5567fb
+ docs/models/operations/autocompleterequest.md:
+ id: 752ede2ff9a7
+ last_write_checksum: sha1:16ced18832ed83bcdb1a7900464633988f30bdd2
+ pristine_git_object: 62f6baa1612102f99e7ddd4f7c40f633d1659f49
docs/models/operations/chatrequest.md:
id: 8e579d3afd63
- last_write_checksum: sha1:7cec0858840d0fe0f38f7a1bcc08eb1aab0f57d6
- pristine_git_object: ef78237a84d5aef77fb9b05d97c9a0181fc3a2a2
+ last_write_checksum: sha1:7c6a4a9ddb86ade28dda5d1662e9de42f991424b
+ pristine_git_object: 07d7b4b7b27a14026ce6346da7a65adfe85e44c1
docs/models/operations/chatstreamrequest.md:
id: 9ef1dc15a871
last_write_checksum: sha1:b29ac6513686dbe8391360b0aaf73e2e0d962953
pristine_git_object: a7f3afd0436d8128a45adae24671ce8956cbef64
+ docs/models/operations/createannouncementrequest.md:
+ id: 81c6a0fc912a
+ last_write_checksum: sha1:bb1595544ff2ced7d40a298168ebcf288fc9935f
+ pristine_git_object: d659e11b85bbf88483ed942e8892b9df0e26653c
+ docs/models/operations/createanswerrequest.md:
+ id: 28fb7575fd6f
+ last_write_checksum: sha1:686147828a8e50f0f12a787f62ead60c0b9fe6c3
+ pristine_git_object: b382b3ee1eb942836a13e58da259427e4cfebbba
+ docs/models/operations/createcollectionrequest.md:
+ id: 72692092210d
+ last_write_checksum: sha1:bbd461f03b12eb7428396e976ca5301ca451b919
+ pristine_git_object: d722c922bc72f2ce86d00ee4bbf4e079fe95437f
docs/models/operations/createcollectionresponse.md:
id: bc72aa07eb9e
last_write_checksum: sha1:479b06f3081540124a5d7a23a20ca74ec57c9138
pristine_git_object: 9da1f28c2e77a669fefbcb500fa127963ec2b6be
+ docs/models/operations/createshortcutrequest.md:
+ id: 5f7fa3ade5af
+ last_write_checksum: sha1:b19b3a05c385dd8dc42fe47976c40364f59067fe
+ pristine_git_object: ef0be15ba799162ce100e7b957ebe2033ff289e9
docs/models/operations/deleteallchatsrequest.md:
id: df963be73408
- last_write_checksum: sha1:269eec1c5c69eb243c6789424f63df5e51f0775b
- pristine_git_object: 5d33571a2983aedcb511b838b19ca6c7af34e828
+ last_write_checksum: sha1:6f1eaf0c07138f4e58da3b0f54cbf34e6a874ecf
+ pristine_git_object: d8c7b09eca80703285e31ff3e4ebb773466f54cc
+ docs/models/operations/deleteannouncementrequest.md:
+ id: 15dc900cd8ba
+ last_write_checksum: sha1:ae5c73238e3eb562b69af1f0479412e4f1d4e6f4
+ pristine_git_object: 7096767ee42f1b09eaee50c2d446c575360ba5e1
+ docs/models/operations/deleteanswerrequest.md:
+ id: 686c575fc85e
+ last_write_checksum: sha1:ba7f913f7920b4a97eb20cdd1ec5baaad1caecc0
+ pristine_git_object: a16cbaf886db751b680f3787b65b08b045749217
docs/models/operations/deletechatfilesrequest.md:
id: f1e2f542d55e
- last_write_checksum: sha1:5ca08af8ac368d87ffa84dccda524fe9a03459b9
- pristine_git_object: b23af292c0006bce11fe536bb02b3f322796b4bf
+ last_write_checksum: sha1:684f55f43510f2b9fb5d4af2a796fe07f1357e55
+ pristine_git_object: 2c318e3efc4b570610f42a0bed6006556fb60b66
docs/models/operations/deletechatsrequest.md:
id: af4c5829a65a
- last_write_checksum: sha1:ea536124f253359716bd773726c340abbcda186c
- pristine_git_object: 163a56a043eb1275c8a1a18a34df93656dfdbba2
+ last_write_checksum: sha1:d788f096ad41f8cdd2f936bc313551b89d97c01c
+ pristine_git_object: 49fecd3c0f52cd79757cce0ff1681afe2eb17d93
+ docs/models/operations/deletecollectionitemrequest.md:
+ id: ac75f2ca1644
+ last_write_checksum: sha1:0ffef4c63a6ccfb0e854116e37c8afd0a8bb019e
+ pristine_git_object: e43c5b1d264c6508cff65a546cc66d698a4f557c
+ docs/models/operations/deletecollectionrequest.md:
+ id: c43ac0f890fd
+ last_write_checksum: sha1:200df1bfeca452ae93662a2e57119de85be5b4c9
+ pristine_git_object: 39a89e10d78bd0881d37143f1e9262703a52873a
docs/models/operations/deletefindingsexportrequest.md:
id: 300e8d55e4e0
last_write_checksum: sha1:922cc400c30cc32b4a791a70ef0a48f2c64d79de
pristine_git_object: 1b9c2773157192ccff66780242972582be28096e
+ docs/models/operations/deleteshortcutrequest.md:
+ id: 97f33a2eeb5c
+ last_write_checksum: sha1:f61905f2628a3e71e6e207c68102b0e13ab080a3
+ pristine_git_object: e51f0863f29103224efb0c71034644bcb5995825
docs/models/operations/downloadfindingsexportrequest.md:
id: 50242fb70881
last_write_checksum: sha1:0c496c9a62a02eb8e17109a5035b0634a767775e
@@ -2406,34 +2458,78 @@ trackedFiles:
id: 2bbc4490c61d
last_write_checksum: sha1:5d86405fae8c1a20db7de29de2e6081b32c10a7b
pristine_git_object: 6c5b92a4cc4e739e3a512ed300cb38640f5a54c4
+ docs/models/operations/editanswerrequest.md:
+ id: 2573f0a10f41
+ last_write_checksum: sha1:94401b8a423843a5866dcaa6ea1217dd5add36cc
+ pristine_git_object: 9a7dc20a148f52a6f69cbd8470e7f5818801acaa
+ docs/models/operations/editcollectionitemrequest.md:
+ id: 1c5a4be3ba6e
+ last_write_checksum: sha1:7fad1caa5d146dc77463c4d75bca8f4c9012a66c
+ pristine_git_object: 91f8279934dc6c78c8c16bef2c536d86ab24a92d
+ docs/models/operations/editcollectionrequest.md:
+ id: 4b160ed67165
+ last_write_checksum: sha1:c4618a9b5728289b1beb311bcbc22495f1eba0df
+ pristine_git_object: 83408d2a2c8ba4ea62c1b199f0eb13aff09dc88c
+ docs/models/operations/editpinrequest.md:
+ id: d1ab0e115903
+ last_write_checksum: sha1:92cefa03efb0149681b260e285916238b884adc4
+ pristine_git_object: b81cb72deecd02d9c91398626e5f2a023f596c38
docs/models/operations/feedbackrequest.md:
id: b18af5c567a7
last_write_checksum: sha1:2bc9db63c88ca71b7b9b6cd9b4e40b1049198a37
pristine_git_object: c4833e5e41f8752d0c14b8b81c9687033dc56ce8
+ docs/models/operations/feedrequest.md:
+ id: 401ba172918d
+ last_write_checksum: sha1:a4b54a14c3ba89b81419d1c36f88bff6672db230
+ pristine_git_object: 6d095a7f2f66e6676c02a1ed2bad11c9c73d5c05
docs/models/operations/getagentrequest.md:
id: a4206a636d2b
- last_write_checksum: sha1:1a65e8e93bc04f29d2354b648ea639c4dbd48676
- pristine_git_object: 6edce41400f9bbfde8b9908b0072251baa3c6a6d
+ last_write_checksum: sha1:de51912cf2f3bad15c9145a30d6d46cf17145641
+ pristine_git_object: f0c750024eabb4892941e784f724d7ef92ef1523
docs/models/operations/getagentschemasrequest.md:
id: 4b7ed0c2cdf8
- last_write_checksum: sha1:10b7856064830071acb1c585fdc5041b41a9571a
- pristine_git_object: f3f9117ea4a216788bd251a8fc3fa4f7bc7a7090
+ last_write_checksum: sha1:fa15b96baa6af1897e694d0ef7f6b0eb6056ad0a
+ pristine_git_object: 2b814147aadf79605011557e52e1200ba5a1af34
+ docs/models/operations/getanswerrequest.md:
+ id: 3be271d4d2f3
+ last_write_checksum: sha1:fa31881132c6465e44f4e71c9bf2030a7dcf67a8
+ pristine_git_object: d9500dcb35c1c68e7c1194f81da9baf718021ed1
docs/models/operations/getchatapplicationrequest.md:
id: 82cc5ce2f816
- last_write_checksum: sha1:023e50c41b17ee5afa71210eb7d84d3a6808147c
- pristine_git_object: 97c8a03fdc36a71c1ec29840d82fce29a0aba782
+ last_write_checksum: sha1:9687542141e1bc045b5e918f481d027f7f0d5584
+ pristine_git_object: 97dca0f8f0cd58be21266eca20c7f75136ad03a9
docs/models/operations/getchatfilesrequest.md:
id: 59c507362ca7
- last_write_checksum: sha1:045d55a6ca05cbf89e4ca789bf125434a9748e59
- pristine_git_object: 647240f52f918a0aa4053bebc38f65f3cae6ca3b
+ last_write_checksum: sha1:f10262c9badca0fcb456107f985200d3638609ad
+ pristine_git_object: 7400732b5d2c355538f2b3ad879512ed9cbce2a9
docs/models/operations/getchatrequest.md:
id: 95ee969f8626
- last_write_checksum: sha1:df1320238470de3d775b70de27f59b98698b4915
- pristine_git_object: 3cb1aa8f16bd0cd75ed61d57606487b0f96b92fa
+ last_write_checksum: sha1:4a673d7dad5a507e8f918808dcb9f7f3e094c932
+ pristine_git_object: 78ee9d4dfc51632665ba159830ad91df327dc14a
+ docs/models/operations/getcollectionrequest.md:
+ id: b4df0384ce7f
+ last_write_checksum: sha1:9a329c6a1029fa79b4767dacc65890fd7c7809e9
+ pristine_git_object: 1001cc985aab4b005a47be5c46da6623ab130498
+ docs/models/operations/getdocpermissionsrequest.md:
+ id: b43ac2b240c3
+ last_write_checksum: sha1:0b1c2cbe8ab9ec595ff8cabc2807fb5e29d22750
+ pristine_git_object: f750bb190804b22294eb9773fbff1d8ed3773075
+ docs/models/operations/getdocumentsbyfacetsrequest.md:
+ id: d73eda4996c1
+ last_write_checksum: sha1:570430c97d901110a92b60e5e28d5cef31cb2fca
+ pristine_git_object: 9be3595437935b7ba352dfde23065d0b9ea704c2
+ docs/models/operations/getdocumentsrequest.md:
+ id: 3c6337c4fedd
+ last_write_checksum: sha1:a223aa0c4277338f297553f692c192cfee4b62c7
+ pristine_git_object: 4c85e27e887a264cd61651ed5f244b76bc254189
docs/models/operations/getdocvisibilityrequest.md:
id: 048e9be7a8bb
last_write_checksum: sha1:6a081f1b201b903c60e3525462b35ab7341955ac
pristine_git_object: 40bce23fd2ae58996270000cd82de51fc48764d6
+ docs/models/operations/getpinrequest.md:
+ id: bfd90dc88246
+ last_write_checksum: sha1:dd409836ca1726959fe20ff2db99ec76c4b17ce9
+ pristine_git_object: f3f415cde3356b00ee0bc70842fab007666eea53
docs/models/operations/getpolicyrequest.md:
id: dd658a4826b8
last_write_checksum: sha1:598aa83e8b46ab9c6164799d46e5194fe12da635
@@ -2446,22 +2542,62 @@ trackedFiles:
id: a0f52a6543af
last_write_checksum: sha1:0c7de8b298bd7a63e35d8954429d22a506be403f
pristine_git_object: 5209e9697bb85edfde29ad6cf336abc57eef4e2e
+ docs/models/operations/getshortcutrequest.md:
+ id: 6e8c58109d41
+ last_write_checksum: sha1:56fa690f4f3f2aa465628bb320ac31891360dd30
+ pristine_git_object: 9cf02cab63e3993faa7ce171ca621fb66ebad59b
+ docs/models/operations/insightsrequest.md:
+ id: 95f929c56d86
+ last_write_checksum: sha1:ceae2e87368bde999e8e001a7c1d282cccb418e0
+ pristine_git_object: 7c9bc9fb2657707ceb66e1373accdd61c2d5d6c0
+ docs/models/operations/listanswersrequest.md:
+ id: 8b9bd8ac9338
+ last_write_checksum: sha1:4184aed4012b4e862c8282d653a6e2003baab56c
+ pristine_git_object: 8459eab57a2cbe6f88f2c8aa38b17837a9fdbf6f
docs/models/operations/listchatsrequest.md:
id: f4efe46dd46d
- last_write_checksum: sha1:9045cb4afd7c65f82b6450c9045c2a5fe1609a97
- pristine_git_object: 6c3226bc5adec684833071b6b6722767a3d2622a
+ last_write_checksum: sha1:3c7f9115d19b6c45acec04be0e547c7ed9e4ad38
+ pristine_git_object: ab1881d9d270dd3591d6050dd5f12e15a23d65b0
+ docs/models/operations/listcollectionsrequest.md:
+ id: 052821d9b594
+ last_write_checksum: sha1:71848df3bb0ade6ac95f1bb25207f289481e3da2
+ pristine_git_object: f9733f0ad158c99ce67b50df9e53494bdc55636a
+ docs/models/operations/listentitiesrequest.md:
+ id: c60f886b79df
+ last_write_checksum: sha1:cc7c8c185994fdd576568d814201e782c02a5989
+ pristine_git_object: ea4ae10561b8d837f6f9e6387013c3b5185d9c13
docs/models/operations/listpinsrequest.md:
id: 3d6fed38832c
- last_write_checksum: sha1:594106c2a4b6a6cbf283c7cadb5b3899df05692b
- pristine_git_object: 8cd82d0f6b1d6fda8a80df48130a979ff4942984
+ last_write_checksum: sha1:72315848e6f834c04d46a751a4b54cfd1fd15e23
+ pristine_git_object: 90238b10acc3741497a46efe57f90522c73bfdc6
+ docs/models/operations/listpinsrequestbody.md:
+ id: 5e6add28ae4f
+ last_write_checksum: sha1:5a697c1c9f7d2862aab7b9e8791f3e1322d677aa
+ pristine_git_object: 72a16c8b9bcd6060c47bb67fe7be8b0d282293d6
docs/models/operations/listpoliciesrequest.md:
id: d5bb60ba18b2
last_write_checksum: sha1:d0134a899c495ddcf23ed8d73b8e37bb933e428f
pristine_git_object: 9a8e0a962c16557c86b6a247b987b0c3a4929965
+ docs/models/operations/listshortcutsrequest.md:
+ id: 56fe3e7862f8
+ last_write_checksum: sha1:5e398b8e430d934895e5a840395e046f43bc9a3a
+ pristine_git_object: 4ded4a5537a99a25d587221c5ac03dc5961fcff6
docs/models/operations/listverificationsrequest.md:
id: 6438fbe27759
- last_write_checksum: sha1:a3e3f3ce8b1f3c1be16df7850d47741461a9f055
- pristine_git_object: abcb11b1514312c1967007ae5a8a1e1631ceb486
+ last_write_checksum: sha1:4fb165a55fb9d0a701e9314c167f51c155b33b00
+ pristine_git_object: f8b705b531f1631d71f5dc7a58faad4976ac7de9
+ docs/models/operations/messagesrequest.md:
+ id: e73fae4a2502
+ last_write_checksum: sha1:96886e4c9c43c11e329a18edcd0610a5dd91569c
+ pristine_git_object: fd69881275b67296854f9b2b34dbb15153e0229b
+ docs/models/operations/peoplerequest.md:
+ id: 3032d5e1b951
+ last_write_checksum: sha1:33ce33755c811745c07fdb43cb0482df8c5b8803
+ pristine_git_object: 1e3f3e9fc92301a9b550c4d84fb4cb4a58e8c6d1
+ docs/models/operations/pinrequest.md:
+ id: f8eca138bc2d
+ last_write_checksum: sha1:08c4e00d533ab592b521a8cbc7259bfca69da666
+ pristine_git_object: b9b5b9cefc7b634682286de2c11e7b7f375add80
docs/models/operations/postapiindexv1debugdatasourcedocumentrequest.md:
id: dbefb45abdb1
last_write_checksum: sha1:898e5a126a181df5397afcb4964b045bb06e8b68
@@ -2478,6 +2614,10 @@ trackedFiles:
id: 0249628450ea
last_write_checksum: sha1:9c9539b6105a81073226d805850cd6ef7480a6ee
pristine_git_object: 0e03be63166e25319231ad8df464771b5dcb57af
+ docs/models/operations/recommendationsrequest.md:
+ id: be4f2c67f5e4
+ last_write_checksum: sha1:d0f4e4975a5ad1d811fc22094889ddf66a67dd34
+ pristine_git_object: c8638f5654c765b85b8f6327e804d34948173f26
docs/models/operations/responsebody1.md:
id: 2de325f37e0c
last_write_checksum: sha1:3c4b87e6798e526707a0e9258970f79322719cee
@@ -2486,50 +2626,74 @@ trackedFiles:
id: d828d08c5322
last_write_checksum: sha1:e3868b318585d6a7bc043d9b50e6048fe08bb33a
pristine_git_object: 38af3215749f9903361a8002931377e5626ef2b9
+ docs/models/operations/searchrequest.md:
+ id: 4351dc03334a
+ last_write_checksum: sha1:72ce0038d43cade3f3246077ed93b5ea630b51b1
+ pristine_git_object: 04e5d69cfc93d12b5b928506419a7782fa021f28
+ docs/models/operations/summarizerequest.md:
+ id: b97758ccae3f
+ last_write_checksum: sha1:652cff9f4a2308aab4b55d1da054797c9221658f
+ pristine_git_object: 35cf8e3f92db11f3aef94c4a70d123114572aecb
+ docs/models/operations/unpinrequest.md:
+ id: ba583f17aa47
+ last_write_checksum: sha1:f07904e658c0530bf3147cd16b074ab3cd84efc7
+ pristine_git_object: cc2901582672988201d339cf4d7c0798b3b8e87e
+ docs/models/operations/updateannouncementrequest.md:
+ id: 3f69c7326df0
+ last_write_checksum: sha1:cd3eb12c4557e5ca6c51845abd6d39654d4cf049
+ pristine_git_object: e2d395379f6104241bdceaf32c7bd2026e972f93
docs/models/operations/updatepolicyrequest.md:
id: 5c4811a44826
last_write_checksum: sha1:df849c552d0b423fdadc737197dd5bde82c83dce
pristine_git_object: 2b93028c31da4885c016c0d1cf99e99f714cb953
+ docs/models/operations/updateshortcutrequest.md:
+ id: c0cb6c976b66
+ last_write_checksum: sha1:185e38535bb529b5c7f562673389ed220b7bd45a
+ pristine_git_object: d60bc6217d07b6a658de79befa8e59f31a10b74c
docs/models/operations/uploadchatfilesrequest.md:
id: f4f48bc4540a
- last_write_checksum: sha1:1e77269a137c169b9bd90d134c7e17a4a9229282
- pristine_git_object: e01ea4e414f75bd2943f62774e5a74bc59439d35
+ last_write_checksum: sha1:83d3382b9f867eff026b1b1d61754f637dcbfc6e
+ pristine_git_object: cda1f6a421d8d4e55b3390e740fc2188594be01f
+ docs/models/operations/verifyrequest.md:
+ id: c10cc3f1f544
+ last_write_checksum: sha1:c6bdfe6759c1f3fed5fa4a13bc80438579bfa7be
+ pristine_git_object: 7abd508b183499ee247a93499c59f585de138fd5
docs/sdks/activity/README.md:
id: f6e8241fca80
last_write_checksum: sha1:6c828403a5b82605cb2e5c6af49fb218f311eea4
pristine_git_object: 578f5381c12a5e4db59f3ae02e4daaf55992d901
docs/sdks/agents/README.md:
id: 5965d8232fd8
- last_write_checksum: sha1:9a70a317b5d143b4a07ece409786128d9c822ec1
- pristine_git_object: ae343822181b4426914b40bc8c63235e1f8c65f6
+ last_write_checksum: sha1:2c0e8ff0928e1156348211ad4ffaf34142ac4e9b
+ pristine_git_object: f232f76b8d2ed27caa1f2445e15a596ac346e2cd
docs/sdks/announcements/README.md:
id: 3d2e130a217c
- last_write_checksum: sha1:63e161e0ab3bcc5cde116ab56926bb72632eabbd
- pristine_git_object: fa0b5c4191d3d756d6938875e8a24df6dda65112
+ last_write_checksum: sha1:9955e9b871a2deaa2c17cd1c92fb4d34f7e05138
+ pristine_git_object: a9a2ba2d25d741d7b64eed7e448a16bdc35a9722
docs/sdks/answers/README.md:
id: d1b7559999eb
- last_write_checksum: sha1:9ee2c0e0d67290ca76b64ac79f6ad8ffeef9ad26
- pristine_git_object: 4de271569734a8740cf22933de011ee98cf517d5
+ last_write_checksum: sha1:1b66e7f03fae98f8bbc4c2324f0a540403b03656
+ pristine_git_object: dbb0cc043da9d3b3fe0387ec06cad2212a5eda07
docs/sdks/chat/README.md:
id: 393193527c2c
- last_write_checksum: sha1:23ad0f97170d60312ea669660bbb75348bb124e6
- pristine_git_object: d2064557ed0df690a267769e4576dec4f4c1469f
+ last_write_checksum: sha1:2328587e6330227f2e59bfb45e234229a74a57db
+ pristine_git_object: 2774fbd7aa0c20ab982a6cc5dd62b1853b9d7acc
docs/sdks/clientauthentication/README.md:
id: 463bffe80b61
last_write_checksum: sha1:2899ef2b861e00c616567b4c0744dd25875cde4b
pristine_git_object: 9201f7476c8705a1148df694ebc259392f1d1e76
docs/sdks/clientdocuments/README.md:
id: e0c074acef4e
- last_write_checksum: sha1:08be99faf1446bd49f2a470a5d27be2f726db125
- pristine_git_object: 173f10d0989b94b72448768e14df7abcbaafc324
+ last_write_checksum: sha1:1d04199c521a44776ccde095130dd95f78ee2c07
+ pristine_git_object: 0b1eb74612f1db2af3216ffb57dea8f577bec91e
docs/sdks/clientshortcuts/README.md:
id: d5a9d841b61c
- last_write_checksum: sha1:7dfb56ef27d7e79d0495fdb08edacb2d77d8a60b
- pristine_git_object: 319eabdc6beb62dc3e08ce1e6c8fd25906391ef6
+ last_write_checksum: sha1:df6cf01922b6d4856a4d3e450b6ffbbf5c754bcf
+ pristine_git_object: 2849603359bcff09def4b755ea8605b771728e16
docs/sdks/collections/README.md:
id: 7985e64efccf
- last_write_checksum: sha1:d81c59340e7c3f9b425e02b5ecaac562097bb54a
- pristine_git_object: edff623bc1ac0246957cfd07379fb07fc93f8028
+ last_write_checksum: sha1:2956c8ad6c61f1a6a50a36e654a96fce2ac6adee
+ pristine_git_object: c1f110c506116ace59fe8ed719870e347b83cab1
docs/sdks/datasource/README.md:
id: 4671628477b5
last_write_checksum: sha1:a1037c52cd6be7317bc22df2161f774968ebecb0
@@ -2540,8 +2704,8 @@ trackedFiles:
pristine_git_object: dfb88bff594b1241a6f7fa9fe1d6dc1cee7f1d8a
docs/sdks/entities/README.md:
id: a140ac5181b9
- last_write_checksum: sha1:99dc0e3c6b7be3376b30969f08d7554d7e8e9119
- pristine_git_object: cb2aac3f649a9f3243268d0916cb416a4642e5c5
+ last_write_checksum: sha1:72d3f852a0c1ff498e185a0729a05b3541554387
+ pristine_git_object: 8c5e57e5c378da1951e5809fd058ab2333ef1122
docs/sdks/governance/README.md:
id: 87817eb7bf48
last_write_checksum: sha1:370676bbc4e4473876ac05813769550cb56fd2bb
@@ -2560,12 +2724,12 @@ trackedFiles:
pristine_git_object: 6a50c6e35e7c8bffdabb5b0254aee595c75b8afb
docs/sdks/insights/README.md:
id: cc2be3db9032
- last_write_checksum: sha1:366db2ff4f246879a131f65ac6f5fb8205fa5091
- pristine_git_object: 9dab58aa92baa319ed3d241cfc60ccb366f7c20e
+ last_write_checksum: sha1:4e9ea37fab38465fd13284f52e41e4c84ee7989f
+ pristine_git_object: 4c6ceef21dac5d63c61e5762c40b098cd0f6d06e
docs/sdks/messages/README.md:
id: 3f1f6d38fc33
- last_write_checksum: sha1:aedb8ece358768d1632065cab5b5c5a42c1edb05
- pristine_git_object: 7a83fd8e48c8fdcbb6dd4bb16cd0961439c6d77a
+ last_write_checksum: sha1:a8d774f49b0a95fc87030c4ef80e580eca1ff5ec
+ pristine_git_object: 85abcc1243d2cb7e6f96effdb10043ab55a80537
docs/sdks/people/README.md:
id: ff7b3ee21c2b
last_write_checksum: sha1:40df37a1fe7a8b3500fae11039626337b6c7055d
@@ -2576,8 +2740,8 @@ trackedFiles:
pristine_git_object: 153be5f65cfa3886bcc32b93f77878a264e2720a
docs/sdks/pins/README.md:
id: e887aca9ba0f
- last_write_checksum: sha1:e9350b8a6a81d228baed658c60071f6b134f8b8c
- pristine_git_object: 6fd49030a777be8a0f7af7d3f00884011259ca9a
+ last_write_checksum: sha1:5753d356c68ce08aa1e8d472a60e85d33ec658cc
+ pristine_git_object: fd3fd03f4728d224a812ae3615fdfdf5b52e0c64
docs/sdks/policies/README.md:
id: 636269b04e57
last_write_checksum: sha1:d47d74b7758650e131f8914b03150bb164d5b567
@@ -2588,16 +2752,16 @@ trackedFiles:
pristine_git_object: 6025b94e7355f974a45c9c00c892db4ad5f11bd0
docs/sdks/search/README.md:
id: 5c534716244c
- last_write_checksum: sha1:06e3b1439062463a217b41116822188cb0c87981
- pristine_git_object: 3a0c7ddabb62539b74ac5f3d0e6daec82149535a
+ last_write_checksum: sha1:80b7c4618495dd355c9ea144f1661650f7424b07
+ pristine_git_object: ca426c66fbfd2b04f266944ff3c865911c3b50ff
docs/sdks/tools/README.md:
id: 044286549bac
last_write_checksum: sha1:b9b5a72a1ebf1aa7188896d3c08e6f195f50d6bf
pristine_git_object: bdf0280104a9a51a7633758a9dde25be414575ac
docs/sdks/verification/README.md:
id: 8148670b64d3
- last_write_checksum: sha1:a6f5cdc8910f4ea0db17cc7b7c749b1f0f30c87d
- pristine_git_object: 71b1ed755e16c86a734a3d2fe2f693d02229535b
+ last_write_checksum: sha1:5dae6116a97c546dd5d203beddd266ded05cdeec
+ pristine_git_object: e76c947fb0442bc9a2e027e04a31ba7520711b3c
docs/sdks/visibilityoverrides/README.md:
id: c7d003d6a68f
last_write_checksum: sha1:f4e72ac34db007c8010d674f7c0b4ca50b5433bd
@@ -2628,12 +2792,12 @@ trackedFiles:
pristine_git_object: 5a2797590d4be351d62915017d5b2a0f853537c8
jsr.json:
id: 7f6ab7767282
- last_write_checksum: sha1:ba9aa5dc3d410197ac39f966a44f91523ab44570
- pristine_git_object: a60d2e0c41d3530cfb741a702edf630bdf28fe88
+ last_write_checksum: sha1:27a1dd77eaed7e392c305b23c8f1214e16b140c0
+ pristine_git_object: 0c83fc20523cbd273b0f2eb989cb6f97a47dcd94
package.json:
id: 7030d0b2f71b
- last_write_checksum: sha1:7e56432e5e5fa046f4e47c3326425366c54f6bac
- pristine_git_object: 14e089d9764602495006de5f1ca216a89faf6961
+ last_write_checksum: sha1:5a903eaa1019707c6c18dc62a8d72c592edf059e
+ pristine_git_object: 6ed591e6c89725ab15eb75f89c62ecf902997ee9
src/__tests__/activities.test.ts:
id: 65fa859b8f59
last_write_checksum: sha1:967fae9ee4ae9dd9ee8383b2ce261d26d05d9873
@@ -2728,8 +2892,8 @@ trackedFiles:
pristine_git_object: dfc0c09042058dc16cf1bf7da717c60c6e178d1d
src/__tests__/messages.test.ts:
id: 39e293f09219
- last_write_checksum: sha1:f0e35ba31e21ea10331295eee8cf25642f7d38e7
- pristine_git_object: 2c86d4846d9791777bcd8c63c163b471d7e4830d
+ last_write_checksum: sha1:a30aa2d38d82001b9d4fa690424fc96269044561
+ pristine_git_object: db4c9928503d2b05eb1b06e9df4ec62ff2dec26e
src/__tests__/mockserver/.gitignore:
last_write_checksum: sha1:228e1b05712a973948fd771323a2140a3b355ff4
src/__tests__/mockserver/Dockerfile:
@@ -2839,7 +3003,7 @@ trackedFiles:
src/__tests__/mockserver/internal/handler/pathpostrestapiv1createauthtoken.go:
last_write_checksum: sha1:6ce83ba03066acb436796c018d19715615f548c1
src/__tests__/mockserver/internal/handler/pathpostrestapiv1createcollection.go:
- last_write_checksum: sha1:f9f4c718408bddadbdf826194f07970bb111e57e
+ last_write_checksum: sha1:14b4a1d98dd55ce2b487ae1aaab4a7dece08df25
src/__tests__/mockserver/internal/handler/pathpostrestapiv1createshortcut.go:
last_write_checksum: sha1:2f9468a50936c4cb0fb2101d97c1425cb36ba2d4
src/__tests__/mockserver/internal/handler/pathpostrestapiv1deleteallchats.go:
@@ -3433,7 +3597,7 @@ trackedFiles:
src/__tests__/mockserver/internal/sdk/models/components/gleanassistinsightsresponse.go:
last_write_checksum: sha1:5b8a4fdefd05ed9e53cbee94c32b0a428175ad22
src/__tests__/mockserver/internal/sdk/models/components/gleandataerror.go:
- last_write_checksum: sha1:e2ba36c9aeaebae5a4f57509af9597481a809f8b
+ last_write_checksum: sha1:fa6d4a5917a90f72a97628ba20e31dd31b02af0c
src/__tests__/mockserver/internal/sdk/models/components/grantpermission.go:
last_write_checksum: sha1:83d69c5a502306994095bc1a515d6c52798fa696
src/__tests__/mockserver/internal/sdk/models/components/greenlistusersrequest.go:
@@ -3469,7 +3633,7 @@ trackedFiles:
src/__tests__/mockserver/internal/sdk/models/components/indexuserrequest.go:
last_write_checksum: sha1:06d1d86e560655f1b5c529f630fd757c12b5d0f4
src/__tests__/mockserver/internal/sdk/models/components/inputoptions.go:
- last_write_checksum: sha1:37bfc1b1073f6918185dada746c2f7c772ee3435
+ last_write_checksum: sha1:a8e076c7b78ab09d12da6b5a05b97714306953bd
src/__tests__/mockserver/internal/sdk/models/components/insightsagentsrequestoptions.go:
last_write_checksum: sha1:00e65e5e7f98d1b0b0d3253a15baad2c11c7dec2
src/__tests__/mockserver/internal/sdk/models/components/insightsaiapprequestoptions.go:
@@ -3751,7 +3915,7 @@ trackedFiles:
src/__tests__/mockserver/internal/sdk/models/components/toolslistresponse.go:
last_write_checksum: sha1:12c38931f0f2810e038e30a743845a97b876d03c
src/__tests__/mockserver/internal/sdk/models/components/ugctype.go:
- last_write_checksum: sha1:e0a05c163ffdcbacd03574a0adcc51ff1997dd59
+ last_write_checksum: sha1:b2c7d1fbd1cbcb64e9ff92e786853554cea97772
src/__tests__/mockserver/internal/sdk/models/components/unpin.go:
last_write_checksum: sha1:6bd1f6c9f451492810949a589b7cf0e07ede176d
src/__tests__/mockserver/internal/sdk/models/components/updateannouncementrequest.go:
@@ -3827,15 +3991,15 @@ trackedFiles:
src/__tests__/mockserver/internal/sdk/models/operations/activity.go:
last_write_checksum: sha1:5957ce406e3a70449e7168b90a96ab29661834ed
src/__tests__/mockserver/internal/sdk/models/operations/addcollectionitems.go:
- last_write_checksum: sha1:5f735957943d7e79366d6353d6c48fc273e6849a
+ last_write_checksum: sha1:6b24917028ee62ef0a79e353e689d11d1d5fd7f0
src/__tests__/mockserver/internal/sdk/models/operations/addverificationreminder.go:
- last_write_checksum: sha1:cbef6f30affe579220a476c72c1397d6884cf54b
+ last_write_checksum: sha1:cd6a0cbf098c64d2873723c6db34d4d104aafee4
src/__tests__/mockserver/internal/sdk/models/operations/adminsearch.go:
- last_write_checksum: sha1:e2b90fa98367a43a19d1ade415205864c3f2bd54
+ last_write_checksum: sha1:8349967c39c2200f8b798379f9d601234dd0ea08
src/__tests__/mockserver/internal/sdk/models/operations/autocomplete.go:
- last_write_checksum: sha1:649c6bfe21648ef99fadebb2420f752d703037d0
+ last_write_checksum: sha1:242f4ac0044ef328043fc3a5d0effdeccb7f291f
src/__tests__/mockserver/internal/sdk/models/operations/chat.go:
- last_write_checksum: sha1:dcde2580dd70d8830c68159f2137f98be67033f6
+ last_write_checksum: sha1:f2f55f4fecbef27cf1e00a589d3cea6d95982523
src/__tests__/mockserver/internal/sdk/models/operations/chatstream.go:
last_write_checksum: sha1:b299a7da20b4ecf28e85b669de479778ed917ef1
src/__tests__/mockserver/internal/sdk/models/operations/createandstreamrun.go:
@@ -3843,13 +4007,13 @@ trackedFiles:
src/__tests__/mockserver/internal/sdk/models/operations/createandwaitrun.go:
last_write_checksum: sha1:8d070245a42135fc34df714fce8d7d6df72edbd5
src/__tests__/mockserver/internal/sdk/models/operations/createannouncement.go:
- last_write_checksum: sha1:3530ce01b1389b908fd7c6bfe04ffffa73b1ab1d
+ last_write_checksum: sha1:a035aac91237a6d6285af28fb8d68545589655b9
src/__tests__/mockserver/internal/sdk/models/operations/createanswer.go:
- last_write_checksum: sha1:4461cb52022fe25f506bcabc62528b91e2c2d094
+ last_write_checksum: sha1:7bac56604ac9dbbdd2c759c81acf67e873e4bd56
src/__tests__/mockserver/internal/sdk/models/operations/createauthtoken.go:
last_write_checksum: sha1:38490a95b3433ee0a6ef325641981976e847c1af
src/__tests__/mockserver/internal/sdk/models/operations/createcollection.go:
- last_write_checksum: sha1:42466e9f0cf3ab70bb8414e523dd644c5f503256
+ last_write_checksum: sha1:e0056a37231832f11558b9fe7d3b658bcfb900b9
src/__tests__/mockserver/internal/sdk/models/operations/createfindingsexport.go:
last_write_checksum: sha1:825e1e9c17e00b8f29056902188e711dbe285d48
src/__tests__/mockserver/internal/sdk/models/operations/createpolicy.go:
@@ -3857,25 +4021,25 @@ trackedFiles:
src/__tests__/mockserver/internal/sdk/models/operations/createreport.go:
last_write_checksum: sha1:b9c82a7632c995986f191d03c466420a345d0d42
src/__tests__/mockserver/internal/sdk/models/operations/createshortcut.go:
- last_write_checksum: sha1:5dc130b4ba82965511de0ae7e86dd17ef7d967d5
+ last_write_checksum: sha1:98ff02e8657bc6dcc49ef54c81fd322094b60d29
src/__tests__/mockserver/internal/sdk/models/operations/deleteallchats.go:
- last_write_checksum: sha1:7ea7cf3376fe341579815d112b6499f080d04fc1
+ last_write_checksum: sha1:a3e27dba3ff434ac40651d103f2585b541a3a061
src/__tests__/mockserver/internal/sdk/models/operations/deleteannouncement.go:
- last_write_checksum: sha1:92f9d7be4c575d757f38e41836426e30e88158c0
+ last_write_checksum: sha1:2a26722569463faa2b52c1642f1f5915ac0dae88
src/__tests__/mockserver/internal/sdk/models/operations/deleteanswer.go:
- last_write_checksum: sha1:54b14cb71f8e46690b84ae7fe5d1632555731be5
+ last_write_checksum: sha1:345a8fd35229943057730308e473f44f134d1cd3
src/__tests__/mockserver/internal/sdk/models/operations/deletechatfiles.go:
- last_write_checksum: sha1:e7f7be6fe84f26aef1ca139d86a1e22d6f8af4c8
+ last_write_checksum: sha1:506173bfe099edeb1c4f0954762015bafca2dc18
src/__tests__/mockserver/internal/sdk/models/operations/deletechats.go:
- last_write_checksum: sha1:a402bfb8ec5e0914fb0695bd0bb1ecd3f5df2cc0
+ last_write_checksum: sha1:9c694319cc3e3b220d9fbabbac8060fe4377993f
src/__tests__/mockserver/internal/sdk/models/operations/deletecollection.go:
- last_write_checksum: sha1:3ef03868f2aab829be605dba1e1250f198036127
+ last_write_checksum: sha1:eb724e5b7b71ff8b6b79e99b3a8e9bb88c12f1d5
src/__tests__/mockserver/internal/sdk/models/operations/deletecollectionitem.go:
- last_write_checksum: sha1:89ccaa80ae6b857f57ad2ee1ca15a7810f254d4e
+ last_write_checksum: sha1:ce58b49a61bb08f2a383f020137dfbeb682c7186
src/__tests__/mockserver/internal/sdk/models/operations/deletefindingsexport.go:
last_write_checksum: sha1:75f0c5cb8e9465c8e248692de923523cdcba2761
src/__tests__/mockserver/internal/sdk/models/operations/deleteshortcut.go:
- last_write_checksum: sha1:1e5db1ae20ea804ead16a7ab081ee453fcbea5a5
+ last_write_checksum: sha1:843c8276cc4bf518266362585ea810b2e56c015e
src/__tests__/mockserver/internal/sdk/models/operations/downloadfindingsexport.go:
last_write_checksum: sha1:32282301f13c2e740139de75b2efb2c0413ca8e9
src/__tests__/mockserver/internal/sdk/models/operations/downloadpolicycsv.go:
@@ -3883,41 +4047,41 @@ trackedFiles:
src/__tests__/mockserver/internal/sdk/models/operations/downloadreportcsv.go:
last_write_checksum: sha1:5be47a665f15ebd67c3ccb0be070936ac3f0a04b
src/__tests__/mockserver/internal/sdk/models/operations/editanswer.go:
- last_write_checksum: sha1:46d0995defdc7c39736bf5c8285e79f0e598f762
+ last_write_checksum: sha1:6319063f92d2532ab663554171253c25f7b0f865
src/__tests__/mockserver/internal/sdk/models/operations/editcollection.go:
- last_write_checksum: sha1:74d0cd186696b3574389f891f8089b406efab145
+ last_write_checksum: sha1:f728d0af16fe57defc5a1e229a125e7fcab675b0
src/__tests__/mockserver/internal/sdk/models/operations/editcollectionitem.go:
- last_write_checksum: sha1:fae911cee133540a2388479d532a5add1012b579
+ last_write_checksum: sha1:d31194f3dd387014f598e8fa830af8809cf90e87
src/__tests__/mockserver/internal/sdk/models/operations/editpin.go:
- last_write_checksum: sha1:893eb168d3505744d28a40186f2383a15504bba7
+ last_write_checksum: sha1:68f0bedad3f1292e88176f78c4a3feaaa72636a5
src/__tests__/mockserver/internal/sdk/models/operations/feed.go:
- last_write_checksum: sha1:583c3f65f15eb020e9091e7a09f059d6dbfecfb1
+ last_write_checksum: sha1:5cc00b3895c2391dab6e7706a97903ed226c8f10
src/__tests__/mockserver/internal/sdk/models/operations/feedback.go:
last_write_checksum: sha1:7d5a51aed8eacae15096b90250b2a35f647b45ac
src/__tests__/mockserver/internal/sdk/models/operations/getagent.go:
- last_write_checksum: sha1:d891bc90f4d81a0977f6cedee571685977d20487
+ last_write_checksum: sha1:97fa8b77eab495bb56cda7e91667fd77d8567faa
src/__tests__/mockserver/internal/sdk/models/operations/getagentschemas.go:
- last_write_checksum: sha1:2f4625bd8c585549e768400f1b867163e42632e7
+ last_write_checksum: sha1:2c2ca4842ec6e43e2b0fe486c273600ea369c3e1
src/__tests__/mockserver/internal/sdk/models/operations/getanswer.go:
- last_write_checksum: sha1:0b237b13fc7986d332548e4be8573e9a6fdc1cca
+ last_write_checksum: sha1:464649f75bf44047247059576b829e2fe409815d
src/__tests__/mockserver/internal/sdk/models/operations/getchat.go:
- last_write_checksum: sha1:0bd97b5e18fd81ba0011952477a790bc724b88ce
+ last_write_checksum: sha1:830d4df2089c82c236e71784eb380eb58c1e2ec0
src/__tests__/mockserver/internal/sdk/models/operations/getchatapplication.go:
- last_write_checksum: sha1:66051d825c1fbfe2bfc12583b8df8ab26b5d724d
+ last_write_checksum: sha1:8f6f58e46b6e1ac9a5172dfdc09f28446335dd25
src/__tests__/mockserver/internal/sdk/models/operations/getchatfiles.go:
- last_write_checksum: sha1:a182a409432a7c27b2264f8502ceef742a2a52c8
+ last_write_checksum: sha1:b9331fcb429d8bb22487234f7fa3627ee91b21f9
src/__tests__/mockserver/internal/sdk/models/operations/getcollection.go:
- last_write_checksum: sha1:a01d4b745af6515d193d31a0204f0472cd183630
+ last_write_checksum: sha1:758de3276a51cb9ef5e2bc09d8e689a95ff4fc53
src/__tests__/mockserver/internal/sdk/models/operations/getdocpermissions.go:
- last_write_checksum: sha1:59dc60d6382711186c4110d6d62b94f49ec68c5e
+ last_write_checksum: sha1:dfd7bfff0ab9672ecfed72ca75845eeb6e1572b3
src/__tests__/mockserver/internal/sdk/models/operations/getdocuments.go:
- last_write_checksum: sha1:1fe33ac5dd621e8a8b6e0441903db5d1bc3b11da
+ last_write_checksum: sha1:d4f23739c982a434827c5e540cb10b8e4ad942a5
src/__tests__/mockserver/internal/sdk/models/operations/getdocumentsbyfacets.go:
- last_write_checksum: sha1:115ab3a64f7cff5fba836cb267fd56745452f3f8
+ last_write_checksum: sha1:d4bf58f85d349c021ec670d2a7fc308e13c64a11
src/__tests__/mockserver/internal/sdk/models/operations/getdocvisibility.go:
last_write_checksum: sha1:5402b1db287c42416c4f4aea7768be3d562f42c9
src/__tests__/mockserver/internal/sdk/models/operations/getpin.go:
- last_write_checksum: sha1:c176f67fa51f2cfa0a0ef0be9a5785f97250ad44
+ last_write_checksum: sha1:7bf799aefdcb8165fe3fe2d5a756a0fa7b2251dc
src/__tests__/mockserver/internal/sdk/models/operations/getpolicy.go:
last_write_checksum: sha1:8d4c18ff0db3e28e0de5c1d04c0eddb5f02692e7
src/__tests__/mockserver/internal/sdk/models/operations/getreportstatus.go:
@@ -3925,33 +4089,33 @@ trackedFiles:
src/__tests__/mockserver/internal/sdk/models/operations/getrestapiv1toolslist.go:
last_write_checksum: sha1:4b333486980e930369ed4c804a7a82da12af3985
src/__tests__/mockserver/internal/sdk/models/operations/getshortcut.go:
- last_write_checksum: sha1:f1ba65a8edb67c47a016d7b108dd67785f8df0fe
+ last_write_checksum: sha1:9d3a3758b295b8ee5b1bcc3f433ab0fe9a663644
src/__tests__/mockserver/internal/sdk/models/operations/insights.go:
- last_write_checksum: sha1:5f35bf67a5566a0ba41a5d5f88cb24bf94b59de5
+ last_write_checksum: sha1:3091cfd7f0f9ad34caa7ba644bd79bfcbf009f6b
src/__tests__/mockserver/internal/sdk/models/operations/listanswers.go:
- last_write_checksum: sha1:416e2ddaa59c4c7b66955d90e353c5c3c08b4167
+ last_write_checksum: sha1:4177467d63a522673e6fc55099bca7eb4485c888
src/__tests__/mockserver/internal/sdk/models/operations/listchats.go:
- last_write_checksum: sha1:0ff998c4605383851afeb240aa653ea365504a71
+ last_write_checksum: sha1:2c15c1ab202e82f06527529f4aed2ae981bcc18e
src/__tests__/mockserver/internal/sdk/models/operations/listcollections.go:
- last_write_checksum: sha1:396e087a2d1cc1f7c145710cfc2e33fc2a88e4eb
+ last_write_checksum: sha1:d260f925936fb9de661a06ec411a5d875d59b97f
src/__tests__/mockserver/internal/sdk/models/operations/listentities.go:
- last_write_checksum: sha1:19072515fe93b882cf60fa58b80ffa3c70bf7f84
+ last_write_checksum: sha1:466d941106775a6674cca3ae6f07f0f1f41a9a77
src/__tests__/mockserver/internal/sdk/models/operations/listfindingsexports.go:
last_write_checksum: sha1:bc380b07b5659cc6bb63d4d1c56da32ded5d5cfb
src/__tests__/mockserver/internal/sdk/models/operations/listpins.go:
- last_write_checksum: sha1:62d707a3bb796e9282c80b5c6f495aa12ea9bb68
+ last_write_checksum: sha1:0f78c07c1ad4bce0694e9a460d054472a45d33f2
src/__tests__/mockserver/internal/sdk/models/operations/listpolicies.go:
last_write_checksum: sha1:873e036f6e3166351de3868799fda4c7e4e6f23b
src/__tests__/mockserver/internal/sdk/models/operations/listshortcuts.go:
- last_write_checksum: sha1:df3a33271a40fc4eeac29b522d472e1ca932bb51
+ last_write_checksum: sha1:b82eb9565758c5f1f4664c132869a41ff3b5c214
src/__tests__/mockserver/internal/sdk/models/operations/listverifications.go:
- last_write_checksum: sha1:7ce42277a2833bf83efb52e386998abb6425132b
+ last_write_checksum: sha1:4b7f74c8948528b2687a834a7ade6fdc629db31c
src/__tests__/mockserver/internal/sdk/models/operations/messages.go:
- last_write_checksum: sha1:bd5570eaa4111c14f849c3144300433538a0845f
+ last_write_checksum: sha1:6f6eeb2807ea13c66d3600caf246e3ae6d2c1e99
src/__tests__/mockserver/internal/sdk/models/operations/people.go:
- last_write_checksum: sha1:5a014ee7706adc6db3e3e5ceab65539315faff31
+ last_write_checksum: sha1:5c9b08af447b7e58258a9c20fdd02ccadaa54895
src/__tests__/mockserver/internal/sdk/models/operations/pin.go:
- last_write_checksum: sha1:44ea6e779637e05626146f3a3e000b39871bd8ca
+ last_write_checksum: sha1:5248f738207e7e99637a538c31c57d93394a588c
src/__tests__/mockserver/internal/sdk/models/operations/postapiindexv1adddatasource.go:
last_write_checksum: sha1:2f82dc427027cdb45f8fcf8fa6454e28599233aa
src/__tests__/mockserver/internal/sdk/models/operations/postapiindexv1betausers.go:
@@ -4029,31 +4193,31 @@ trackedFiles:
src/__tests__/mockserver/internal/sdk/models/operations/postrestapiv1toolscall.go:
last_write_checksum: sha1:a598e25aef310bd7c8c7c37987899e6f88e918f9
src/__tests__/mockserver/internal/sdk/models/operations/recommendations.go:
- last_write_checksum: sha1:038b9dbb0057a5df6c6fb4d8625fb8bcbb1e6e6a
+ last_write_checksum: sha1:6ae07252753671a40f928d93b959ea0403154494
src/__tests__/mockserver/internal/sdk/models/operations/search.go:
- last_write_checksum: sha1:6bf4ec701c188fb195525550a201a0a0e2b09750
+ last_write_checksum: sha1:8ebd0389fc5b227f30ce9e4ff19b12516c4b5329
src/__tests__/mockserver/internal/sdk/models/operations/searchagents.go:
last_write_checksum: sha1:15a0051b4288ddfec731e7198c1561ceb4187faf
src/__tests__/mockserver/internal/sdk/models/operations/setdocvisibility.go:
last_write_checksum: sha1:af755e76cbc165a8f9282ecbb67ba09d32ac9e22
src/__tests__/mockserver/internal/sdk/models/operations/summarize.go:
- last_write_checksum: sha1:ddde2cc76030dd5d239b5c19e41ea2b264205e8c
+ last_write_checksum: sha1:e23c22ddcc5ffa4d3201ff38dee77bf305c1b156
src/__tests__/mockserver/internal/sdk/models/operations/unpin.go:
- last_write_checksum: sha1:605fd15abbc6cffae0bf369831ca390f85db4cce
+ last_write_checksum: sha1:ebc6723ce70f20e4847d322b1f63ab297b7b4d39
src/__tests__/mockserver/internal/sdk/models/operations/updateannouncement.go:
- last_write_checksum: sha1:f09b2db0a0ca4fcdaa5d2812b360fc1f287bdd3d
+ last_write_checksum: sha1:219c6a8e147028e49185ebfe1488b8efe1e5f4a3
src/__tests__/mockserver/internal/sdk/models/operations/updatepolicy.go:
last_write_checksum: sha1:555e1077b891a4d7a21f275bcffe983b7fff9120
src/__tests__/mockserver/internal/sdk/models/operations/updateshortcut.go:
- last_write_checksum: sha1:a281706f648c15c16513e06ad582a05e27d7a94c
+ last_write_checksum: sha1:f9689073485924ff89de0d476d3bd0ea56b73501
src/__tests__/mockserver/internal/sdk/models/operations/uploadchatfiles.go:
- last_write_checksum: sha1:a9700d5dd59c4c9e8dfacda1ebe9feeed653c54e
+ last_write_checksum: sha1:f1c44bb376adee3854955832ceff513124324a3b
src/__tests__/mockserver/internal/sdk/models/operations/verify.go:
- last_write_checksum: sha1:312f2afd842757b48d7a741d9c5e74549f737a51
+ last_write_checksum: sha1:f20f8fd1bbf3169e0e4516595d7971e5cae03951
src/__tests__/mockserver/internal/sdk/models/sdkerrors/collectionerror.go:
last_write_checksum: sha1:a8ce08145cf00a84487714f875ba1d3a8d84be1d
src/__tests__/mockserver/internal/sdk/models/sdkerrors/gleandataerror.go:
- last_write_checksum: sha1:8b2cb972da36ace2356aac3c81b133626315fd6c
+ last_write_checksum: sha1:ee697c8e2807f2b86c3de73bcbc013bbaf4ee2e9
src/__tests__/mockserver/internal/sdk/types/bigint.go:
last_write_checksum: sha1:49b004005d0461fb04b846eca062b070b0360b31
src/__tests__/mockserver/internal/sdk/types/date.go:
@@ -4067,7 +4231,7 @@ trackedFiles:
src/__tests__/mockserver/internal/sdk/types/pointers.go:
last_write_checksum: sha1:fc2275ea006257ba9ba4ff6f2a2cdb6205371eef
src/__tests__/mockserver/internal/sdk/utils/json.go:
- last_write_checksum: sha1:5608b7911537cefb829eadfd5df85f43d0918a1d
+ last_write_checksum: sha1:6c771a2a3442f04ef7f925fc37b3e16655cd6ab4
src/__tests__/mockserver/internal/sdk/utils/reflect.go:
last_write_checksum: sha1:2e555f970ae33dd41130199d1b87c9864b485fdf
src/__tests__/mockserver/internal/sdk/utils/sort.go:
@@ -4114,8 +4278,8 @@ trackedFiles:
pristine_git_object: 6471c989c852287b210470481dda5853db47ec58
src/__tests__/summarize.test.ts:
id: 3105d6ebc7eb
- last_write_checksum: sha1:160431c499f848da9e93d32c2586e3920ce937b5
- pristine_git_object: 7c2057b787870dfe9cd556ae648d1bb75755ff72
+ last_write_checksum: sha1:f3d78f3ae21a89c6c3912047dc02347ce8cc05dd
+ pristine_git_object: 49c0ea429fb89fa3796c96fb9c062894e75c1c31
src/__tests__/testclient.ts:
id: f142c080bff8
last_write_checksum: sha1:a62cc200f8a9f9c0310ce1b8ba6392d480ab5569
@@ -4150,12 +4314,12 @@ trackedFiles:
pristine_git_object: 8d3997362d0d71953403687b34533e3eeda0e3f3
src/funcs/clientAgentsRetrieve.ts:
id: 5e4255c3b5de
- last_write_checksum: sha1:60e665274ce0cb065b4082b93008a6ff6aedf663
- pristine_git_object: f0f928f2eea7b0fe5168cfc2e89b54dcfff1cdea
+ last_write_checksum: sha1:df608ad169729a68a3d2148cb82c9a37286281de
+ pristine_git_object: d0c862f9099109b647610f4df72fd6a5f7bc8e9b
src/funcs/clientAgentsRetrieveSchemas.ts:
id: e1b3039050d8
- last_write_checksum: sha1:833e2068fad81fd53cd74fc3773c9c510b44513c
- pristine_git_object: 4c50930bf8e11683d848d487cedecbd35729fb2f
+ last_write_checksum: sha1:88f30bf21e98e7453839ea5514d1b6cdab590511
+ pristine_git_object: 7cb2f16e3d43b60f6c1715cd93b1e4e7d13836ee
src/funcs/clientAgentsRun.ts:
id: "35597425e048"
last_write_checksum: sha1:549b8f9b50d47fc6832f9a07529003cdf0b4e567
@@ -4166,136 +4330,136 @@ trackedFiles:
pristine_git_object: 13b7cb6ac9872d43abfa3515d3222ae4e714a7ac
src/funcs/clientAnnouncementsCreate.ts:
id: 2c33af0f9713
- last_write_checksum: sha1:8c303f91e816ee00b53aef798153207d1e22d699
- pristine_git_object: f5524c94d708a1cda95d6efd304a0b9fdd4a1130
+ last_write_checksum: sha1:4337737d961352abca7e8e1ca5117f23b28567a8
+ pristine_git_object: cf79c4d3392745b7e1d352c31c89cc8297ebf2d6
src/funcs/clientAnnouncementsDelete.ts:
id: 494077b17456
- last_write_checksum: sha1:02d8647cdfe7158f787e6668e1adfeda059a5b0c
- pristine_git_object: 32448a9c9a532b6fc5b1a76bc84dd435f934efc1
+ last_write_checksum: sha1:9c02e82fb943a4e24469c58596d668cf92433f59
+ pristine_git_object: d9cdccba812da21628dbf2610f2a277f8faca8ad
src/funcs/clientAnnouncementsUpdate.ts:
id: 8a6292aaba2d
- last_write_checksum: sha1:d7cbb65533be4ebb90e0c4a3283b90c0ae384fb8
- pristine_git_object: 67941e719b0c654e15226036312375faa10cbadb
+ last_write_checksum: sha1:47d25a20186a1696795984698e42d2c9834875cc
+ pristine_git_object: 8135039ca092bb2d0935fbbc8e7447065272bc88
src/funcs/clientAnswersCreate.ts:
id: 1f2a7bd23317
- last_write_checksum: sha1:b494ac957302a399b6c20016aa97ca143c3e7d69
- pristine_git_object: 28ace2c4f86a2a38196d634fafa4c0d7b5e61f36
+ last_write_checksum: sha1:b0f2f29abd2da5a8c82b28b5258f8994141fdb2a
+ pristine_git_object: b473a8effe1188234635d5fc2b950ccc9eb60f2b
src/funcs/clientAnswersDelete.ts:
id: 755d45559997
- last_write_checksum: sha1:83a39f5b18a49d2bca0a14e40b918508990075f1
- pristine_git_object: 03c428ff70e5bbe6ac46bed404655e66ea873fc3
+ last_write_checksum: sha1:341dabc393d701f1703e17c63b446f4f9fc92f3d
+ pristine_git_object: b7717f101eda3fa318ff70ebb05a4deb700cb7d3
src/funcs/clientAnswersList.ts:
id: 677bd8c62d10
- last_write_checksum: sha1:e2f781e66add15a63cbd6d90d7e6d51d5d34a066
- pristine_git_object: 1e486598173058e43addfbccd2ac89cb6ebba4f9
+ last_write_checksum: sha1:6c822bd49540ad493f6b4cb1096e650882c83b5f
+ pristine_git_object: 53cabe6d047943567a84c326785d0b094ff50d1f
src/funcs/clientAnswersRetrieve.ts:
id: 5f706970fa10
- last_write_checksum: sha1:818084180f9a22da2ceec1a174f6b9c990a7e61e
- pristine_git_object: b77d4cac22fa15c60edb94aad6261aba65e47583
+ last_write_checksum: sha1:5143f3c248815a4c10895336f1c9a134d83aebc5
+ pristine_git_object: 3eebd4536c31fbbfdb51e02bb634139bc0739129
src/funcs/clientAnswersUpdate.ts:
id: 861cce30f82e
- last_write_checksum: sha1:435958d3291373dde930615c497586bfd2e0dd2a
- pristine_git_object: fb11f5390169d4fc593cfc38ce0569ddb80fb408
+ last_write_checksum: sha1:d48d3647220c778761b228ea3b73d90d090bc694
+ pristine_git_object: 40d6b7f88338fe52eacfe437a1a42d0561566cea
src/funcs/clientAuthenticationCreateToken.ts:
id: 8c3ca8c0f7bb
last_write_checksum: sha1:4aa59bc4236d947f1d9fd0a6c02ccc86088c802a
pristine_git_object: 266a19faa4a3ee0da003db49a817064445bca722
src/funcs/clientChatCreate.ts:
id: c207ff22f068
- last_write_checksum: sha1:cf619a83512d5ee132daa30e070832c751d18062
- pristine_git_object: ec42cd5c7b75eefe6af0071463e6553beb340fd4
+ last_write_checksum: sha1:be3d3d11b567913c96e2402970d266db08a64f17
+ pristine_git_object: e1be0b7c533c8f94c7b351386af1cecc471116a9
src/funcs/clientChatCreateStream.ts:
id: 1d21de4d418e
last_write_checksum: sha1:28f46835c28df5a24713280f60a215fc48a05f9e
pristine_git_object: 9e57d445783783dccd0a2f29923a653568b0cb48
src/funcs/clientChatDelete.ts:
id: ee7feba76345
- last_write_checksum: sha1:2d554940dfca1c60b2c97c0ba977bf2aac27a62d
- pristine_git_object: 522b1eb4144509db77c42a47158eeb06af36bef5
+ last_write_checksum: sha1:e5c18bff4f6d136d4b55dc24c1c47027307333da
+ pristine_git_object: d0d29e3c09ddd6cf6b345b8d37ae1a3758cd91fe
src/funcs/clientChatDeleteAll.ts:
id: fae3135b9988
- last_write_checksum: sha1:d768f55ae232671a8893328d60e5c6fa5391a6be
- pristine_git_object: ff80f1a451ec738207d7f80e8528b3e2c0395164
+ last_write_checksum: sha1:a215b6c2466937f3b74692b391135903aed2d792
+ pristine_git_object: f961f54d344eadcb8d8115edc1fac472fd974321
src/funcs/clientChatDeleteFiles.ts:
id: 5e9728759f6c
- last_write_checksum: sha1:6c8d3d8ede69614973c064e071f08a231980fd10
- pristine_git_object: cb18dc31ec0571811c18ab8825fc3a3d29db77f9
+ last_write_checksum: sha1:520a40d6fa3597ddf5c4448fbc0a81f685bae5b8
+ pristine_git_object: a714bae67b72f1171067f9cd1b169800b13736bd
src/funcs/clientChatList.ts:
id: 1beb47f6bd37
- last_write_checksum: sha1:b4bc0ac299f12134a99854fc93e62615f2439c51
- pristine_git_object: aa6ca44f63f8dcc87a22a7f01066919e3546d058
+ last_write_checksum: sha1:70bbf069b18b6bae3a066e6e8e629c86d9d020a9
+ pristine_git_object: 5fdbe491d985f583e1d19b3df1162a8755811dbc
src/funcs/clientChatRetrieve.ts:
id: 846c6b2ca39b
- last_write_checksum: sha1:62c5d21b0d9ff38a63ea117fffaef912dab016dd
- pristine_git_object: fb20dc0d4790584c892fb599eb7195eafd1b8a3d
+ last_write_checksum: sha1:7e7858a236956839cc614ff5b39cd7f24b484883
+ pristine_git_object: 26c12f4827aabe3a9b14d92ad49cef09533d0a63
src/funcs/clientChatRetrieveApplication.ts:
id: 27fa8b1413f2
- last_write_checksum: sha1:e46af85735827cbdf9d7fd89124e349c78c3ab69
- pristine_git_object: 253c64a2c55ec7f0eb00d5f0bf3e635725b670ce
+ last_write_checksum: sha1:af250cb2e4c0c5dffbb95e55719ab13a987182a1
+ pristine_git_object: 134b67c1790034d3d0b8329f72ed15754f53ce2f
src/funcs/clientChatRetrieveFiles.ts:
id: b461147623e1
- last_write_checksum: sha1:5edfb864286528b74c21c33337419b6665cf36dd
- pristine_git_object: 6d33c29b2c0bdda4ca704bc040fcfe0eb674f213
+ last_write_checksum: sha1:a5d1dfb6648ae8ee022b0913ea616ec945c50f8c
+ pristine_git_object: c081da5fc437ac31403978af244c1f08830db4d6
src/funcs/clientChatUploadFiles.ts:
id: b89ef34f9dd1
- last_write_checksum: sha1:ed9120a9e51e4013c586773c68018aba65b0411a
- pristine_git_object: 673aea99136ef424a792dd94cb614d4cbb47733a
+ last_write_checksum: sha1:7caa7dc6814ca51fc33fa4c801d39281323c42f0
+ pristine_git_object: e98ece1b5cb2dd7018f498f8e703ee7d8f35843b
src/funcs/clientCollectionsAddItems.ts:
id: 859bc7abed24
- last_write_checksum: sha1:0abd8dfdd0e93627a1713b56f0fc4bd717ad2a4e
- pristine_git_object: 70767a01d11ede40e3d53cf6bbcee247c403c2c2
+ last_write_checksum: sha1:e000c7337a4daac2ea6676ffd627ab1c3e3dd0a0
+ pristine_git_object: 17a908aa636f0a0ee0a194119d22477ab00d5aab
src/funcs/clientCollectionsCreate.ts:
id: 6cd563881861
- last_write_checksum: sha1:bf7e071105052c72b099bac65e7fface43beb72f
- pristine_git_object: 992099ac43349ae9d5388c7792ffc8f25ec2f948
+ last_write_checksum: sha1:c72e90646a6c2a47cba165c3a963c119b32bcc32
+ pristine_git_object: 957d370e79e61ab0d4c521b3e09731e5d6f23ba3
src/funcs/clientCollectionsDelete.ts:
id: ae52bc03c202
- last_write_checksum: sha1:a6d97e64717d33c75afc3d6b5b1b652a17dc4711
- pristine_git_object: 47461d09299d6b3fb7ef4317306c666a593e0edb
+ last_write_checksum: sha1:df7414948c7b8e8865314ce0968a2371762c9f0e
+ pristine_git_object: 8a08261bac1b5b28dae444f3ab9bd39687b632c2
src/funcs/clientCollectionsDeleteItem.ts:
id: 1b3f76c09753
- last_write_checksum: sha1:e9367f8fe4dd1719c9c0b484c9ac1765b308a52d
- pristine_git_object: a2c68b00b1dd73af956cee70d902c10e25ef56ce
+ last_write_checksum: sha1:add4ed2b1c1d44c074484b5adfe21f3ae0cce9c1
+ pristine_git_object: 1b3bcbaa0e4d987dc7b3b7edbe57c35858d664c1
src/funcs/clientCollectionsList.ts:
id: 50726ccbb9b6
- last_write_checksum: sha1:cf810fdc6a5e852b9c9fcf42935c8717d283c841
- pristine_git_object: 57f118b45997a78990159d36ba17c7bc55d11be7
+ last_write_checksum: sha1:1f41ce535cd262d9893a177aed179ee2774b1023
+ pristine_git_object: 7a3dc2fd659cefa0d9d5ef9dae9ff576d919d320
src/funcs/clientCollectionsRetrieve.ts:
id: b65f445b98f6
- last_write_checksum: sha1:8091c97ce4d0f1c93e3c98fec4206da455815d4f
- pristine_git_object: 9bf2ceb6262816ee15e32d1eae295bbd4620b0af
+ last_write_checksum: sha1:8aff148ac6acf3b4a08b432c1d25ef4f2f946a37
+ pristine_git_object: bdcb1d67987568668f893ecff064c88dc386adff
src/funcs/clientCollectionsUpdate.ts:
id: 2f1a42a18e76
- last_write_checksum: sha1:4b31dff98f6982950af16a6285134180ac2b91b8
- pristine_git_object: d7ce0ebd8b42d7aa43a710d6005ac1898a90d0b5
+ last_write_checksum: sha1:320e2808262d79b092df18a4cd3288298cfa6aef
+ pristine_git_object: f219ac38e05090f23bf8b5c81eebd4401c33d613
src/funcs/clientCollectionsUpdateItem.ts:
id: 6e55e0e9d347
- last_write_checksum: sha1:fcbfdc6f80cb8f95c7a4d2a002c961c84194ee8b
- pristine_git_object: 9b04c00c054add543231be9087e2c8cb3c54e968
+ last_write_checksum: sha1:e3645c76be332aabceb184f03577d99f776b055f
+ pristine_git_object: 5c5e49f1fb65cfaef3339a670c49a7b3b39325a2
src/funcs/clientDocumentsRetrieve.ts:
id: a6f01183d4b2
- last_write_checksum: sha1:8783e20288e5b20722bc91315a098a6392ad9a34
- pristine_git_object: e19a87460f2159eaf2c0958b8dc1874221847f39
+ last_write_checksum: sha1:b4dddfce19626c2d97b9b5fc395f984633fc815c
+ pristine_git_object: 3fdb4397bae3530416e53fed024a5f0c395b0e39
src/funcs/clientDocumentsRetrieveByFacets.ts:
id: 7775e411be28
- last_write_checksum: sha1:7bf935b7a501c5c4009f3bf72ad0221cba4f8775
- pristine_git_object: 4c331393005aab5aed60841ec4b625e1dff56ebe
+ last_write_checksum: sha1:b20b807ca4ba45d95fba5f4d0c6a8e82a138e409
+ pristine_git_object: 7643888f32645739c9719cacbc6b615c0b5edafa
src/funcs/clientDocumentsRetrievePermissions.ts:
id: 5aaf429cb297
- last_write_checksum: sha1:20e7869d13c724aebdf4532cbdfc5aacef3d6b16
- pristine_git_object: 2fd3de3a945055024e4789615eda325f17fdc888
+ last_write_checksum: sha1:14d7b83294294d7344750c0ff4bfe7682f3424d1
+ pristine_git_object: 0580101dc6e16c376d9762c1a054f70bc56cc249
src/funcs/clientDocumentsSummarize.ts:
id: 5fb989a57faf
- last_write_checksum: sha1:9d0032f680867f61462f60131041863b7d736146
- pristine_git_object: d2932851be8692771c717beab2519ede54f5c6d6
+ last_write_checksum: sha1:0178ccc17f099e1be965dd2a54eb300319d22af3
+ pristine_git_object: 4fee6e1a50467a885b4f3ee63e1ae3f24b732314
src/funcs/clientEntitiesList.ts:
id: 7b5d11b855d0
- last_write_checksum: sha1:c1fa08833386163f4c2eb80b1359287b95632501
- pristine_git_object: e38961cc4078ed0855370e1c61032e5bf75ecd50
+ last_write_checksum: sha1:388b7f70d14d28a761337028dbec8ccdd5e766bd
+ pristine_git_object: c3b97c93bc5c833a097841970ca0e6c1b3b95ec6
src/funcs/clientEntitiesReadPeople.ts:
id: f0bbe78cae72
- last_write_checksum: sha1:bcdd5f9c1259db9088d34c4949b939f85fd45c9a
- pristine_git_object: 6d2d78f84695a920bab5e0473df0518862fb2af3
+ last_write_checksum: sha1:a36c695248e42b42b8fa81b40dc75da8b82ebb83
+ pristine_git_object: 73452ba5cc82b84b6d8ac44a7dc9af20fae6b181
src/funcs/clientGovernanceDataPoliciesCreate.ts:
id: 798d0514f6f8
last_write_checksum: sha1:4ce067972dc45a3a54c8667b496d605941d4639c
@@ -4338,72 +4502,72 @@ trackedFiles:
pristine_git_object: 55f0fedf4f944f273514fc42cbce6b6916c2ba24
src/funcs/clientInsightsRetrieve.ts:
id: 7c8b5069fbcf
- last_write_checksum: sha1:3505ea579c69133a860beb1065f1bb9702c7b2c6
- pristine_git_object: 9a79bc49beb817fdeb6fc31c429d3ce3cc32904e
+ last_write_checksum: sha1:1d9cda11a4ddd5c38c0c8dcbef88f0ad02a31a54
+ pristine_git_object: e84187c967d829ea76516a7cc96ee8a6b7a4f644
src/funcs/clientMessagesRetrieve.ts:
id: a5af57f4b8d4
- last_write_checksum: sha1:b5f9aa2b44271e94c422c400f42a181d53b7feda
- pristine_git_object: 79818694d4205f5ec3dcb2f201fe52cec588764c
+ last_write_checksum: sha1:72de7be417a592d59095357bb7d8cc94a151c83f
+ pristine_git_object: 8a3a7016d94b32703f5d964148450c9d5770b9db
src/funcs/clientPinsCreate.ts:
id: 6d9550f2c10e
- last_write_checksum: sha1:72dcb29cb99366887ed31e6f208d073c6a853632
- pristine_git_object: 11fe8c6b3d2d1cc959e525ca315fa1781148b8fa
+ last_write_checksum: sha1:e8f32b858bf56b4cfe7c32dc8300b41e725e923a
+ pristine_git_object: 764dfe84c0c3a7bdc2516ac4dab03331c8f1182e
src/funcs/clientPinsList.ts:
id: 24d68e01e052
- last_write_checksum: sha1:24317fb5d53a2800afcddc12f269813bf4e108bb
- pristine_git_object: faca847f79773727534c389676ac6f3af0d33549
+ last_write_checksum: sha1:39d07d2e3044a9f2132c18419b1e0af2dfc106ea
+ pristine_git_object: 561332d9b9a49484e44ba41d3169fe4e6ad7b7f2
src/funcs/clientPinsRemove.ts:
id: 8a51b3ec312c
- last_write_checksum: sha1:7162983697321f62c8e9e00cd03050e8a8036b36
- pristine_git_object: dd80b47fabd328ba4f8bacfbe0cfadf5aed3043f
+ last_write_checksum: sha1:3ad5d08d1735a6ac60e7bd6e5bad2068448ddf0e
+ pristine_git_object: aeb7845155b4068bdd8a93097555c44df5d0e201
src/funcs/clientPinsRetrieve.ts:
id: fe0a4e70a598
- last_write_checksum: sha1:5bd7caeb37f434016d0903e82c72f013f89bc282
- pristine_git_object: 0fb782b4b6e51cadb18d6b7f00f962705fce45ae
+ last_write_checksum: sha1:d2bc91950551a703e7f0d3db68b40063c1553bbe
+ pristine_git_object: 85183894c70c17530b35324b9ff30ac629a56c8e
src/funcs/clientPinsUpdate.ts:
id: "374459570e61"
- last_write_checksum: sha1:3c380025ea908e62503d051d9ec9d3187d5d50cb
- pristine_git_object: d4f2ae83153d66ab38b3ec6ebf71daf5f1aca6ef
+ last_write_checksum: sha1:562e40918ecd5fe2a484d3e5d4fc7bc125558c66
+ pristine_git_object: ea93244ad9d5b3f93804048a409278c24f444fec
src/funcs/clientSearchAutocomplete.ts:
id: a10dfc417796
- last_write_checksum: sha1:74bacd683b2e713620d707a0e60a8b7f5cd2e016
- pristine_git_object: bec1fa3b2fa7e45f305cca9b3369f8705fe37196
+ last_write_checksum: sha1:6db7a6dc5361291e084ece8a92a30a84a64b3e4e
+ pristine_git_object: 41969824f23e01e7c6e897a543f455a2caec29fc
src/funcs/clientSearchQuery.ts:
id: 4135ce8be9da
- last_write_checksum: sha1:2e8f07ae23ef67680f02e7628506aeb0f29369d0
- pristine_git_object: f8c5ece5eccd0a3f8e746cf93b0a530544810d28
+ last_write_checksum: sha1:bff00659e696725559e81e864ea73c581711d10a
+ pristine_git_object: 2896d2fb721bc16ebb8204b0efdbbb483db21d4a
src/funcs/clientSearchQueryAsAdmin.ts:
id: 63c6ca1e7814
- last_write_checksum: sha1:6e03389d950b4c210e9d5f068ef1016778379ead
- pristine_git_object: 8c54f309693ffe56d706f11b59f3493bb22d1a77
+ last_write_checksum: sha1:2620a375f79aecd0d39625e69658f0eaa6a05622
+ pristine_git_object: 99fbd05811825313eb301d725043f76592dc24c5
src/funcs/clientSearchRecommendations.ts:
id: 3cc4fb2a248e
- last_write_checksum: sha1:29e9026f12f36469fdd5a58ba458ca29a5225c79
- pristine_git_object: 0b65b0d66aba01a9b50b8f1b5c08bd2157e5a5e4
+ last_write_checksum: sha1:7d6e598de7581fbcbdd5c7f685a857c719743a49
+ pristine_git_object: 26060bb9b61b3b82f4999141abba64fca6191b52
src/funcs/clientSearchRetrieveFeed.ts:
id: 01170bd71647
- last_write_checksum: sha1:1a44678bac10b7ac7062489118a2b9eee903d807
- pristine_git_object: a5eb5185772fca08c24676bad76f5b7aa60d5f2b
+ last_write_checksum: sha1:4bf3cacda40b819b835d2ab44659170849c468c6
+ pristine_git_object: eac3120b220f15f14636569158982d47e168d93f
src/funcs/clientShortcutsCreate.ts:
id: 9622706cffe8
- last_write_checksum: sha1:848becafbad92bcf731859aeaca67fd3a537d31e
- pristine_git_object: 55498fd29c047e327e8b949923b27716d4539a88
+ last_write_checksum: sha1:cee6388e2dd9dac2a33fc2526a1df5c3266caf14
+ pristine_git_object: 78d58cb6add5dd245d19eef1fc1cd203e62ba031
src/funcs/clientShortcutsDelete.ts:
id: 7b913e1f54e5
- last_write_checksum: sha1:e0ca2497ceac8be5c6ba4cde01b04cf318acc806
- pristine_git_object: 91d4ee0c7c1a57c61fbe2f93463d0ed2e1255c3d
+ last_write_checksum: sha1:a94177168a557c0493e7e3bd4ace14d364ac13ee
+ pristine_git_object: b75a2649e954dfbe0adad644e1923d6798a3b8d5
src/funcs/clientShortcutsList.ts:
id: a643439d784a
- last_write_checksum: sha1:65c58a44acbd25301c5c3e5039fc4e56c02f1835
- pristine_git_object: 831f24da3189e36c6e4f1a76398a55688f4b3f41
+ last_write_checksum: sha1:142a0916c7533a2d69aefbc2796feead667a7821
+ pristine_git_object: 98ff6b0bd8e01b3139d4525e5ef3854cd50a4f88
src/funcs/clientShortcutsRetrieve.ts:
id: c7a9dcf5b771
- last_write_checksum: sha1:115417decb47f4aa0f22ff9fdc63518c48bbf6eb
- pristine_git_object: 1bc880fb6139f3763e72499da4c282b31d71d6ba
+ last_write_checksum: sha1:bd85a0c4d7ae3b92c540a506ca9b5ba902dafc88
+ pristine_git_object: d71d7994174ea9d89513027f74624e949d72f812
src/funcs/clientShortcutsUpdate.ts:
id: 8a7c715c6244
- last_write_checksum: sha1:5618ad6e517099fd65cb01e9a7584d67db4ee3f0
- pristine_git_object: 9866e5f3951574d7ac34c9a4ad2af8a00188ad37
+ last_write_checksum: sha1:461eef7778f8bdecd544938ae3f904e5a1cccb1f
+ pristine_git_object: aff0b16e16b1cacf7c3739bfffe8505f3270d60e
src/funcs/clientToolsList.ts:
id: 6d9c352c5a56
last_write_checksum: sha1:2ac742a890ddad7b52364c31b7ecdace9acd7b23
@@ -4414,16 +4578,16 @@ trackedFiles:
pristine_git_object: 845ee631cdc3fbaec12497ebe7e8432b52cf340b
src/funcs/clientVerificationAddReminder.ts:
id: 1bb48160e90f
- last_write_checksum: sha1:0af9e5b75ed906dcfe68bb9747b5a9887f7952a5
- pristine_git_object: e91f72a27333eda22b9b3d06267be137207d17e5
+ last_write_checksum: sha1:2561eccefc4fefac2420f3396cfb4cef27979ceb
+ pristine_git_object: 7ba5b349440beb099d5ce8d84ea619c2c9892dd8
src/funcs/clientVerificationList.ts:
id: 22cf102482a0
- last_write_checksum: sha1:e0b4de9fdbab8cf0482bb05a8405cd4ce07d6636
- pristine_git_object: 058d94ded8de19b5925d541bb9d36ffabf23a018
+ last_write_checksum: sha1:cab15b726e33066d4da5965931b88898b9c4dd96
+ pristine_git_object: dfc380fe1f9784fb4fbc36683f00c846dc4fb937
src/funcs/clientVerificationVerify.ts:
id: fe161cf2f5d8
- last_write_checksum: sha1:b19e1dffadb3b11a31bbd3514df2feb99f00025b
- pristine_git_object: cd5a5f1a33b48928290db47192ff44262dec0bcc
+ last_write_checksum: sha1:19b6c9e7375a06a9ff294dc47ebf39690f75be1c
+ pristine_git_object: 38237508e1610ee88d6c9fd73a4134348aba08e4
src/funcs/governanceCreatefindingsexport.ts:
id: 5e4433cb388c
last_write_checksum: sha1:0cdc93c0221315e078d907ba38b034de11d4dc19
@@ -4610,8 +4774,8 @@ trackedFiles:
pristine_git_object: 0aebd8b0a4867e35cb3348fc52921c3c0b4725b7
src/lib/config.ts:
id: 320761608fb3
- last_write_checksum: sha1:a99db4b4f230b36bf2432f3e4a17efe5619034b8
- pristine_git_object: 20bc3868ab28afeeee30c37e3512656d92fa2b8f
+ last_write_checksum: sha1:79bfc7a4407f93450f0051cb2b87e9041f9f0b3b
+ pristine_git_object: bf0019a9463ab4935611e341b3a59883e045c7dc
src/lib/dlv.ts:
id: b1988214835a
last_write_checksum: sha1:1dd3e3fbb4550c4bf31f5ef997faff355d6f3250
@@ -5642,8 +5806,8 @@ trackedFiles:
pristine_git_object: 332cc9cd1d773fe1c8fba1448ace565e81b7d02c
src/models/components/gleandataerror.ts:
id: 2247b931fb35
- last_write_checksum: sha1:9a96896885019e876151a9965b150e1a81372eeb
- pristine_git_object: 067e73d4fe33d9bfadc3162fd781cc9015371a3a
+ last_write_checksum: sha1:a624eb9d94a676a881f3d7cdbbf2f18692545085
+ pristine_git_object: 93636bd2f2a39bffa9c961166b14979f63af6ab9
src/models/components/grantpermission.ts:
id: d051406e6bc9
last_write_checksum: sha1:ef5754db3e9023efa41fa3fc5509380518db7368
@@ -5714,8 +5878,8 @@ trackedFiles:
pristine_git_object: fb9c7c9b0509e70a10dae1d56e151f94f5a3b38c
src/models/components/inputoptions.ts:
id: 82d4ceeff497
- last_write_checksum: sha1:f07cf136666d3b70a17d655d5bc0b0dd16c13154
- pristine_git_object: 7a3b0ff7c160e236b8e864b865be84e6bae76937
+ last_write_checksum: sha1:b88cedf095e2b502079110e8146b00d0b77497fe
+ pristine_git_object: e8a2c5ecc2ca54b7ad61b9a4686e000f1c37ba8f
src/models/components/insightsagentsrequestoptions.ts:
id: 683d0502b66e
last_write_checksum: sha1:103e7cc269183f7600580dc8641d7e9db5bbdd64
@@ -6278,8 +6442,8 @@ trackedFiles:
pristine_git_object: 9dc438aaf639b251417a6ec8a5e8c5060eaa2ead
src/models/components/ugctype.ts:
id: b0a3f56ca4ad
- last_write_checksum: sha1:17bac47249799143691677a2d9d2453cf5060450
- pristine_git_object: 6798658ca7e8d1c12a9bf6093aa584a92ec5eabd
+ last_write_checksum: sha1:ebc70ae8a08b44307f292a42116f78ddebc2d587
+ pristine_git_object: c77a3e51e9a6e85c00847676b4894e6051a953e8
src/models/components/unpin.ts:
id: 4902ca159289
last_write_checksum: sha1:c74eea9d782f7c9338a48bc6d35e663e2ad7fea5
@@ -6434,8 +6598,8 @@ trackedFiles:
pristine_git_object: cddc1792fa43a82dbfe4068e23841205a4ee84f0
src/models/errors/gleandataerror.ts:
id: 3aa14ea241e8
- last_write_checksum: sha1:b96cf7e8d7df72d9ee95f0dd179b43363c5950f9
- pristine_git_object: 4b7bcc51356eea2ecddc9f5bc5e1e5a5ce380fec
+ last_write_checksum: sha1:e1b8c94ffda13b99a28b0c12f5c927bb227cb0e3
+ pristine_git_object: ebee0d026cc40cc81cda20d0b0626c6cd5dfdccf
src/models/errors/gleanerror.ts:
id: cf3e07f14145
last_write_checksum: sha1:ce4be2e9a9411ef1d7a07ae770571bdb912e1c8b
@@ -6456,34 +6620,82 @@ trackedFiles:
id: fb6b2b49c445
last_write_checksum: sha1:a69da17627bcc32b820544608f3400423ea53f26
pristine_git_object: 6826e1208a5d7b7d310535d18909646522bf0fbd
+ src/models/operations/addcollectionitems.ts:
+ id: 12bbf14f66d9
+ last_write_checksum: sha1:ff4f3d19f3ab1697b99e46192af9afecc43d3683
+ pristine_git_object: f04dc355797b155690fe14bd94a92b526d24a780
+ src/models/operations/addverificationreminder.ts:
+ id: 99c206579097
+ last_write_checksum: sha1:8490768cdd91868396de40ac82fec1dfba5f6df6
+ pristine_git_object: e9adb46b83aa8ef979ad15420c868dbee9d4c91b
+ src/models/operations/adminsearch.ts:
+ id: 96dfec5ca660
+ last_write_checksum: sha1:e098f1f2edf0d6e213b42324c315514b2f91eac3
+ pristine_git_object: c3bc81b4003c3eba81272b6d0d2554fff969f49b
+ src/models/operations/autocomplete.ts:
+ id: 29a0f394c222
+ last_write_checksum: sha1:8c7776b793f1ccbbd3f51e14b82aa4202f5aca67
+ pristine_git_object: 2894d0606db727314f65da1162d8bdcf262be448
src/models/operations/chat.ts:
id: 426c444b60f4
- last_write_checksum: sha1:f828fca110d13848a23640bec516373b1f48291e
- pristine_git_object: 2cd899d0e10b21a326dacd2796de7d82aad22434
+ last_write_checksum: sha1:c5e3bdaf56dba3b16355afcc8b85a7333c271275
+ pristine_git_object: 558d479ccf4c75233964047f96749da80b71b9d2
src/models/operations/chatstream.ts:
id: 6165e1b3f420
last_write_checksum: sha1:485f43b086374a63648aca073b2770dc809e9681
pristine_git_object: 8b826d1c7f8c21a9de892d11d25fed61a616628b
+ src/models/operations/createannouncement.ts:
+ id: 054e96d3f08d
+ last_write_checksum: sha1:494796a1d6cb384ccf55f35f12eeb51aeb3e3ee2
+ pristine_git_object: 6b8e393d75cf47c55f2d3680bc6b69c085eed10b
+ src/models/operations/createanswer.ts:
+ id: 6f43e09fe927
+ last_write_checksum: sha1:95af91a03f2fce42bfb10645fb56c9177199178f
+ pristine_git_object: dacde84479623bd453e4eea3481c9b4e06b5e47d
src/models/operations/createcollection.ts:
id: 015f86c72852
- last_write_checksum: sha1:4db8fdad0a92080477e12cf5f8d30a901b4fc15f
- pristine_git_object: 6296be0b8f46dab3a40990b2094c450b66a469d4
+ last_write_checksum: sha1:0ae4b7c87fa73d50c2c19a87faf8225a08f4106c
+ pristine_git_object: 5b06fad3fcbb727c25cc0e13188d538252f46a38
+ src/models/operations/createshortcut.ts:
+ id: 247129640c25
+ last_write_checksum: sha1:71bf323d6ed42606542df93cc58f056611a87e99
+ pristine_git_object: c60d8f38065ca1bb714a1f138c9194a8e8e58ffc
src/models/operations/deleteallchats.ts:
id: 41a091b2e8f5
- last_write_checksum: sha1:efd60444089ecdb9f603621d1d80e9642a331622
- pristine_git_object: fece46c85e17cffed99651ca3c7d5003f2d7627f
+ last_write_checksum: sha1:068042de5e161b51cce6f06ca0b0f5f0b8602abb
+ pristine_git_object: 0948f596948e39783a00939e136de4c9951aaa07
+ src/models/operations/deleteannouncement.ts:
+ id: 9412670471fd
+ last_write_checksum: sha1:03dc28db7c375fa0ca517ce2d30fc32625e5e041
+ pristine_git_object: ebe508fed60ff11be6244ff7dfb0740ae1e8ae0a
+ src/models/operations/deleteanswer.ts:
+ id: 57bed4c10f6d
+ last_write_checksum: sha1:fd581315ae62383f3ec4c2774437339a5e13de47
+ pristine_git_object: 6f04a84618ecea769158f88a61f31c64667f4e65
src/models/operations/deletechatfiles.ts:
id: 9f5d7a42d826
- last_write_checksum: sha1:a56da9f87fe97af86eb5b463b6f5ad3b76d1e8d9
- pristine_git_object: f2aba8269d3aa8505e25aea1bfb736a94f5c9e8e
+ last_write_checksum: sha1:be5357d2c9ef8982ebe06a20dc579cfef1de865e
+ pristine_git_object: 2d70cbd55501f4dd3eb79c48c6828599c7c245e5
src/models/operations/deletechats.ts:
id: 7d0f81696583
- last_write_checksum: sha1:4bc242156ee8da51a4f9479fd41569ec37bdbce2
- pristine_git_object: 3fa387035006583d2c313c1b23f578a836346b1e
+ last_write_checksum: sha1:3ef90322ca80ca5b41862550a0c217ebeb189bff
+ pristine_git_object: 1d99c3bd17dbe0680cd0725a53906505662ff6a0
+ src/models/operations/deletecollection.ts:
+ id: 748f2d397bc3
+ last_write_checksum: sha1:f93fe30215c1b2e4650b4a38a0d1a169a09fc741
+ pristine_git_object: 02672fde23179c48a42286ebff256d9a0a99c627
+ src/models/operations/deletecollectionitem.ts:
+ id: 1c2a0e6a3400
+ last_write_checksum: sha1:26e2a45a4d500331b785dd6c72fbdde0ab24d886
+ pristine_git_object: 3dd9464ad14d19576cff9b22e99776133a4f80d9
src/models/operations/deletefindingsexport.ts:
id: 0b4cadf4ec18
last_write_checksum: sha1:ee22c1c20302f5e77907246acce9171ec9c893ca
pristine_git_object: 682080d3c2037743fb2f57ae13e1225eb730b9bb
+ src/models/operations/deleteshortcut.ts:
+ id: 8a2dda587e77
+ last_write_checksum: sha1:d29966e3b15e07d8abaf847e7df9bee3fa9cd9eb
+ pristine_git_object: 9eb260ad54405371f6230733f2288c781b5a6490
src/models/operations/downloadfindingsexport.ts:
id: d470354ee015
last_write_checksum: sha1:fb156ed3a159c7aca0cb726a549a57dd3eb9e02d
@@ -6496,34 +6708,78 @@ trackedFiles:
id: 234d5c60da72
last_write_checksum: sha1:75d6cad3616fc598dac2809b21fa582f45c27b81
pristine_git_object: aa9e1f6ebecb39b7700ad5f34ded51f5a0a39564
+ src/models/operations/editanswer.ts:
+ id: 818d3b03db54
+ last_write_checksum: sha1:308675c8f15d2a8a7b2018c37a7c212ac93b02d7
+ pristine_git_object: d8f112bd1051cd8421ef7130130527f7c8f21d9c
+ src/models/operations/editcollection.ts:
+ id: 9a6a8fef4196
+ last_write_checksum: sha1:fad4671b391bdc76ec61b25201232ccceca7f66a
+ pristine_git_object: 4573cec49d3f6b01aa1c818df6af38be302b2d16
+ src/models/operations/editcollectionitem.ts:
+ id: 24427c2ce548
+ last_write_checksum: sha1:7b48a23ded06d08d1f2d473cb356e03ee2bba00b
+ pristine_git_object: a54f0bd3f853cddd340a7b0bb579a0301baec90c
+ src/models/operations/editpin.ts:
+ id: 0c78c0611c6e
+ last_write_checksum: sha1:db7ab151a8ed629a8b1f8064e55b5b995c249873
+ pristine_git_object: d4ec8f63fbf4dd8cc3f62bbaf45601c069f0561a
+ src/models/operations/feed.ts:
+ id: d15682826484
+ last_write_checksum: sha1:dc263fe61736f589acb5357e54a2445311e7485e
+ pristine_git_object: 2c55640db0808be8ae7f8f4f0847dcaa54dffc87
src/models/operations/feedback.ts:
id: e2a5e7a5d2a0
last_write_checksum: sha1:30880f8b6d603efbe5a1f8baa9f1795642e6bf90
pristine_git_object: 2b59179dcbfc5078d4e3178ac407c742ebdf9884
src/models/operations/getagent.ts:
id: 5537f69ba2bf
- last_write_checksum: sha1:71b9bac707fbcd69da7658cb88df020e9035b97a
- pristine_git_object: 6f1795faeb8370627d81bbc796fb3e54ff8717c5
+ last_write_checksum: sha1:05b39f1a02d2f12cb3f5539c02d3c5e7f5a2427e
+ pristine_git_object: 40e8579c1ecaf74839ec16c363933f2642a01412
src/models/operations/getagentschemas.ts:
id: 4e98c6b5d797
- last_write_checksum: sha1:8ddf23d5fdc4cbafd9825fca1bc4342b7cf68235
- pristine_git_object: 3d324338aba4d1121f37890ef7afac4009c90bb5
+ last_write_checksum: sha1:9e547efcfd4f0bebe02e5fc74f46feb0c1575905
+ pristine_git_object: 74e1dc3150f9187d88b64ecccbc525888977f3de
+ src/models/operations/getanswer.ts:
+ id: 5f328385dcca
+ last_write_checksum: sha1:2f874d825e8391d5c8a30f9cf869b9fdbb9410ac
+ pristine_git_object: e29d7ad3ed1ba2b565f6046456e9e1a972ab217a
src/models/operations/getchat.ts:
id: 5a12994a5012
- last_write_checksum: sha1:f61b5d33ba0e4c36d05df03fbeeb35a566b6e89c
- pristine_git_object: be06614d35c558fdf3df900a12bd37574b6f2a40
+ last_write_checksum: sha1:578ff9cf5ec1ad0c7c1cadf813884dbb83cc2d6f
+ pristine_git_object: 24771590fd314ff29734997805330c18f9c8a5ab
src/models/operations/getchatapplication.ts:
id: 479f4a76499d
- last_write_checksum: sha1:65ac133e153fd6959eb371bd0f2da6855231d312
- pristine_git_object: 41679b3156fb20c91b1e394210c6e4ad3bb88b4a
+ last_write_checksum: sha1:94baf7e7239a5c81faf526641b31ded841b8ccf4
+ pristine_git_object: caebb761fe0455aa8befa0bcf8fb36be925a8cc8
src/models/operations/getchatfiles.ts:
id: e143e8a37226
- last_write_checksum: sha1:8de923e17935cfb86be809cb6a9708992726cc2f
- pristine_git_object: 527c66272d849352485738d775364bc9b139298a
+ last_write_checksum: sha1:ed2b0a3deb0c97d93f88204701fd0a7c9c753428
+ pristine_git_object: 2c19460a957a3150d995c4988b0a14509a1951cf
+ src/models/operations/getcollection.ts:
+ id: a170b5a04f2b
+ last_write_checksum: sha1:3324a4630a042bb377275f3661a08117810cf99d
+ pristine_git_object: 5156bc67ed7c75058643c0e6c0c8bbfa9ec46dac
+ src/models/operations/getdocpermissions.ts:
+ id: 0728d342eb14
+ last_write_checksum: sha1:110be0ba3bed04910fe971dbe0a927bb3697b43d
+ pristine_git_object: 39b97736fcf043dcf9565f1fc5b0d8a38b4f7283
+ src/models/operations/getdocuments.ts:
+ id: 132bd71f8d8a
+ last_write_checksum: sha1:2e6927b60baecec390e682fc627e9f3d7c748896
+ pristine_git_object: 4d347b90febdd574f238305f704593931acff993
+ src/models/operations/getdocumentsbyfacets.ts:
+ id: 49421ce72ca3
+ last_write_checksum: sha1:475d0f8a9aeede1e42fca91dbd0de73553eb0d8d
+ pristine_git_object: fb1046cb1d53083fbb07fd996c486ae666b109b2
src/models/operations/getdocvisibility.ts:
id: fe72ed1c9700
last_write_checksum: sha1:7cbcf3c3ac7e3a709bc1169987efd47e59b1af44
pristine_git_object: 2f480720302588b33ffe409f7d9479775049f865
+ src/models/operations/getpin.ts:
+ id: 65226377f5db
+ last_write_checksum: sha1:7065fd32a340f155938d7d7c8a35a1a25eddf4ce
+ pristine_git_object: 86764e06233c0f50049af400151cb52261159277
src/models/operations/getpolicy.ts:
id: d38f4544ddee
last_write_checksum: sha1:fe23f6f5980e4731c00d565059590149a102ad89
@@ -6536,26 +6792,62 @@ trackedFiles:
id: 0dafae7e8026
last_write_checksum: sha1:0959fe6b7161d3bd73ec0304b07676b2c6709b96
pristine_git_object: 0c57e6e66454e01b498ef63d4b5923ecf06b39c4
+ src/models/operations/getshortcut.ts:
+ id: fcad6fa47dd8
+ last_write_checksum: sha1:4ca91a1b3702afcd8a54a3800a0ff3f80629fd2e
+ pristine_git_object: 84dab9243fc61d979c18d240f878e0470278d8a1
src/models/operations/index.ts:
id: 0d9ffaf774d2
- last_write_checksum: sha1:5db9834d20d9e1fdb90d9d3b3eea8369d7fa991f
- pristine_git_object: f39bfab6391f65032fbceed35818749ccd1d979c
+ last_write_checksum: sha1:04c9f1dfafdd795c15ceb90054e781716eff7ac8
+ pristine_git_object: 73ce30c46667a30bab6806b0b670f0186b541217
+ src/models/operations/insights.ts:
+ id: 7bef0edaab32
+ last_write_checksum: sha1:99057309ab4e0655af425b1f83916fa93b5a70ae
+ pristine_git_object: df3a40888b9b5ea95a0d1ede6ff480d3a9bbdfcf
+ src/models/operations/listanswers.ts:
+ id: 344d1f665e50
+ last_write_checksum: sha1:93f33e344053af5ce403bc2a0c44a14afb87798f
+ pristine_git_object: 1df6ad71ed8610158b16a54e93f0e604951b32a6
src/models/operations/listchats.ts:
id: fcaf6c1044c0
- last_write_checksum: sha1:b76577ffef8559e1831ebdb6d005f73f0ee9453c
- pristine_git_object: c0364c2acb7cb0d86199fbe62a749169dc25a126
+ last_write_checksum: sha1:75e51a739032ba51516633531a093718501b66a2
+ pristine_git_object: 4ba98801b4fadb296a16ddc1366f8a6f083344f7
+ src/models/operations/listcollections.ts:
+ id: 99a901fb1c7e
+ last_write_checksum: sha1:ec083cc15c7884f7b9401753ea58a7fc1a17ce14
+ pristine_git_object: 8c1fe62f10b91f305ab672d2658b75b4172dcde2
+ src/models/operations/listentities.ts:
+ id: e34cfd406fd0
+ last_write_checksum: sha1:d940debe2cc473a2037f6bd505c844676221a710
+ pristine_git_object: ec26037fbdb966638dce7ce3002a5155ab1080f3
src/models/operations/listpins.ts:
id: a12383ae825d
- last_write_checksum: sha1:3c6ee4a3ef2dcbbbae9e8d1c22c57a4507f404c2
- pristine_git_object: 2ca13ebda6798a82385e7845e2a5941800260aef
+ last_write_checksum: sha1:eda94e64b87fc50d9f612a846fae0c2716203497
+ pristine_git_object: 57ae2441f84f8ca770078b77be305b9b06cebeb6
src/models/operations/listpolicies.ts:
id: c16fc612fdd8
last_write_checksum: sha1:ff1927cbd974719fb0e4e08f0f41596d323782a9
pristine_git_object: 150a0f29b72cf03c8c4bdcc0596abcf56fa5b59a
+ src/models/operations/listshortcuts.ts:
+ id: c57437cfdbb7
+ last_write_checksum: sha1:b030c473618bfde5c4c0b73dd357d96006c146ba
+ pristine_git_object: 062132b1d5ed82d30e26bcb6764527f8827c437d
src/models/operations/listverifications.ts:
id: c21fcaad1872
- last_write_checksum: sha1:a4b93875ed032b26411d39debf8a44ec99ce48df
- pristine_git_object: 0e4fa6681dbd53bac654b79920112198d9e5363f
+ last_write_checksum: sha1:aa168712a7ea672fd3e19e5237a07c4c71b42c2c
+ pristine_git_object: 79f4d7e624a5ea4fdf0c962217d56f5f906127ce
+ src/models/operations/messages.ts:
+ id: 911218b9e997
+ last_write_checksum: sha1:851bfef3c3e512b2e66cf2c9a994612189c4cef2
+ pristine_git_object: f013debbf41ae7efeb70f76f9841a934bb49ce6b
+ src/models/operations/people.ts:
+ id: d5884b6bde37
+ last_write_checksum: sha1:44d77d2975023f6a11bb1245d1a684f8f074cbc4
+ pristine_git_object: dee5a23fd2132ad1498d4a6f0748add16ac99827
+ src/models/operations/pin.ts:
+ id: 934fec389517
+ last_write_checksum: sha1:2490523afc1889d1d23d2dc78c186595fa064465
+ pristine_git_object: c07e941bfec2f4e3d3c8dd9f733265e4b2322046
src/models/operations/postapiindexv1debugdatasourcedocument.ts:
id: 03753664a7e3
last_write_checksum: sha1:1d4e80fa7acb29ab53d9c368b0ddf7cd34a8ba42
@@ -6572,542 +6864,570 @@ trackedFiles:
id: 0e040c9b84d6
last_write_checksum: sha1:36bf5528729e03c543cb17dd8e7bfe14b739b2ac
pristine_git_object: 7fc91bf92b28906f20c6da86028f6c6fd65166d7
+ src/models/operations/recommendations.ts:
+ id: 530b0c1209ea
+ last_write_checksum: sha1:4ae14c735f51b377a123b9f60fc76611bf02d84a
+ pristine_git_object: 910b8da4ca7f09d59ce6540ac3d6ceb855d92b94
+ src/models/operations/search.ts:
+ id: 02b424e0d71b
+ last_write_checksum: sha1:e98027c40ed428b53be69f2230a43a6d5174e51b
+ pristine_git_object: b3c2fae93d17c9cbcf7328feb6b69ffc996ce288
+ src/models/operations/summarize.ts:
+ id: 7552c432b859
+ last_write_checksum: sha1:feefb746fbd91349b176159e47e130e32d503241
+ pristine_git_object: 2694bf183fa399cd4d791ed73890e2606ccf9486
+ src/models/operations/unpin.ts:
+ id: 4864df35eb0a
+ last_write_checksum: sha1:6a1c28b3a95015d8d99af7b609be09818ef51618
+ pristine_git_object: 0fe997c7c0526f4d824928ba4a31687653ec889b
+ src/models/operations/updateannouncement.ts:
+ id: d46b3e6ce7ab
+ last_write_checksum: sha1:e2803063c4ee91926385f1d18a3b427e7dd33bb6
+ pristine_git_object: 417582cb5429cf1eb281beeb0adc0900c56b383e
src/models/operations/updatepolicy.ts:
id: b6b564ec18ac
last_write_checksum: sha1:510b805c9b3bba3d070f2db334224c88ff50d9dc
pristine_git_object: b6f11c2edef344f685ddb7eb15cc5f69b9fef09e
+ src/models/operations/updateshortcut.ts:
+ id: f9d9f13d27f8
+ last_write_checksum: sha1:f39f2ef5f20cdc337549d63577269f7405034183
+ pristine_git_object: 0bd0384da9fd2aca9e5c70200e20fc6f62623a75
src/models/operations/uploadchatfiles.ts:
id: 2bfdbe94db50
- last_write_checksum: sha1:501ddf520b8445226595436c919649128945f371
- pristine_git_object: 2a94d1857a29b2511b1dd2d215bbd44f8353f4e6
+ last_write_checksum: sha1:b8d3eaeefba2416c6dd44c205c928a286d6b3ca8
+ pristine_git_object: 64fdf73814fe76875f326d694f3767aad2abd948
+ src/models/operations/verify.ts:
+ id: 78675fd2631c
+ last_write_checksum: sha1:7da65201041109101d6dfb5de42b4d2bcf4bb1d6
+ pristine_git_object: d9dd9d7ab134c81d787d025a30819622f235de0f
src/react-query/_context.tsx:
id: f8dc7b3db733
last_write_checksum: sha1:391440f82696c3358b13d19f48234cac77ef34aa
pristine_git_object: 28d30e15c562d978378630b9d24eda5c6b26ab46
src/react-query/_types.ts:
id: 8d58d2bd1914
- last_write_checksum: sha1:a6c9467a5d0b65bea73918859ca85277d93b0064
- pristine_git_object: 504419b807a7b07c25ac3ab3e4b67d8d694a9425
+ last_write_checksum: sha1:6d4204885f4aeae1a0bc6d19522dd26f7c044112
+ pristine_git_object: cd2a95549b7da1cf5d492db48cfa037b47203554
src/react-query/clientActivityFeedback.ts:
id: 501f802dd053
- last_write_checksum: sha1:3294ca4ac30e7e32f28a997e41ffe4d2e29e827f
- pristine_git_object: 8b5c66a782af0837d2c99941acb9f71d62a7e673
+ last_write_checksum: sha1:30cc8692476ce40628708cabbff9cae05d295a76
+ pristine_git_object: 04ef3a7bdb627682c47cdea01f9eccd159deec9d
src/react-query/clientActivityReport.ts:
id: 58012fb1b55c
- last_write_checksum: sha1:f41686f6beda5ebbff4ac8bbfb1386f4d0079bdd
- pristine_git_object: f379a9f6ea5ada3019a71faa0599c27a3b5a6af1
+ last_write_checksum: sha1:cf5c5b4aa2544b843544aae9cfce44aac7d03aa1
+ pristine_git_object: 127161a16e7050bf496126fb94826d5e7f7c8991
src/react-query/clientAgentsList.ts:
id: d74a1fba9fcc
- last_write_checksum: sha1:f415bfed63610c5e15574250ebd4ce2fd4ca7644
- pristine_git_object: 034bc91d5c754d6522a1e4dfd490b45e712ff834
+ last_write_checksum: sha1:f93939921cbde1d952b8ac0842e00c02b30f9f5d
+ pristine_git_object: 4d5ca6a32d2b9c622057d7c641ff6c37a4629326
src/react-query/clientAgentsRetrieve.core.ts:
id: 57f9447a6e37
- last_write_checksum: sha1:4494b5056351381be3c8920f49b4ed9dd24218f0
- pristine_git_object: 3ecba0019ab55320ceeeb1393ef3a99bc28c3d2f
+ last_write_checksum: sha1:a2b950792e3d702b9cc6126630827decb842a952
+ pristine_git_object: e3e5770732accda3092c7d10897dd6498f1a27ca
src/react-query/clientAgentsRetrieve.ts:
id: 9cc81e180e8c
- last_write_checksum: sha1:07b25ff2694cb00077e2be7080fe07c6d9d0077f
- pristine_git_object: dbc6bdf67d0841082b96666f79960dec28c69290
+ last_write_checksum: sha1:1eed9f92389e0ef9279adc2c2221b47a71bb7076
+ pristine_git_object: fd30198359ce0556b125a8ef801d89d2da4906e2
src/react-query/clientAgentsRetrieveSchemas.core.ts:
id: 0ffe96a02cfd
- last_write_checksum: sha1:777351aa25aaf44e4d26849d80584ef036e80d70
- pristine_git_object: 892769e50487bb735f253043e783b390ae87f12c
+ last_write_checksum: sha1:b498d87872218e326bf231a1f2871206400d9c8f
+ pristine_git_object: b7f89ade020bea5bd608eb947c338553fb3f5c82
src/react-query/clientAgentsRetrieveSchemas.ts:
id: 376306e5c5c8
- last_write_checksum: sha1:7ba320e5245afe91c1f709dbd50df08db1d0e3fa
- pristine_git_object: 5d49c8b222ce18f3ee426f979c9896a8e6c54c23
+ last_write_checksum: sha1:039a0f8acfd8f0f35cdccaeffec38ce5a978897f
+ pristine_git_object: a6467c36134e843b3dff9d61d92d9d2a1686e927
src/react-query/clientAgentsRun.ts:
id: 245b866b6e88
- last_write_checksum: sha1:2e151a1a95cd1f40819b763a96766fa4383d2835
- pristine_git_object: 7ae0026f66d148c7454e0c49ef3bb5fbfdf906d7
+ last_write_checksum: sha1:b944c40eb62836940c1eb7a615e7fdc2cfe0b297
+ pristine_git_object: 4963374d7065d4948382047b42b16c18fdee43cf
src/react-query/clientAgentsRunStream.ts:
id: e248dfd3c2d1
- last_write_checksum: sha1:9e36ced1fc98449364be51d6f6f8683d232096d9
- pristine_git_object: 3fbf3337fa24df099361663d13408605fad49a8e
+ last_write_checksum: sha1:e48fbf282c1451e30743fd82854fd866b2c9e886
+ pristine_git_object: 2f8b3ef7dd43d0463dc9b5d46a3ae686dc8e5fd0
src/react-query/clientAnnouncementsCreate.ts:
id: c553806c7275
- last_write_checksum: sha1:6a2fad77378b8b814e113a85d42d80575b39adc5
- pristine_git_object: 71c7e7c326fa6b6bb78c5ec4d294bad0bdd92169
+ last_write_checksum: sha1:7ea3a8f9fec371cb6a4b52a1f8d553521fb6776a
+ pristine_git_object: 26d8f6d3a62b43302e99089901a995fe6049a1f2
src/react-query/clientAnnouncementsDelete.ts:
id: 4916283aa3c3
- last_write_checksum: sha1:98c14bc9d96d31d04060c24c4a6abf8587311e0f
- pristine_git_object: b7179ce7013598c81e29bf3998c2882caa4520a0
+ last_write_checksum: sha1:9fecfc641e03fd46d9958df6f1c1f1669fae71c4
+ pristine_git_object: 60bf82909151740904a5b9d477f97abce7a48262
src/react-query/clientAnnouncementsUpdate.ts:
id: 5ac826664145
- last_write_checksum: sha1:3717562f55961535a6c39c978634be6f63da8c8a
- pristine_git_object: a31630f0e8a10e66e3b310dd0b2442897ac58f8e
+ last_write_checksum: sha1:7835f0557ab21f075eda7b8d20627e29cd8cc2ec
+ pristine_git_object: db7a2270eede72681250b87af8a7a44ce8a509bf
src/react-query/clientAnswersCreate.ts:
id: a35ce69d7161
- last_write_checksum: sha1:daa851c16041d33cd3c869b7227425561b67dd7d
- pristine_git_object: 131b4c13d84a1e7318bf1050105c52ae65210873
+ last_write_checksum: sha1:9f350b126c2ff2f875d513a49dfeb9679617cdae
+ pristine_git_object: 41648317c8473c264ab2d8fee3143496e27b949c
src/react-query/clientAnswersDelete.ts:
id: bbaff2256228
- last_write_checksum: sha1:084639844f963d751cf551cecfbedcbe76571c1e
- pristine_git_object: f04ba39659159d578dd093ce5f05201ec638dfc9
+ last_write_checksum: sha1:5f72918306d3d308a0bd42e046c1e37fab29f54b
+ pristine_git_object: b1896954471a3ee68377c0ea5a40f5fc89b5b33c
src/react-query/clientAnswersList.ts:
id: 718e05488fe7
- last_write_checksum: sha1:3ca221ac3fd06be0dff5e809f4ca97fe4f6d6c2c
- pristine_git_object: 874992e2cd83ff5f68258ab8c5f7c3796940c96b
+ last_write_checksum: sha1:14e1eb662927b84045bd0be52384abe4afd11850
+ pristine_git_object: 84bee52b6ad55c65363d24f5e02e7fc7d3b4a1cc
src/react-query/clientAnswersRetrieve.ts:
id: dd202646f101
- last_write_checksum: sha1:e2cc2c38f86113819fd031b83355bc36d47f8747
- pristine_git_object: 16cb2e3b6e7f6c3bf39a82ae8b134b0f0c9f001a
+ last_write_checksum: sha1:b3fb4d18b956a0698501b9485c4f90659db7514b
+ pristine_git_object: 9039eee1de5c63348c3684a8c88ac716e889a49b
src/react-query/clientAnswersUpdate.ts:
id: 3dbb062e8d0c
- last_write_checksum: sha1:8ac7e91216458170c572d970f18ff956adf893d2
- pristine_git_object: 676f793c0cc58d5b78e03cb82e93f4ae98485a1d
+ last_write_checksum: sha1:5c0ff1b77394d511fc7aa94bf44d0f0ed839e285
+ pristine_git_object: ed675017adb31afcd266a4c95efacda3b8e15568
src/react-query/clientAuthenticationCreateToken.ts:
id: 4f6a7f9704c0
- last_write_checksum: sha1:f088727265ebf245164e8eca348d1e2c63f4f71c
- pristine_git_object: 6f09a3cb6c2f4fa14bef90cdf6d3394ca7c329e4
+ last_write_checksum: sha1:01d0601a59c5dfaab77ef269b0d2312933b22993
+ pristine_git_object: 09327ceb69cfccdc57f8f63b259d04710b86cc32
src/react-query/clientChatCreate.ts:
id: 217675acef18
- last_write_checksum: sha1:3bf7b0068a5d5bcfe45fa31726e4998689d35de4
- pristine_git_object: 76b8701fed57f58721d07243cba88c13610feaca
+ last_write_checksum: sha1:c124a68fa0bf16cbca9900babac69264120e5701
+ pristine_git_object: 416aa6fe2beb98f62df953fbff0436e25b078bc5
src/react-query/clientChatCreateStream.ts:
id: d5d91764b030
- last_write_checksum: sha1:cbfd073eefe6fe835e86b6e371ecac848ceb1e6f
- pristine_git_object: 648d1298e7a2925b71ea061c4b7d3888ea4bdd4f
+ last_write_checksum: sha1:68e23bfa56422513656dcf09ff7380facd8030c8
+ pristine_git_object: 82d9fc1cb56b5150d23d77dd4e0fe780fb11c9a4
src/react-query/clientChatDelete.ts:
id: 3ba8d4c2691c
- last_write_checksum: sha1:61c08ee11221845ac7a6992a37e9940e05c9bf74
- pristine_git_object: 5bf9ef3ed9f91dad53ae2f5b0f2e3b80f11b2add
+ last_write_checksum: sha1:bc88cfc12e25fde663c62d803a6bd77972abc781
+ pristine_git_object: f39e8e5a3110e599bbd77cbf7792e4e8ff8accd4
src/react-query/clientChatDeleteAll.ts:
id: affe255aa571
- last_write_checksum: sha1:aa6ac4c50a6547219d9f9e630d858f32afd8ac91
- pristine_git_object: fbd8f484e991b74c79501200ad8337991bc87f33
+ last_write_checksum: sha1:f2f4b3030a1a50604c0d17a97feac2b99304590a
+ pristine_git_object: 701c07de1bd78ef01808390376f02ecb98273dba
src/react-query/clientChatDeleteFiles.ts:
id: 027e601d700e
- last_write_checksum: sha1:df66ca13cef66d4745909d04abb1335fb759a572
- pristine_git_object: 1c7d88e569825bd82ce3fe33686ab62ebbeadd47
+ last_write_checksum: sha1:3153dce2c3e8f0f9e706e5d0b1a8b67399a5c53b
+ pristine_git_object: 79a20c6d7ff6ac05f8a2e28977fa72c1ac697425
src/react-query/clientChatList.ts:
id: e57d72254c77
- last_write_checksum: sha1:2816e5052b2c83c0bea5e2832c659f3c1cdc4b44
- pristine_git_object: 13cc891408835d479c0467e1468448a6f684627c
+ last_write_checksum: sha1:d768e05f9a00fb483a486a79da82dd5c7d585708
+ pristine_git_object: bba96d6d5ea8b354082bbd620c4a370872a0fde6
src/react-query/clientChatRetrieve.ts:
id: 760f8e685dbd
- last_write_checksum: sha1:caf7fe1760b41de3a2da43806a2729e59473f9e4
- pristine_git_object: 1ff1193a9691d0f4506b92602e9009c558149c51
+ last_write_checksum: sha1:59c1083dc680d61eaaa80753ba2c892f8c114652
+ pristine_git_object: 9a574797f675f69bc1d1a28f81fc24179740180f
src/react-query/clientChatRetrieveApplication.ts:
id: ed021c60a0d7
- last_write_checksum: sha1:69de14ef7bf116f9c03b589fc754cccce2eca295
- pristine_git_object: bbad6a466a6507245012fb97051e287be214d0a0
+ last_write_checksum: sha1:0a57645f9c96501012445d249f33cbf08ed58ea7
+ pristine_git_object: 2a1d283078c723d48960658d8c45324f16ae7d10
src/react-query/clientChatRetrieveFiles.ts:
id: ca1703908fea
- last_write_checksum: sha1:a99a4cb3c6cb5e44844515889e628bd699eaca3a
- pristine_git_object: ccfad6c36e5606e36b6069730322746421d95b1a
+ last_write_checksum: sha1:6dabac2b47c280ed5e0f7ca38b54ed2b86d2f282
+ pristine_git_object: b45bb7c27f794058ff9a33801411c092237a06d7
src/react-query/clientChatUploadFiles.ts:
id: 5227faea74b3
- last_write_checksum: sha1:060bb1a9986a35f611049c8426c1926b66a1919e
- pristine_git_object: 60e31afb7da5906471719c8262f697c2b0faf08e
+ last_write_checksum: sha1:32a73ae7d857ea3dc60fd3cffe22f0a2a8d15733
+ pristine_git_object: 8e15f497d03a0403e4935b3960ae9bc397c87c11
src/react-query/clientCollectionsAddItems.ts:
id: 9d7186d2ab11
- last_write_checksum: sha1:b3fbe2e82053a6066fa143f0d5cc5ab67f3710a4
- pristine_git_object: 1d663916501e9804b35317e0aeb3c9b7975a424d
+ last_write_checksum: sha1:a5592cbd1ce9168ed69c4cfda2bb9ab54e8a49db
+ pristine_git_object: 6d4585bb402858c6b784e60ce9a0444e4f458d91
src/react-query/clientCollectionsCreate.ts:
id: 9d2afe19e896
- last_write_checksum: sha1:8438fc155cffde9bb09f07df1fa3df3cd4350f83
- pristine_git_object: 13de2f61abcd8e6c26b32a52bc9a00115aa43841
+ last_write_checksum: sha1:ac094ea1dba9445339710e06b4f09c5e1d04df4b
+ pristine_git_object: e81ae8943ddda6dcf4ce1566f1cf0aa56f55d476
src/react-query/clientCollectionsDelete.ts:
id: 1cd9874e0507
- last_write_checksum: sha1:6b463064b028938d5225102d76b4ed0c4178d09f
- pristine_git_object: 040ac1719f2b0295da156a849c4597739b2f8510
+ last_write_checksum: sha1:6b434c1b90bd69324fea12453904ba0c91346ac2
+ pristine_git_object: 74464d9520073095942b1ec3337ccc13a47fe78b
src/react-query/clientCollectionsDeleteItem.ts:
id: b82309894fa0
- last_write_checksum: sha1:7575861a6fa4b65fce1a980cefcc2ee32af56813
- pristine_git_object: 521de9f08e9161643615cd11575a8b4c708d8a22
+ last_write_checksum: sha1:d18c98aee7e958f360e9552d666ae18b514a976e
+ pristine_git_object: 3e66e5aa80d5005af7b1899f76e208f95f8b8916
src/react-query/clientCollectionsList.ts:
id: fc7d844dd4e1
- last_write_checksum: sha1:db09552d10c6a7642764f7a4d8bfa74f9c5482d9
- pristine_git_object: e31b039684c4ef13ddc57ddcfcfa689845558ac6
+ last_write_checksum: sha1:44a65a3f9231013e6cd6f0478763267927461ef4
+ pristine_git_object: 9f91a62639294c8188612bd5196e83d353ed164e
src/react-query/clientCollectionsRetrieve.ts:
id: 4bfe19f78fa3
- last_write_checksum: sha1:db1276f3763c25b29cd7ddfb50f1ddc98dcdbec7
- pristine_git_object: d68c986266fab4f1637ba86079936ce7e481f0ce
+ last_write_checksum: sha1:23b35a70cbc125f3cbad5d45e4312328d3c8fe90
+ pristine_git_object: b0f7c335a803f7a60fdcf1841e256b352842a15d
src/react-query/clientCollectionsUpdate.ts:
id: 368a44d72e25
- last_write_checksum: sha1:a08aa8dec50e7c213894a72fa2da2c000230dff3
- pristine_git_object: 20d8e0973e66dcc10c2be220c368720fff279886
+ last_write_checksum: sha1:4c30ee174fe53370a1fa161372f6dd5d4359bc20
+ pristine_git_object: 737b37582c85f457ecb286b13e7e139e2e1b0d43
src/react-query/clientCollectionsUpdateItem.ts:
id: bcb89edc2da7
- last_write_checksum: sha1:3c2af53681d496bedbf3924de43cf5715f3f15d0
- pristine_git_object: bf9b092aaa8938179d740d3451e7a5282ec5e6a9
+ last_write_checksum: sha1:cf7c3b460c1e8a434204fd11c8d92844b8cb79ab
+ pristine_git_object: d11b7df6d05ab943423816dc1a935d1588376f6c
src/react-query/clientDocumentsRetrieve.ts:
id: e6711aecc1ab
- last_write_checksum: sha1:48173a489ef377bb79f716fcd23fd19a7bba9331
- pristine_git_object: ab4d9cb9258c2e0e12735e66c6ee092dd8ba56e5
+ last_write_checksum: sha1:5c0034ae806dffe4854152b9c6a48ee8c94d6807
+ pristine_git_object: b1341c5433caa4e0184705d444aa22a57c61d6c2
src/react-query/clientDocumentsRetrieveByFacets.ts:
id: a72cc5845ce8
- last_write_checksum: sha1:2ad3a0702841887cc0c9c79d53499709a7c7b808
- pristine_git_object: 24329dd66d8c03a2d0512a77c58feddaf373ccfb
+ last_write_checksum: sha1:6b27585c24c500438505d32535db55673e1967db
+ pristine_git_object: 804c8da2300efcbd90f9224e5726e82da0695e9b
src/react-query/clientDocumentsRetrievePermissions.ts:
id: 0b2a7009aa48
- last_write_checksum: sha1:34552d3f202e2b1d692f0e384648033cb6757891
- pristine_git_object: 6772dd2514c072d40b4b25c7581277eac5188516
+ last_write_checksum: sha1:fe7a083d65e314711ef24a6bdd6755df6475eeb7
+ pristine_git_object: 2a36dc819fa66235d9e1fe0d5c58b654be420145
src/react-query/clientDocumentsSummarize.ts:
id: 3167cd635fd3
- last_write_checksum: sha1:cad246932e28c619b24dc60d714f9322a0f59742
- pristine_git_object: 7b39ef2d06b69b54133e4cb6cd6bef59fa54c560
+ last_write_checksum: sha1:64349a8ec05ed6279b98c98cd09333a41d13a27c
+ pristine_git_object: 0649f21ed3e399c39b08294e5950c48ac47f2bb3
src/react-query/clientEntitiesList.ts:
id: ed64809f3684
- last_write_checksum: sha1:05b4facf6b499a628695f2c2bdca6a12409403d5
- pristine_git_object: 1ddce9f7a81357a27696889982a2224508ce6acb
+ last_write_checksum: sha1:307c3ab000ca5698db5953f2800978cdf29b0f12
+ pristine_git_object: d10e6364bf1f821bbc4f4d6c59f27902672f34a1
src/react-query/clientEntitiesReadPeople.ts:
id: c0c9a5d447b0
- last_write_checksum: sha1:43dc30d77141e71f92ef3d015fcc7675b01b8525
- pristine_git_object: 0ef2d70649a8fe8661f9203392bfca1ed3fabef2
+ last_write_checksum: sha1:6baa73c1e5c6c3f1f48efdcc4fab916c06d91bde
+ pristine_git_object: bd9173d318830a81b279ef0feb86b8a0f8b1bf8c
src/react-query/clientGovernanceDataPoliciesCreate.ts:
id: 494cd25c7062
- last_write_checksum: sha1:51231a8719efd90cafd422ee6cad646477e20b16
- pristine_git_object: 0685dc3df15b28554c08a6d6a513840e9036e64d
+ last_write_checksum: sha1:805dfbaf2b3cdeef5404ef7bd28dc4017271fbde
+ pristine_git_object: d5bca8d8bd9701350265d72727082b5ececf659c
src/react-query/clientGovernanceDataPoliciesDownload.core.ts:
id: 639d3b87a4fd
last_write_checksum: sha1:b55d861e7d9047542d69cc28fa5aadc6873d8574
pristine_git_object: 1f567eab7348a7f21e1784885e8bf13184d27c92
src/react-query/clientGovernanceDataPoliciesDownload.ts:
id: 190a8e8b1b9c
- last_write_checksum: sha1:37814faaee6fb5ce12abc80a45a77c52f4939a0e
- pristine_git_object: c93ba1a1ed38a2a3e5360cb375929ab45104850a
+ last_write_checksum: sha1:77fcaa3989a24db6fc4d348c466dd8d163051840
+ pristine_git_object: 23e93697d9044270dbc854d55c7664db97f683a9
src/react-query/clientGovernanceDataPoliciesList.core.ts:
id: 14612947aae9
last_write_checksum: sha1:d41597507f3b2ad497e17c9e719d540934249ec2
pristine_git_object: 717a4185b4760155cf281c341766c04d99db3479
src/react-query/clientGovernanceDataPoliciesList.ts:
id: 3e8e6cad00e7
- last_write_checksum: sha1:bc006958c63e1c6935ef591517c6b892debed33c
- pristine_git_object: e07262c69b8cb2ff6bb5fe5108672228b59db85c
+ last_write_checksum: sha1:bbe5df623dd8aa8dca55190e18d806c2196fdf62
+ pristine_git_object: dacc12059a5009b3b9e7668dc8698289a1da8542
src/react-query/clientGovernanceDataPoliciesRetrieve.core.ts:
id: 3ae934b12459
last_write_checksum: sha1:8782e1bbf883b738f45539955bd3f4c3b899f49a
pristine_git_object: 0bc6972fa7b03288ddbfccdb40e4a72ec7009e41
src/react-query/clientGovernanceDataPoliciesRetrieve.ts:
id: 674f01e09c9d
- last_write_checksum: sha1:17f7655e3199a862fd0204889313d98e947a8cfa
- pristine_git_object: 39484303704a3ea4175aa1f19c090a00faa7623c
+ last_write_checksum: sha1:50c2e5f72396af6926ed37ee62c4fd2dde3289a9
+ pristine_git_object: 35a28378b6faa67ca6b2864d33c7e0e2390c9437
src/react-query/clientGovernanceDataPoliciesUpdate.ts:
id: 4fa807e13670
- last_write_checksum: sha1:bf0a29a76bace3b24c0cdc8d8cb37ed59d7dc496
- pristine_git_object: bfe3fa599a7bddcaedb67ec339d535a393190c1a
+ last_write_checksum: sha1:4d8b1bc91c86073427236e8ce5a3ad4c7e13ba75
+ pristine_git_object: 50c5c2ed531c86eb8eefcf44e3645e9f5b354782
src/react-query/clientGovernanceDataReportsCreate.ts:
id: b5a3364f8b6f
- last_write_checksum: sha1:fc9ed6d61049062ae99f46bd43076f78d93fe863
- pristine_git_object: 03f8a7f552fbdcd0e4cc83458b04addc8675365d
+ last_write_checksum: sha1:247f41922906ac2ccf1c7a0f5b200855b5265295
+ pristine_git_object: a94a7e34d6081390e5f49b6f90eba7110c25de26
src/react-query/clientGovernanceDataReportsDownload.core.ts:
id: 0d025aefb04c
last_write_checksum: sha1:66d4c92efd790a59f69479a03fd10103add55cba
pristine_git_object: 45dc90da494fc2f326c0e08e86353686bbc61f9f
src/react-query/clientGovernanceDataReportsDownload.ts:
id: 8cbac73526d7
- last_write_checksum: sha1:4c0efec8be3036334fc03be558b8f0f48ce25577
- pristine_git_object: 769182caedbd2e24e0932f55925dcfe232ca6599
+ last_write_checksum: sha1:ec754effb9503c715d45b231c8507d6bc898ae1f
+ pristine_git_object: 7ac5543fd6ad72ef1dd845e08a8ef312056a10c8
src/react-query/clientGovernanceDataReportsStatus.core.ts:
id: 6b48bd2d4003
last_write_checksum: sha1:f7c4d157c1dc17dfe2b54d382e04dedea99ac604
pristine_git_object: 9a7a25d3cc1366bb72bb07ca13b72b1394490ecd
src/react-query/clientGovernanceDataReportsStatus.ts:
id: 97155d952eb8
- last_write_checksum: sha1:83010891851cb78ea527c6685f8e6464090383d2
- pristine_git_object: 0dc2708a615ff8fdec204ea60f8cbb4c0719715b
+ last_write_checksum: sha1:7418cea36f92715baf395a4880ef0b0335ea6374
+ pristine_git_object: 50d2a2cad051cf727c1e2c91436e1e47bd2a8058
src/react-query/clientGovernanceDocumentsVisibilityoverridesCreate.ts:
id: 94d82eca7ca1
- last_write_checksum: sha1:3da5b8f415f266317e1e9de848941fa5d59d79a0
- pristine_git_object: eaa1bf9dba805455f96e46ed29a52e278050d9d2
+ last_write_checksum: sha1:054fea33a4b1b1c7f05074c260725defdd49d7d8
+ pristine_git_object: f11c7799d043fd2e536567669ac40f6ea550cdaf
src/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.ts:
id: 37fe3f111970
last_write_checksum: sha1:1187d6396b2b66cd362c0a84c9ade7de4e06a376
pristine_git_object: 7d69d93c110d1bac228f61e8b3c00cc32a1ce0c6
src/react-query/clientGovernanceDocumentsVisibilityoverridesList.ts:
id: 0fc060804e1f
- last_write_checksum: sha1:07726a3acd90d71880412891bf0832d6d1eca622
- pristine_git_object: 9dcb6b6515a0c17f35afb2f9d73d22aaaa2a6762
+ last_write_checksum: sha1:b6b1d4c57f68068a489270169f115edd45e80b32
+ pristine_git_object: 8bc366cb5ef6f932c5ac260e1b5c807b3be0317c
src/react-query/clientInsightsRetrieve.ts:
id: 2bce5a7a7450
- last_write_checksum: sha1:972447e87dfe3f24a8ba3378d6696b648a4da57f
- pristine_git_object: aef7c684b93b66de8b99065b79fed510bfa27e06
+ last_write_checksum: sha1:6f2c82d742f8c983126952401b46b605e0c86ec3
+ pristine_git_object: daab05b2624a9d3de3a40ef6d329ec58daa8e616
src/react-query/clientMessagesRetrieve.ts:
id: 1ac6eef2c662
- last_write_checksum: sha1:12c82a6f9dea64809018e4b30b358912d1071cd0
- pristine_git_object: 8badd40c0c7dcb9547a9d585d736268e0db7e6d9
+ last_write_checksum: sha1:1cbdce77f839797f07a4c5c3c8b1674d4825aadf
+ pristine_git_object: 013deafc4acbf765285e68cf61dc391b7bac21b2
src/react-query/clientPinsCreate.ts:
id: 0b5e867fe42e
- last_write_checksum: sha1:5bf88b26773571d7f3cf7d4272dc03f1234fcac4
- pristine_git_object: fa3f966881d69d28f3f1a03d89811851e07bea83
+ last_write_checksum: sha1:3a8a432456545fef7c54a7b8889335233adc865b
+ pristine_git_object: 109b2bdb6cd0ec71d9f621724a8e0426e9b68690
src/react-query/clientPinsList.ts:
id: 762fff176fd6
- last_write_checksum: sha1:f786ac13f2c138d5733ff2cffcd8af42a7b972c3
- pristine_git_object: b94c30efb42a0b56678494bf86df2340ca9cd2ca
+ last_write_checksum: sha1:516b44da6364edf7265f33636a456603d306196c
+ pristine_git_object: b75e547b67a450b096dcd41bf39a9e042e472ec9
src/react-query/clientPinsRemove.ts:
id: bc20d6bba116
- last_write_checksum: sha1:ed12d6a6564b3a00df958d3f71177408eb57dc89
- pristine_git_object: 228bff12119a497ee4dca8df01ed1118ed0568b2
+ last_write_checksum: sha1:9ee1e59f58052a45356956dafa0d9d57c241eb44
+ pristine_git_object: 99f77f6e31db8d2900ece46e5ba77688a85d8bd3
src/react-query/clientPinsRetrieve.ts:
id: 46cdea1cdff3
- last_write_checksum: sha1:dfab4151ec72c153ebdf2dde7ace2d8b0cb32060
- pristine_git_object: 32efe0a831a60ec0aea0ddedb30320709845d87c
+ last_write_checksum: sha1:372d4acb993e2e7e4f29b2db65ce37f4e1feb33f
+ pristine_git_object: 6240e615c2ba117c749c17eba6addb251f31afb9
src/react-query/clientPinsUpdate.ts:
id: 5a5da0694a26
- last_write_checksum: sha1:f8a3ea08b2724133a276e9166e7d75fcb9b0a451
- pristine_git_object: 13eb9911a2ee0d929fdfd3a144f3bc2aeb571351
+ last_write_checksum: sha1:b36275acbeb77ac092731864874b60664532448f
+ pristine_git_object: 4f493ae2886d1ac5c0eabae89fdde2a6687943ad
src/react-query/clientSearchAutocomplete.ts:
id: 7c9b3c31fbdb
- last_write_checksum: sha1:4b120b21f19fbb224e4b98d81c3efbed431d599b
- pristine_git_object: e8439a7a87732e6cc19ba4e78de493c098553abd
+ last_write_checksum: sha1:29cea4e64b75cf054fb7b070f79c861f51631108
+ pristine_git_object: ac81e5efcdd1239c5205f2b2b5c6936df60dcd3f
src/react-query/clientSearchQuery.ts:
id: 1cdcec30fb93
- last_write_checksum: sha1:aa7c7d36a58193fd863d854d83e1112aac395af5
- pristine_git_object: ffb12fab35bba0a062a5769f6c3ed179851486de
+ last_write_checksum: sha1:2b2f36c4b9e02005d0c8e62a72b726661af823d4
+ pristine_git_object: f3ed677166d5b0a4d71b8858ff3532e7aa7c0cfe
src/react-query/clientSearchQueryAsAdmin.ts:
id: f0dfef023ea9
- last_write_checksum: sha1:9cec1670580d22fe8ee6f02740a6e02c640274b3
- pristine_git_object: 44d93a3e68d8fedd929dad98f16518bfceff052c
+ last_write_checksum: sha1:12658d1433e64051772771cdbf08a67a1cc10c2d
+ pristine_git_object: 49fcd53fb0d419844f2f1b12b05064c7e9f8a0d9
src/react-query/clientSearchRecommendations.ts:
id: 82fa0835d854
- last_write_checksum: sha1:8f619dde539f6c7fbfa3b15a339bfca9ed015d45
- pristine_git_object: 5d9170bd0ef439222a57ad9bfec0ef546b2ceac0
+ last_write_checksum: sha1:223426a1290b0fceabbb86cf3fd11408f02636c2
+ pristine_git_object: f32639c52a5471565dbc8f14bde39647ab09512f
src/react-query/clientSearchRetrieveFeed.ts:
id: e69d8a4044ab
- last_write_checksum: sha1:d38fdf69fa12d956630509afc4401310501a33ad
- pristine_git_object: b697367ecff981712e4e1e9847c2b32ae97e90e9
+ last_write_checksum: sha1:33eff819bff3dbcfed8e3e8bf9367a396cbb1573
+ pristine_git_object: 61acec4e294c956820ea29851934503180c17e0c
src/react-query/clientShortcutsCreate.ts:
id: a83112ac2f76
- last_write_checksum: sha1:bec5403b6f5bf63e807608f9beefd98a923bee5a
- pristine_git_object: c1a0da83e7ec981d631b0f59b8e521a807a46b55
+ last_write_checksum: sha1:afc49e4bd09a46e8aa6fe632e8e59f866b917223
+ pristine_git_object: 770a83ac9261b6fb5c6cb2a7d9834251dd0a13ba
src/react-query/clientShortcutsDelete.ts:
id: fac897f6e749
- last_write_checksum: sha1:920f2cb9344ae658c87c50e8e48d4f8fc7d47044
- pristine_git_object: 2963c0fc455dea94d0522dce0a92e56f0b0d549c
+ last_write_checksum: sha1:5ae647f87426af87fccfb874e1c3b2aac145d060
+ pristine_git_object: fb6926689708206cf7ff5cfe2c3a7f5795d82c90
src/react-query/clientShortcutsList.ts:
id: df710448a370
- last_write_checksum: sha1:3723daba53a15f0531718e163a69bcea98e86cc9
- pristine_git_object: 0455977fbc29a20c2a2f89a02600ac3605cf227d
+ last_write_checksum: sha1:8af152e7862d06294add2d366af3b0717ffbc05c
+ pristine_git_object: 5c406eb0fb92fd5f0b96a7638963477c020f6b20
src/react-query/clientShortcutsRetrieve.ts:
id: 185ebb458273
- last_write_checksum: sha1:c6ef85e4adea9202c3caafd7975e9781c85a4251
- pristine_git_object: 4eadadc15aec43dc902f9e6f28b4634c69540fc4
+ last_write_checksum: sha1:75ac9d4d5aad9ada884acf9dd03c55d5b5bad236
+ pristine_git_object: 5b91e1db56fc756ed7b4dd7adc066c6a4c658b08
src/react-query/clientShortcutsUpdate.ts:
id: 9181c2472270
- last_write_checksum: sha1:f7b8f8d10a8f0641ded938d89ad02c57c0d013ed
- pristine_git_object: db6bd8571e376b4981cb6e25176fb813a8351930
+ last_write_checksum: sha1:52746e4f61636f246fd85a422fc20d3520db76fc
+ pristine_git_object: 542d9d5131c55e20de8ef63189c2c6f25abe10eb
src/react-query/clientToolsList.core.ts:
id: 7370fc27f545
last_write_checksum: sha1:cb01c4fc59876a9fe75708674a70bb357d4f262e
pristine_git_object: a7462b4bd3c29d61a2ffe1606d2cc8ed2950eeec
src/react-query/clientToolsList.ts:
id: b40cc18cc0e3
- last_write_checksum: sha1:ca0342008b8bc5fa990cfb246a96b373c02b8a34
- pristine_git_object: e1de3f64e1a00b7f137fd3d980b6ec40ca3d85af
+ last_write_checksum: sha1:5674a722659f34f0030753453f29325d6c110739
+ pristine_git_object: 3d77160953bfeee4c7ad2de78b1b32a39cc3ca8c
src/react-query/clientToolsRun.ts:
id: 21ad61918713
- last_write_checksum: sha1:8cf16a6d7cac505cb1dbd30ee3277c150799ebba
- pristine_git_object: c81f9ced11a28f5901607f1e13bdf0798026839e
+ last_write_checksum: sha1:a920568d68b2ea81fa019b58a0a2e2fa2624f6e9
+ pristine_git_object: 4e6a5ca685a971da3199df0b87e4ed1aaeadf5ca
src/react-query/clientVerificationAddReminder.ts:
id: 46c8e80a17c6
- last_write_checksum: sha1:947eee1fe387e3f68b6c60e8b6bf4d0ac14ef41e
- pristine_git_object: 59682ce2fab2d90fd6e0274a342b3f2864e1e4fc
+ last_write_checksum: sha1:01f4210d8f1059c808d4632bdeb1f162add98c2b
+ pristine_git_object: 5a0689110b101d3ff886ab74d7d0e24b661fd8bd
src/react-query/clientVerificationList.ts:
id: 3fde9b892ebe
- last_write_checksum: sha1:290010e2b0aeb410a90aeaef187fe33b6a2386c9
- pristine_git_object: 522088a130beb5fe3ba05974e948a272a81c72d4
+ last_write_checksum: sha1:b4351dabecc381b2545a0bf4f7ebcd41833f71ac
+ pristine_git_object: 4dec965e5d717e4816e1a94a08fef990023d154f
src/react-query/clientVerificationVerify.ts:
id: 7e3a52f6000b
- last_write_checksum: sha1:54133e765683e4c0a8dc86102b31104421720487
- pristine_git_object: d276bc998efada725c2ef41c76b33fdcc0822504
+ last_write_checksum: sha1:847186daa6d96bec2ce096203de727dc10cd5734
+ pristine_git_object: 5305ea20926cf556830dcf5e40246aa93fa74830
src/react-query/governanceCreatefindingsexport.ts:
id: 8e5376d75882
- last_write_checksum: sha1:91cdfe08cfc317415a52e7c748d975067c7f8611
- pristine_git_object: 74245f8f75835400cc19fbc08a82d4a0f45d71d3
+ last_write_checksum: sha1:86ab970334c375140df03506cbbb7e6039b90b78
+ pristine_git_object: b54cb6b43ca7580df6e83b1bc3bfa1f4e9c8247c
src/react-query/governanceDeletefindingsexport.ts:
id: 84978df90876
- last_write_checksum: sha1:5c2149f13bb1ffed84e437ecfc0836cdc2f2758a
- pristine_git_object: 5df3303986aa6526a062bdab404319c827110495
+ last_write_checksum: sha1:c24f0bdc66f32ecc04acfbbda0410738ac56929b
+ pristine_git_object: bb856f72b999507a3bd263f1b4df26c40dfdbced
src/react-query/governanceDownloadfindingsexport.core.ts:
id: a1da3acaee44
last_write_checksum: sha1:6abc579c8ef56d3ce2352a4121e434f2ccbdd99e
pristine_git_object: 9adc4dc4b3af604cc7caeee6d50c8b9930ac616a
src/react-query/governanceDownloadfindingsexport.ts:
id: af128d14fe24
- last_write_checksum: sha1:31953c9a644deb6bd12d5cdb519b48a681610520
- pristine_git_object: 894785698b02dbdf5b8b05288eeb009a1fd0d417
+ last_write_checksum: sha1:a90bd3fbf62b24011d8b1116a71e39a663aa3dcb
+ pristine_git_object: 0d0a7fc9125562de760a54a53b82ad39e9f3013c
src/react-query/governanceListfindingsexports.core.ts:
id: b55cc8372801
last_write_checksum: sha1:38176305d281e76ecbd8d39adf702d4896830924
pristine_git_object: d14fea4101db86db816fd530123934861d76a6e8
src/react-query/governanceListfindingsexports.ts:
id: eb38bbf9a06b
- last_write_checksum: sha1:77e2b7885a2263d5db437d6144606e24130c60b6
- pristine_git_object: f2c42ff4eabd77ccab2cf7f4c8cbc7456fe4e6f3
+ last_write_checksum: sha1:075f7213dd775666a28970d743268be5c9dd9500
+ pristine_git_object: 0fca22dda059fd0cea0a148ba54da93fef6093c1
src/react-query/index.ts:
id: 9e975471aa65
last_write_checksum: sha1:9692d9c8ada94040fae9cf4581373fba01ea6991
pristine_git_object: f8ff5446371f7f33bdfe3bc5b3a180f3c89ff199
src/react-query/indexingAuthenticationRotateToken.ts:
id: e56c0845e38e
- last_write_checksum: sha1:df9b69537328a9ff846fdbae5231d9b2b2c3ea11
- pristine_git_object: b9ca62ee132321dcd9a3980049841087069137c2
+ last_write_checksum: sha1:5d0b43423cf7b9dbc121c6c4d6e413dfd95d5977
+ pristine_git_object: fcedd2686ff4c8a047f9a82d1e7302ed95c61d12
src/react-query/indexingDatasourceStatus.ts:
id: 2db6c1ee0875
- last_write_checksum: sha1:dda17bf907586a4aabaf48e8f3f39205cb509ee3
- pristine_git_object: 3873f31c942e44b93fd6ea1c5bf4830e5beed8d7
+ last_write_checksum: sha1:347d89411d8e876d233bb5e6a98346f3a060a076
+ pristine_git_object: b005bc72a177fe5a68390be43b2891216b6bc74b
src/react-query/indexingDatasourcesAdd.ts:
id: 5407d597eaf6
- last_write_checksum: sha1:5705eb3c6a07bc4902fed42637e1e72b2ba603d8
- pristine_git_object: 913abb466ed663585dedb296ea09c90e24861b5d
+ last_write_checksum: sha1:d6e045c52e2e2c356ddf585b7d2550c19e2580c0
+ pristine_git_object: 88564386bfa1e9fc914211c82fed416ab82b59c4
src/react-query/indexingDatasourcesRetrieveConfig.ts:
id: 2489df44fcbb
- last_write_checksum: sha1:e575aabf748b307991d69daacc11f1643a6d9b0f
- pristine_git_object: 460d64f69efbc8edb2153ac6820a859867e09dd6
+ last_write_checksum: sha1:40fd52c227968542e63a730c24a691bd7c2fff7f
+ pristine_git_object: 4a7cab64be0da09817a6689a528b603f17453208
src/react-query/indexingDocumentsAddOrUpdate.ts:
id: 7ceefad02f9e
- last_write_checksum: sha1:3d2850fd4272f1c5fc9514700259b463dca7ec01
- pristine_git_object: 0474f2c33588d12ab32a3a11a94aa97f4c0ecee2
+ last_write_checksum: sha1:7e0124caffa3871e352600cae5cebf07898614d7
+ pristine_git_object: dc35de90e972b4eaf5b1f18ea4cc990636140090
src/react-query/indexingDocumentsBulkIndex.ts:
id: 06546c5b91aa
- last_write_checksum: sha1:5ab51997d1acef4f158588fb0317760550ca1df5
- pristine_git_object: f8656fb9368f843bcf1b685acb860652259d2614
+ last_write_checksum: sha1:60df3dc3da03caea841a7d9f452ef4c97a2b31fe
+ pristine_git_object: cab79fddb9eef0f90eb587e5298b162f9743e850
src/react-query/indexingDocumentsCheckAccess.ts:
id: f520327cabe4
- last_write_checksum: sha1:a72a55111fdbeab668458d71d289765c87ff5d19
- pristine_git_object: a8d6faac82140d6393446f309e3faf67b95e7f11
+ last_write_checksum: sha1:669abeccf2ca9c70a9df73c174b3026a6bcc37a4
+ pristine_git_object: d6835667973edb475975d414e801244ed4c7ba1b
src/react-query/indexingDocumentsCount.ts:
id: a1b771c237a1
- last_write_checksum: sha1:d76062dc65724c72b6dffce70b2620979a2dea47
- pristine_git_object: b11156cc5c610e7059cab280aad69a8fdffdd9d6
+ last_write_checksum: sha1:fac0eeff7db30f63affc1ba9b11aad983828797d
+ pristine_git_object: 503a3ace5cfe5a2df45d7bf450d3a459944df568
src/react-query/indexingDocumentsDebug.ts:
id: 42549bd8028e
- last_write_checksum: sha1:0887c749b572883f3b9649687d3fc4a7f5ef7670
- pristine_git_object: 156165a635bed2fa21bb4e02959c9e57e0964651
+ last_write_checksum: sha1:6aa3430e83fcc469fe017c84929e76b346113718
+ pristine_git_object: c651baed692eef769ce50968bb65b4a61ae539aa
src/react-query/indexingDocumentsDebugMany.ts:
id: 75326b418ede
- last_write_checksum: sha1:01469341814d64940643cd1e86d5baa409ba2b2b
- pristine_git_object: db2feab6a4d4e89b6bd1afd5f8a53d04a522219b
+ last_write_checksum: sha1:0baad36f09951d9d9476064233da1f55390f58fd
+ pristine_git_object: f327f03640c30ddcac68992a2df739973a0dbd82
src/react-query/indexingDocumentsDelete.ts:
id: e06643b78d0d
- last_write_checksum: sha1:213396a609a20329eb6303cc9476c4ec9c972024
- pristine_git_object: 6a1abc548111eda89d66a3c456eb02e0f50d1f00
+ last_write_checksum: sha1:ab1456bdb8e3ee6e2f1bb8780e1751872e57580b
+ pristine_git_object: a199211e77e9633ab5af88bd9381ebb7083ee2a6
src/react-query/indexingDocumentsIndex.ts:
id: f4da9df8520b
- last_write_checksum: sha1:c6c266e60a3d7953a59cef3810b9bba06ce364f6
- pristine_git_object: 9eca591e5c291c1e1c3ab99b4821a88d3f184671
+ last_write_checksum: sha1:63374c3b749e09af1fa12bc8a7cda193009d498a
+ pristine_git_object: 12ec6df9acc572db658ce9b1602793c307211524
src/react-query/indexingDocumentsProcessAll.ts:
id: 70b58ecf5bae
- last_write_checksum: sha1:6b237174e05c26d2d668e127b0adc813bdc0d599
- pristine_git_object: 7a421feee77c790b40606078c139b82966e164c9
+ last_write_checksum: sha1:9321a37a5c5a2926f6243bbf13b5d057a2f9b691
+ pristine_git_object: eeb84bd485250b79878abb8cf1213c2dafce44d3
src/react-query/indexingDocumentsStatus.ts:
id: 299488524a06
- last_write_checksum: sha1:b34523c8b724d3ab13b3e0a25e3c69e04b752fb1
- pristine_git_object: 2753b4ceac1d6fa95a51fa2673ce1574302aeeea
+ last_write_checksum: sha1:35f258c522d45f036c37056e533829ee43aa266c
+ pristine_git_object: edce151699dc572846da2fee1f75da7f3d0a63f4
src/react-query/indexingPeopleBulkIndex.ts:
id: 0f7dc83e6016
- last_write_checksum: sha1:63c796c4aec06633a734f0026e155bb060d60575
- pristine_git_object: 98cefeac43ba74ca272dd2a71581ad44e9006f07
+ last_write_checksum: sha1:e087c34b46cc3c14fb75dbbc8c24114455e52f77
+ pristine_git_object: 203e1d323d33e4441da503dbd504946bb185ecdb
src/react-query/indexingPeopleBulkIndexTeams.ts:
id: eb1dbf9c9655
- last_write_checksum: sha1:01872e82b17e3241587a859c46f95cb322888b2b
- pristine_git_object: afb9106a0716e99582a71801e6faefea16af06f7
+ last_write_checksum: sha1:e1854c200017eb9287d3fa69e7ed191a8cfe4e20
+ pristine_git_object: 5aad98f7fd355d1e07781de470469e8ddd1f3c6c
src/react-query/indexingPeopleCount.ts:
id: c66f58bbf8a7
- last_write_checksum: sha1:45e5d3ec11198e4c26fd3a5579519a3648cebce0
- pristine_git_object: 5319ad33885c8e18ce02fb1c1dde1c00e0243060
+ last_write_checksum: sha1:ba2ae7f2b66a3e6f8f6f147c6e09b3e58f10906d
+ pristine_git_object: 123eb4944dcdaf9efdae2ffe183d5eaa14aee998
src/react-query/indexingPeopleDebug.ts:
id: ea743fb5a2dc
- last_write_checksum: sha1:6bf4e289103c9756c2bd9b22fc15f5d8fbe3019e
- pristine_git_object: e265a49f8db78ff1b48d5fa97bf591f4c0c4f118
+ last_write_checksum: sha1:c1c2278f4bd47a07d838fe356819c6e80c8f6314
+ pristine_git_object: bef70a9bf76e2a74ee28719e11bfa925305aa2a8
src/react-query/indexingPeopleDelete.ts:
id: e1d4a8b819c8
- last_write_checksum: sha1:8c710dd921017acb527362e967b4358a5e67ee61
- pristine_git_object: 02671ad304d6bbb550fa5159a6748251b0822b55
+ last_write_checksum: sha1:5382b926188c0087279e8a67cdf8e4e2cfbad51c
+ pristine_git_object: 1754783cc94a0c2a06172b1dd2815e88e8c4226f
src/react-query/indexingPeopleDeleteTeam.ts:
id: b80464692bc7
- last_write_checksum: sha1:e831a38444cb0ee70acd878dadeac67a7af99ded
- pristine_git_object: 352cdc7f443852e4415e35fb6e7548a4228b89fe
+ last_write_checksum: sha1:0ef13a906143e4c065d704cfb8d44d1b15429091
+ pristine_git_object: 5c2d9e0a894de797e1788b3ee6e36fbc8e474544
src/react-query/indexingPeopleIndex.ts:
id: 9f1398bb733e
- last_write_checksum: sha1:5eb6714bd0bd19f86f03a7145636d687cc65f53c
- pristine_git_object: 7b1075641ddfb578c6bda335a98137472ac91ee5
+ last_write_checksum: sha1:f4886df0357190ed959e2857a9527fad9ed44804
+ pristine_git_object: 34e426eaffd48261f1f59d7024789f935bb92f58
src/react-query/indexingPeopleIndexTeam.ts:
id: a8df14bd150e
- last_write_checksum: sha1:c3846f8843d2243d613b828e92b56f9a4d0856c5
- pristine_git_object: f79992ec9aa50a473fa407b308b8e53f92e62396
+ last_write_checksum: sha1:30086791b89c42e20d1b8a859f810b73f6a1759d
+ pristine_git_object: 4a3c095e69a9cb4a82fcf79b1a330dbacc4e44b6
src/react-query/indexingPeopleProcessAllEmployeesAndTeams.ts:
id: d84cf6b4d9ee
- last_write_checksum: sha1:322a07b16cb3e9cfa3a08fe1d46e1b7343bbd83f
- pristine_git_object: ee42064ac8220960454d688c10df9d52bade555d
+ last_write_checksum: sha1:ca6a2c5bd4fd8501349cd70f61e6d09a131ba9a1
+ pristine_git_object: 74c83c5707b4a6f982a75e833492bd25e1f456a5
src/react-query/indexingPermissionsAuthorizeBetaUsers.ts:
id: 42928a228582
- last_write_checksum: sha1:9833e70d2c379804a9e28b85068d24959e9a9027
- pristine_git_object: cd7a4beaa6cd1ee5df467a0a000699079dbd2bdb
+ last_write_checksum: sha1:41bb7ccfff695b2e8f2e739b730fc942868144be
+ pristine_git_object: 68d57a21db9bfe3fa1bd0ace03c63be410e33552
src/react-query/indexingPermissionsBulkIndexGroups.ts:
id: 8ea43cd5241a
- last_write_checksum: sha1:a6c51fcd49862022bd58dd6e79f21008cbf24157
- pristine_git_object: c83e5eb4ed088d02aa8cc5bdb137f652351d48a6
+ last_write_checksum: sha1:816c921bccf393558134fd0218230f6c4d20d30b
+ pristine_git_object: bc05ed86f6625e063a087b755208748a5669a7d4
src/react-query/indexingPermissionsBulkIndexMemberships.ts:
id: 918ef08f2f14
- last_write_checksum: sha1:ac9607140027844dbaae1292f8e9888cad335db4
- pristine_git_object: 661841a28835dd9bfa3bbf2b88ac667bb19fefe7
+ last_write_checksum: sha1:4f77e0bdf44a3e3dd90bac9160aa95005417f3c8
+ pristine_git_object: c4a2f526895cfc77f33bd05792b9c651a68ced39
src/react-query/indexingPermissionsBulkIndexUsers.ts:
id: eec94df61755
- last_write_checksum: sha1:340a2c8da0e9af12a2b5d2d917e3a9b784658ca1
- pristine_git_object: 992023ee5720a78df2fa006665b553fde649550c
+ last_write_checksum: sha1:f64bbf002fdadfe418ef0b3c3a0a0c5c0b05db76
+ pristine_git_object: 4a91ec35c0aa1e1a9563af6de6eb30e23d365bdf
src/react-query/indexingPermissionsDeleteGroup.ts:
id: f3eafb4bcba4
- last_write_checksum: sha1:2bd9153f1f5d8f29cfc20ae2821319ac256a1bdd
- pristine_git_object: e4c50caae7872b5dede1bfd52b51150b2d24d4bf
+ last_write_checksum: sha1:3aba341cd8cd3be99cf8adf532b9df58344e91ea
+ pristine_git_object: fe4b43c0dabefad463ac1871bd6bcfac2ec828bc
src/react-query/indexingPermissionsDeleteMembership.ts:
id: e608aff98d88
- last_write_checksum: sha1:790dcf9957df93b8404778fab857b20a38b2d602
- pristine_git_object: 7efec031fab8d60ef593731a63f428654be14b87
+ last_write_checksum: sha1:980210ced86a6c14fd5cf1ca34aaac2f4c8b6041
+ pristine_git_object: 13f922a636615d71459718e9b5a2b1ac6870a239
src/react-query/indexingPermissionsDeleteUser.ts:
id: beddbea7609e
- last_write_checksum: sha1:ee54fae2591daed5c4fc6e5fc28fa61c8352c33c
- pristine_git_object: ce6c6351cb66323ebf3136c3d11acd6fb87c25a7
+ last_write_checksum: sha1:0601aa93811bb1ca09f853a47babe777963861e2
+ pristine_git_object: 766f850640013344b81436823e6e0cade2c88c5d
src/react-query/indexingPermissionsIndexGroup.ts:
id: b98e49708ba0
- last_write_checksum: sha1:451753b6328909622472bd31d9485f8925697495
- pristine_git_object: b44e409a298c947a5df2b822dead0c23dddb5915
+ last_write_checksum: sha1:c3953a9ff38cc3e797a3bd7a7960d72ef9976a4d
+ pristine_git_object: a884b69faa18806691307e4d1ac1e2f775556bc2
src/react-query/indexingPermissionsIndexMembership.ts:
id: f1d632dfba21
- last_write_checksum: sha1:61867dbb7c2afa9d64cd4b5e0240185446527343
- pristine_git_object: 5766589e4167bd91826a12de56c1aa8294423134
+ last_write_checksum: sha1:13150acd09ac7892ab17cad714d8e980ab8a9603
+ pristine_git_object: a47326e4e2f55ac1e0b9fab35d5d61d00922515c
src/react-query/indexingPermissionsIndexUser.ts:
id: bd711ca22fdf
- last_write_checksum: sha1:740c37a0bb361a052c85c1ed23cb2c1d822d9ad9
- pristine_git_object: 996444298b4c5afb03252906e3970a4e14434c65
+ last_write_checksum: sha1:1810400b5ee928c1eeacdb41975969e1ce901069
+ pristine_git_object: 902533ec822e9737b64ff551f1744fa0c8b2365e
src/react-query/indexingPermissionsProcessMemberships.ts:
id: d99b5eb3ad47
- last_write_checksum: sha1:72eae692771f5629876c351abead98e29379d918
- pristine_git_object: 2a2880b77af71274f4fa29630bff0653e9ffabfb
+ last_write_checksum: sha1:2621d35e6162d94f8bb4762e608e3cea377202e2
+ pristine_git_object: bd6b201b9fd652b98bb3cda10d7de3fb18a62c25
src/react-query/indexingPermissionsUpdatePermissions.ts:
id: 2c3f05a3011d
- last_write_checksum: sha1:73eca9e1a6c9d1f0119b2e7013a3fcece024a083
- pristine_git_object: 9572a6f54e7bc4b84af26565d1789b42b476d154
+ last_write_checksum: sha1:485b05cb5a752b346c2e5033198e21cd16ad2b08
+ pristine_git_object: f98dda47d0ce929f5b332d4d84edebcf2f1dee99
src/react-query/indexingShortcutsBulkIndex.ts:
id: 82222586049f
- last_write_checksum: sha1:8f17f3a742568a683c1bed9bd515e745e8285e4a
- pristine_git_object: ddb79f5e53914350b816edf72f7814e6694cea75
+ last_write_checksum: sha1:33f2e808ddaa33c4c7050a94177e128b92b47036
+ pristine_git_object: a4682a41c7b1a51294f198962435cded3daaf5f4
src/react-query/indexingShortcutsUpload.ts:
id: f539f36cd532
- last_write_checksum: sha1:37f10f40d45099b2af10659cd44353bef4d0d2cd
- pristine_git_object: 3d4f8838c1c63712352c4f23fd905a8fb8c39f1f
+ last_write_checksum: sha1:f4d91f69d9733aba52ba56120c3ccd161321ceae
+ pristine_git_object: 35c38bf6b57e9e0cb16df769b5e41fff6d7b8b41
src/sdk/activity.ts:
id: 87dddbbca815
last_write_checksum: sha1:7c330876ce433b986b241c5cdbc48af707435af5
pristine_git_object: fea572525f52a5ba08e91d91e04f5c60ff3c6f79
src/sdk/agents.ts:
id: a103cd018c9b
- last_write_checksum: sha1:1dc59c06db9b6db1c01b1a9d7f096652183188bb
- pristine_git_object: 1142f3bd66694145c49f6c3f5eb5ebfb681db627
+ last_write_checksum: sha1:36269589e0a39319d00aad8f920123c86ede3aa9
+ pristine_git_object: 0c75c91b181a8fe6a2ba5d76b6d5c22f0a82fabf
src/sdk/announcements.ts:
id: bab6954d6fdf
- last_write_checksum: sha1:9168d7860cc9f79341c508740901528b7f2fed3f
- pristine_git_object: fbe747c792bcae4ae5225ba3228106473f1e21e8
+ last_write_checksum: sha1:c77c4abff2863393ab0d893f461d5288c523412b
+ pristine_git_object: bdff332f43a2273a35c0d896338f6ff3bb989cf1
src/sdk/answers.ts:
id: 7f717169c02d
- last_write_checksum: sha1:0166022f575f7a8541cc9ed96e08a58b9fb0b2ca
- pristine_git_object: 3384d6407db94107406fc1b0c47aa6760102031c
+ last_write_checksum: sha1:8780a5a01135f9cd9b5230494258c802db8d89ec
+ pristine_git_object: 5463b2a626225d131cc190585d7dd36659b4dae0
src/sdk/chat.ts:
id: c56babc22a20
- last_write_checksum: sha1:4798b21fb7b9c097f1b08c4aa92f6a5a360f9cb7
- pristine_git_object: e6b29d821965f1742a6b97a70aab8c205fc709ed
+ last_write_checksum: sha1:5f87bf3cfd403b9590fd33604cc5e0e64704a934
+ pristine_git_object: 8352ccd6ca6dc4c16b98b545bf8b4d660a01c16a
src/sdk/client.ts:
id: 163ab873aeef
last_write_checksum: sha1:48749308ff9051957bced6876d5b53086c56d1a6
@@ -7118,20 +7438,20 @@ trackedFiles:
pristine_git_object: 618bc538cf12c433005060cc5507a55e1fe04652
src/sdk/clientdocuments.ts:
id: fdca6be3a48d
- last_write_checksum: sha1:f0061a677c19eb36aae40dfa390ab810deac4720
- pristine_git_object: 645c88b9671bbad9d594dcd92a614631167d1306
+ last_write_checksum: sha1:90a85b1dd485687b13605d63f89404d97999db95
+ pristine_git_object: 60ebace69845478c666569b51fd939527d7d1ab2
src/sdk/clientgovernance.ts:
id: 9a2d1a2b1bc7
last_write_checksum: sha1:e3451d4ac827440c09a17c5da126e82a4c208725
pristine_git_object: b2153daf97d912adc840c42e32009213b9f73227
src/sdk/clientshortcuts.ts:
id: ac4fb91cc5d4
- last_write_checksum: sha1:0bc8756969cf7a25f044bb9aa47f2764d51f2062
- pristine_git_object: 20455b47d9171c781c6e00e3e06612241d474791
+ last_write_checksum: sha1:dc7cf40dc5b356105ef8db0d85c285b0c40d313f
+ pristine_git_object: 475259a7709dce844399161965a1380f32dd036e
src/sdk/collections.ts:
id: d99973e217b6
- last_write_checksum: sha1:ef429d33fcf1d4d6da70dc5b857dbd3db865d27f
- pristine_git_object: 3648ce94e44d1d571a3b44dfbca5500727c97031
+ last_write_checksum: sha1:7c17aba25821e39151cedd7966322554914d3015
+ pristine_git_object: cf1625547cc305f099975a5744b833def6a4b3db
src/sdk/data.ts:
id: b9e219e34d35
last_write_checksum: sha1:778fb55abdce9a52355a85bc35fc371c6f0ecefd
@@ -7146,8 +7466,8 @@ trackedFiles:
pristine_git_object: 76350d409eaf938dcc4336a2e7728e7bddc374df
src/sdk/entities.ts:
id: 71997b5f9b62
- last_write_checksum: sha1:c9b11fc542980bb4ed77519c5a1a18f890d6a620
- pristine_git_object: 808da679afb7976601a02a574efc970d60ec08a6
+ last_write_checksum: sha1:f655e638082978cdf920595bb10b4f539ed6dfa8
+ pristine_git_object: 0e8973e7c3f1cc747b12d8339652f30152b99909
src/sdk/governance.ts:
id: b7de258afd95
last_write_checksum: sha1:f7a749a28a12fdf0c9da2df8272073052809f522
@@ -7178,12 +7498,12 @@ trackedFiles:
pristine_git_object: 7ed974727279ddaca3f99f118e7b8aaf85f1e28a
src/sdk/insights.ts:
id: 17a3c078d231
- last_write_checksum: sha1:b069c71c52dae0f225bfebda0b8a717ddc1eda5d
- pristine_git_object: 60397dc55d553e378ca51bd75c22f51c9b8b0752
+ last_write_checksum: sha1:abd0b08d1bb1b1ea8c22b0945b3318685e94306b
+ pristine_git_object: 61ad87f57fda1aa0f96c913a8b435a57e4bd93c5
src/sdk/messages.ts:
id: 89df5fa2bb12
- last_write_checksum: sha1:39eb8457dc0c3fc2fe3bcfb676e1a0d765dd543f
- pristine_git_object: 505cf8ab02044774df74df6bab4fda55bd590c0d
+ last_write_checksum: sha1:b86326c767c6719604c690a89e14cd836af1bae4
+ pristine_git_object: 52028f9df50e246225b8ae3d843f0c70cadb4012
src/sdk/people.ts:
id: b55bee723a63
last_write_checksum: sha1:df9d0a3bec8740de18ecb7e7273365e6377f7706
@@ -7194,8 +7514,8 @@ trackedFiles:
pristine_git_object: 7aaeae48a63993ce4ec6334eaaccc22a8833416a
src/sdk/pins.ts:
id: 681d3a98b73a
- last_write_checksum: sha1:4a7aee3979b882d34eed31ac5c441eb716576750
- pristine_git_object: 69fa6fabfcd094a56c9b17af1a7f0f5cd587b092
+ last_write_checksum: sha1:f68ba5d8eaf6be93c1e02c760807c62d3fa7c40e
+ pristine_git_object: 4aea3a3d73ad8e2d548219c3912fcf33309bb30c
src/sdk/policies.ts:
id: 56c143102e2a
last_write_checksum: sha1:ca5d842e099de0fc3fe7aa5c5d7b8eb4a43c139b
@@ -7210,16 +7530,16 @@ trackedFiles:
pristine_git_object: 9563e0de6c491f2344ab49d6865a2282fea8c2ac
src/sdk/search.ts:
id: b88871d87236
- last_write_checksum: sha1:e7995cd267fd3382ca83893fff761af19a9c50b5
- pristine_git_object: 8e8b5d91cb5a720f6fe83d0a78725cd69228fe93
+ last_write_checksum: sha1:63f5c473e467c4df99491976e5129111b570fc41
+ pristine_git_object: 5beabc174ee548321d54b83e6d8ca16019b12cbd
src/sdk/tools.ts:
id: f997ccdd9dd9
last_write_checksum: sha1:b9e4e3cdc7e4a11a8abf56190569a903b226d4d7
pristine_git_object: c599dd85ce75e5dbbfbf5c67eaa7678267481095
src/sdk/verification.ts:
id: 414a84063545
- last_write_checksum: sha1:598a60e7089e289857e0b8dc53bf5a1208ecd6bd
- pristine_git_object: cd4dd21375b2b0d286c0e82375c28aba4a898a21
+ last_write_checksum: sha1:8486c342cc415695998a29ee5c1385488666fe2f
+ pristine_git_object: 1503a04b79d6540d150597b30e52c165bea311a3
src/sdk/visibilityoverrides.ts:
id: 1aab60f371de
last_write_checksum: sha1:111319b8ac9d5df9052671d6ead92db817352582
@@ -8149,6 +8469,7 @@ generatedTests:
setdocvisibility: "2025-06-09T18:05:10Z"
listfindingsexports: "2025-12-10T18:23:24Z"
downloadfindingsexport: "2025-12-10T18:23:24Z"
+releaseNotes: "## Typescript SDK Changes:\n* `glean.client.search.query()`: \n * `request` **Changed** **Breaking** :warning:\n * `response.gleandataerror.federatedSearchRateLimitError` **Added**\n * `error.federatedsearchratelimiterror` **Added**\n* `glean.client.entities.list()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.announcements.update()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.answers.create()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.answers.delete()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.answers.update()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.answers.retrieve()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.answers.list()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.verification.verify()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.verification.addReminder()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.shortcuts.update()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.shortcuts.list()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.shortcuts.retrieve()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.shortcuts.delete()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.shortcuts.create()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.entities.readPeople()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.documents.retrieve()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.announcements.create()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.documents.summarize()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.collections.addItems()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.collections.create()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.collections.delete()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.collections.deleteItem()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.collections.update()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.collections.updateItem()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.collections.retrieve()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.collections.list()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.documents.retrievePermissions()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.announcements.delete()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.search.queryAsAdmin()`: \n * `request` **Changed** **Breaking** :warning:\n * `response.gleandataerror.federatedSearchRateLimitError` **Added**\n * `error.federatedsearchratelimiterror` **Added**\n* `glean.client.search.recommendations()`: \n * `request` **Changed** **Breaking** :warning:\n * `response.gleandataerror.federatedSearchRateLimitError` **Added**\n* `glean.client.insights.retrieve()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.messages.retrieve()`: \n * `request` **Changed** **Breaking** :warning:\n * `response.searchresponse.gleanDataError.federatedSearchRateLimitError` **Added**\n* `glean.client.pins.update()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.pins.retrieve()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.pins.list()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.pins.create()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.pins.remove()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.documents.retrieveByFacets()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.search.autocomplete()`: \n * `request` **Changed** **Breaking** :warning:\n * `response.gleandataerror.federatedSearchRateLimitError` **Added**\n* `glean.client.search.retrieveFeed()`: `request` **Changed** **Breaking** :warning:\n* `glean.client.chat.deleteAll()`: `request.locale` **Added**\n* `glean.client.chat.delete()`: `request.locale` **Added**\n* `glean.client.chat.deleteFiles()`: `request.locale` **Added**\n* `glean.client.chat.retrieveFiles()`: `request.locale` **Added**\n* `glean.client.chat.uploadFiles()`: `request.locale` **Added**\n* `glean.client.chat.retrieveApplication()`: `request.locale` **Added**\n* `glean.client.chat.list()`: `request.locale` **Added**\n* `glean.client.agents.retrieveSchemas()`: `request.locale` **Added**\n* `glean.client.agents.retrieve()`: `request.locale` **Added**\n* `glean.client.verification.list()`: `request.locale` **Added**\n* `glean.client.chat.retrieve()`: `request.locale` **Added**\n* `glean.client.chat.create()`: `request.locale` **Added**\n* `glean.client.governance.data.policies.retrieve()`: `response.report.config.inputOptions.subsetDocIdsToScan` **Added**\n* `glean.client.governance.data.policies.update()`: \n * `request.updatedlpreportrequest.config.inputOptions.subsetDocIdsToScan` **Added**\n* `glean.client.governance.data.policies.list()`: `response.reports.[].config.inputOptions.subsetDocIdsToScan` **Added**\n* `glean.client.governance.data.policies.create()`: \n * `request.config.inputOptions.subsetDocIdsToScan` **Added**\n * `response.report.config.inputOptions.subsetDocIdsToScan` **Added**\n* `glean.client.governance.data.reports.create()`: \n * `request.config.inputOptions.subsetDocIdsToScan` **Added**\n"
generatedFiles:
- .devcontainer/README.md
- .devcontainer/devcontainer.json
diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml
index 5beda5e0..a854406e 100644
--- a/.speakeasy/gen.yaml
+++ b/.speakeasy/gen.yaml
@@ -32,7 +32,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
typescript:
- version: 0.13.20
+ version: 0.13.21
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml
index f8520c95..0f84d9d0 100644
--- a/.speakeasy/glean-merged-spec.yaml
+++ b/.speakeasy/glean-merged-spec.yaml
@@ -2,7 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
- x-source-commit-sha: 17a84cfc3e3f0e0a3eec1792cf57a65f444d613e
+ x-source-commit-sha: a604bd819216fb7919e8d0b0bd69f5af33b5d2bd
description: |
# Introduction
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -22,7 +22,7 @@ info:
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
x-logo:
url: https://app.glean.com/images/glean-text2.svg
- x-open-api-commit-sha: 3bb1859df9ba2cff7a43d5b1c336bb826a766b4c
+ x-open-api-commit-sha: 62b05ceecaf04d28668647bb61969173aed8cbd9
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
@@ -101,7 +101,8 @@ paths:
operationId: createannouncement
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -134,7 +135,8 @@ paths:
operationId: deleteannouncement
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -163,7 +165,8 @@ paths:
operationId: updateannouncement
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -196,7 +199,8 @@ paths:
operationId: createanswer
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -229,7 +233,8 @@ paths:
operationId: deleteanswer
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -258,7 +263,8 @@ paths:
operationId: editanswer
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -291,7 +297,8 @@ paths:
operationId: getanswer
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -325,7 +332,8 @@ paths:
deprecated: true
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -347,6 +355,12 @@ paths:
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"
x-speakeasy-name-override: list
x-speakeasy-group: client.answers
/rest/api/v1/createauthtoken:
@@ -388,6 +402,7 @@ paths:
x-visibility: Public
x-codegen-request-body-name: payload
parameters:
+ - $ref: "#/components/parameters/locale"
- $ref: "#/components/parameters/timezoneOffset"
requestBody:
content:
@@ -526,6 +541,7 @@ paths:
x-visibility: Public
x-codegen-request-body-name: payload
parameters:
+ - $ref: "#/components/parameters/locale"
- $ref: "#/components/parameters/timezoneOffset"
responses:
"200":
@@ -548,6 +564,7 @@ paths:
x-visibility: Public
x-codegen-request-body-name: payload
parameters:
+ - $ref: "#/components/parameters/locale"
- $ref: "#/components/parameters/timezoneOffset"
requestBody:
content:
@@ -579,6 +596,7 @@ paths:
x-visibility: Public
x-codegen-request-body-name: payload
parameters:
+ - $ref: "#/components/parameters/locale"
- $ref: "#/components/parameters/timezoneOffset"
requestBody:
content:
@@ -614,6 +632,7 @@ paths:
x-visibility: Public
x-codegen-request-body-name: payload
parameters:
+ - $ref: "#/components/parameters/locale"
- $ref: "#/components/parameters/timezoneOffset"
responses:
"200":
@@ -640,6 +659,7 @@ paths:
x-visibility: Preview
x-codegen-request-body-name: payload
parameters:
+ - $ref: "#/components/parameters/locale"
- $ref: "#/components/parameters/timezoneOffset"
requestBody:
content:
@@ -672,6 +692,7 @@ paths:
operationId: uploadchatfiles
x-visibility: Public
parameters:
+ - $ref: "#/components/parameters/locale"
- $ref: "#/components/parameters/timezoneOffset"
requestBody:
required: true
@@ -706,6 +727,7 @@ paths:
operationId: getchatfiles
x-visibility: Public
parameters:
+ - $ref: "#/components/parameters/locale"
- $ref: "#/components/parameters/timezoneOffset"
requestBody:
required: true
@@ -740,6 +762,7 @@ paths:
operationId: deletechatfiles
x-visibility: Public
parameters:
+ - $ref: "#/components/parameters/locale"
- $ref: "#/components/parameters/timezoneOffset"
requestBody:
required: true
@@ -769,6 +792,7 @@ paths:
operationId: getAgent
x-visibility: Preview
parameters:
+ - $ref: "#/components/parameters/locale"
- $ref: "#/components/parameters/timezoneOffset"
- description: The ID of the agent.
required: true
@@ -808,6 +832,7 @@ paths:
operationId: getAgentSchemas
x-visibility: Preview
parameters:
+ - $ref: "#/components/parameters/locale"
- $ref: "#/components/parameters/timezoneOffset"
- description: The ID of the agent.
required: true
@@ -993,7 +1018,8 @@ paths:
operationId: addcollectionitems
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1026,7 +1052,8 @@ paths:
operationId: createcollection
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1065,7 +1092,8 @@ paths:
operationId: deletecollection
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1100,7 +1128,8 @@ paths:
operationId: deletecollectionitem
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1135,7 +1164,8 @@ paths:
operationId: editcollection
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1174,7 +1204,8 @@ paths:
operationId: editcollectionitem
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1207,7 +1238,8 @@ paths:
operationId: getcollection
x-visibility: Preview
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1240,7 +1272,8 @@ paths:
operationId: listcollections
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1273,7 +1306,8 @@ paths:
operationId: getdocpermissions
x-visibility: Preview
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1308,7 +1342,8 @@ paths:
operationId: getdocuments
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1341,7 +1376,8 @@ paths:
operationId: getdocumentsbyfacets
x-visibility: Preview
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1374,7 +1410,8 @@ paths:
operationId: insights
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1407,7 +1444,8 @@ paths:
operationId: messages
x-visibility: Preview
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1440,7 +1478,8 @@ paths:
operationId: editpin
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1473,7 +1512,8 @@ paths:
operationId: getpin
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1506,7 +1546,8 @@ paths:
operationId: listpins
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1539,7 +1580,8 @@ paths:
operationId: pin
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1572,7 +1614,8 @@ paths:
operationId: unpin
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1603,7 +1646,8 @@ paths:
operationId: adminsearch
x-visibility: Preview
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1648,7 +1692,8 @@ paths:
operationId: autocomplete
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1681,7 +1726,8 @@ paths:
operationId: feed
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1716,7 +1762,8 @@ paths:
operationId: recommendations
x-visibility: Preview
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1755,7 +1802,8 @@ paths:
operationId: search
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1802,7 +1850,8 @@ paths:
operationId: listentities
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1835,7 +1884,8 @@ paths:
operationId: people
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1868,7 +1918,8 @@ paths:
operationId: createshortcut
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1901,7 +1952,8 @@ paths:
operationId: deleteshortcut
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1930,7 +1982,8 @@ paths:
operationId: getshortcut
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1963,7 +2016,8 @@ paths:
operationId: listshortcuts
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -1996,7 +2050,8 @@ paths:
operationId: updateshortcut
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -2029,7 +2084,8 @@ paths:
operationId: summarize
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -2062,7 +2118,8 @@ paths:
operationId: addverificationreminder
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -2104,6 +2161,7 @@ paths:
required: false
schema:
type: integer
+ - $ref: "#/components/parameters/locale"
responses:
"200":
description: OK
@@ -2128,7 +2186,8 @@ paths:
operationId: verify
x-visibility: Public
x-codegen-request-body-name: payload
- parameters: []
+ parameters:
+ - $ref: "#/components/parameters/locale"
requestBody:
content:
application/json:
@@ -2229,7 +2288,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/IndexDocumentRequest"
+ $ref: '#/components/schemas/IndexDocumentRequest'
required: true
x-exportParamName: IndexDocumentRequest
responses:
@@ -2255,7 +2314,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/IndexDocumentsRequest"
+ $ref: '#/components/schemas/IndexDocumentsRequest'
required: true
x-exportParamName: IndexDocumentsRequest
responses:
@@ -2281,7 +2340,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/BulkIndexDocumentsRequest"
+ $ref: '#/components/schemas/BulkIndexDocumentsRequest'
required: true
x-exportParamName: BulkIndexDocumentsRequest
responses:
@@ -2305,7 +2364,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/UpdatePermissionsRequest"
+ $ref: '#/components/schemas/UpdatePermissionsRequest'
required: true
x-exportParamName: UpdatePermissionsRequest
responses:
@@ -2342,7 +2401,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/ProcessAllDocumentsRequest"
+ $ref: '#/components/schemas/ProcessAllDocumentsRequest'
x-exportParamName: ProcessAllDocumentsRequest
responses:
"200":
@@ -2365,7 +2424,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/DeleteDocumentRequest"
+ $ref: '#/components/schemas/DeleteDocumentRequest'
required: true
x-exportParamName: DeleteDocumentRequest
responses:
@@ -2389,7 +2448,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/IndexUserRequest"
+ $ref: '#/components/schemas/IndexUserRequest'
required: true
x-exportParamName: IndexUserRequest
responses:
@@ -2415,7 +2474,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/BulkIndexUsersRequest"
+ $ref: '#/components/schemas/BulkIndexUsersRequest'
required: true
x-exportParamName: BulkIndexUsersRequest
responses:
@@ -2439,7 +2498,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/IndexGroupRequest"
+ $ref: '#/components/schemas/IndexGroupRequest'
required: true
x-exportParamName: IndexGroupRequest
responses:
@@ -2465,7 +2524,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/BulkIndexGroupsRequest"
+ $ref: '#/components/schemas/BulkIndexGroupsRequest'
required: true
x-exportParamName: BulkIndexGroupsRequest
responses:
@@ -2489,7 +2548,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/IndexMembershipRequest"
+ $ref: '#/components/schemas/IndexMembershipRequest'
required: true
x-exportParamName: IndexMembershipRequest
responses:
@@ -2513,7 +2572,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/BulkIndexMembershipsRequest"
+ $ref: '#/components/schemas/BulkIndexMembershipsRequest'
required: true
x-exportParamName: BulkIndexMembershipsRequest
responses:
@@ -2538,7 +2597,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/ProcessAllMembershipsRequest"
+ $ref: '#/components/schemas/ProcessAllMembershipsRequest'
x-exportParamName: ProcessAllMembershipsRequest
responses:
"200":
@@ -2561,7 +2620,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/DeleteUserRequest"
+ $ref: '#/components/schemas/DeleteUserRequest'
required: true
x-exportParamName: DeleteUserRequest
responses:
@@ -2587,7 +2646,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/DeleteGroupRequest"
+ $ref: '#/components/schemas/DeleteGroupRequest'
required: true
x-exportParamName: DeleteGroupRequest
responses:
@@ -2611,7 +2670,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/DeleteMembershipRequest"
+ $ref: '#/components/schemas/DeleteMembershipRequest'
required: true
x-exportParamName: DeleteMembershipRequest
responses:
@@ -2627,7 +2686,6 @@ paths:
x-speakeasy-group: indexing.permissions
/api/index/v1/debug/{datasource}/status:
post:
- x-beta: true
summary: |
Beta: Get datasource status
description: |
@@ -2649,16 +2707,16 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/DebugDatasourceStatusResponse"
+ $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:
- x-beta: true
summary: |
Beta: Get document information
description: |
@@ -2678,7 +2736,7 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/DebugDocumentRequest"
+ $ref: '#/components/schemas/DebugDocumentRequest'
required: true
x-exportParamName: DebugDocumentRequest
responses:
@@ -2687,16 +2745,16 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/DebugDocumentResponse"
+ $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:
- x-beta: true
summary: |
Beta: Get information of a batch of documents
description: |
@@ -2716,7 +2774,7 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/DebugDocumentsRequest"
+ $ref: '#/components/schemas/DebugDocumentsRequest'
required: true
x-exportParamName: DebugDocumentsRequest
responses:
@@ -2725,16 +2783,16 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/DebugDocumentsResponse"
+ $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:
- x-beta: true
summary: |
Beta: Get user information
description: |
@@ -2754,7 +2812,7 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/DebugUserRequest"
+ $ref: '#/components/schemas/DebugUserRequest'
required: true
x-exportParamName: DebugUserRequest
responses:
@@ -2763,11 +2821,12 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/DebugUserResponse"
+ $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:
@@ -2783,7 +2842,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/CheckDocumentAccessRequest"
+ $ref: '#/components/schemas/CheckDocumentAccessRequest'
required: true
x-exportParamName: CheckDocumentAccessRequest
responses:
@@ -2792,7 +2851,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/CheckDocumentAccessResponse"
+ $ref: '#/components/schemas/CheckDocumentAccessResponse'
"400":
description: Bad Request
"401":
@@ -2803,7 +2862,6 @@ paths:
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.
@@ -2815,7 +2873,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/GetDocumentStatusRequest"
+ $ref: '#/components/schemas/GetDocumentStatusRequest'
required: true
x-exportParamName: GetDocumentStatusRequest
responses:
@@ -2824,18 +2882,18 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/GetDocumentStatusResponse"
+ $ref: '#/components/schemas/GetDocumentStatusResponse'
"400":
description: Bad Request
"401":
description: Not Authorized
"429":
description: Too Many Requests
+ deprecated: true
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.
@@ -2847,7 +2905,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/GetDocumentCountRequest"
+ $ref: '#/components/schemas/GetDocumentCountRequest'
required: true
x-exportParamName: GetDocumentCountRequest
responses:
@@ -2856,18 +2914,18 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/GetDocumentCountResponse"
+ $ref: '#/components/schemas/GetDocumentCountResponse'
"400":
description: Bad Request
"401":
description: Not Authorized
"409":
description: Conflict
+ deprecated: true
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.
@@ -2879,7 +2937,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/GetUserCountRequest"
+ $ref: '#/components/schemas/GetUserCountRequest'
required: true
x-exportParamName: GetUserCountRequest
responses:
@@ -2888,13 +2946,14 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/GetUserCountResponse"
+ $ref: '#/components/schemas/GetUserCountResponse'
"400":
description: Bad Request
"401":
description: Not Authorized
"409":
description: Conflict
+ deprecated: true
x-speakeasy-name-override: count
x-speakeasy-group: indexing.people
/api/index/v1/betausers:
@@ -2907,7 +2966,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/GreenlistUsersRequest"
+ $ref: '#/components/schemas/GreenlistUsersRequest'
required: true
x-exportParamName: GreenlistUsersRequest
responses:
@@ -2931,7 +2990,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/CustomDatasourceConfig"
+ $ref: '#/components/schemas/CustomDatasourceConfig'
required: true
x-exportParamName: DatasourceConfig
responses:
@@ -2953,7 +3012,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/GetDatasourceConfigRequest"
+ $ref: '#/components/schemas/GetDatasourceConfigRequest'
required: true
x-exportParamName: GetDatasourceConfigRequest
responses:
@@ -2962,7 +3021,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/CustomDatasourceConfig"
+ $ref: '#/components/schemas/CustomDatasourceConfig'
"400":
description: Bad Request
"401":
@@ -2983,7 +3042,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/RotateTokenResponse"
+ $ref: '#/components/schemas/RotateTokenResponse'
"400":
description: Bad Request
"401":
@@ -3000,7 +3059,7 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/IndexEmployeeRequest"
+ $ref: '#/components/schemas/IndexEmployeeRequest'
required: true
x-exportParamName: IndexEmployeeRequest
responses:
@@ -3024,7 +3083,7 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/BulkIndexEmployeesRequest"
+ $ref: '#/components/schemas/BulkIndexEmployeesRequest'
required: true
x-exportParamName: BulkIndexEmployeesRequest
responses:
@@ -3067,7 +3126,7 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/DeleteEmployeeRequest"
+ $ref: '#/components/schemas/DeleteEmployeeRequest'
required: true
x-exportParamName: DeleteEmployeeRequest
responses:
@@ -3091,7 +3150,7 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/IndexTeamRequest"
+ $ref: '#/components/schemas/IndexTeamRequest'
required: true
x-exportParamName: IndexTeamRequest
responses:
@@ -3115,7 +3174,7 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/DeleteTeamRequest"
+ $ref: '#/components/schemas/DeleteTeamRequest'
required: true
x-exportParamName: DeleteTeamRequest
responses:
@@ -3139,7 +3198,7 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/BulkIndexTeamsRequest"
+ $ref: '#/components/schemas/BulkIndexTeamsRequest'
required: true
x-exportParamName: BulkIndexTeamsRequest
responses:
@@ -3163,7 +3222,7 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/BulkIndexShortcutsRequest"
+ $ref: '#/components/schemas/BulkIndexShortcutsRequest'
required: true
x-exportParamName: BulkIndexShortcutsRequest
responses:
@@ -3187,7 +3246,7 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/UploadShortcutsRequest"
+ $ref: '#/components/schemas/UploadShortcutsRequest'
required: true
x-exportParamName: UploadShortcutsRequest
responses:
@@ -3203,10 +3262,9 @@ paths:
x-speakeasy-group: indexing.shortcuts
/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
+ summary: Gets specified policy
+ description: Fetches the specified policy version, or the latest if no version is provided.
tags:
- Governance
parameters:
@@ -3229,17 +3287,18 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/GetDlpReportResponse"
+ $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:
- description: Updates an existing policy.
- summary: Updates an existing policy
operationId: updatepolicy
+ summary: Updates an existing policy
+ description: Updates an existing policy.
tags:
- Governance
parameters:
@@ -3253,7 +3312,7 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/UpdateDlpReportRequest"
+ $ref: '#/components/schemas/UpdateDlpReportRequest'
required: true
responses:
"200":
@@ -3261,7 +3320,7 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/UpdateDlpReportResponse"
+ $ref: '#/components/schemas/UpdateDlpReportResponse'
"403":
description: Permissions error
"500":
@@ -3270,10 +3329,9 @@ paths:
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
+ summary: Lists policies
+ description: Lists policies with filtering.
tags:
- Governance
parameters:
@@ -3295,25 +3353,25 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/ListDlpReportsResponse"
+ $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:
- description: Creates a new policy with specified specifications and returns its id.
- summary: Creates new policy
operationId: createpolicy
- x-visibility: Public
+ summary: Creates new policy
+ description: Creates a new policy with specified specifications and returns its id.
tags:
- Governance
requestBody:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/CreateDlpReportRequest"
+ $ref: '#/components/schemas/CreateDlpReportRequest'
required: true
responses:
"200":
@@ -3321,19 +3379,19 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/CreateDlpReportResponse"
+ $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:
- 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
+ summary: Downloads violations CSV for policy
+ description: Downloads CSV violations report for a specific policy id. This does not support continuous policies.
tags:
- Governance
parameters:
@@ -3349,29 +3407,29 @@ paths:
content:
text/csv; charset=UTF-8:
schema:
- description: CSV of all the violations found for this policy.
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:
- description: Creates a new one-time report and executes its batch job.
- summary: Creates new one-time report
operationId: createreport
- x-visibility: Public
+ summary: Creates new one-time report
+ description: Creates a new one-time report and executes its batch job.
tags:
- Governance
requestBody:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/UpdateDlpConfigRequest"
+ $ref: '#/components/schemas/UpdateDlpConfigRequest'
required: true
responses:
"200":
@@ -3379,19 +3437,19 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/UpdateDlpConfigResponse"
+ $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:
- description: Downloads CSV violations report for a specific report id.
- summary: Downloads violations CSV for report
operationId: downloadreportcsv
- x-visibility: Public
+ summary: Downloads violations CSV for report
+ description: Downloads CSV violations report for a specific report id.
tags:
- Governance
parameters:
@@ -3407,20 +3465,20 @@ paths:
content:
text/csv; charset=UTF-8:
schema:
- description: CSV of all the violations found for this report.
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:
- description: Fetches the status of the run corresponding to the report-id.
- summary: Fetches report run status
operationId: getreportstatus
- x-visibility: Public
+ summary: Fetches report run status
+ description: Fetches the status of the run corresponding to the report-id.
tags:
- Governance
parameters:
@@ -3436,19 +3494,19 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/ReportStatusResponse"
+ $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:
- description: Fetches the visibility override status of the documents passed.
- summary: Fetches documents visibility
operationId: getdocvisibility
- x-visibility: Public
+ summary: Fetches documents visibility
+ description: Fetches the visibility override status of the documents passed.
tags:
- Governance
parameters:
@@ -3465,25 +3523,25 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/GetDocumentVisibilityOverridesResponse"
+ $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:
- 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
+ summary: Hide or unhide docs
+ description: Sets the visibility-override state of the documents specified, effectively hiding or un-hiding documents.
tags:
- Governance
requestBody:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/UpdateDocumentVisibilityOverridesRequest"
+ $ref: '#/components/schemas/UpdateDocumentVisibilityOverridesRequest'
required: true
responses:
"200":
@@ -3491,26 +3549,26 @@ paths:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/UpdateDocumentVisibilityOverridesResponse"
+ $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:
- description: Creates a new DLP findings export job.
- summary: Creates findings export
operationId: createfindingsexport
- x-visibility: Private
+ summary: Creates findings export
+ description: Creates a new DLP findings export job.
tags:
- Governance
requestBody:
content:
application/json; charset=UTF-8:
schema:
- $ref: "#/components/schemas/DlpExportFindingsRequest"
+ $ref: '#/components/schemas/DlpExportFindingsRequest'
required: true
responses:
"200":
@@ -3518,16 +3576,16 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/ExportInfo"
+ $ref: '#/components/schemas/ExportInfo'
"403":
description: Permissions error
"500":
description: Internal error
+ x-visibility: Public
get:
- description: Lists all DLP findings exports.
- summary: Lists findings exports
operationId: listfindingsexports
- x-visibility: Private
+ summary: Lists findings exports
+ description: Lists all DLP findings exports.
tags:
- Governance
responses:
@@ -3536,17 +3594,17 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/ListDlpFindingsExportsResponse"
+ $ref: '#/components/schemas/ListDlpFindingsExportsResponse'
"403":
description: Permissions error
"500":
description: Internal error
+ x-visibility: Public
/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: Private
+ summary: Downloads findings export
+ description: Downloads a DLP findings export as a CSV file.
tags:
- Governance
parameters:
@@ -3562,17 +3620,17 @@ paths:
content:
text/csv; charset=UTF-8:
schema:
- description: CSV of all the exported findings.
type: string
+ description: CSV of all the exported findings.
"403":
description: Permissions error
"500":
description: Internal error
+ x-visibility: Public
delete:
- description: Deletes a DLP findings export.
- summary: Deletes findings export
operationId: deletefindingsexport
- x-visibility: Private
+ summary: Deletes findings export
+ description: Deletes a DLP findings export.
tags:
- Governance
parameters:
@@ -3590,6 +3648,7 @@ paths:
description: Permissions error
"500":
description: Internal error
+ x-visibility: Public
/rest/api/v1/chat#stream:
post:
tags:
@@ -3776,6 +3835,14 @@ components:
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
@@ -4099,6 +4166,37 @@ components:
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.
+ 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
@@ -4318,6 +4416,12 @@ components:
- 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.
@@ -4508,6 +4612,12 @@ components:
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.
enum:
- ALL_RESULT_COUNTS
- FACET_RESULTS
@@ -4845,8 +4955,6 @@ components:
format: date-time
description: The team member's start date
TeamEmail:
- type: object
- description: Information about a team's email
properties:
email:
type: string
@@ -4854,11 +4962,13 @@ components:
description: An email address
type:
type: string
- description: An enum of `PRIMARY`, `SECONDARY`, `ONCALL`, `OTHER`
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:
@@ -6010,6 +6120,8 @@ components:
- 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:
@@ -6142,6 +6254,10 @@ components:
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
@@ -6201,6 +6317,10 @@ components:
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
@@ -6498,6 +6618,11 @@ components:
properties:
type:
type: string
+ x-enumDescriptions:
+ FULL_TIME: The person is a current full-time employee of the company.
+ CONTRACTOR: The person is a current contractor of the company.
+ NON_EMPLOYEE: The person object represents a non-human actor such as a service or admin account.
+ FORMER_EMPLOYEE: The person is a previous employee of the company.
enum:
- FULL_TIME
- CONTRACTOR
@@ -6676,6 +6801,13 @@ components:
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
@@ -7167,6 +7299,12 @@ components:
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.
enum:
- DEFAULT
- GPT
@@ -7184,7 +7322,10 @@ components:
mode:
type: string
description: Top level modes to run GleanChat in.
- enum:
+ x-enumDescriptions:
+ DEFAULT: Used if no mode supplied.
+ QUICK: Deprecated.
+ enum:
- DEFAULT
- QUICK
x-speakeasy-enum-descriptions:
@@ -7554,6 +7695,16 @@ components:
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.
+ 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
@@ -9025,6 +9176,9 @@ components:
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:
@@ -9873,6 +10027,10 @@ components:
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
@@ -9884,6 +10042,9 @@ components:
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
@@ -10033,6 +10194,7 @@ components:
- SHORTCUTS_TYPE
- WORKFLOWS_TYPE
- PROMPT_TEMPLATES_TYPE
+ - PRISM_VIEWS_TYPE
FavoriteInfo:
type: object
properties:
@@ -10399,6 +10561,9 @@ components:
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
@@ -10488,6 +10653,9 @@ components:
- 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:
type: string
@@ -10827,20 +10995,19 @@ components:
description: The error message if applicable
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:
+ $ref: '#/components/schemas/DocumentDefinition'
description: Document being added/updated
- $ref: "#/components/schemas/DocumentDefinition"
required:
- document
+ description: Describes the request body of the /indexdocument API call
IndexDocumentsRequest:
type: object
- description: Describes the request body of the /indexdocuments API call
properties:
uploadId:
type: string
@@ -10849,16 +11016,16 @@ components:
type: string
description: Datasource of the documents
documents:
- description: Batch of documents being added/updated
type: array
items:
- $ref: "#/components/schemas/DocumentDefinition"
+ $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
- description: Describes the request body of the /updatepermissions API call
properties:
datasource:
type: string
@@ -10873,30 +11040,30 @@ components:
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"
+ $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
- 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
+ description: Describes the request body of the /getdocumentcount API call
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.
+ description: Describes the response body of the /getdocumentcount API call
GetDocumentStatusRequest:
type: object
- description: Describes the request body for /getdocumentstatus API call
properties:
datasource:
type: string
@@ -10911,9 +11078,9 @@ components:
- datasource
- objectType
- docId
+ description: Describes the request body for /getdocumentstatus API call
GetDocumentStatusResponse:
type: object
- description: Describes the response body of the /getdocumentstatus API call
properties:
uploadStatus:
type: string
@@ -10929,11 +11096,9 @@ components:
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
- description: Describes the request body of a bulk upload API call
- required:
- - uploadId
properties:
uploadId:
type: string
@@ -10947,68 +11112,70 @@ components:
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
- description: Describes the request body of the /bulkindexteams API call
allOf:
- - $ref: "#/components/schemas/BulkIndexRequest"
+ - $ref: '#/components/schemas/BulkIndexRequest'
- type: object
properties:
teams:
- description: Batch of team information
type: array
items:
- $ref: "#/components/schemas/TeamInfoDefinition"
+ $ref: '#/components/schemas/TeamInfoDefinition'
+ description: Batch of team information
required:
- teams
+ description: Describes the request body of the /bulkindexteams API call
BulkIndexEmployeesRequest:
type: object
- description: Describes the request body of the /bulkindexemployees API call
allOf:
- - $ref: "#/components/schemas/BulkIndexRequest"
+ - $ref: '#/components/schemas/BulkIndexRequest'
- type: object
properties:
employees:
- description: Batch of employee information
type: array
items:
- $ref: "#/components/schemas/EmployeeInfoDefinition"
+ $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
- description: Describes the request body of the /bulkindexdocuments API call
allOf:
- - $ref: "#/components/schemas/BulkIndexRequest"
+ - $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"
+ $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
- 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.
+ description: Describes the request body of the /processalldocuments API call
DeleteDocumentRequest:
type: object
- description: Describes the request body of the /deletedocument API call
properties:
version:
type: integer
@@ -11027,9 +11194,9 @@ components:
- datasource
- id
- objectType
+ description: Describes the request body of the /deletedocument API call
IndexUserRequest:
type: object
- description: Describes the request body of the /indexuser API call
properties:
version:
type: integer
@@ -11039,30 +11206,30 @@ components:
type: string
description: The datasource for which the user is added
user:
+ $ref: '#/components/schemas/DatasourceUserDefinition'
description: The user to be added or updated
- $ref: "#/components/schemas/DatasourceUserDefinition"
required:
- datasource
- user
+ description: Describes the request body of the /indexuser API call
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
+ description: Describes the request body of the /getusercount API call
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.
+ description: Describes the response body of the /getusercount API call
BulkIndexUsersRequest:
type: object
- description: Describes the request body for the /bulkindexusers API call
properties:
uploadId:
type: string
@@ -11080,10 +11247,10 @@ components:
type: string
description: datasource of the users
users:
- description: batch of users for the datasource
type: array
items:
- $ref: "#/components/schemas/DatasourceUserDefinition"
+ $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`
@@ -11091,31 +11258,31 @@ components:
- uploadId
- datasource
- users
+ description: Describes the request body for the /bulkindexusers API call
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
+ description: The emails of the beta users
required:
- datasource
- emails
+ description: Describes the request body of the /betausers API call
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
+ description: To be supplied if the user id in the datasource is not the email
name:
type: string
isActive:
@@ -11124,9 +11291,9 @@ components:
required:
- email
- name
+ description: describes a user in the datasource
IndexGroupRequest:
type: object
- description: Describes the request body of the /indexgroup API call
properties:
version:
type: integer
@@ -11136,14 +11303,14 @@ components:
type: string
description: The datasource for which the group is added
group:
+ $ref: '#/components/schemas/DatasourceGroupDefinition'
description: The group to be added or updated
- $ref: "#/components/schemas/DatasourceGroupDefinition"
required:
- datasource
- group
+ description: Describes the request body of the /indexgroup API call
BulkIndexGroupsRequest:
type: object
- description: Describes the request body for the /bulkindexgroups API call
properties:
uploadId:
type: string
@@ -11161,10 +11328,10 @@ components:
type: string
description: datasource of the groups
groups:
- description: batch of groups for the datasource
type: array
items:
- $ref: "#/components/schemas/DatasourceGroupDefinition"
+ $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`
@@ -11172,18 +11339,18 @@ components:
- uploadId
- datasource
- groups
+ description: Describes the request body for the /bulkindexgroups API call
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
+ description: describes a group in the datasource
IndexMembershipRequest:
type: object
- description: Describes the request body of the /indexmembership API call
properties:
version:
type: integer
@@ -11193,14 +11360,14 @@ components:
type: string
description: The datasource for which the membership is added
membership:
+ $ref: '#/components/schemas/DatasourceMembershipDefinition'
description: The membership to be added or updated
- $ref: "#/components/schemas/DatasourceMembershipDefinition"
required:
- datasource
- membership
+ description: Describes the request body of the /indexmembership API call
BulkIndexMembershipsRequest:
type: object
- description: Describes the request body for the /bulkindexmemberships API call
properties:
uploadId:
type: string
@@ -11221,49 +11388,49 @@ components:
type: string
description: group who's memberships are specified
memberships:
- description: batch of memberships for the group
type: array
items:
- $ref: "#/components/schemas/DatasourceBulkMembershipDefinition"
+ $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
- 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.
+ description: Describes the request body of the /processallmemberships API call
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
+ description: The group for which the membership is specified
memberUserId:
- description: If the member is a user, then the email or datasource id for the user
type: string
+ description: If the member is a user, then the email or datasource id for the user
memberGroupName:
- description: If the member is a group, then the name of the member group
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
- 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
+ description: If the member is a user, then the email or datasource id for the user
memberGroupName:
- description: If the member is a group, then the name of the member group
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
- description: Describes the request body of the /deleteuser API call
properties:
version:
type: integer
@@ -11273,14 +11440,14 @@ components:
type: string
description: The datasource for which the user is removed
email:
- description: The email of the user to be deleted
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
- description: Describes the request body of the /deletegroup API call
properties:
version:
type: integer
@@ -11290,14 +11457,14 @@ components:
type: string
description: The datasource for which the group is removed
groupName:
- description: the name of the group to be deleted
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
- description: Describes the request body of the /deletemembership API call
properties:
version:
type: integer
@@ -11307,36 +11474,36 @@ components:
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
- $ref: "#/components/schemas/DatasourceMembershipDefinition"
required:
- datasource
- membership
+ description: Describes the request body of the /deletemembership API call
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
+ description: The deleted employee's email
required:
- employeeEmail
+ description: Describes the request body of the /deleteemployee API call
DeleteTeamRequest:
type: object
- description: Describes the request body of the /deleteteam API call
properties:
id:
- description: The deleted team's id
type: string
+ description: The deleted team's id
required:
- id
+ description: Describes the request body of the /deleteteam API call
DocumentDefinition:
type: object
- description: Indexable document structure
properties:
title:
type: string
@@ -11367,16 +11534,16 @@ components:
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"
+ $ref: '#/components/schemas/ContentDefinition'
body:
- $ref: "#/components/schemas/ContentDefinition"
+ $ref: '#/components/schemas/ContentDefinition'
author:
- $ref: "#/components/schemas/UserReferenceDefinition"
+ $ref: '#/components/schemas/UserReferenceDefinition'
owner:
- $ref: "#/components/schemas/UserReferenceDefinition"
+ $ref: '#/components/schemas/UserReferenceDefinition'
description: The current owner of the document, if not the author.
permissions:
- $ref: "#/components/schemas/DocumentPermissionsDefinition"
+ $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
@@ -11387,14 +11554,14 @@ components:
format: int64
description: The last update time, in epoch seconds.
updatedBy:
- $ref: "#/components/schemas/UserReferenceDefinition"
+ $ref: '#/components/schemas/UserReferenceDefinition'
tags:
type: array
items:
type: string
description: Labels associated with the document.
interactions:
- $ref: "#/components/schemas/DocumentInteractionsDefinition"
+ $ref: '#/components/schemas/DocumentInteractionsDefinition'
status:
type: string
additionalUrls:
@@ -11405,27 +11572,27 @@ components:
comments:
type: array
items:
- $ref: "#/components/schemas/CommentDefinition"
+ $ref: '#/components/schemas/CommentDefinition'
description: Comments associated with the document.
customProperties:
type: array
items:
- $ref: "#/components/schemas/CustomProperty"
+ $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
- 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"
+ $ref: '#/components/schemas/UserReferenceDefinition'
description: The author of the comment.
content:
- $ref: "#/components/schemas/ContentDefinition"
+ $ref: '#/components/schemas/ContentDefinition'
description: The content of the comment.
createdAt:
type: integer
@@ -11436,13 +11603,13 @@ components:
format: int64
description: The last updated time, in epoch seconds.
updatedBy:
- $ref: "#/components/schemas/UserReferenceDefinition"
+ $ref: '#/components/schemas/UserReferenceDefinition'
description: The user who last updated the comment.
required:
- id
+ description: Describes a comment on a document
ContentDefinition:
type: object
- description: Describes text content or base64 encoded binary content
properties:
mimeType:
type: string
@@ -11454,9 +11621,9 @@ components:
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
- 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
@@ -11465,42 +11632,42 @@ components:
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
- description: describes a list of groups that are all required in a permissions constraint
properties:
requiredGroups:
type: array
items:
type: string
+ description: describes a list of groups that are all required in a permissions constraint
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"
+ $ref: '#/components/schemas/UserReferenceDefinition'
+ description: List of users who can view the document
allowedGroups:
- description: List of groups that can view the document
type: array
items:
type: string
+ description: List of groups that can view the document
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"
+ $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:
- description: If true, then any Glean user can view the document
type: boolean
+ description: If true, then any Glean user can view the document
allowAllDatasourceUsersAccess:
- description: If true, then any user who has an account in the datasource can view the document.
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
- description: describes the interactions on the document
properties:
numViews:
type: integer
@@ -11508,9 +11675,9 @@ components:
type: integer
numComments:
type: integer
+ description: describes the interactions on the document
CheckDocumentAccessRequest:
type: object
- description: Describes the request body of the /checkdocumentaccess API call
properties:
datasource:
type: string
@@ -11529,44 +11696,44 @@ components:
- objectType
- docId
- userEmail
+ description: Describes the request body of the /checkdocumentaccess API call
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
+ description: Describes the response body of the /checkdocumentaccess API call
CustomProperty:
type: object
- description: Describes the custom properties of the object.
properties:
name:
type: string
value:
description: Must either be a string or an array of strings. An integer, boolean, etc. 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"
+ $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
+ description: Describes the request body of the /getdatasourceconfig API call
DatasourceConfigList:
- description: List of datasource configurations.
- required:
- - datasourceConfig
properties:
datasourceConfig:
type: array
- description: Datasource configuration.
items:
- $ref: "#/components/schemas/SharedDatasourceConfig"
+ $ref: '#/components/schemas/SharedDatasourceConfig'
+ description: Datasource configuration.
+ required:
+ - datasourceConfig
+ description: List of datasource configurations.
RotateTokenResponse:
- description: Describes the response body of the /rotatetoken API call
properties:
rawSecret:
type: string
@@ -11579,31 +11746,31 @@ components:
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
- description: Info about an employee and optional version for that info
properties:
employee:
+ $ref: '#/components/schemas/EmployeeInfoDefinition'
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
+ 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
- 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"
+ $ref: '#/components/schemas/IndexEmployeeRequest'
+ description: List of employee info and version.
+ description: Describes the request body of the /indexemployeelist API call
SocialNetworkDefinition:
type: object
- description: Employee's social network profile
properties:
name:
type: string
@@ -11614,15 +11781,18 @@ components:
profileUrl:
type: string
description: Link to profile.
+ description: Employee's social network 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:
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.
@@ -11639,9 +11809,7 @@ components:
**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.
+ description: Additional information about the employee or team.
HypertextField:
type: object
properties:
@@ -11653,7 +11821,6 @@ components:
description: URL for the hypertext field.
EmployeeInfoDefinition:
type: object
- description: Describes employee info
properties:
email:
type: string
@@ -11681,8 +11848,8 @@ components:
description: The employee's location (city/office name etc).
deprecated: true
structuredLocation:
+ $ref: '#/components/schemas/StructuredLocation'
description: Detailed location with information about country, state, city etc.
- $ref: "#/components/schemas/StructuredLocation"
title:
type: string
description: The employee's role title.
@@ -11698,14 +11865,14 @@ components:
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"
+ $ref: '#/components/schemas/DatasourceProfile'
+ description: The datasource profiles of the employee, e.g. `Slack`,`Github`.
teams:
type: array
- description: Info about the employee's team(s)
items:
- $ref: "#/components/schemas/EmployeeTeamInfo"
+ $ref: '#/components/schemas/EmployeeTeamInfo'
+ description: Info about the employee's team(s)
startDate:
type: string
format: date
@@ -11722,17 +11889,17 @@ components:
description: She/her, He/his or other pronoun.
alsoKnownAs:
type: array
- description: Other names associated with the employee.
items:
type: string
+ description: Other names associated with the employee.
profileUrl:
type: string
description: Link to internal company person profile.
socialNetworks:
type: array
- description: List of social network profiles.
items:
- $ref: "#/components/schemas/SocialNetworkDefinition"
+ $ref: '#/components/schemas/SocialNetworkDefinition'
+ description: List of social network profiles.
managerEmail:
type: string
description: The email of the employee's manager
@@ -11746,37 +11913,37 @@ components:
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"
+ $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
- description: List of additional fields with more information about the employee.
items:
- $ref: "#/components/schemas/AdditionalFieldDefinition"
+ $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
- description: describes info about an employee and optional version for that info
properties:
employee:
+ $ref: '#/components/schemas/EmployeeInfoDefinition'
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
+ 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
- description: Information about which team an employee belongs to
properties:
id:
type: string
@@ -11788,12 +11955,9 @@ components:
type: string
format: uri
description: Link to internal company team page
+ description: Information about which team an employee belongs to
EntityRelationship:
type: object
- description: Describes a relationship edge between a source and destination entity
- required:
- - name
- - email
properties:
name:
type: string
@@ -11801,14 +11965,17 @@ components:
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
- description: Information about a team's member
properties:
email:
type: string
- description: The member's email
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`
@@ -11819,9 +11986,9 @@ components:
description: The member's start date
required:
- email
+ description: Information about a team's member
TeamInfoDefinition:
type: object
- description: Information about an employee's team
properties:
id:
type: string
@@ -11849,120 +12016,121 @@ components:
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"
+ $ref: '#/components/schemas/TeamEmail'
+ description: The emails of the team
datasourceProfiles:
type: array
- description: The datasource profiles of the team, e.g. `Slack`,`Github`.
items:
- $ref: "#/components/schemas/DatasourceProfile"
+ $ref: '#/components/schemas/DatasourceProfile'
+ description: The datasource profiles of the team, e.g. `Slack`,`Github`.
members:
type: array
- description: The members of the team
items:
- $ref: "#/components/schemas/TeamMember"
+ $ref: '#/components/schemas/TeamMember'
+ description: The members of the team
additionalFields:
type: array
- description: List of additional fields with more information about the team.
items:
- $ref: "#/components/schemas/AdditionalFieldDefinition"
+ $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
- description: Info about a team and optional version for that info
properties:
team:
+ $ref: '#/components/schemas/TeamInfoDefinition'
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
+ 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
- description: Describes the request body of the /bulkindexshortcuts API call
allOf:
- - $ref: "#/components/schemas/BulkIndexRequest"
+ - $ref: '#/components/schemas/BulkIndexRequest'
- type: object
properties:
shortcuts:
- description: Batch of shortcuts information
type: array
items:
- $ref: "#/components/schemas/ExternalShortcut"
+ $ref: '#/components/schemas/ExternalShortcut'
+ description: Batch of shortcuts information
required:
- shortcuts
+ description: Describes the request body of the /bulkindexshortcuts API call
UploadShortcutsRequest:
type: object
- description: Describes the request body of the /uploadshortcuts API call
allOf:
- - $ref: "#/components/schemas/BulkIndexRequest"
+ - $ref: '#/components/schemas/BulkIndexRequest'
- type: object
properties:
shortcuts:
- description: Batch of shortcuts information
type: array
items:
- $ref: "#/components/schemas/IndexingShortcut"
+ $ref: '#/components/schemas/IndexingShortcut'
+ description: Batch of shortcuts information
required:
- shortcuts
+ description: Describes the request body of the /uploadshortcuts API call
DebugDatasourceStatusResponse:
type: object
- description: Describes the response body of the /debug/{datasource}/status API call
properties:
documents:
type: object
properties:
bulkUploadHistory:
+ $ref: '#/components/schemas/BulkUploadHistoryEventList'
type: object
- $ref: "#/components/schemas/BulkUploadHistoryEventList"
counts:
type: object
properties:
uploaded:
type: array
items:
- $ref: "#/components/schemas/DatasourceObjectTypeDocumentCountEntry"
+ $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"
+ $ref: '#/components/schemas/DatasourceObjectTypeDocumentCountEntry'
+ description: The number of documents indexed, grouped by objectType
processingHistory:
- $ref: "#/components/schemas/ProcessingHistoryEventList"
+ $ref: '#/components/schemas/ProcessingHistoryEventList'
identity:
type: object
properties:
processingHistory:
- $ref: "#/components/schemas/ProcessingHistoryEventList"
+ $ref: '#/components/schemas/ProcessingHistoryEventList'
users:
- $ref: "#/components/schemas/DebugDatasourceStatusIdentityResponseComponent"
+ $ref: '#/components/schemas/DebugDatasourceStatusIdentityResponseComponent'
groups:
- $ref: "#/components/schemas/DebugDatasourceStatusIdentityResponseComponent"
+ $ref: '#/components/schemas/DebugDatasourceStatusIdentityResponseComponent'
memberships:
- $ref: "#/components/schemas/DebugDatasourceStatusIdentityResponseComponent"
+ $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
+ 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
- $ref: "#/components/schemas/BulkUploadHistoryEventList"
counts:
type: object
properties:
@@ -11983,7 +12151,6 @@ components:
example: 15
BulkUploadHistoryEvent:
type: object
- description: Information about a successful bulk upload
properties:
uploadId:
type: string
@@ -11999,14 +12166,13 @@ components:
example: "2021-08-06T18:58:01.000Z"
status:
type: string
- description: The status of the upload, an enum of ACTIVE, SUCCESSFUL
enum:
- ACTIVE
- SUCCESSFUL
+ description: The status of the upload, an enum of 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
@@ -12014,15 +12180,16 @@ components:
- 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:
- description: Information about active and recent successful uploads for the datasource
type: array
items:
- $ref: "#/components/schemas/BulkUploadHistoryEvent"
+ $ref: '#/components/schemas/BulkUploadHistoryEvent'
+ description: Information about active and recent successful uploads for the datasource
DebugDocumentRequest:
type: object
- description: Describes the request body of the /debug/{datasource}/document API call.
properties:
objectType:
type: string
@@ -12035,30 +12202,30 @@ components:
required:
- objectType
- docId
+ description: Describes the request body of the /debug/{datasource}/document API call.
DebugDocumentResponse:
type: object
- description: Describes the response body of the /debug/{datasource}/document API call
properties:
status:
+ $ref: '#/components/schemas/DocumentStatusResponse'
type: object
description: Upload and indexing status of the document
- $ref: "#/components/schemas/DocumentStatusResponse"
uploadedPermissions:
- $ref: "#/components/schemas/DocumentPermissionsDefinition"
+ $ref: '#/components/schemas/DocumentPermissionsDefinition'
+ description: Describes the response body of the /debug/{datasource}/document API call
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"
+ $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
- description: Describes the response body of a single document in the /debug/{datasource}/documents API call
properties:
docId:
type: string
@@ -12067,21 +12234,21 @@ components:
type: string
description: objectType of the document
debugInfo:
+ $ref: '#/components/schemas/DebugDocumentResponse'
type: object
description: Debug information of the document
- $ref: "#/components/schemas/DebugDocumentResponse"
+ description: Describes the response body of a single document in the /debug/{datasource}/documents API call
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"
+ $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
- description: Describes the document status response body
properties:
uploadStatus:
type: string
@@ -12103,17 +12270,18 @@ components:
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
- description: Type of event
enum:
- UPLOADED
- INDEXED
- DELETION_REQUESTED
- DELETED
+ description: Type of event
example: INDEXED
timestamp:
type: string
@@ -12121,7 +12289,6 @@ components:
example: "2021-08-06T17:58:01.000Z"
ProcessingHistoryEvent:
type: object
- description: Processing history event for a datasource
properties:
startTime:
type: string
@@ -12131,14 +12298,14 @@ components:
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:
- description: Information about processing history for the datasource
type: array
items:
- $ref: "#/components/schemas/ProcessingHistoryEvent"
+ $ref: '#/components/schemas/ProcessingHistoryEvent'
+ description: Information about processing history for the datasource
DebugUserRequest:
type: object
- description: Describes the request body of the /debug/{datasource}/user API call
properties:
email:
type: string
@@ -12146,44 +12313,44 @@ components:
example: u1@foo.com
required:
- email
+ description: Describes the request body of the /debug/{datasource}/user API call
DebugUserResponse:
type: object
- description: Describes the response body of the /debug/{datasource}/user API call
properties:
status:
+ $ref: '#/components/schemas/UserStatusResponse'
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"
+ $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
- 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"
+ $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
- description: Upload status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN
enum:
- UPLOADED
- NOT_UPLOADED
- STATUS_UNKNOWN
+ description: Upload status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN
example: UPLOADED
DebugDocumentLifecycleRequest:
type: object
- description: Describes the request body of the /debug/{datasource}/document/events API call.
properties:
objectType:
type: string
@@ -12204,26 +12371,26 @@ components:
required:
- objectType
- docId
+ description: Describes the request body of the /debug/{datasource}/document/events API call.
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"
+ $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
- description: Success response for custom metadata operations
properties:
success:
type: boolean
description: Indicates if the operation was successful
default: true
+ description: Success response for custom metadata operations
ErrorInfoResponse:
type: object
- description: Error response for custom metadata operations
properties:
error:
type: string
@@ -12233,6 +12400,7 @@ components:
description: Additional details about the error
required:
- error
+ description: Error response for custom metadata operations
PropertyDefinition:
properties:
name:
@@ -12274,7 +12442,6 @@ components:
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
@@ -12282,8 +12449,8 @@ components:
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:
- description: The definition for an `DocumentMetadata.objectType` within a datasource.
properties:
name:
type: string
@@ -12316,17 +12483,17 @@ components:
propertyDefinitions:
type: array
items:
- $ref: "#/components/schemas/PropertyDefinition"
+ $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"
+ $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:
- description: Whether or not the object is summarizable
type: boolean
+ description: Whether or not the object is summarizable
+ description: The definition for an `DocumentMetadata.objectType` within a datasource.
CanonicalizingRegexType:
- description: Regular expression to apply to an arbitrary string to transform it into a canonical string.
properties:
matchRegex:
type: string
@@ -12334,11 +12501,9 @@ components:
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
- description: Structure describing shared config properties of a datasource with no multi-instance support.
- required:
- - name
properties:
name:
type: string
@@ -12367,20 +12532,20 @@ components:
- 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.
+ 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.**"
+ 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"
+ $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
@@ -12389,15 +12554,14 @@ components:
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
+ 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
- description: List of built-in facet types that should be hidden for the datasource.
items:
type: string
enum:
@@ -12405,54 +12569,58 @@ components:
- TAG
- AUTHOR
- OWNER
+ description: List of built-in facet types that should be hidden for the datasource.
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"
+ $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
- 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"
+ $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:
- allOf:
- - $ref: "#/components/schemas/ConnectorType"
type: string
+ allOf:
+ - $ref: '#/components/schemas/ConnectorType'
+ deprecated: false
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"
+ $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
- description: Aliases that can be used as `app` operator-values.
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
- 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.
+ 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
- default: true
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:
- description: Structure describing config properties of a custom datasource
allOf:
- - $ref: "#/components/schemas/SharedDatasourceConfigNoInstance"
+ - $ref: '#/components/schemas/SharedDatasourceConfigNoInstance'
- type: object
properties:
identityDatasourceName:
@@ -12466,12 +12634,13 @@ components:
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.
+ default: false
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.
+ default: false
+ description: Structure describing config properties of a custom datasource
ShortcutProperties:
properties:
inputAlias:
@@ -12500,7 +12669,7 @@ components:
description: The time the shortcut was updated in epoch seconds.
ExternalShortcut:
allOf:
- - $ref: "#/components/schemas/ShortcutProperties"
+ - $ref: '#/components/schemas/ShortcutProperties'
- type: object
required:
- destinationUrl
@@ -12524,9 +12693,8 @@ components:
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"
+ - $ref: '#/components/schemas/SharedDatasourceConfigNoInstance'
- type: object
properties:
datasourceName:
@@ -12538,9 +12706,10 @@ components:
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"
+ - $ref: '#/components/schemas/ShortcutProperties'
- type: object
required:
- destinationUrl
@@ -12556,7 +12725,6 @@ components:
SensitiveInfoType:
properties:
likelihoodThreshold:
- deprecated: true
type: string
enum:
- LIKELY
@@ -12564,98 +12732,104 @@ components:
- POSSIBLE
- UNLIKELY
- VERY_UNLIKELY
+ deprecated: true
infoType:
- description: Text representation of an info-type to scan for.
type: string
+ description: Text representation of an info-type to scan for.
TimeRange:
properties:
startTime:
type: string
- description: start time of the time range, applicable for the CUSTOM type.
format: date-time
+ description: start time of the time range, applicable for the CUSTOM type.
endTime:
type: string
- description: end time of the time range, applicable for the CUSTOM type.
format: date-time
+ description: end time of the time range, applicable for the CUSTOM type.
lastNDaysValue:
type: integer
- description: The number of days to look back from the current time, applicable for the LAST_N_DAYS type.
format: int64
+ description: The number of days to look back from the current time, applicable for the LAST_N_DAYS type.
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
+ description: list of url regex matching documents excluded from report
+ deprecated: true
datasourcesType:
type: string
- description: The types of datasource for which to run the report/policy.
enum:
- ALL
- CUSTOM
+ description: The types of datasource for which to run the report/policy.
datasources:
- deprecated: true
type: array
- description: List of datasources to consider for report. DEPRECATED - use datasourceInstances instead.
items:
type: string
+ description: List of datasources to consider for report. DEPRECATED - use datasourceInstances instead.
+ deprecated: true
datasourceInstances:
type: array
- description: List of datasource instances to consider for report/policy.
items:
type: string
+ description: List of datasource instances to consider for report/policy.
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
+ description: Type of time period for which to run the report/policy. PAST_DAY is deprecated.
customTimeRange:
- $ref: "#/components/schemas/TimeRange"
+ $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:
- description: Controls how "shared" a document must be to get picked for scans.
properties:
enabled:
- deprecated: true
type: boolean
+ deprecated: true
threshold:
- description: The minimum number of users the document is shared with.
type: integer
+ description: The minimum number of users the document is shared with.
thresholdEnabled:
- description: Documents will be filtered based on how many people have access to it.
type: boolean
+ description: Documents will be filtered based on how many people have access to it.
anyoneWithLinkEnabled:
- deprecated: true
type: boolean
+ deprecated: true
anyoneInternalEnabled:
- description: Only users within the organization can access the document.
type: boolean
+ description: Only users within the organization can access the document.
anonymousAccessEnabled:
- description: Anyone on the internet can access the document.
type: boolean
+ description: Anyone on the internet can access the document.
userAccessEnabled:
- description: Enable user access check
type: boolean
+ description: Enable user access check
userIds:
type: array
- description: Any one of the specified users can access the document.
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:
- deprecated: true
allOf:
- description: DEPRECATED - use `broadSharingOptions` instead.
- - $ref: "#/components/schemas/SharingOptions"
+ - $ref: '#/components/schemas/SharingOptions'
- type: object
properties:
domainAccessEnabled:
type: boolean
+ deprecated: true
HotwordProximity:
properties:
windowBefore:
@@ -12667,36 +12841,35 @@ components:
regex:
type: string
proximity:
- $ref: "#/components/schemas/HotwordProximity"
+ $ref: '#/components/schemas/HotwordProximity'
SensitiveExpression:
properties:
expression:
- description: Sensitive word, phrase, or regular expression.
type: string
+ description: Sensitive word, phrase, or regular expression.
hotwords:
- description: Zero to three proximate regular expressions necessary to consider an expression as sensitive content.
type: array
items:
- $ref: "#/components/schemas/Hotword"
+ $ref: '#/components/schemas/Hotword'
+ description: Zero to three proximate regular expressions necessary to consider an expression as sensitive content.
CustomSensitiveRuleType:
type: string
- description: Type of the custom sensitive rule.
enum:
- REGEX
- TERM
- INFO_TYPE
+ description: Type of the custom sensitive rule.
CustomSensitiveRule:
properties:
id:
- description: Identifier for the custom sensitive expression.
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"
+ $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
@@ -12704,43 +12877,44 @@ components:
- 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:
- description: Identifier for the custom sensitive expression.
type: string
+ description: Identifier for the custom sensitive expression.
keyword:
+ $ref: '#/components/schemas/CustomSensitiveRule'
description: The keyword to match against.
- $ref: "#/components/schemas/CustomSensitiveRule"
evaluationExpression:
- description: The expression to evaluate the keyword match.
type: string
+ description: The expression to evaluate the keyword match.
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"
- sensitiveTerms:
- deprecated: true
+ $ref: '#/components/schemas/SensitiveInfoType'
description: DEPRECATED - use 'customSensitiveExpressions' instead.
+ deprecated: true
+ sensitiveTerms:
type: array
items:
- $ref: "#/components/schemas/SensitiveExpression"
- sensitiveRegexes:
- deprecated: true
+ $ref: '#/components/schemas/SensitiveExpression'
description: DEPRECATED - use 'customSensitiveExpressions' instead.
+ deprecated: true
+ sensitiveRegexes:
type: array
items:
- $ref: "#/components/schemas/SensitiveExpression"
+ $ref: '#/components/schemas/SensitiveExpression'
+ description: DEPRECATED - use 'customSensitiveExpressions' instead.
+ deprecated: true
customSensitiveExpressions:
- description: list of custom sensitive expressions to consider as sensitive content
type: array
items:
- $ref: "#/components/schemas/CustomSensitiveExpression"
+ $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:
@@ -12750,10 +12924,6 @@ components:
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
@@ -12762,111 +12932,114 @@ components:
type: string
description: An opaque identifier that can be used to request metadata for a Person.
metadata:
- $ref: "#/components/schemas/DlpPersonMetadata"
+ $ref: '#/components/schemas/DlpPersonMetadata'
+ required:
+ - name
+ - obfuscatedId
+ description: Details about the person who created this report/policy.
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
+ 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:
- description: Detailed configuration of what documents and sensitive content will be scanned.
properties:
version:
- description: Synonymous with report/policy id.
type: integer
format: int64
+ description: Synonymous with report/policy id.
sensitiveInfoTypes:
- deprecated: true
- description: DEPRECATED - use `sensitiveContentOptions` instead.
type: array
items:
- $ref: "#/components/schemas/SensitiveInfoType"
+ $ref: '#/components/schemas/SensitiveInfoType'
+ description: DEPRECATED - use `sensitiveContentOptions` instead.
+ deprecated: true
inputOptions:
+ $ref: '#/components/schemas/InputOptions'
description: Options for documents to include or exclude in a report
- $ref: "#/components/schemas/InputOptions"
externalSharingOptions:
- deprecated: true
+ $ref: '#/components/schemas/ExternalSharingOptions'
description: DEPRECATED - use `broadSharingOptions` instead.
- $ref: "#/components/schemas/ExternalSharingOptions"
+ deprecated: true
broadSharingOptions:
+ $ref: '#/components/schemas/SharingOptions'
description: Options for defining documents to scan for sensitive content.
- $ref: "#/components/schemas/SharingOptions"
sensitiveContentOptions:
+ $ref: '#/components/schemas/SensitiveContentOptions'
description: Options for defining sensitive content within scanned documents.
- $ref: "#/components/schemas/SensitiveContentOptions"
reportName:
type: string
frequency:
- description: Interval between scans.
type: string
+ description: Interval between scans.
createdBy:
+ $ref: '#/components/schemas/DlpPerson'
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
+ description: Timestamp at which this configuration was created.
redactQuote:
- description: redact quote in findings of the report
type: boolean
+ description: redact quote in findings of the report
autoHideDocs:
- description: auto hide documents with findings in the report
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
- $ref: "#/components/schemas/AllowlistOptions"
+ description: Detailed configuration of what documents and sensitive content will be scanned.
DlpFrequency:
type: string
- description: Interval between scans. DAILY is deprecated.
- x-include-enum-class-prefix: true
enum:
- ONCE
- DAILY
- WEEKLY
- CONTINUOUS
- NONE
+ description: Interval between scans. DAILY is deprecated.
+ x-include-enum-class-prefix: true
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:
- 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:
- description: Full policy information that will be used for scans.
properties:
id:
type: string
name:
type: string
config:
+ $ref: '#/components/schemas/DlpConfig'
description: All details of the policy that is needed for a scan.
- $ref: "#/components/schemas/DlpConfig"
frequency:
+ $ref: '#/components/schemas/DlpFrequency'
description: The interval between scans.
- $ref: "#/components/schemas/DlpFrequency"
status:
+ $ref: '#/components/schemas/DlpReportStatus'
description: The status of the policy.
- $ref: "#/components/schemas/DlpReportStatus"
createdBy:
+ $ref: '#/components/schemas/DlpPerson'
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
+ description: Timestamp at which the policy was created.
lastUpdatedAt:
- description: Timestamp at which the policy was last updated.
type: string
format: iso-date-time
+ description: Timestamp at which the policy was last updated.
autoHideDocs:
- description: Auto hide documents with findings in the policy.
type: boolean
+ description: Auto hide documents with findings in the policy.
lastScanStatus:
type: string
enum:
@@ -12877,33 +13050,34 @@ components:
- CANCELLING
- ACTIVE
lastScanStartTime:
- description: The timestamp at which the report's last run/scan began.
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.
- $ref: "#/components/schemas/DlpPerson"
+ description: Full policy information that will be used for scans.
GetDlpReportResponse:
properties:
report:
- $ref: "#/components/schemas/DlpReport"
+ $ref: '#/components/schemas/DlpReport'
UpdateDlpReportRequest:
properties:
config:
+ $ref: '#/components/schemas/DlpConfig'
description: The new configuration the policy will follow if provided.
- $ref: "#/components/schemas/DlpConfig"
frequency:
+ $ref: '#/components/schemas/DlpFrequency'
description: The new frequency the policy will follow if provided.
- $ref: "#/components/schemas/DlpFrequency"
status:
+ $ref: '#/components/schemas/DlpReportStatus'
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
+ description: The new autoHideDoc boolean the policy will be updated to if provided.
reportName:
- description: The new name of the policy if provided.
type: string
+ description: The new name of the policy if provided.
DlpSimpleResult:
type: string
enum:
@@ -12912,45 +13086,45 @@ components:
UpdateDlpReportResponse:
properties:
result:
- $ref: "#/components/schemas/DlpSimpleResult"
+ $ref: '#/components/schemas/DlpSimpleResult'
ListDlpReportsResponse:
properties:
reports:
type: array
items:
- $ref: "#/components/schemas/DlpReport"
+ $ref: '#/components/schemas/DlpReport'
CreateDlpReportRequest:
properties:
name:
- description: Name of the policy being created.
type: string
+ description: Name of the policy being created.
config:
+ $ref: '#/components/schemas/DlpConfig'
description: Details on the configuration used in the scans.
- $ref: "#/components/schemas/DlpConfig"
frequency:
+ $ref: '#/components/schemas/DlpFrequency'
description: Interval between scans.
- $ref: "#/components/schemas/DlpFrequency"
autoHideDocs:
- description: Controls whether the policy should hide documents with violations.
type: boolean
+ description: Controls whether the policy should hide documents with violations.
CreateDlpReportResponse:
properties:
report:
- $ref: "#/components/schemas/DlpReport"
+ $ref: '#/components/schemas/DlpReport'
UpdateDlpConfigRequest:
properties:
config:
- $ref: "#/components/schemas/DlpConfig"
+ $ref: '#/components/schemas/DlpConfig'
frequency:
- description: Only "ONCE" is supported for reports.
type: string
+ description: Only "ONCE" is supported for reports.
UpdateDlpConfigResponse:
properties:
result:
- $ref: "#/components/schemas/DlpSimpleResult"
+ $ref: '#/components/schemas/DlpSimpleResult'
reportId:
- description: The id of the report that was just created and run.
type: string
+ description: The id of the report that was just created and run.
ReportStatusResponse:
properties:
status:
@@ -12963,70 +13137,70 @@ components:
- CANCELLING
- ACTIVE
startTime:
- description: The timestamp at which the report's run/scan began.
type: string
format: iso-date-time
+ description: The timestamp at which the report's run/scan began.
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
+ description: The visibility-override state of the document.
GetDocumentVisibilityOverridesResponse:
properties:
visibilityOverrides:
type: array
items:
- $ref: "#/components/schemas/DocumentVisibilityOverride"
+ $ref: '#/components/schemas/DocumentVisibilityOverride'
UpdateDocumentVisibilityOverridesRequest:
properties:
visibilityOverrides:
type: array
items:
- $ref: "#/components/schemas/DocumentVisibilityOverride"
+ $ref: '#/components/schemas/DocumentVisibilityOverride'
DocumentVisibilityUpdateResult:
allOf:
- - $ref: "#/components/schemas/DocumentVisibilityOverride"
+ - $ref: '#/components/schemas/DocumentVisibilityOverride'
- type: object
properties:
success:
- description: Whether this document was successfully set to its desired visibility state.
type: boolean
+ description: Whether this document was successfully set to its desired visibility state.
UpdateDocumentVisibilityOverridesResponse:
properties:
results:
- description: The documents and whether their visibility was successfully updated.
type: array
items:
- $ref: "#/components/schemas/DocumentVisibilityUpdateResult"
+ $ref: '#/components/schemas/DocumentVisibilityUpdateResult'
+ description: The documents and whether their visibility was successfully updated.
DlpSeverity:
type: string
- description: Severity levels for DLP findings and analyses.
- x-include-enum-class-prefix: true
enum:
- UNSPECIFIED
- LOW
- MEDIUM
- HIGH
+ description: Severity levels for DLP findings and analyses.
+ x-include-enum-class-prefix: true
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
+ description: The type of time period for which to filter findings.
customTimeRange:
- $ref: "#/components/schemas/TimeRange"
+ $ref: '#/components/schemas/TimeRange'
DlpFindingFilter:
properties:
infoType:
@@ -13044,28 +13218,28 @@ components:
items:
type: string
severity:
- $ref: "#/components/schemas/DlpSeverity"
+ $ref: '#/components/schemas/DlpSeverity'
documentSeverity:
type: array
items:
- $ref: "#/components/schemas/DlpSeverity"
+ $ref: '#/components/schemas/DlpSeverity'
timeRange:
- $ref: "#/components/schemas/TimeRangeFilter"
+ $ref: '#/components/schemas/TimeRangeFilter'
archived:
type: boolean
ExportInfo:
properties:
createdBy:
+ $ref: '#/components/schemas/DlpPerson'
description: person who triggered this export
- $ref: "#/components/schemas/DlpPerson"
startTime:
- description: Timestamp at which this export started.
type: string
format: iso-date-time
+ description: Timestamp at which this export started.
endTime:
- description: Timestamp at which this export completed.
type: string
format: iso-date-time
+ description: Timestamp at which this export completed.
exportId:
type: string
description: The ID of the export
@@ -13073,15 +13247,15 @@ components:
type: string
description: The name of the file to export the findings to
filter:
- $ref: "#/components/schemas/DlpFindingFilter"
+ $ref: '#/components/schemas/DlpFindingFilter'
description: The filters used to export the findings
status:
type: string
- description: The status of the export
enum:
- PENDING
- COMPLETED
- FAILED
+ description: The status of the export
exportSize:
type: integer
format: int64
@@ -13091,27 +13265,27 @@ components:
exports:
type: array
items:
- $ref: "#/components/schemas/ExportInfo"
+ $ref: '#/components/schemas/ExportInfo'
DlpExportFindingsRequest:
properties:
exportType:
type: string
- description: The type of export to perform
enum:
- FINDINGS
- DOCUMENTS
+ description: The type of export to perform
filter:
- $ref: "#/components/schemas/DlpFindingFilter"
+ $ref: '#/components/schemas/DlpFindingFilter'
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
+ description: Controls which fields to include in the export
fieldsToExclude:
type: array
items:
@@ -13161,6 +13335,13 @@ components:
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
@@ -13173,37 +13354,37 @@ components:
content:
application/json:
schema:
- $ref: "#/components/schemas/SuccessResponse"
+ $ref: '#/components/schemas/SuccessResponse'
BadRequestError:
description: Bad Request
content:
application/json:
schema:
- $ref: "#/components/schemas/ErrorInfoResponse"
+ $ref: '#/components/schemas/ErrorInfoResponse'
UnauthorizedError:
description: Not Authorized
content:
application/json:
schema:
- $ref: "#/components/schemas/ErrorInfoResponse"
+ $ref: '#/components/schemas/ErrorInfoResponse'
NotFoundError:
description: Not Found
content:
application/json:
schema:
- $ref: "#/components/schemas/ErrorInfoResponse"
+ $ref: '#/components/schemas/ErrorInfoResponse'
TooManyRequestsError:
description: Too Many Requests
content:
application/json:
schema:
- $ref: "#/components/schemas/ErrorInfoResponse"
+ $ref: '#/components/schemas/ErrorInfoResponse'
InternalServerError:
description: Internal Server Error
content:
application/json:
schema:
- $ref: "#/components/schemas/ErrorInfoResponse"
+ $ref: '#/components/schemas/ErrorInfoResponse'
x-tagGroups:
- name: Search & Generative AI
tags:
diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock
index 4a7dd290..8631e41b 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -1,12 +1,12 @@
-speakeasyVersion: 1.686.0
+speakeasyVersion: 1.695.0
sources:
Glean API:
sourceNamespace: glean-api-specs
- sourceRevisionDigest: sha256:fcb56a3a1b355cdff7e63a0b76385f81472ce01a748f25a409b13b70d89436cc
- sourceBlobDigest: sha256:01a8dbd2649712ab871b1799b6c76f92f4edb070c675738cac74685c81879a37
+ sourceRevisionDigest: sha256:bb13a27a1807163bc2babeb60cb7d6eced3ec0aecd545316fd34b2942bbc9231
+ sourceBlobDigest: sha256:754e444485e3f1b5878502843a9145357e16ebc547a7d51e0344d7f6f2db979b
tags:
- latest
- - speakeasy-sdk-regen-1768440127
+ - speakeasy-sdk-regen-1768612841
Glean Client API:
sourceNamespace: glean-client-api
sourceRevisionDigest: sha256:aec0770b5bcca91068c3a844cb9ef4a091281f6cc3b7d86f2abef1bd6fb2b301
@@ -18,10 +18,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
- sourceRevisionDigest: sha256:fcb56a3a1b355cdff7e63a0b76385f81472ce01a748f25a409b13b70d89436cc
- sourceBlobDigest: sha256:01a8dbd2649712ab871b1799b6c76f92f4edb070c675738cac74685c81879a37
+ sourceRevisionDigest: sha256:bb13a27a1807163bc2babeb60cb7d6eced3ec0aecd545316fd34b2942bbc9231
+ sourceBlobDigest: sha256:754e444485e3f1b5878502843a9145357e16ebc547a7d51e0344d7f6f2db979b
codeSamplesNamespace: glean-api-specs-typescript-code-samples
- codeSamplesRevisionDigest: sha256:600e0c9b404ce7571702743f7f0e16465d4fb780bf911d72596cae8f1dc7578d
+ codeSamplesRevisionDigest: sha256:e869835fb6f2b216b7f6ddd69999b31794bd87766ca6f9bf31efe8e204b302e3
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
diff --git a/RELEASES.md b/RELEASES.md
index 364a2b37..a25aef1d 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -558,4 +558,14 @@ Based on:
### Generated
- [typescript v0.13.20] .
### Releases
-- [NPM v0.13.20] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.20 - .
\ No newline at end of file
+- [NPM v0.13.20] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.20 - .
+
+## 2026-01-22 22:57:28
+### Changes
+Based on:
+- OpenAPI Doc
+- Speakeasy CLI 1.695.0 (2.799.0) https://github.com/speakeasy-api/speakeasy
+### Generated
+- [typescript v0.13.21] .
+### Releases
+- [NPM v0.13.21] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.21 - .
\ No newline at end of file
diff --git a/docs/models/components/gleandataerror.md b/docs/models/components/gleandataerror.md
index 2557db95..66283a67 100644
--- a/docs/models/components/gleandataerror.md
+++ b/docs/models/components/gleandataerror.md
@@ -15,4 +15,5 @@ let value: GleanDataError = {};
| `badGmailToken` | *boolean* | :heavy_minus_sign: | Indicates the gmail results could not be fetched due to bad token. |
| `badOutlookToken` | *boolean* | :heavy_minus_sign: | Indicates the outlook results could not be fetched due to bad token. |
| `invalidOperators` | [components.InvalidOperatorValueError](../../models/components/invalidoperatorvalueerror.md)[] | :heavy_minus_sign: | Indicates results could not be fetched due to invalid operators in the query. |
-| `errorMessages` | [components.ErrorMessage](../../models/components/errormessage.md)[] | :heavy_minus_sign: | N/A |
\ No newline at end of file
+| `errorMessages` | [components.ErrorMessage](../../models/components/errormessage.md)[] | :heavy_minus_sign: | N/A |
+| `federatedSearchRateLimitError` | *boolean* | :heavy_minus_sign: | Indicates the federated search results could not be fetched due to rate limiting. |
\ No newline at end of file
diff --git a/docs/models/components/inputoptions.md b/docs/models/components/inputoptions.md
index bc8225cb..07a118c2 100644
--- a/docs/models/components/inputoptions.md
+++ b/docs/models/components/inputoptions.md
@@ -19,4 +19,5 @@ let value: InputOptions = {};
| ~~`datasources`~~ | *string*[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
List of datasources to consider for report. DEPRECATED - use datasourceInstances instead. |
| `datasourceInstances` | *string*[] | :heavy_minus_sign: | List of datasource instances to consider for report/policy. |
| `timePeriodType` | [components.InputOptionsTimePeriodType](../../models/components/inputoptionstimeperiodtype.md) | :heavy_minus_sign: | Type of time period for which to run the report/policy. PAST_DAY is deprecated. |
-| `customTimeRange` | [components.TimeRange](../../models/components/timerange.md) | :heavy_minus_sign: | N/A |
\ No newline at end of file
+| `customTimeRange` | [components.TimeRange](../../models/components/timerange.md) | :heavy_minus_sign: | N/A |
+| `subsetDocIdsToScan` | *string*[] | :heavy_minus_sign: | Subset of document IDs to scan. If empty, all documents matching other scope criteria will be scanned. |
\ No newline at end of file
diff --git a/docs/models/components/ugctype.md b/docs/models/components/ugctype.md
index c8739a4a..e22e1b65 100644
--- a/docs/models/components/ugctype.md
+++ b/docs/models/components/ugctype.md
@@ -5,11 +5,11 @@
```typescript
import { UgcType } from "@gleanwork/api-client/models/components";
-let value: UgcType = "SHORTCUTS_TYPE";
+let value: UgcType = "WORKFLOWS_TYPE";
```
## Values
```typescript
-"ANNOUNCEMENTS_TYPE" | "ANSWERS_TYPE" | "COLLECTIONS_TYPE" | "SHORTCUTS_TYPE" | "WORKFLOWS_TYPE" | "PROMPT_TEMPLATES_TYPE"
+"ANNOUNCEMENTS_TYPE" | "ANSWERS_TYPE" | "COLLECTIONS_TYPE" | "SHORTCUTS_TYPE" | "WORKFLOWS_TYPE" | "PROMPT_TEMPLATES_TYPE" | "PRISM_VIEWS_TYPE"
```
\ No newline at end of file
diff --git a/docs/models/errors/gleandataerror.md b/docs/models/errors/gleandataerror.md
index 6bd75d90..3c5ffc6c 100644
--- a/docs/models/errors/gleandataerror.md
+++ b/docs/models/errors/gleandataerror.md
@@ -15,4 +15,5 @@ import { GleanDataError } from "@gleanwork/api-client/models/errors";
| `badGmailToken` | *boolean* | :heavy_minus_sign: | Indicates the gmail results could not be fetched due to bad token. |
| `badOutlookToken` | *boolean* | :heavy_minus_sign: | Indicates the outlook results could not be fetched due to bad token. |
| `invalidOperators` | [components.InvalidOperatorValueError](../../models/components/invalidoperatorvalueerror.md)[] | :heavy_minus_sign: | Indicates results could not be fetched due to invalid operators in the query. |
-| `errorMessages` | [components.ErrorMessage](../../models/components/errormessage.md)[] | :heavy_minus_sign: | N/A |
\ No newline at end of file
+| `errorMessages` | [components.ErrorMessage](../../models/components/errormessage.md)[] | :heavy_minus_sign: | N/A |
+| `federatedSearchRateLimitError` | *boolean* | :heavy_minus_sign: | Indicates the federated search results could not be fetched due to rate limiting. |
\ No newline at end of file
diff --git a/docs/models/operations/addcollectionitemsrequest.md b/docs/models/operations/addcollectionitemsrequest.md
new file mode 100644
index 00000000..2afe6959
--- /dev/null
+++ b/docs/models/operations/addcollectionitemsrequest.md
@@ -0,0 +1,20 @@
+# AddcollectionitemsRequest
+
+## Example Usage
+
+```typescript
+import { AddcollectionitemsRequest } from "@gleanwork/api-client/models/operations";
+
+let value: AddcollectionitemsRequest = {
+ addCollectionItemsRequest: {
+ collectionId: 2067.97,
+ },
+};
+```
+
+## 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`. |
+| `addCollectionItemsRequest` | [components.AddCollectionItemsRequest](../../models/components/addcollectionitemsrequest.md) | :heavy_check_mark: | Data describing the add operation. |
\ No newline at end of file
diff --git a/docs/models/operations/addverificationreminderrequest.md b/docs/models/operations/addverificationreminderrequest.md
new file mode 100644
index 00000000..ed0d3127
--- /dev/null
+++ b/docs/models/operations/addverificationreminderrequest.md
@@ -0,0 +1,20 @@
+# AddverificationreminderRequest
+
+## Example Usage
+
+```typescript
+import { AddverificationreminderRequest } from "@gleanwork/api-client/models/operations";
+
+let value: AddverificationreminderRequest = {
+ reminderRequest: {
+ documentId: "",
+ },
+};
+```
+
+## 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`. |
+| `reminderRequest` | [components.ReminderRequest](../../models/components/reminderrequest.md) | :heavy_check_mark: | Details about the reminder. |
\ No newline at end of file
diff --git a/docs/models/operations/adminsearchrequest.md b/docs/models/operations/adminsearchrequest.md
new file mode 100644
index 00000000..3e279e6b
--- /dev/null
+++ b/docs/models/operations/adminsearchrequest.md
@@ -0,0 +1,49 @@
+# AdminsearchRequest
+
+## Example Usage
+
+```typescript
+import { AdminsearchRequest } from "@gleanwork/api-client/models/operations";
+
+let value: AdminsearchRequest = {
+ searchRequest: {
+ trackingToken: "trackingToken",
+ pageSize: 10,
+ query: "vacation policy",
+ requestOptions: {
+ facetFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "article",
+ relationType: "EQUALS",
+ },
+ {
+ value: "document",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ {
+ fieldName: "department",
+ values: [
+ {
+ value: "engineering",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ facetBucketSize: 188119,
+ },
+ },
+};
+```
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `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`. | |
+| `searchRequest` | [components.SearchRequest](../../models/components/searchrequest.md) | :heavy_check_mark: | Admin search request | {
"trackingToken": "trackingToken",
"query": "vacation policy",
"pageSize": 10,
"requestOptions": {
"facetFilters": [
{
"fieldName": "type",
"values": [
{
"value": "article",
"relationType": "EQUALS"
},
{
"value": "document",
"relationType": "EQUALS"
}
]
},
{
"fieldName": "department",
"values": [
{
"value": "engineering",
"relationType": "EQUALS"
}
]
}
]
}
} |
\ No newline at end of file
diff --git a/docs/models/operations/autocompleterequest.md b/docs/models/operations/autocompleterequest.md
new file mode 100644
index 00000000..62f6baa1
--- /dev/null
+++ b/docs/models/operations/autocompleterequest.md
@@ -0,0 +1,23 @@
+# AutocompleteRequest
+
+## Example Usage
+
+```typescript
+import { AutocompleteRequest } from "@gleanwork/api-client/models/operations";
+
+let value: AutocompleteRequest = {
+ autocompleteRequest: {
+ trackingToken: "trackingToken",
+ query: "what is a que",
+ datasource: "GDRIVE",
+ resultSize: 10,
+ },
+};
+```
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `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`. | |
+| `autocompleteRequest` | [components.AutocompleteRequest](../../models/components/autocompleterequest.md) | :heavy_check_mark: | Autocomplete request | {
"trackingToken": "trackingToken",
"query": "what is a que",
"datasource": "GDRIVE",
"resultSize": 10
} |
\ No newline at end of file
diff --git a/docs/models/operations/chatrequest.md b/docs/models/operations/chatrequest.md
index ef78237a..07d7b4b7 100644
--- a/docs/models/operations/chatrequest.md
+++ b/docs/models/operations/chatrequest.md
@@ -15,7 +15,8 @@ let value: ChatRequest = {
## Fields
-| Field | Type | Required | Description |
-| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
-| `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. |
-| `chatRequest` | [components.ChatRequest](../../models/components/chatrequest.md) | :heavy_check_mark: | Includes chat history for Glean AI to respond to. |
\ No newline at end of file
+| 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. |
+| `chatRequest` | [components.ChatRequest](../../models/components/chatrequest.md) | :heavy_check_mark: | Includes chat history for Glean AI to respond to. |
\ No newline at end of file
diff --git a/docs/models/operations/createannouncementrequest.md b/docs/models/operations/createannouncementrequest.md
new file mode 100644
index 00000000..d659e11b
--- /dev/null
+++ b/docs/models/operations/createannouncementrequest.md
@@ -0,0 +1,1059 @@
+# CreateannouncementRequest
+
+## Example Usage
+
+```typescript
+import { CreateannouncementRequest } from "@gleanwork/api-client/models/operations";
+
+let value: CreateannouncementRequest = {
+ createAnnouncementRequest: {
+ startTime: new Date("2025-05-23T19:17:22.992Z"),
+ endTime: new Date("2025-11-26T23:16:26.570Z"),
+ title: "",
+ body: {
+ text:
+ "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.",
+ structuredList: [
+ {
+ link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation",
+ document: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ text:
+ "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. 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: {
+ document: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ customer: {
+ id: "",
+ company: {
+ name: "",
+ location: "New York City",
+ industry: "Finances",
+ about:
+ "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City",
+ },
+ poc: [
+ {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ ],
+ mergedCustomers: [
+ {
+ id: "",
+ company: {
+ name: "",
+ location: "New York City",
+ industry: "Finances",
+ about:
+ "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City",
+ },
+ notes: "CIO is interested in trying out the product.",
+ },
+ ],
+ notes: "CIO is interested in trying out the product.",
+ },
+ team: {
+ id: "",
+ name: "",
+ members: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ ],
+ customFields: [
+ {
+ label: "",
+ values: [],
+ },
+ ],
+ datasourceProfiles: [
+ {
+ datasource: "github",
+ handle: "",
+ },
+ ],
+ },
+ customEntity: {
+ roles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "ANSWER_MODERATOR",
+ },
+ ],
+ },
+ answer: {
+ id: 3,
+ docId: "ANSWERS_answer_3",
+ question: "Why is the sky blue?",
+ bodyText:
+ "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ combinedAnswerText: {
+ text:
+ "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.",
+ },
+ likes: {
+ likedBy: [],
+ likedByUser: true,
+ numLikes: 32410,
+ },
+ author: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ verification: {
+ state: "UNVERIFIED",
+ metadata: {
+ lastVerifier: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ document: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ reminders: [
+ {
+ assignee: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ requestor: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ remindAt: 337545,
+ },
+ ],
+ lastReminder: {
+ assignee: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ requestor: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ remindAt: 349760,
+ },
+ candidateVerifiers: [
+ {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ ],
+ },
+ },
+ collections: [
+ {
+ name: "",
+ description:
+ "huzzah ick warp desk tedious tightly supposing bandwidth aboard pish",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ id: 782149,
+ creator: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ items: [
+ {
+ collectionId: 30842,
+ createdBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ document: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ shortcut: {
+ inputAlias: "",
+ createdBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ destinationDocument: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ },
+ collection: {
+ name: "",
+ description:
+ "impanel importance pale parody towards wildly elementary unbearably",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ id: 390864,
+ creator: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ children: [
+ {
+ name: "",
+ description:
+ "viciously creator incidentally hole pecan",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ id: 581341,
+ creator: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ ],
+ },
+ itemType: "TEXT",
+ },
+ ],
+ },
+ ],
+ sourceDocument: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ },
+ generatedQna: {
+ ranges: [
+ {
+ startIndex: 635422,
+ document: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ },
+ ],
+ },
+ extractedQnA: {
+ questionResult: {
+ title: "title",
+ url: "https://example.com/foo/bar",
+ nativeAppUrl: "slack://foo/bar",
+ snippets: [
+ {
+ mimeType: "mimeType",
+ snippet: "snippet",
+ },
+ ],
+ mustIncludeSuggestions: {
+ suggestions: [
+ {
+ query: "app:github type:pull author:mortimer",
+ label: "Mortimer's PRs",
+ datasource: "github",
+ },
+ ],
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ },
+ },
+ meeting: {
+ attendees: {
+ people: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ groupAttendees: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ ],
+ },
+ ],
+ },
+ },
+ collection: {
+ name: "",
+ description:
+ "impanel importance pale parody towards wildly elementary unbearably",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ id: 390864,
+ creator: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ children: [
+ {
+ name: "",
+ description: "viciously creator incidentally hole pecan",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ id: 581341,
+ creator: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ ],
+ },
+ code: {
+ repoName: "scio",
+ fileName: "README.md",
+ },
+ shortcut: {
+ inputAlias: "",
+ createdBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ destinationDocument: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ },
+ querySuggestions: {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ chat: {
+ createdBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ icon: {
+ color: "#343CED",
+ key: "person_icon",
+ iconType: "GLYPH",
+ name: "user",
+ },
+ },
+ relatedDocuments: [
+ {
+ querySuggestion: {
+ query: "app:github type:pull author:mortimer",
+ label: "Mortimer's PRs",
+ datasource: "github",
+ },
+ results: [
+ {
+ title: "title",
+ url: "https://example.com/foo/bar",
+ nativeAppUrl: "slack://foo/bar",
+ snippets: [
+ {
+ mimeType: "mimeType",
+ snippet: "snippet",
+ },
+ ],
+ mustIncludeSuggestions: {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ },
+ ],
+ },
+ ],
+ relatedQuestion: {},
+ },
+ },
+ ],
+ },
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ },
+};
+```
+
+## 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`. |
+| `createAnnouncementRequest` | [components.CreateAnnouncementRequest](../../models/components/createannouncementrequest.md) | :heavy_check_mark: | Announcement content |
\ No newline at end of file
diff --git a/docs/models/operations/createanswerrequest.md b/docs/models/operations/createanswerrequest.md
new file mode 100644
index 00000000..b382b3ee
--- /dev/null
+++ b/docs/models/operations/createanswerrequest.md
@@ -0,0 +1,70 @@
+# CreateanswerRequest
+
+## Example Usage
+
+```typescript
+import { CreateanswerRequest } from "@gleanwork/api-client/models/operations";
+
+let value: CreateanswerRequest = {
+ createAnswerRequest: {
+ data: {
+ question: "Why is the sky blue?",
+ bodyText:
+ "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ addedRoles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "VIEWER",
+ },
+ ],
+ removedRoles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "VERIFIER",
+ },
+ ],
+ roles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "ANSWER_MODERATOR",
+ },
+ ],
+ combinedAnswerText: {
+ text:
+ "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.",
+ },
+ },
+ },
+};
+```
+
+## 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`. |
+| `createAnswerRequest` | [components.CreateAnswerRequest](../../models/components/createanswerrequest.md) | :heavy_check_mark: | CreateAnswer request |
\ No newline at end of file
diff --git a/docs/models/operations/createcollectionrequest.md b/docs/models/operations/createcollectionrequest.md
new file mode 100644
index 00000000..d722c922
--- /dev/null
+++ b/docs/models/operations/createcollectionrequest.md
@@ -0,0 +1,53 @@
+# CreatecollectionRequest
+
+## Example Usage
+
+```typescript
+import { CreatecollectionRequest } from "@gleanwork/api-client/models/operations";
+
+let value: CreatecollectionRequest = {
+ createCollectionRequest: {
+ name: "",
+ addedRoles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "VIEWER",
+ },
+ ],
+ removedRoles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "VERIFIER",
+ },
+ ],
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ },
+};
+```
+
+## 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`. |
+| `createCollectionRequest` | [components.CreateCollectionRequest](../../models/components/createcollectionrequest.md) | :heavy_check_mark: | Collection content plus any additional metadata for the request. |
\ No newline at end of file
diff --git a/docs/models/operations/createshortcutrequest.md b/docs/models/operations/createshortcutrequest.md
new file mode 100644
index 00000000..ef0be15b
--- /dev/null
+++ b/docs/models/operations/createshortcutrequest.md
@@ -0,0 +1,39 @@
+# CreateshortcutRequest
+
+## Example Usage
+
+```typescript
+import { CreateshortcutRequest } from "@gleanwork/api-client/models/operations";
+
+let value: CreateshortcutRequest = {
+ createShortcutRequest: {
+ data: {
+ addedRoles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "VIEWER",
+ },
+ ],
+ removedRoles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "VERIFIER",
+ },
+ ],
+ },
+ },
+};
+```
+
+## 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`. |
+| `createShortcutRequest` | [components.CreateShortcutRequest](../../models/components/createshortcutrequest.md) | :heavy_check_mark: | CreateShortcut request |
\ No newline at end of file
diff --git a/docs/models/operations/deleteallchatsrequest.md b/docs/models/operations/deleteallchatsrequest.md
index 5d33571a..d8c7b09e 100644
--- a/docs/models/operations/deleteallchatsrequest.md
+++ b/docs/models/operations/deleteallchatsrequest.md
@@ -10,6 +10,7 @@ let value: DeleteallchatsRequest = {};
## Fields
-| Field | Type | Required | Description |
-| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
-| `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. |
\ No newline at end of file
+| 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. |
\ No newline at end of file
diff --git a/docs/models/operations/deleteannouncementrequest.md b/docs/models/operations/deleteannouncementrequest.md
new file mode 100644
index 00000000..7096767e
--- /dev/null
+++ b/docs/models/operations/deleteannouncementrequest.md
@@ -0,0 +1,20 @@
+# DeleteannouncementRequest
+
+## Example Usage
+
+```typescript
+import { DeleteannouncementRequest } from "@gleanwork/api-client/models/operations";
+
+let value: DeleteannouncementRequest = {
+ deleteAnnouncementRequest: {
+ id: 440796,
+ },
+};
+```
+
+## 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`. |
+| `deleteAnnouncementRequest` | [components.DeleteAnnouncementRequest](../../models/components/deleteannouncementrequest.md) | :heavy_check_mark: | Delete announcement request |
\ No newline at end of file
diff --git a/docs/models/operations/deleteanswerrequest.md b/docs/models/operations/deleteanswerrequest.md
new file mode 100644
index 00000000..a16cbaf8
--- /dev/null
+++ b/docs/models/operations/deleteanswerrequest.md
@@ -0,0 +1,21 @@
+# DeleteanswerRequest
+
+## Example Usage
+
+```typescript
+import { DeleteanswerRequest } from "@gleanwork/api-client/models/operations";
+
+let value: DeleteanswerRequest = {
+ deleteAnswerRequest: {
+ id: 3,
+ docId: "ANSWERS_answer_3",
+ },
+};
+```
+
+## 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`. |
+| `deleteAnswerRequest` | [components.DeleteAnswerRequest](../../models/components/deleteanswerrequest.md) | :heavy_check_mark: | DeleteAnswer request |
\ No newline at end of file
diff --git a/docs/models/operations/deletechatfilesrequest.md b/docs/models/operations/deletechatfilesrequest.md
index b23af292..2c318e3e 100644
--- a/docs/models/operations/deletechatfilesrequest.md
+++ b/docs/models/operations/deletechatfilesrequest.md
@@ -17,7 +17,8 @@ let value: DeletechatfilesRequest = {
## Fields
-| Field | Type | Required | Description |
-| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
-| `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. |
-| `deleteChatFilesRequest` | [components.DeleteChatFilesRequest](../../models/components/deletechatfilesrequest.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
+| 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. |
+| `deleteChatFilesRequest` | [components.DeleteChatFilesRequest](../../models/components/deletechatfilesrequest.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/docs/models/operations/deletechatsrequest.md b/docs/models/operations/deletechatsrequest.md
index 163a56a0..49fecd3c 100644
--- a/docs/models/operations/deletechatsrequest.md
+++ b/docs/models/operations/deletechatsrequest.md
@@ -18,7 +18,8 @@ let value: DeletechatsRequest = {
## Fields
-| Field | Type | Required | Description |
-| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
-| `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. |
-| `deleteChatsRequest` | [components.DeleteChatsRequest](../../models/components/deletechatsrequest.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
+| 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. |
+| `deleteChatsRequest` | [components.DeleteChatsRequest](../../models/components/deletechatsrequest.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/docs/models/operations/deletecollectionitemrequest.md b/docs/models/operations/deletecollectionitemrequest.md
new file mode 100644
index 00000000..e43c5b1d
--- /dev/null
+++ b/docs/models/operations/deletecollectionitemrequest.md
@@ -0,0 +1,21 @@
+# DeletecollectionitemRequest
+
+## Example Usage
+
+```typescript
+import { DeletecollectionitemRequest } from "@gleanwork/api-client/models/operations";
+
+let value: DeletecollectionitemRequest = {
+ deleteCollectionItemRequest: {
+ collectionId: 4278.02,
+ itemId: "",
+ },
+};
+```
+
+## 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`. |
+| `deleteCollectionItemRequest` | [components.DeleteCollectionItemRequest](../../models/components/deletecollectionitemrequest.md) | :heavy_check_mark: | Data describing the delete operation. |
\ No newline at end of file
diff --git a/docs/models/operations/deletecollectionrequest.md b/docs/models/operations/deletecollectionrequest.md
new file mode 100644
index 00000000..39a89e10
--- /dev/null
+++ b/docs/models/operations/deletecollectionrequest.md
@@ -0,0 +1,22 @@
+# DeletecollectionRequest
+
+## Example Usage
+
+```typescript
+import { DeletecollectionRequest } from "@gleanwork/api-client/models/operations";
+
+let value: DeletecollectionRequest = {
+ deleteCollectionRequest: {
+ ids: [
+ 654348,
+ ],
+ },
+};
+```
+
+## 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`. |
+| `deleteCollectionRequest` | [components.DeleteCollectionRequest](../../models/components/deletecollectionrequest.md) | :heavy_check_mark: | DeleteCollection request |
\ No newline at end of file
diff --git a/docs/models/operations/deleteshortcutrequest.md b/docs/models/operations/deleteshortcutrequest.md
new file mode 100644
index 00000000..e51f0863
--- /dev/null
+++ b/docs/models/operations/deleteshortcutrequest.md
@@ -0,0 +1,20 @@
+# DeleteshortcutRequest
+
+## Example Usage
+
+```typescript
+import { DeleteshortcutRequest } from "@gleanwork/api-client/models/operations";
+
+let value: DeleteshortcutRequest = {
+ deleteShortcutRequest: {
+ id: 102037,
+ },
+};
+```
+
+## 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`. |
+| `deleteShortcutRequest` | [components.DeleteShortcutRequest](../../models/components/deleteshortcutrequest.md) | :heavy_check_mark: | DeleteShortcut request |
\ No newline at end of file
diff --git a/docs/models/operations/editanswerrequest.md b/docs/models/operations/editanswerrequest.md
new file mode 100644
index 00000000..9a7dc20a
--- /dev/null
+++ b/docs/models/operations/editanswerrequest.md
@@ -0,0 +1,70 @@
+# EditanswerRequest
+
+## Example Usage
+
+```typescript
+import { EditanswerRequest } from "@gleanwork/api-client/models/operations";
+
+let value: EditanswerRequest = {
+ editAnswerRequest: {
+ id: 3,
+ docId: "ANSWERS_answer_3",
+ question: "Why is the sky blue?",
+ bodyText:
+ "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ addedRoles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "VIEWER",
+ },
+ ],
+ removedRoles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "VERIFIER",
+ },
+ ],
+ roles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "ANSWER_MODERATOR",
+ },
+ ],
+ combinedAnswerText: {
+ text:
+ "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.",
+ },
+ },
+};
+```
+
+## 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`. |
+| `editAnswerRequest` | [components.EditAnswerRequest](../../models/components/editanswerrequest.md) | :heavy_check_mark: | EditAnswer request |
\ No newline at end of file
diff --git a/docs/models/operations/editcollectionitemrequest.md b/docs/models/operations/editcollectionitemrequest.md
new file mode 100644
index 00000000..91f82799
--- /dev/null
+++ b/docs/models/operations/editcollectionitemrequest.md
@@ -0,0 +1,21 @@
+# EditcollectionitemRequest
+
+## Example Usage
+
+```typescript
+import { EditcollectionitemRequest } from "@gleanwork/api-client/models/operations";
+
+let value: EditcollectionitemRequest = {
+ editCollectionItemRequest: {
+ collectionId: 50795,
+ itemId: "",
+ },
+};
+```
+
+## 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`. |
+| `editCollectionItemRequest` | [components.EditCollectionItemRequest](../../models/components/editcollectionitemrequest.md) | :heavy_check_mark: | Edit Collection Items request |
\ No newline at end of file
diff --git a/docs/models/operations/editcollectionrequest.md b/docs/models/operations/editcollectionrequest.md
new file mode 100644
index 00000000..83408d2a
--- /dev/null
+++ b/docs/models/operations/editcollectionrequest.md
@@ -0,0 +1,54 @@
+# EditcollectionRequest
+
+## Example Usage
+
+```typescript
+import { EditcollectionRequest } from "@gleanwork/api-client/models/operations";
+
+let value: EditcollectionRequest = {
+ editCollectionRequest: {
+ name: "",
+ addedRoles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "VIEWER",
+ },
+ ],
+ removedRoles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "VERIFIER",
+ },
+ ],
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ id: 582219,
+ },
+};
+```
+
+## 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`. |
+| `editCollectionRequest` | [components.EditCollectionRequest](../../models/components/editcollectionrequest.md) | :heavy_check_mark: | Collection content plus any additional metadata for the request. |
\ No newline at end of file
diff --git a/docs/models/operations/editpinrequest.md b/docs/models/operations/editpinrequest.md
new file mode 100644
index 00000000..b81cb72d
--- /dev/null
+++ b/docs/models/operations/editpinrequest.md
@@ -0,0 +1,34 @@
+# EditpinRequest
+
+## Example Usage
+
+```typescript
+import { EditpinRequest } from "@gleanwork/api-client/models/operations";
+
+let value: EditpinRequest = {
+ editPinRequest: {
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ },
+};
+```
+
+## 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`. |
+| `editPinRequest` | [components.EditPinRequest](../../models/components/editpinrequest.md) | :heavy_check_mark: | Edit pins request |
\ No newline at end of file
diff --git a/docs/models/operations/feedrequest.md b/docs/models/operations/feedrequest.md
new file mode 100644
index 00000000..6d095a7f
--- /dev/null
+++ b/docs/models/operations/feedrequest.md
@@ -0,0 +1,20 @@
+# FeedRequest
+
+## Example Usage
+
+```typescript
+import { FeedRequest } from "@gleanwork/api-client/models/operations";
+
+let value: FeedRequest = {
+ feedRequest: {
+ timeoutMillis: 5000,
+ },
+};
+```
+
+## 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`. |
+| `feedRequest` | [components.FeedRequest](../../models/components/feedrequest.md) | :heavy_check_mark: | Includes request params, client data and more for making user's feed. |
\ No newline at end of file
diff --git a/docs/models/operations/getagentrequest.md b/docs/models/operations/getagentrequest.md
index 6edce414..f0c75002 100644
--- a/docs/models/operations/getagentrequest.md
+++ b/docs/models/operations/getagentrequest.md
@@ -12,7 +12,8 @@ let value: GetAgentRequest = {
## Fields
-| Field | Type | Required | Description |
-| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
-| `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. |
\ No newline at end of file
+| 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. |
\ No newline at end of file
diff --git a/docs/models/operations/getagentschemasrequest.md b/docs/models/operations/getagentschemasrequest.md
index f3f9117e..2b814147 100644
--- a/docs/models/operations/getagentschemasrequest.md
+++ b/docs/models/operations/getagentschemasrequest.md
@@ -12,7 +12,8 @@ let value: GetAgentSchemasRequest = {
## Fields
-| Field | Type | Required | Description |
-| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
-| `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. |
\ No newline at end of file
+| 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. |
\ No newline at end of file
diff --git a/docs/models/operations/getanswerrequest.md b/docs/models/operations/getanswerrequest.md
new file mode 100644
index 00000000..d9500dcb
--- /dev/null
+++ b/docs/models/operations/getanswerrequest.md
@@ -0,0 +1,21 @@
+# GetanswerRequest
+
+## Example Usage
+
+```typescript
+import { GetanswerRequest } from "@gleanwork/api-client/models/operations";
+
+let value: GetanswerRequest = {
+ getAnswerRequest: {
+ id: 3,
+ docId: "ANSWERS_answer_3",
+ },
+};
+```
+
+## 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`. |
+| `getAnswerRequest` | [components.GetAnswerRequest](../../models/components/getanswerrequest.md) | :heavy_check_mark: | GetAnswer request |
\ No newline at end of file
diff --git a/docs/models/operations/getchatapplicationrequest.md b/docs/models/operations/getchatapplicationrequest.md
index 97c8a03f..97dca0f8 100644
--- a/docs/models/operations/getchatapplicationrequest.md
+++ b/docs/models/operations/getchatapplicationrequest.md
@@ -14,7 +14,8 @@ let value: GetchatapplicationRequest = {
## Fields
-| Field | Type | Required | Description |
-| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
-| `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. |
-| `getChatApplicationRequest` | [components.GetChatApplicationRequest](../../models/components/getchatapplicationrequest.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
+| 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. |
+| `getChatApplicationRequest` | [components.GetChatApplicationRequest](../../models/components/getchatapplicationrequest.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/docs/models/operations/getchatfilesrequest.md b/docs/models/operations/getchatfilesrequest.md
index 647240f5..7400732b 100644
--- a/docs/models/operations/getchatfilesrequest.md
+++ b/docs/models/operations/getchatfilesrequest.md
@@ -14,7 +14,8 @@ let value: GetchatfilesRequest = {
## Fields
-| Field | Type | Required | Description |
-| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
-| `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. |
-| `getChatFilesRequest` | [components.GetChatFilesRequest](../../models/components/getchatfilesrequest.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
+| 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. |
+| `getChatFilesRequest` | [components.GetChatFilesRequest](../../models/components/getchatfilesrequest.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/docs/models/operations/getchatrequest.md b/docs/models/operations/getchatrequest.md
index 3cb1aa8f..78ee9d4d 100644
--- a/docs/models/operations/getchatrequest.md
+++ b/docs/models/operations/getchatrequest.md
@@ -14,7 +14,8 @@ let value: GetchatRequest = {
## Fields
-| Field | Type | Required | Description |
-| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
-| `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. |
-| `getChatRequest` | [components.GetChatRequest](../../models/components/getchatrequest.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
+| 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. |
+| `getChatRequest` | [components.GetChatRequest](../../models/components/getchatrequest.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/docs/models/operations/getcollectionrequest.md b/docs/models/operations/getcollectionrequest.md
new file mode 100644
index 00000000..1001cc98
--- /dev/null
+++ b/docs/models/operations/getcollectionrequest.md
@@ -0,0 +1,20 @@
+# GetcollectionRequest
+
+## Example Usage
+
+```typescript
+import { GetcollectionRequest } from "@gleanwork/api-client/models/operations";
+
+let value: GetcollectionRequest = {
+ getCollectionRequest: {
+ id: 928189,
+ },
+};
+```
+
+## 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`. |
+| `getCollectionRequest` | [components.GetCollectionRequest](../../models/components/getcollectionrequest.md) | :heavy_check_mark: | GetCollection request |
\ No newline at end of file
diff --git a/docs/models/operations/getdocpermissionsrequest.md b/docs/models/operations/getdocpermissionsrequest.md
new file mode 100644
index 00000000..f750bb19
--- /dev/null
+++ b/docs/models/operations/getdocpermissionsrequest.md
@@ -0,0 +1,18 @@
+# GetdocpermissionsRequest
+
+## Example Usage
+
+```typescript
+import { GetdocpermissionsRequest } from "@gleanwork/api-client/models/operations";
+
+let value: GetdocpermissionsRequest = {
+ getDocPermissionsRequest: {},
+};
+```
+
+## 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`. |
+| `getDocPermissionsRequest` | [components.GetDocPermissionsRequest](../../models/components/getdocpermissionsrequest.md) | :heavy_check_mark: | Document permissions request |
\ No newline at end of file
diff --git a/docs/models/operations/getdocumentsbyfacetsrequest.md b/docs/models/operations/getdocumentsbyfacetsrequest.md
new file mode 100644
index 00000000..9be35954
--- /dev/null
+++ b/docs/models/operations/getdocumentsbyfacetsrequest.md
@@ -0,0 +1,16 @@
+# GetdocumentsbyfacetsRequest
+
+## Example Usage
+
+```typescript
+import { GetdocumentsbyfacetsRequest } from "@gleanwork/api-client/models/operations";
+
+let value: GetdocumentsbyfacetsRequest = {};
+```
+
+## 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`. |
+| `getDocumentsByFacetsRequest` | [components.GetDocumentsByFacetsRequest](../../models/components/getdocumentsbyfacetsrequest.md) | :heavy_minus_sign: | Information about facet conditions for documents to be retrieved. |
\ No newline at end of file
diff --git a/docs/models/operations/getdocumentsrequest.md b/docs/models/operations/getdocumentsrequest.md
new file mode 100644
index 00000000..4c85e27e
--- /dev/null
+++ b/docs/models/operations/getdocumentsrequest.md
@@ -0,0 +1,16 @@
+# GetdocumentsRequest
+
+## Example Usage
+
+```typescript
+import { GetdocumentsRequest } from "@gleanwork/api-client/models/operations";
+
+let value: GetdocumentsRequest = {};
+```
+
+## 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`. |
+| `getDocumentsRequest` | [components.GetDocumentsRequest](../../models/components/getdocumentsrequest.md) | :heavy_minus_sign: | Information about documents requested. |
\ No newline at end of file
diff --git a/docs/models/operations/getpinrequest.md b/docs/models/operations/getpinrequest.md
new file mode 100644
index 00000000..f3f415cd
--- /dev/null
+++ b/docs/models/operations/getpinrequest.md
@@ -0,0 +1,18 @@
+# GetpinRequest
+
+## Example Usage
+
+```typescript
+import { GetpinRequest } from "@gleanwork/api-client/models/operations";
+
+let value: GetpinRequest = {
+ getPinRequest: {},
+};
+```
+
+## 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`. |
+| `getPinRequest` | [components.GetPinRequest](../../models/components/getpinrequest.md) | :heavy_check_mark: | Get pin request |
\ No newline at end of file
diff --git a/docs/models/operations/getshortcutrequest.md b/docs/models/operations/getshortcutrequest.md
new file mode 100644
index 00000000..9cf02cab
--- /dev/null
+++ b/docs/models/operations/getshortcutrequest.md
@@ -0,0 +1,20 @@
+# GetshortcutRequest
+
+## Example Usage
+
+```typescript
+import { GetshortcutRequest } from "@gleanwork/api-client/models/operations";
+
+let value: GetshortcutRequest = {
+ getShortcutRequest: {
+ alias: "",
+ },
+};
+```
+
+## 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`. |
+| `getShortcutRequest` | *components.GetShortcutRequestUnion* | :heavy_check_mark: | GetShortcut request |
\ No newline at end of file
diff --git a/docs/models/operations/insightsrequest.md b/docs/models/operations/insightsrequest.md
new file mode 100644
index 00000000..7c9bc9fb
--- /dev/null
+++ b/docs/models/operations/insightsrequest.md
@@ -0,0 +1,18 @@
+# InsightsRequest
+
+## Example Usage
+
+```typescript
+import { InsightsRequest } from "@gleanwork/api-client/models/operations";
+
+let value: InsightsRequest = {
+ insightsRequest: {},
+};
+```
+
+## 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`. |
+| `insightsRequest` | [components.InsightsRequest](../../models/components/insightsrequest.md) | :heavy_check_mark: | Includes request parameters for insights requests. |
\ No newline at end of file
diff --git a/docs/models/operations/listanswersrequest.md b/docs/models/operations/listanswersrequest.md
new file mode 100644
index 00000000..8459eab5
--- /dev/null
+++ b/docs/models/operations/listanswersrequest.md
@@ -0,0 +1,18 @@
+# ListanswersRequest
+
+## Example Usage
+
+```typescript
+import { ListanswersRequest } from "@gleanwork/api-client/models/operations";
+
+let value: ListanswersRequest = {
+ listAnswersRequest: {},
+};
+```
+
+## 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`. |
+| `listAnswersRequest` | [components.ListAnswersRequest](../../models/components/listanswersrequest.md) | :heavy_check_mark: | ListAnswers request |
\ No newline at end of file
diff --git a/docs/models/operations/listchatsrequest.md b/docs/models/operations/listchatsrequest.md
index 6c3226bc..ab1881d9 100644
--- a/docs/models/operations/listchatsrequest.md
+++ b/docs/models/operations/listchatsrequest.md
@@ -10,6 +10,7 @@ let value: ListchatsRequest = {};
## Fields
-| Field | Type | Required | Description |
-| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
-| `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. |
\ No newline at end of file
+| 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. |
\ No newline at end of file
diff --git a/docs/models/operations/listcollectionsrequest.md b/docs/models/operations/listcollectionsrequest.md
new file mode 100644
index 00000000..f9733f0a
--- /dev/null
+++ b/docs/models/operations/listcollectionsrequest.md
@@ -0,0 +1,18 @@
+# ListcollectionsRequest
+
+## Example Usage
+
+```typescript
+import { ListcollectionsRequest } from "@gleanwork/api-client/models/operations";
+
+let value: ListcollectionsRequest = {
+ listCollectionsRequest: {},
+};
+```
+
+## 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`. |
+| `listCollectionsRequest` | [components.ListCollectionsRequest](../../models/components/listcollectionsrequest.md) | :heavy_check_mark: | ListCollections request |
\ No newline at end of file
diff --git a/docs/models/operations/listentitiesrequest.md b/docs/models/operations/listentitiesrequest.md
new file mode 100644
index 00000000..ea4ae105
--- /dev/null
+++ b/docs/models/operations/listentitiesrequest.md
@@ -0,0 +1,35 @@
+# ListentitiesRequest
+
+## Example Usage
+
+```typescript
+import { ListentitiesRequest } from "@gleanwork/api-client/models/operations";
+
+let value: ListentitiesRequest = {
+ listEntitiesRequest: {
+ filter: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ pageSize: 100,
+ },
+};
+```
+
+## 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`. |
+| `listEntitiesRequest` | [components.ListEntitiesRequest](../../models/components/listentitiesrequest.md) | :heavy_check_mark: | List people request |
\ No newline at end of file
diff --git a/docs/models/operations/listpinsrequest.md b/docs/models/operations/listpinsrequest.md
index 8cd82d0f..90238b10 100644
--- a/docs/models/operations/listpinsrequest.md
+++ b/docs/models/operations/listpinsrequest.md
@@ -1,16 +1,18 @@
# ListpinsRequest
-List pins request
-
## Example Usage
```typescript
import { ListpinsRequest } from "@gleanwork/api-client/models/operations";
-let value: ListpinsRequest = {};
+let value: ListpinsRequest = {
+ requestBody: {},
+};
```
## Fields
-| Field | Type | Required | Description |
-| ----------- | ----------- | ----------- | ----------- |
\ No newline at end of file
+| 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`. |
+| `requestBody` | [operations.ListpinsRequestBody](../../models/operations/listpinsrequestbody.md) | :heavy_check_mark: | List pins request |
\ No newline at end of file
diff --git a/docs/models/operations/listpinsrequestbody.md b/docs/models/operations/listpinsrequestbody.md
new file mode 100644
index 00000000..72a16c8b
--- /dev/null
+++ b/docs/models/operations/listpinsrequestbody.md
@@ -0,0 +1,16 @@
+# ListpinsRequestBody
+
+List pins request
+
+## Example Usage
+
+```typescript
+import { ListpinsRequestBody } from "@gleanwork/api-client/models/operations";
+
+let value: ListpinsRequestBody = {};
+```
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------- | ----------- | ----------- | ----------- |
\ No newline at end of file
diff --git a/docs/models/operations/listshortcutsrequest.md b/docs/models/operations/listshortcutsrequest.md
new file mode 100644
index 00000000..4ded4a55
--- /dev/null
+++ b/docs/models/operations/listshortcutsrequest.md
@@ -0,0 +1,35 @@
+# ListshortcutsRequest
+
+## Example Usage
+
+```typescript
+import { ListshortcutsRequest } from "@gleanwork/api-client/models/operations";
+
+let value: ListshortcutsRequest = {
+ listShortcutsPaginatedRequest: {
+ pageSize: 10,
+ filters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ },
+};
+```
+
+## 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`. |
+| `listShortcutsPaginatedRequest` | [components.ListShortcutsPaginatedRequest](../../models/components/listshortcutspaginatedrequest.md) | :heavy_check_mark: | Filters, sorters, paging params required for pagination |
\ No newline at end of file
diff --git a/docs/models/operations/listverificationsrequest.md b/docs/models/operations/listverificationsrequest.md
index abcb11b1..f8b705b5 100644
--- a/docs/models/operations/listverificationsrequest.md
+++ b/docs/models/operations/listverificationsrequest.md
@@ -10,6 +10,7 @@ let value: ListverificationsRequest = {};
## Fields
-| Field | Type | Required | Description |
-| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- |
-| `count` | *number* | :heavy_minus_sign: | Maximum number of documents to return |
\ No newline at end of file
+| Field | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `count` | *number* | :heavy_minus_sign: | Maximum number of documents to return |
+| `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`. |
\ No newline at end of file
diff --git a/docs/models/operations/messagesrequest.md b/docs/models/operations/messagesrequest.md
new file mode 100644
index 00000000..fd698812
--- /dev/null
+++ b/docs/models/operations/messagesrequest.md
@@ -0,0 +1,22 @@
+# MessagesRequest
+
+## Example Usage
+
+```typescript
+import { MessagesRequest } from "@gleanwork/api-client/models/operations";
+
+let value: MessagesRequest = {
+ messagesRequest: {
+ idType: "CHANNEL_NAME",
+ id: "",
+ datasource: "SLACKENTGRID",
+ },
+};
+```
+
+## 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`. |
+| `messagesRequest` | [components.MessagesRequest](../../models/components/messagesrequest.md) | :heavy_check_mark: | Includes request params such as the id for channel/message and direction. |
\ No newline at end of file
diff --git a/docs/models/operations/peoplerequest.md b/docs/models/operations/peoplerequest.md
new file mode 100644
index 00000000..1e3f3e9f
--- /dev/null
+++ b/docs/models/operations/peoplerequest.md
@@ -0,0 +1,23 @@
+# PeopleRequest
+
+## Example Usage
+
+```typescript
+import { PeopleRequest } from "@gleanwork/api-client/models/operations";
+
+let value: PeopleRequest = {
+ peopleRequest: {
+ obfuscatedIds: [
+ "abc123",
+ "abc456",
+ ],
+ },
+};
+```
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `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`. | |
+| `peopleRequest` | [components.PeopleRequest](../../models/components/peoplerequest.md) | :heavy_check_mark: | People request | {
"obfuscatedIds": [
"abc123",
"abc456"
]
} |
\ No newline at end of file
diff --git a/docs/models/operations/pinrequest.md b/docs/models/operations/pinrequest.md
new file mode 100644
index 00000000..b9b5b9ce
--- /dev/null
+++ b/docs/models/operations/pinrequest.md
@@ -0,0 +1,34 @@
+# PinRequest
+
+## Example Usage
+
+```typescript
+import { PinRequest } from "@gleanwork/api-client/models/operations";
+
+let value: PinRequest = {
+ pinRequest: {
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ },
+};
+```
+
+## 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`. |
+| `pinRequest` | [components.PinRequest](../../models/components/pinrequest.md) | :heavy_check_mark: | Details about the document and query for the pin. |
\ No newline at end of file
diff --git a/docs/models/operations/recommendationsrequest.md b/docs/models/operations/recommendationsrequest.md
new file mode 100644
index 00000000..c8638f56
--- /dev/null
+++ b/docs/models/operations/recommendationsrequest.md
@@ -0,0 +1,186 @@
+# RecommendationsRequest
+
+## Example Usage
+
+```typescript
+import { RecommendationsRequest } from "@gleanwork/api-client/models/operations";
+
+let value: RecommendationsRequest = {
+ recommendationsRequest: {
+ sourceDocument: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ pageSize: 100,
+ maxSnippetSize: 400,
+ requestOptions: {
+ facetFilterSets: [
+ {
+ filters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ },
+ ],
+ context: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ },
+ },
+};
+```
+
+## 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`. |
+| `recommendationsRequest` | [components.RecommendationsRequest](../../models/components/recommendationsrequest.md) | :heavy_check_mark: | Recommendations request |
\ No newline at end of file
diff --git a/docs/models/operations/searchrequest.md b/docs/models/operations/searchrequest.md
new file mode 100644
index 00000000..04e5d69c
--- /dev/null
+++ b/docs/models/operations/searchrequest.md
@@ -0,0 +1,49 @@
+# SearchRequest
+
+## Example Usage
+
+```typescript
+import { SearchRequest } from "@gleanwork/api-client/models/operations";
+
+let value: SearchRequest = {
+ searchRequest: {
+ trackingToken: "trackingToken",
+ pageSize: 10,
+ query: "vacation policy",
+ requestOptions: {
+ facetFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "article",
+ relationType: "EQUALS",
+ },
+ {
+ value: "document",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ {
+ fieldName: "department",
+ values: [
+ {
+ value: "engineering",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ facetBucketSize: 627794,
+ },
+ },
+};
+```
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `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`. | |
+| `searchRequest` | [components.SearchRequest](../../models/components/searchrequest.md) | :heavy_check_mark: | Search request | {
"trackingToken": "trackingToken",
"query": "vacation policy",
"pageSize": 10,
"requestOptions": {
"facetFilters": [
{
"fieldName": "type",
"values": [
{
"value": "article",
"relationType": "EQUALS"
},
{
"value": "document",
"relationType": "EQUALS"
}
]
},
{
"fieldName": "department",
"values": [
{
"value": "engineering",
"relationType": "EQUALS"
}
]
}
]
}
} |
\ No newline at end of file
diff --git a/docs/models/operations/summarizerequest.md b/docs/models/operations/summarizerequest.md
new file mode 100644
index 00000000..35cf8e3f
--- /dev/null
+++ b/docs/models/operations/summarizerequest.md
@@ -0,0 +1,25 @@
+# SummarizeRequest
+
+## Example Usage
+
+```typescript
+import { SummarizeRequest } from "@gleanwork/api-client/models/operations";
+
+let value: SummarizeRequest = {
+ summarizeRequest: {
+ documentSpecs: [
+ {
+ ugcType: "CHATS",
+ ugcId: "",
+ },
+ ],
+ },
+};
+```
+
+## 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`. |
+| `summarizeRequest` | [components.SummarizeRequest](../../models/components/summarizerequest.md) | :heavy_check_mark: | Includes request params such as the query and specs of the documents to summarize. |
\ No newline at end of file
diff --git a/docs/models/operations/unpinrequest.md b/docs/models/operations/unpinrequest.md
new file mode 100644
index 00000000..cc290158
--- /dev/null
+++ b/docs/models/operations/unpinrequest.md
@@ -0,0 +1,18 @@
+# UnpinRequest
+
+## Example Usage
+
+```typescript
+import { UnpinRequest } from "@gleanwork/api-client/models/operations";
+
+let value: UnpinRequest = {
+ unpin: {},
+};
+```
+
+## 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`. |
+| `unpin` | [components.Unpin](../../models/components/unpin.md) | :heavy_check_mark: | Details about the pin being unpinned. |
\ No newline at end of file
diff --git a/docs/models/operations/updateannouncementrequest.md b/docs/models/operations/updateannouncementrequest.md
new file mode 100644
index 00000000..e2d39537
--- /dev/null
+++ b/docs/models/operations/updateannouncementrequest.md
@@ -0,0 +1,1060 @@
+# UpdateannouncementRequest
+
+## Example Usage
+
+```typescript
+import { UpdateannouncementRequest } from "@gleanwork/api-client/models/operations";
+
+let value: UpdateannouncementRequest = {
+ updateAnnouncementRequest: {
+ startTime: new Date("2025-08-06T01:29:54.751Z"),
+ endTime: new Date("2025-06-28T13:45:35.258Z"),
+ title: "",
+ body: {
+ text:
+ "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.",
+ structuredList: [
+ {
+ link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation",
+ document: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ text:
+ "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. 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: {
+ document: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ customer: {
+ id: "",
+ company: {
+ name: "",
+ location: "New York City",
+ industry: "Finances",
+ about:
+ "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City",
+ },
+ poc: [
+ {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ ],
+ mergedCustomers: [
+ {
+ id: "",
+ company: {
+ name: "",
+ location: "New York City",
+ industry: "Finances",
+ about:
+ "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City",
+ },
+ notes: "CIO is interested in trying out the product.",
+ },
+ ],
+ notes: "CIO is interested in trying out the product.",
+ },
+ team: {
+ id: "",
+ name: "",
+ members: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ ],
+ customFields: [
+ {
+ label: "",
+ values: [],
+ },
+ ],
+ datasourceProfiles: [
+ {
+ datasource: "github",
+ handle: "",
+ },
+ ],
+ },
+ customEntity: {
+ roles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "ANSWER_MODERATOR",
+ },
+ ],
+ },
+ answer: {
+ id: 3,
+ docId: "ANSWERS_answer_3",
+ question: "Why is the sky blue?",
+ bodyText:
+ "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ combinedAnswerText: {
+ text:
+ "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.",
+ },
+ likes: {
+ likedBy: [],
+ likedByUser: true,
+ numLikes: 32410,
+ },
+ author: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ verification: {
+ state: "UNVERIFIED",
+ metadata: {
+ lastVerifier: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ document: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ reminders: [
+ {
+ assignee: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ requestor: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ remindAt: 337545,
+ },
+ ],
+ lastReminder: {
+ assignee: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ requestor: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ remindAt: 349760,
+ },
+ candidateVerifiers: [
+ {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ ],
+ },
+ },
+ collections: [
+ {
+ name: "",
+ description:
+ "huzzah ick warp desk tedious tightly supposing bandwidth aboard pish",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ id: 782149,
+ creator: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ items: [
+ {
+ collectionId: 30842,
+ createdBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ document: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ shortcut: {
+ inputAlias: "",
+ createdBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ destinationDocument: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ },
+ collection: {
+ name: "",
+ description:
+ "impanel importance pale parody towards wildly elementary unbearably",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ id: 390864,
+ creator: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ children: [
+ {
+ name: "",
+ description:
+ "viciously creator incidentally hole pecan",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ id: 581341,
+ creator: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ ],
+ },
+ itemType: "TEXT",
+ },
+ ],
+ },
+ ],
+ sourceDocument: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ },
+ generatedQna: {
+ ranges: [
+ {
+ startIndex: 635422,
+ document: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ },
+ ],
+ },
+ extractedQnA: {
+ questionResult: {
+ title: "title",
+ url: "https://example.com/foo/bar",
+ nativeAppUrl: "slack://foo/bar",
+ snippets: [
+ {
+ mimeType: "mimeType",
+ snippet: "snippet",
+ },
+ ],
+ mustIncludeSuggestions: {
+ suggestions: [
+ {
+ query: "app:github type:pull author:mortimer",
+ label: "Mortimer's PRs",
+ datasource: "github",
+ },
+ ],
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ },
+ },
+ meeting: {
+ attendees: {
+ people: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ groupAttendees: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ ],
+ },
+ ],
+ },
+ },
+ collection: {
+ name: "",
+ description:
+ "impanel importance pale parody towards wildly elementary unbearably",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ id: 390864,
+ creator: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ children: [
+ {
+ name: "",
+ description: "viciously creator incidentally hole pecan",
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ id: 581341,
+ creator: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ ],
+ },
+ code: {
+ repoName: "scio",
+ fileName: "README.md",
+ },
+ shortcut: {
+ inputAlias: "",
+ createdBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ updatedBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ destinationDocument: {
+ containerDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ parentDocument: {
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ metadata: {
+ datasource: "datasource",
+ objectType: "Feature Request",
+ container: "container",
+ parentId: "JIRA_EN-1337",
+ mimeType: "mimeType",
+ documentId: "documentId",
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
+ author: {
+ name: "name",
+ obfuscatedId: "",
+ },
+ components: [
+ "Backend",
+ "Networking",
+ ],
+ status: "[\"Done\"]",
+ customData: {
+ "someCustomField": {},
+ },
+ },
+ },
+ },
+ querySuggestions: {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ chat: {
+ createdBy: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ icon: {
+ color: "#343CED",
+ key: "person_icon",
+ iconType: "GLYPH",
+ name: "user",
+ },
+ },
+ relatedDocuments: [
+ {
+ querySuggestion: {
+ query: "app:github type:pull author:mortimer",
+ label: "Mortimer's PRs",
+ datasource: "github",
+ },
+ results: [
+ {
+ title: "title",
+ url: "https://example.com/foo/bar",
+ nativeAppUrl: "slack://foo/bar",
+ snippets: [
+ {
+ mimeType: "mimeType",
+ snippet: "snippet",
+ },
+ ],
+ mustIncludeSuggestions: {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ },
+ },
+ ],
+ },
+ ],
+ relatedQuestion: {},
+ },
+ },
+ ],
+ },
+ audienceFilters: [
+ {
+ fieldName: "type",
+ values: [
+ {
+ value: "Spreadsheet",
+ relationType: "EQUALS",
+ },
+ {
+ value: "Presentation",
+ relationType: "EQUALS",
+ },
+ ],
+ },
+ ],
+ id: 940454,
+ },
+};
+```
+
+## 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`. |
+| `updateAnnouncementRequest` | [components.UpdateAnnouncementRequest](../../models/components/updateannouncementrequest.md) | :heavy_check_mark: | Announcement content. Id need to be specified for the announcement. |
\ No newline at end of file
diff --git a/docs/models/operations/updateshortcutrequest.md b/docs/models/operations/updateshortcutrequest.md
new file mode 100644
index 00000000..d60bc621
--- /dev/null
+++ b/docs/models/operations/updateshortcutrequest.md
@@ -0,0 +1,38 @@
+# UpdateshortcutRequest
+
+## Example Usage
+
+```typescript
+import { UpdateshortcutRequest } from "@gleanwork/api-client/models/operations";
+
+let value: UpdateshortcutRequest = {
+ updateShortcutRequest: {
+ id: 276298,
+ addedRoles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "VIEWER",
+ },
+ ],
+ removedRoles: [
+ {
+ person: {
+ name: "George Clooney",
+ obfuscatedId: "abc123",
+ },
+ role: "VERIFIER",
+ },
+ ],
+ },
+};
+```
+
+## 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`. |
+| `updateShortcutRequest` | [components.UpdateShortcutRequest](../../models/components/updateshortcutrequest.md) | :heavy_check_mark: | Shortcut content. Id need to be specified for the shortcut. |
\ No newline at end of file
diff --git a/docs/models/operations/uploadchatfilesrequest.md b/docs/models/operations/uploadchatfilesrequest.md
index e01ea4e4..cda1f6a4 100644
--- a/docs/models/operations/uploadchatfilesrequest.md
+++ b/docs/models/operations/uploadchatfilesrequest.md
@@ -14,7 +14,8 @@ let value: UploadchatfilesRequest = {
## Fields
-| Field | Type | Required | Description |
-| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
-| `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. |
-| `uploadChatFilesRequest` | [components.UploadChatFilesRequest](../../models/components/uploadchatfilesrequest.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
+| 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. |
+| `uploadChatFilesRequest` | [components.UploadChatFilesRequest](../../models/components/uploadchatfilesrequest.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/docs/models/operations/verifyrequest.md b/docs/models/operations/verifyrequest.md
new file mode 100644
index 00000000..7abd508b
--- /dev/null
+++ b/docs/models/operations/verifyrequest.md
@@ -0,0 +1,20 @@
+# VerifyRequest
+
+## Example Usage
+
+```typescript
+import { VerifyRequest } from "@gleanwork/api-client/models/operations";
+
+let value: VerifyRequest = {
+ verifyRequest: {
+ documentId: "",
+ },
+};
+```
+
+## 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`. |
+| `verifyRequest` | [components.VerifyRequest](../../models/components/verifyrequest.md) | :heavy_check_mark: | Details about the verification request. |
\ No newline at end of file
diff --git a/docs/sdks/agents/README.md b/docs/sdks/agents/README.md
index ae343822..f232f76b 100644
--- a/docs/sdks/agents/README.md
+++ b/docs/sdks/agents/README.md
@@ -90,13 +90,14 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `agentId` | *string* | :heavy_check_mark: | The ID of the agent. |
-| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. |
-| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
-| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
-| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `agentId` | *string* | :heavy_check_mark: | 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
@@ -188,13 +189,14 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `agentId` | *string* | :heavy_check_mark: | The ID of the agent. |
-| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. |
-| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
-| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
-| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `agentId` | *string* | :heavy_check_mark: | 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
diff --git a/docs/sdks/announcements/README.md b/docs/sdks/announcements/README.md
index fa0b5c41..a9a2ba2d 100644
--- a/docs/sdks/announcements/README.md
+++ b/docs/sdks/announcements/README.md
@@ -43111,12 +43111,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.CreateAnnouncementRequest](../../models/components/createannouncementrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `createAnnouncementRequest` | [components.CreateAnnouncementRequest](../../models/components/createannouncementrequest.md) | :heavy_check_mark: | Announcement content |
+| `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
@@ -43201,12 +43202,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.DeleteAnnouncementRequest](../../models/components/deleteannouncementrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `deleteAnnouncementRequest` | [components.DeleteAnnouncementRequest](../../models/components/deleteannouncementrequest.md) | :heavy_check_mark: | Delete announcement 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
@@ -135053,12 +135055,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.UpdateAnnouncementRequest](../../models/components/updateannouncementrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `updateAnnouncementRequest` | [components.UpdateAnnouncementRequest](../../models/components/updateannouncementrequest.md) | :heavy_check_mark: | Announcement content. Id need to be specified for the announcement. |
+| `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
diff --git a/docs/sdks/answers/README.md b/docs/sdks/answers/README.md
index 4de27156..dbb0cc04 100644
--- a/docs/sdks/answers/README.md
+++ b/docs/sdks/answers/README.md
@@ -2747,12 +2747,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.CreateAnswerRequest](../../models/components/createanswerrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `createAnswerRequest` | [components.CreateAnswerRequest](../../models/components/createanswerrequest.md) | :heavy_check_mark: | CreateAnswer 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
@@ -2839,12 +2840,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.DeleteAnswerRequest](../../models/components/deleteanswerrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `deleteAnswerRequest` | [components.DeleteAnswerRequest](../../models/components/deleteanswerrequest.md) | :heavy_check_mark: | DeleteAnswer 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
@@ -4769,12 +4771,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.EditAnswerRequest](../../models/components/editanswerrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `editAnswerRequest` | [components.EditAnswerRequest](../../models/components/editanswerrequest.md) | :heavy_check_mark: | EditAnswer 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
@@ -4861,12 +4864,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.GetAnswerRequest](../../models/components/getanswerrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `getAnswerRequest` | [components.GetAnswerRequest](../../models/components/getanswerrequest.md) | :heavy_check_mark: | GetAnswer 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
@@ -4882,7 +4886,7 @@ import {
List Answers created by the current user.
-> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
+> :warning: **DEPRECATED**: Deprecated on 2026-01-21, removal scheduled for 2026-10-15: Answer boards have been removed and this endpoint no longer serves a purpose.
### Example Usage
@@ -4949,12 +4953,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.ListAnswersRequest](../../models/components/listanswersrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `listAnswersRequest` | [components.ListAnswersRequest](../../models/components/listanswersrequest.md) | :heavy_check_mark: | ListAnswers 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
diff --git a/docs/sdks/chat/README.md b/docs/sdks/chat/README.md
index d2064557..2774fbd7 100644
--- a/docs/sdks/chat/README.md
+++ b/docs/sdks/chat/README.md
@@ -104,13 +104,14 @@ import {
### 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. |
+| 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
@@ -191,12 +192,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. |
-| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
-| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
-| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `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
@@ -281,13 +283,14 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `deleteChatsRequest` | [components.DeleteChatsRequest](../../models/components/deletechatsrequest.md) | :heavy_check_mark: | N/A |
-| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. |
-| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
-| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
-| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `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
@@ -372,13 +375,14 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `getChatRequest` | [components.GetChatRequest](../../models/components/getchatrequest.md) | :heavy_check_mark: | N/A |
-| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. |
-| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
-| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
-| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `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
@@ -459,12 +463,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. |
-| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
-| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
-| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `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
@@ -549,13 +554,14 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `getChatApplicationRequest` | [components.GetChatApplicationRequest](../../models/components/getchatapplicationrequest.md) | :heavy_check_mark: | N/A |
-| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. |
-| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
-| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
-| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `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
@@ -646,13 +652,14 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `uploadChatFilesRequest` | [components.UploadChatFilesRequest](../../models/components/uploadchatfilesrequest.md) | :heavy_check_mark: | N/A |
-| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. |
-| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
-| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
-| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `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
@@ -741,13 +748,14 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `getChatFilesRequest` | [components.GetChatFilesRequest](../../models/components/getchatfilesrequest.md) | :heavy_check_mark: | N/A |
-| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. |
-| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
-| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
-| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `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
@@ -840,13 +848,14 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `deleteChatFilesRequest` | [components.DeleteChatFilesRequest](../../models/components/deletechatfilesrequest.md) | :heavy_check_mark: | N/A |
-| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. |
-| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
-| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
-| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `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
diff --git a/docs/sdks/clientdocuments/README.md b/docs/sdks/clientdocuments/README.md
index 173f10d0..0b1eb746 100644
--- a/docs/sdks/clientdocuments/README.md
+++ b/docs/sdks/clientdocuments/README.md
@@ -78,12 +78,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.GetDocPermissionsRequest](../../models/components/getdocpermissionsrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `getDocPermissionsRequest` | [components.GetDocPermissionsRequest](../../models/components/getdocpermissionsrequest.md) | :heavy_check_mark: | Document permissions 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
@@ -164,12 +165,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.GetDocumentsRequest](../../models/components/getdocumentsrequest.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. |
+| 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`. |
+| `getDocumentsRequest` | [components.GetDocumentsRequest](../../models/components/getdocumentsrequest.md) | :heavy_minus_sign: | Information about documents requested. |
+| `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
@@ -324,12 +326,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.GetDocumentsByFacetsRequest](../../models/components/getdocumentsbyfacetsrequest.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. |
+| 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`. |
+| `getDocumentsByFacetsRequest` | [components.GetDocumentsByFacetsRequest](../../models/components/getdocumentsbyfacetsrequest.md) | :heavy_minus_sign: | Information about facet conditions for documents to be retrieved. |
+| `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
@@ -438,12 +441,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.SummarizeRequest](../../models/components/summarizerequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `summarizeRequest` | [components.SummarizeRequest](../../models/components/summarizerequest.md) | :heavy_check_mark: | Includes request params such as the query and specs of the documents to summarize. |
+| `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
diff --git a/docs/sdks/clientshortcuts/README.md b/docs/sdks/clientshortcuts/README.md
index 319eabdc..28496033 100644
--- a/docs/sdks/clientshortcuts/README.md
+++ b/docs/sdks/clientshortcuts/README.md
@@ -3251,12 +3251,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.CreateShortcutRequest](../../models/components/createshortcutrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `createShortcutRequest` | [components.CreateShortcutRequest](../../models/components/createshortcutrequest.md) | :heavy_check_mark: | CreateShortcut 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
@@ -3341,12 +3342,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.DeleteShortcutRequest](../../models/components/deleteshortcutrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `deleteShortcutRequest` | [components.DeleteShortcutRequest](../../models/components/deleteshortcutrequest.md) | :heavy_check_mark: | DeleteShortcut 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
@@ -3431,12 +3433,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.GetShortcutRequestUnion](../../models/components/getshortcutrequestunion.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `getShortcutRequest` | *components.GetShortcutRequestUnion* | :heavy_check_mark: | GetShortcut 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
@@ -3551,12 +3554,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.ListShortcutsPaginatedRequest](../../models/components/listshortcutspaginatedrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `listShortcutsPaginatedRequest` | [components.ListShortcutsPaginatedRequest](../../models/components/listshortcutspaginatedrequest.md) | :heavy_check_mark: | Filters, sorters, paging params required for pagination |
+| `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
@@ -9321,12 +9325,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.UpdateShortcutRequest](../../models/components/updateshortcutrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `updateShortcutRequest` | [components.UpdateShortcutRequest](../../models/components/updateshortcutrequest.md) | :heavy_check_mark: | Shortcut content. Id need to be specified for the shortcut. |
+| `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
diff --git a/docs/sdks/collections/README.md b/docs/sdks/collections/README.md
index edff623b..c1f110c5 100644
--- a/docs/sdks/collections/README.md
+++ b/docs/sdks/collections/README.md
@@ -86,12 +86,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.AddCollectionItemsRequest](../../models/components/addcollectionitemsrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `addCollectionItemsRequest` | [components.AddCollectionItemsRequest](../../models/components/addcollectionitemsrequest.md) | :heavy_check_mark: | Data describing the add operation. |
+| `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
@@ -1476,12 +1477,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.CreateCollectionRequest](../../models/components/createcollectionrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `createCollectionRequest` | [components.CreateCollectionRequest](../../models/components/createcollectionrequest.md) | :heavy_check_mark: | Collection content plus any additional metadata for the 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
@@ -1575,12 +1577,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.DeleteCollectionRequest](../../models/components/deletecollectionrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `deleteCollectionRequest` | [components.DeleteCollectionRequest](../../models/components/deletecollectionrequest.md) | :heavy_check_mark: | DeleteCollection 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
@@ -1668,12 +1671,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.DeleteCollectionItemRequest](../../models/components/deletecollectionitemrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `deleteCollectionItemRequest` | [components.DeleteCollectionItemRequest](../../models/components/deletecollectionitemrequest.md) | :heavy_check_mark: | Data describing the delete operation. |
+| `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
@@ -3860,12 +3864,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.EditCollectionRequest](../../models/components/editcollectionrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `editCollectionRequest` | [components.EditCollectionRequest](../../models/components/editcollectionrequest.md) | :heavy_check_mark: | Collection content plus any additional metadata for the 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
@@ -3953,12 +3958,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.EditCollectionItemRequest](../../models/components/editcollectionitemrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `editCollectionItemRequest` | [components.EditCollectionItemRequest](../../models/components/editcollectionitemrequest.md) | :heavy_check_mark: | Edit Collection Items 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
@@ -4043,12 +4049,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.GetCollectionRequest](../../models/components/getcollectionrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `getCollectionRequest` | [components.GetCollectionRequest](../../models/components/getcollectionrequest.md) | :heavy_check_mark: | GetCollection 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
@@ -4129,12 +4136,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.ListCollectionsRequest](../../models/components/listcollectionsrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `listCollectionsRequest` | [components.ListCollectionsRequest](../../models/components/listcollectionsrequest.md) | :heavy_check_mark: | ListCollections 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
diff --git a/docs/sdks/entities/README.md b/docs/sdks/entities/README.md
index cb2aac3f..8c5e57e5 100644
--- a/docs/sdks/entities/README.md
+++ b/docs/sdks/entities/README.md
@@ -110,12 +110,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.ListEntitiesRequest](../../models/components/listentitiesrequest.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. |
+| 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
@@ -206,12 +207,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.PeopleRequest](../../models/components/peoplerequest.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. |
+| Parameter | Type | Required | Description | Example |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `peopleRequest` | [components.PeopleRequest](../../models/components/peoplerequest.md) | :heavy_check_mark: | People request | [object Object] |
+| `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
diff --git a/docs/sdks/insights/README.md b/docs/sdks/insights/README.md
index 9dab58aa..4c6ceef2 100644
--- a/docs/sdks/insights/README.md
+++ b/docs/sdks/insights/README.md
@@ -75,12 +75,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.InsightsRequest](../../models/components/insightsrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `insightsRequest` | [components.InsightsRequest](../../models/components/insightsrequest.md) | :heavy_check_mark: | Includes request parameters for insights requests. |
+| `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
diff --git a/docs/sdks/messages/README.md b/docs/sdks/messages/README.md
index 7a83fd8e..85abcc12 100644
--- a/docs/sdks/messages/README.md
+++ b/docs/sdks/messages/README.md
@@ -83,12 +83,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.MessagesRequest](../../models/components/messagesrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `messagesRequest` | [components.MessagesRequest](../../models/components/messagesrequest.md) | :heavy_check_mark: | Includes request params such as the id for channel/message and direction. |
+| `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
diff --git a/docs/sdks/pins/README.md b/docs/sdks/pins/README.md
index 6fd49030..fd3fd03f 100644
--- a/docs/sdks/pins/README.md
+++ b/docs/sdks/pins/README.md
@@ -111,12 +111,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.EditPinRequest](../../models/components/editpinrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `editPinRequest` | [components.EditPinRequest](../../models/components/editpinrequest.md) | :heavy_check_mark: | Edit pins 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
@@ -197,12 +198,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.GetPinRequest](../../models/components/getpinrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `getPinRequest` | [components.GetPinRequest](../../models/components/getpinrequest.md) | :heavy_check_mark: | Get pin 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
@@ -283,12 +285,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [operations.ListpinsRequest](../../models/operations/listpinsrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `requestBody` | [operations.ListpinsRequestBody](../../models/operations/listpinsrequestbody.md) | :heavy_check_mark: | List pins 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
@@ -401,12 +404,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.PinRequest](../../models/components/pinrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `pinRequest` | [components.PinRequest](../../models/components/pinrequest.md) | :heavy_check_mark: | Details about the document and query for the pin. |
+| `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
@@ -487,12 +491,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.Unpin](../../models/components/unpin.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `unpin` | [components.Unpin](../../models/components/unpin.md) | :heavy_check_mark: | Details about the pin being unpinned. |
+| `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
diff --git a/docs/sdks/search/README.md b/docs/sdks/search/README.md
index 3a0c7dda..ca426c66 100644
--- a/docs/sdks/search/README.md
+++ b/docs/sdks/search/README.md
@@ -141,12 +141,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.SearchRequest](../../models/components/searchrequest.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. |
+| Parameter | Type | Required | Description | Example |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `searchRequest` | [components.SearchRequest](../../models/components/searchrequest.md) | :heavy_check_mark: | Admin search request | [object Object] |
+| `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
@@ -238,12 +239,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.AutocompleteRequest](../../models/components/autocompleterequest.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. |
+| Parameter | Type | Required | Description | Example |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `autocompleteRequest` | [components.AutocompleteRequest](../../models/components/autocompleterequest.md) | :heavy_check_mark: | Autocomplete request | [object Object] |
+| `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
@@ -328,12 +330,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.FeedRequest](../../models/components/feedrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `feedRequest` | [components.FeedRequest](../../models/components/feedrequest.md) | :heavy_check_mark: | Includes request params, client data and more for making user's feed. |
+| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. |
+| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
+| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
+| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
### Response
@@ -818,12 +821,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.RecommendationsRequest](../../models/components/recommendationsrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `recommendationsRequest` | [components.RecommendationsRequest](../../models/components/recommendationsrequest.md) | :heavy_check_mark: | Recommendations request |
+| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. |
+| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
+| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
+| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
### Response
@@ -966,12 +970,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.SearchRequest](../../models/components/searchrequest.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. |
+| Parameter | Type | Required | Description | Example |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `searchRequest` | [components.SearchRequest](../../models/components/searchrequest.md) | :heavy_check_mark: | Search request | [object Object] |
+| `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
diff --git a/docs/sdks/verification/README.md b/docs/sdks/verification/README.md
index 71b1ed75..e76c947f 100644
--- a/docs/sdks/verification/README.md
+++ b/docs/sdks/verification/README.md
@@ -81,12 +81,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.ReminderRequest](../../models/components/reminderrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `reminderRequest` | [components.ReminderRequest](../../models/components/reminderrequest.md) | :heavy_check_mark: | Details about the reminder. |
+| `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
@@ -167,12 +168,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `count` | *number* | :heavy_minus_sign: | Maximum number of documents to return |
-| `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 |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `count` | *number* | :heavy_minus_sign: | Maximum number of documents to return |
+| `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
@@ -257,12 +259,13 @@ import {
### Parameters
-| Parameter | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `request` | [components.VerifyRequest](../../models/components/verifyrequest.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. |
+| Parameter | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `verifyRequest` | [components.VerifyRequest](../../models/components/verifyrequest.md) | :heavy_check_mark: | Details about the verification 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
diff --git a/examples/package-lock.json b/examples/package-lock.json
index 7ac0e50d..e1093fa6 100644
--- a/examples/package-lock.json
+++ b/examples/package-lock.json
@@ -18,7 +18,7 @@
},
"..": {
"name": "@gleanwork/api-client",
- "version": "0.13.20",
+ "version": "0.13.21",
"dependencies": {
"zod": "^3.25.0 || ^4.0.0"
},
diff --git a/jsr.json b/jsr.json
index a60d2e0c..0c83fc20 100644
--- a/jsr.json
+++ b/jsr.json
@@ -2,7 +2,7 @@
{
"name": "@gleanwork/api-client",
- "version": "0.13.20",
+ "version": "0.13.21",
"exports": {
".": "./src/index.ts",
"./models/errors": "./src/models/errors/index.ts",
diff --git a/package-lock.json b/package-lock.json
index e68ae0f0..7d6dd8db 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@gleanwork/api-client",
- "version": "0.13.20",
+ "version": "0.13.21",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@gleanwork/api-client",
- "version": "0.13.20",
+ "version": "0.13.21",
"dependencies": {
"zod": "^3.25.0 || ^4.0.0"
},
diff --git a/package.json b/package.json
index 14e089d9..6ed591e6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@gleanwork/api-client",
- "version": "0.13.20",
+ "version": "0.13.21",
"author": "Speakeasy",
"type": "module",
"tshy": {
diff --git a/src/__tests__/messages.test.ts b/src/__tests__/messages.test.ts
index 2c86d484..db4c9928 100644
--- a/src/__tests__/messages.test.ts
+++ b/src/__tests__/messages.test.ts
@@ -19,7 +19,7 @@ test("Messages Messages", async () => {
idType: "CONVERSATION_ID",
id: "",
timestampMillis: 558834,
- datasource: "SLACKENTGRID",
+ datasource: "SLACK",
});
expect(result).toBeDefined();
});
diff --git a/src/__tests__/mockserver/internal/handler/pathpostrestapiv1createcollection.go b/src/__tests__/mockserver/internal/handler/pathpostrestapiv1createcollection.go
index 5c99a0ad..371b9023 100644
--- a/src/__tests__/mockserver/internal/handler/pathpostrestapiv1createcollection.go
+++ b/src/__tests__/mockserver/internal/handler/pathpostrestapiv1createcollection.go
@@ -56,14 +56,14 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
operations.ResponseBody2{
Collection: &components.Collection{
Name: "",
- Description: "motionless whenever paintwork import over cuckoo",
+ Description: "whole busily jive hawk gee basic minus hence",
AddedRoles: []components.UserRoleSpecification{
components.UserRoleSpecification{
Person: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
},
- Role: components.UserRoleOwner,
+ Role: components.UserRoleAnswerModerator,
},
},
RemovedRoles: []components.UserRoleSpecification{
@@ -90,7 +90,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
},
},
- ID: 363711,
+ ID: 158969,
Creator: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
@@ -101,7 +101,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
Items: []components.CollectionItem{
components.CollectionItem{
- CollectionID: 570197,
+ CollectionID: 110375,
CreatedBy: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
@@ -266,13 +266,13 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
Name: "George Clooney",
ObfuscatedID: "abc123",
},
- Role: components.UserRoleAnswerModerator,
+ Role: components.UserRoleEditor,
},
},
},
Collection: &components.Collection{
Name: "",
- Description: "athwart skateboard newsstand farm bourgeoisie ah how elliptical aha well-to-do",
+ Description: "wedge colorfully orientate rally",
AudienceFilters: []components.FacetFilter{
components.FacetFilter{
FieldName: types.String("type"),
@@ -288,7 +288,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
},
},
- ID: 643990,
+ ID: 131797,
Creator: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
@@ -300,7 +300,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
Children: []components.Collection{
components.Collection{
Name: "",
- Description: "woot purse salty even as advanced",
+ Description: "outside yippee sidetrack mature regularly mouser inject worth",
AudienceFilters: []components.FacetFilter{
components.FacetFilter{
FieldName: types.String("type"),
@@ -316,7 +316,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
},
},
- ID: 359978,
+ ID: 149448,
Creator: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
@@ -328,7 +328,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
},
},
- ItemType: components.CollectionItemItemTypeURL,
+ ItemType: components.CollectionItemItemTypeCollection,
},
},
},
diff --git a/src/__tests__/mockserver/internal/sdk/models/components/gleandataerror.go b/src/__tests__/mockserver/internal/sdk/models/components/gleandataerror.go
index 12eecd2e..d549ead5 100644
--- a/src/__tests__/mockserver/internal/sdk/models/components/gleandataerror.go
+++ b/src/__tests__/mockserver/internal/sdk/models/components/gleandataerror.go
@@ -10,6 +10,8 @@ type GleanDataError struct {
// Indicates results could not be fetched due to invalid operators in the query.
InvalidOperators []InvalidOperatorValueError `json:"invalidOperators,omitempty"`
ErrorMessages []ErrorMessage `json:"errorMessages,omitempty"`
+ // Indicates the federated search results could not be fetched due to rate limiting.
+ FederatedSearchRateLimitError *bool `json:"federatedSearchRateLimitError,omitempty"`
}
func (o *GleanDataError) GetBadGmailToken() *bool {
@@ -39,3 +41,10 @@ func (o *GleanDataError) GetErrorMessages() []ErrorMessage {
}
return o.ErrorMessages
}
+
+func (o *GleanDataError) GetFederatedSearchRateLimitError() *bool {
+ if o == nil {
+ return nil
+ }
+ return o.FederatedSearchRateLimitError
+}
diff --git a/src/__tests__/mockserver/internal/sdk/models/components/inputoptions.go b/src/__tests__/mockserver/internal/sdk/models/components/inputoptions.go
index a39771cd..e68d3d1b 100644
--- a/src/__tests__/mockserver/internal/sdk/models/components/inputoptions.go
+++ b/src/__tests__/mockserver/internal/sdk/models/components/inputoptions.go
@@ -87,6 +87,8 @@ type InputOptions struct {
// Type of time period for which to run the report/policy. PAST_DAY is deprecated.
TimePeriodType *InputOptionsTimePeriodType `json:"timePeriodType,omitempty"`
CustomTimeRange *TimeRange `json:"customTimeRange,omitempty"`
+ // Subset of document IDs to scan. If empty, all documents matching other scope criteria will be scanned.
+ SubsetDocIdsToScan []string `json:"subsetDocIdsToScan,omitempty"`
}
func (o *InputOptions) GetURLGreenlist() []string {
@@ -130,3 +132,10 @@ func (o *InputOptions) GetCustomTimeRange() *TimeRange {
}
return o.CustomTimeRange
}
+
+func (o *InputOptions) GetSubsetDocIdsToScan() []string {
+ if o == nil {
+ return nil
+ }
+ return o.SubsetDocIdsToScan
+}
diff --git a/src/__tests__/mockserver/internal/sdk/models/components/ugctype.go b/src/__tests__/mockserver/internal/sdk/models/components/ugctype.go
index e1cdc164..15fddb30 100644
--- a/src/__tests__/mockserver/internal/sdk/models/components/ugctype.go
+++ b/src/__tests__/mockserver/internal/sdk/models/components/ugctype.go
@@ -16,6 +16,7 @@ const (
UgcTypeShortcutsType UgcType = "SHORTCUTS_TYPE"
UgcTypeWorkflowsType UgcType = "WORKFLOWS_TYPE"
UgcTypePromptTemplatesType UgcType = "PROMPT_TEMPLATES_TYPE"
+ UgcTypePrismViewsType UgcType = "PRISM_VIEWS_TYPE"
)
func (e UgcType) ToPointer() *UgcType {
@@ -38,6 +39,8 @@ func (e *UgcType) UnmarshalJSON(data []byte) error {
case "WORKFLOWS_TYPE":
fallthrough
case "PROMPT_TEMPLATES_TYPE":
+ fallthrough
+ case "PRISM_VIEWS_TYPE":
*e = UgcType(v)
return nil
default:
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/addcollectionitems.go b/src/__tests__/mockserver/internal/sdk/models/operations/addcollectionitems.go
index fd74638a..5402c0c3 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/addcollectionitems.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/addcollectionitems.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type AddcollectionitemsRequest 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"`
+ // Data describing the add operation.
+ Body components.AddCollectionItemsRequest `request:"mediaType=application/json"`
+}
+
+func (o *AddcollectionitemsRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *AddcollectionitemsRequest) GetBody() components.AddCollectionItemsRequest {
+ if o == nil {
+ return components.AddCollectionItemsRequest{}
+ }
+ return o.Body
+}
+
type AddcollectionitemsResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/addverificationreminder.go b/src/__tests__/mockserver/internal/sdk/models/operations/addverificationreminder.go
index fb8ab5ad..5ac1bc76 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/addverificationreminder.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/addverificationreminder.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type AddverificationreminderRequest 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"`
+ // Details about the reminder.
+ Body components.ReminderRequest `request:"mediaType=application/json"`
+}
+
+func (o *AddverificationreminderRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *AddverificationreminderRequest) GetBody() components.ReminderRequest {
+ if o == nil {
+ return components.ReminderRequest{}
+ }
+ return o.Body
+}
+
type AddverificationreminderResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/adminsearch.go b/src/__tests__/mockserver/internal/sdk/models/operations/adminsearch.go
index 3a9fc431..d3bcae61 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/adminsearch.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/adminsearch.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type AdminsearchRequest 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"`
+ // Admin search request
+ Body components.SearchRequest `request:"mediaType=application/json"`
+}
+
+func (o *AdminsearchRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *AdminsearchRequest) GetBody() components.SearchRequest {
+ if o == nil {
+ return components.SearchRequest{}
+ }
+ return o.Body
+}
+
type AdminsearchResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/autocomplete.go b/src/__tests__/mockserver/internal/sdk/models/operations/autocomplete.go
index 106f5474..e056f244 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/autocomplete.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/autocomplete.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type AutocompleteRequest 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"`
+ // Autocomplete request
+ Body components.AutocompleteRequest `request:"mediaType=application/json"`
+}
+
+func (o *AutocompleteRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *AutocompleteRequest) GetBody() components.AutocompleteRequest {
+ if o == nil {
+ return components.AutocompleteRequest{}
+ }
+ return o.Body
+}
+
type AutocompleteResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/chat.go b/src/__tests__/mockserver/internal/sdk/models/operations/chat.go
index e8c31b57..571a9b9d 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/chat.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/chat.go
@@ -7,12 +7,21 @@ import (
)
type ChatRequest 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"`
// Includes chat history for Glean AI to respond to.
Body components.ChatRequest `request:"mediaType=application/json"`
}
+func (o *ChatRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
func (o *ChatRequest) GetTimezoneOffset() *int64 {
if o == nil {
return nil
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createannouncement.go b/src/__tests__/mockserver/internal/sdk/models/operations/createannouncement.go
index 86d9ba17..420e51a0 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/createannouncement.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/createannouncement.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type CreateannouncementRequest 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"`
+ // Announcement content
+ Body components.CreateAnnouncementRequest `request:"mediaType=application/json"`
+}
+
+func (o *CreateannouncementRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *CreateannouncementRequest) GetBody() components.CreateAnnouncementRequest {
+ if o == nil {
+ return components.CreateAnnouncementRequest{}
+ }
+ return o.Body
+}
+
type CreateannouncementResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createanswer.go b/src/__tests__/mockserver/internal/sdk/models/operations/createanswer.go
index 8abc5c94..6ae4843d 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/createanswer.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/createanswer.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type CreateanswerRequest 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"`
+ // CreateAnswer request
+ Body components.CreateAnswerRequest `request:"mediaType=application/json"`
+}
+
+func (o *CreateanswerRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *CreateanswerRequest) GetBody() components.CreateAnswerRequest {
+ if o == nil {
+ return components.CreateAnswerRequest{}
+ }
+ return o.Body
+}
+
type CreateanswerResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createcollection.go b/src/__tests__/mockserver/internal/sdk/models/operations/createcollection.go
index 04eaedbc..3b62bee2 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/createcollection.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/createcollection.go
@@ -9,6 +9,27 @@ import (
"mockserver/internal/sdk/utils"
)
+type CreatecollectionRequest 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"`
+ // Collection content plus any additional metadata for the request.
+ Body components.CreateCollectionRequest `request:"mediaType=application/json"`
+}
+
+func (o *CreatecollectionRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *CreatecollectionRequest) GetBody() components.CreateCollectionRequest {
+ if o == nil {
+ return components.CreateCollectionRequest{}
+ }
+ return o.Body
+}
+
type ResponseBody2 struct {
Collection *components.Collection `json:"collection,omitempty"`
Error components.CollectionError `json:"error"`
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createshortcut.go b/src/__tests__/mockserver/internal/sdk/models/operations/createshortcut.go
index b17cc638..4dead6af 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/createshortcut.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/createshortcut.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type CreateshortcutRequest 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"`
+ // CreateShortcut request
+ Body components.CreateShortcutRequest `request:"mediaType=application/json"`
+}
+
+func (o *CreateshortcutRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *CreateshortcutRequest) GetBody() components.CreateShortcutRequest {
+ if o == nil {
+ return components.CreateShortcutRequest{}
+ }
+ return o.Body
+}
+
type CreateshortcutResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deleteallchats.go b/src/__tests__/mockserver/internal/sdk/models/operations/deleteallchats.go
index d28cebb1..9a61eac0 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/deleteallchats.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/deleteallchats.go
@@ -7,10 +7,19 @@ import (
)
type DeleteallchatsRequest 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"`
}
+func (o *DeleteallchatsRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
func (o *DeleteallchatsRequest) GetTimezoneOffset() *int64 {
if o == nil {
return nil
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deleteannouncement.go b/src/__tests__/mockserver/internal/sdk/models/operations/deleteannouncement.go
index 774b4d1f..6df70f30 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/deleteannouncement.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/deleteannouncement.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type DeleteannouncementRequest 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"`
+ // Delete announcement request
+ Body components.DeleteAnnouncementRequest `request:"mediaType=application/json"`
+}
+
+func (o *DeleteannouncementRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *DeleteannouncementRequest) GetBody() components.DeleteAnnouncementRequest {
+ if o == nil {
+ return components.DeleteAnnouncementRequest{}
+ }
+ return o.Body
+}
+
type DeleteannouncementResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
}
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deleteanswer.go b/src/__tests__/mockserver/internal/sdk/models/operations/deleteanswer.go
index 46b181b2..c30ae2bb 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/deleteanswer.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/deleteanswer.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type DeleteanswerRequest 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"`
+ // DeleteAnswer request
+ Body components.DeleteAnswerRequest `request:"mediaType=application/json"`
+}
+
+func (o *DeleteanswerRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *DeleteanswerRequest) GetBody() components.DeleteAnswerRequest {
+ if o == nil {
+ return components.DeleteAnswerRequest{}
+ }
+ return o.Body
+}
+
type DeleteanswerResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
}
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deletechatfiles.go b/src/__tests__/mockserver/internal/sdk/models/operations/deletechatfiles.go
index 8d41828e..132474f4 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/deletechatfiles.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/deletechatfiles.go
@@ -7,11 +7,20 @@ import (
)
type DeletechatfilesRequest 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"`
Body components.DeleteChatFilesRequest `request:"mediaType=application/json"`
}
+func (o *DeletechatfilesRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
func (o *DeletechatfilesRequest) GetTimezoneOffset() *int64 {
if o == nil {
return nil
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deletechats.go b/src/__tests__/mockserver/internal/sdk/models/operations/deletechats.go
index 14372eaa..558b4262 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/deletechats.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/deletechats.go
@@ -7,11 +7,20 @@ import (
)
type DeletechatsRequest 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"`
Body components.DeleteChatsRequest `request:"mediaType=application/json"`
}
+func (o *DeletechatsRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
func (o *DeletechatsRequest) GetTimezoneOffset() *int64 {
if o == nil {
return nil
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deletecollection.go b/src/__tests__/mockserver/internal/sdk/models/operations/deletecollection.go
index b21f01fa..29f0e83d 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/deletecollection.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/deletecollection.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type DeletecollectionRequest 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"`
+ // DeleteCollection request
+ Body components.DeleteCollectionRequest `request:"mediaType=application/json"`
+}
+
+func (o *DeletecollectionRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *DeletecollectionRequest) GetBody() components.DeleteCollectionRequest {
+ if o == nil {
+ return components.DeleteCollectionRequest{}
+ }
+ return o.Body
+}
+
type DeletecollectionResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
}
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deletecollectionitem.go b/src/__tests__/mockserver/internal/sdk/models/operations/deletecollectionitem.go
index f9b6a404..ebc25f93 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/deletecollectionitem.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/deletecollectionitem.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type DeletecollectionitemRequest 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"`
+ // Data describing the delete operation.
+ Body components.DeleteCollectionItemRequest `request:"mediaType=application/json"`
+}
+
+func (o *DeletecollectionitemRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *DeletecollectionitemRequest) GetBody() components.DeleteCollectionItemRequest {
+ if o == nil {
+ return components.DeleteCollectionItemRequest{}
+ }
+ return o.Body
+}
+
type DeletecollectionitemResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deleteshortcut.go b/src/__tests__/mockserver/internal/sdk/models/operations/deleteshortcut.go
index 03a740b6..887e2faf 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/deleteshortcut.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/deleteshortcut.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type DeleteshortcutRequest 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"`
+ // DeleteShortcut request
+ Body components.DeleteShortcutRequest `request:"mediaType=application/json"`
+}
+
+func (o *DeleteshortcutRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *DeleteshortcutRequest) GetBody() components.DeleteShortcutRequest {
+ if o == nil {
+ return components.DeleteShortcutRequest{}
+ }
+ return o.Body
+}
+
type DeleteshortcutResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
}
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/editanswer.go b/src/__tests__/mockserver/internal/sdk/models/operations/editanswer.go
index 92a67c43..a012cd57 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/editanswer.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/editanswer.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type EditanswerRequest 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"`
+ // EditAnswer request
+ Body components.EditAnswerRequest `request:"mediaType=application/json"`
+}
+
+func (o *EditanswerRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *EditanswerRequest) GetBody() components.EditAnswerRequest {
+ if o == nil {
+ return components.EditAnswerRequest{}
+ }
+ return o.Body
+}
+
type EditanswerResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/editcollection.go b/src/__tests__/mockserver/internal/sdk/models/operations/editcollection.go
index 6b17b377..1009daa1 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/editcollection.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/editcollection.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type EditcollectionRequest 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"`
+ // Collection content plus any additional metadata for the request.
+ Body components.EditCollectionRequest `request:"mediaType=application/json"`
+}
+
+func (o *EditcollectionRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *EditcollectionRequest) GetBody() components.EditCollectionRequest {
+ if o == nil {
+ return components.EditCollectionRequest{}
+ }
+ return o.Body
+}
+
type EditcollectionResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/editcollectionitem.go b/src/__tests__/mockserver/internal/sdk/models/operations/editcollectionitem.go
index 8ac9f5a9..520900db 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/editcollectionitem.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/editcollectionitem.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type EditcollectionitemRequest 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"`
+ // Edit Collection Items request
+ Body components.EditCollectionItemRequest `request:"mediaType=application/json"`
+}
+
+func (o *EditcollectionitemRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *EditcollectionitemRequest) GetBody() components.EditCollectionItemRequest {
+ if o == nil {
+ return components.EditCollectionItemRequest{}
+ }
+ return o.Body
+}
+
type EditcollectionitemResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/editpin.go b/src/__tests__/mockserver/internal/sdk/models/operations/editpin.go
index 921ea93c..9105b336 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/editpin.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/editpin.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type EditpinRequest 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"`
+ // Edit pins request
+ Body components.EditPinRequest `request:"mediaType=application/json"`
+}
+
+func (o *EditpinRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *EditpinRequest) GetBody() components.EditPinRequest {
+ if o == nil {
+ return components.EditPinRequest{}
+ }
+ return o.Body
+}
+
type EditpinResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/feed.go b/src/__tests__/mockserver/internal/sdk/models/operations/feed.go
index 1d0cbfbf..8f7a3aa0 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/feed.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/feed.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type FeedRequest 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"`
+ // Includes request params, client data and more for making user's feed.
+ Body components.FeedRequest `request:"mediaType=application/json"`
+}
+
+func (o *FeedRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *FeedRequest) GetBody() components.FeedRequest {
+ if o == nil {
+ return components.FeedRequest{}
+ }
+ return o.Body
+}
+
type FeedResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getagent.go b/src/__tests__/mockserver/internal/sdk/models/operations/getagent.go
index 471bb945..6e79ed8b 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/getagent.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/getagent.go
@@ -7,12 +7,21 @@ import (
)
type GetAgentRequest 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"`
}
+func (o *GetAgentRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
func (o *GetAgentRequest) GetTimezoneOffset() *int64 {
if o == nil {
return nil
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getagentschemas.go b/src/__tests__/mockserver/internal/sdk/models/operations/getagentschemas.go
index b4aa8ea6..8b4bb0ad 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/getagentschemas.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/getagentschemas.go
@@ -7,12 +7,21 @@ import (
)
type GetAgentSchemasRequest 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"`
}
+func (o *GetAgentSchemasRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
func (o *GetAgentSchemasRequest) GetTimezoneOffset() *int64 {
if o == nil {
return nil
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getanswer.go b/src/__tests__/mockserver/internal/sdk/models/operations/getanswer.go
index ce29ef9f..2f3d1ba5 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/getanswer.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/getanswer.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type GetanswerRequest 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"`
+ // GetAnswer request
+ Body components.GetAnswerRequest `request:"mediaType=application/json"`
+}
+
+func (o *GetanswerRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *GetanswerRequest) GetBody() components.GetAnswerRequest {
+ if o == nil {
+ return components.GetAnswerRequest{}
+ }
+ return o.Body
+}
+
type GetanswerResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getchat.go b/src/__tests__/mockserver/internal/sdk/models/operations/getchat.go
index 0c696703..50686f34 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/getchat.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/getchat.go
@@ -7,11 +7,20 @@ import (
)
type GetchatRequest 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"`
Body components.GetChatRequest `request:"mediaType=application/json"`
}
+func (o *GetchatRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
func (o *GetchatRequest) GetTimezoneOffset() *int64 {
if o == nil {
return nil
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getchatapplication.go b/src/__tests__/mockserver/internal/sdk/models/operations/getchatapplication.go
index 4d4ddb97..43b8a32f 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/getchatapplication.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/getchatapplication.go
@@ -7,11 +7,20 @@ import (
)
type GetchatapplicationRequest 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"`
Body components.GetChatApplicationRequest `request:"mediaType=application/json"`
}
+func (o *GetchatapplicationRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
func (o *GetchatapplicationRequest) GetTimezoneOffset() *int64 {
if o == nil {
return nil
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getchatfiles.go b/src/__tests__/mockserver/internal/sdk/models/operations/getchatfiles.go
index 7ad91227..5ecbbe8d 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/getchatfiles.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/getchatfiles.go
@@ -7,11 +7,20 @@ import (
)
type GetchatfilesRequest 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"`
Body components.GetChatFilesRequest `request:"mediaType=application/json"`
}
+func (o *GetchatfilesRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
func (o *GetchatfilesRequest) GetTimezoneOffset() *int64 {
if o == nil {
return nil
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getcollection.go b/src/__tests__/mockserver/internal/sdk/models/operations/getcollection.go
index 38e38763..6b70b3c9 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/getcollection.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/getcollection.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type GetcollectionRequest 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"`
+ // GetCollection request
+ Body components.GetCollectionRequest `request:"mediaType=application/json"`
+}
+
+func (o *GetcollectionRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *GetcollectionRequest) GetBody() components.GetCollectionRequest {
+ if o == nil {
+ return components.GetCollectionRequest{}
+ }
+ return o.Body
+}
+
type GetcollectionResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getdocpermissions.go b/src/__tests__/mockserver/internal/sdk/models/operations/getdocpermissions.go
index a509a3a7..e615fcc1 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/getdocpermissions.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/getdocpermissions.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type GetdocpermissionsRequest 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"`
+ // Document permissions request
+ Body components.GetDocPermissionsRequest `request:"mediaType=application/json"`
+}
+
+func (o *GetdocpermissionsRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *GetdocpermissionsRequest) GetBody() components.GetDocPermissionsRequest {
+ if o == nil {
+ return components.GetDocPermissionsRequest{}
+ }
+ return o.Body
+}
+
type GetdocpermissionsResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getdocuments.go b/src/__tests__/mockserver/internal/sdk/models/operations/getdocuments.go
index a2ef5c08..87367f5e 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/getdocuments.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/getdocuments.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type GetdocumentsRequest 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"`
+ // Information about documents requested.
+ Body *components.GetDocumentsRequest `request:"mediaType=application/json"`
+}
+
+func (o *GetdocumentsRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *GetdocumentsRequest) GetBody() *components.GetDocumentsRequest {
+ if o == nil {
+ return nil
+ }
+ return o.Body
+}
+
type GetdocumentsResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getdocumentsbyfacets.go b/src/__tests__/mockserver/internal/sdk/models/operations/getdocumentsbyfacets.go
index 12629e29..4c3deeb2 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/getdocumentsbyfacets.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/getdocumentsbyfacets.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type GetdocumentsbyfacetsRequest 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"`
+ // Information about facet conditions for documents to be retrieved.
+ Body *components.GetDocumentsByFacetsRequest `request:"mediaType=application/json"`
+}
+
+func (o *GetdocumentsbyfacetsRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *GetdocumentsbyfacetsRequest) GetBody() *components.GetDocumentsByFacetsRequest {
+ if o == nil {
+ return nil
+ }
+ return o.Body
+}
+
type GetdocumentsbyfacetsResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getpin.go b/src/__tests__/mockserver/internal/sdk/models/operations/getpin.go
index 9ccb680e..0292ece8 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/getpin.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/getpin.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type GetpinRequest 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"`
+ // Get pin request
+ Body components.GetPinRequest `request:"mediaType=application/json"`
+}
+
+func (o *GetpinRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *GetpinRequest) GetBody() components.GetPinRequest {
+ if o == nil {
+ return components.GetPinRequest{}
+ }
+ return o.Body
+}
+
type GetpinResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getshortcut.go b/src/__tests__/mockserver/internal/sdk/models/operations/getshortcut.go
index 032c32c5..feebc437 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/getshortcut.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/getshortcut.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type GetshortcutRequest 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"`
+ // GetShortcut request
+ Body components.GetShortcutRequestUnion `request:"mediaType=application/json"`
+}
+
+func (o *GetshortcutRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *GetshortcutRequest) GetBody() components.GetShortcutRequestUnion {
+ if o == nil {
+ return components.GetShortcutRequestUnion{}
+ }
+ return o.Body
+}
+
type GetshortcutResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/insights.go b/src/__tests__/mockserver/internal/sdk/models/operations/insights.go
index 0f883502..e644932e 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/insights.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/insights.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type InsightsRequest 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"`
+ // Includes request parameters for insights requests.
+ Body components.InsightsRequest `request:"mediaType=application/json"`
+}
+
+func (o *InsightsRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *InsightsRequest) GetBody() components.InsightsRequest {
+ if o == nil {
+ return components.InsightsRequest{}
+ }
+ return o.Body
+}
+
type InsightsResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/listanswers.go b/src/__tests__/mockserver/internal/sdk/models/operations/listanswers.go
index 2229cf7f..f001b009 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/listanswers.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/listanswers.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type ListanswersRequest 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"`
+ // ListAnswers request
+ Body components.ListAnswersRequest `request:"mediaType=application/json"`
+}
+
+func (o *ListanswersRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *ListanswersRequest) GetBody() components.ListAnswersRequest {
+ if o == nil {
+ return components.ListAnswersRequest{}
+ }
+ return o.Body
+}
+
type ListanswersResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/listchats.go b/src/__tests__/mockserver/internal/sdk/models/operations/listchats.go
index 36a64f6c..404637d2 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/listchats.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/listchats.go
@@ -7,10 +7,19 @@ import (
)
type ListchatsRequest 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"`
}
+func (o *ListchatsRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
func (o *ListchatsRequest) GetTimezoneOffset() *int64 {
if o == nil {
return nil
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/listcollections.go b/src/__tests__/mockserver/internal/sdk/models/operations/listcollections.go
index 9efddbd6..423a2c49 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/listcollections.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/listcollections.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type ListcollectionsRequest 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"`
+ // ListCollections request
+ Body components.ListCollectionsRequest `request:"mediaType=application/json"`
+}
+
+func (o *ListcollectionsRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *ListcollectionsRequest) GetBody() components.ListCollectionsRequest {
+ if o == nil {
+ return components.ListCollectionsRequest{}
+ }
+ return o.Body
+}
+
type ListcollectionsResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/listentities.go b/src/__tests__/mockserver/internal/sdk/models/operations/listentities.go
index d05441f9..ee93a302 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/listentities.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/listentities.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type ListentitiesRequest 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"`
+ // List people request
+ Body components.ListEntitiesRequest `request:"mediaType=application/json"`
+}
+
+func (o *ListentitiesRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *ListentitiesRequest) GetBody() components.ListEntitiesRequest {
+ if o == nil {
+ return components.ListEntitiesRequest{}
+ }
+ return o.Body
+}
+
type ListentitiesResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/listpins.go b/src/__tests__/mockserver/internal/sdk/models/operations/listpins.go
index 45c93a45..ea87433e 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/listpins.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/listpins.go
@@ -6,8 +6,29 @@ import (
"mockserver/internal/sdk/models/components"
)
-// ListpinsRequest - List pins request
+// ListpinsRequestBody - List pins request
+type ListpinsRequestBody struct {
+}
+
type ListpinsRequest 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"`
+ // List pins request
+ Body ListpinsRequestBody `request:"mediaType=application/json"`
+}
+
+func (o *ListpinsRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *ListpinsRequest) GetBody() ListpinsRequestBody {
+ if o == nil {
+ return ListpinsRequestBody{}
+ }
+ return o.Body
}
type ListpinsResponse struct {
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/listshortcuts.go b/src/__tests__/mockserver/internal/sdk/models/operations/listshortcuts.go
index a5b0962f..216616d5 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/listshortcuts.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/listshortcuts.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type ListshortcutsRequest 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"`
+ // Filters, sorters, paging params required for pagination
+ Body components.ListShortcutsPaginatedRequest `request:"mediaType=application/json"`
+}
+
+func (o *ListshortcutsRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *ListshortcutsRequest) GetBody() components.ListShortcutsPaginatedRequest {
+ if o == nil {
+ return components.ListShortcutsPaginatedRequest{}
+ }
+ return o.Body
+}
+
type ListshortcutsResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/listverifications.go b/src/__tests__/mockserver/internal/sdk/models/operations/listverifications.go
index 13015ee5..9ca1324d 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/listverifications.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/listverifications.go
@@ -9,6 +9,8 @@ import (
type ListverificationsRequest struct {
// Maximum number of documents to return
Count *int64 `queryParam:"style=form,explode=true,name=count"`
+ // 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"`
}
func (o *ListverificationsRequest) GetCount() *int64 {
@@ -18,6 +20,13 @@ func (o *ListverificationsRequest) GetCount() *int64 {
return o.Count
}
+func (o *ListverificationsRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
type ListverificationsResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/messages.go b/src/__tests__/mockserver/internal/sdk/models/operations/messages.go
index c33c0888..f978753b 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/messages.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/messages.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type MessagesRequest 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"`
+ // Includes request params such as the id for channel/message and direction.
+ Body components.MessagesRequest `request:"mediaType=application/json"`
+}
+
+func (o *MessagesRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *MessagesRequest) GetBody() components.MessagesRequest {
+ if o == nil {
+ return components.MessagesRequest{}
+ }
+ return o.Body
+}
+
type MessagesResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/people.go b/src/__tests__/mockserver/internal/sdk/models/operations/people.go
index fe1bf61d..bfd1b518 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/people.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/people.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type PeopleRequest 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"`
+ // People request
+ Body components.PeopleRequest `request:"mediaType=application/json"`
+}
+
+func (o *PeopleRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *PeopleRequest) GetBody() components.PeopleRequest {
+ if o == nil {
+ return components.PeopleRequest{}
+ }
+ return o.Body
+}
+
type PeopleResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/pin.go b/src/__tests__/mockserver/internal/sdk/models/operations/pin.go
index ba2d47e1..d6f74b3f 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/pin.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/pin.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type PinRequest 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"`
+ // Details about the document and query for the pin.
+ Body components.PinRequest `request:"mediaType=application/json"`
+}
+
+func (o *PinRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *PinRequest) GetBody() components.PinRequest {
+ if o == nil {
+ return components.PinRequest{}
+ }
+ return o.Body
+}
+
type PinResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/recommendations.go b/src/__tests__/mockserver/internal/sdk/models/operations/recommendations.go
index 9c74d480..1a7d11cd 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/recommendations.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/recommendations.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type RecommendationsRequest 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"`
+ // Recommendations request
+ Body components.RecommendationsRequest `request:"mediaType=application/json"`
+}
+
+func (o *RecommendationsRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *RecommendationsRequest) GetBody() components.RecommendationsRequest {
+ if o == nil {
+ return components.RecommendationsRequest{}
+ }
+ return o.Body
+}
+
type RecommendationsResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/search.go b/src/__tests__/mockserver/internal/sdk/models/operations/search.go
index 6b1d9873..7467c541 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/search.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/search.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type SearchRequest 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"`
+ // Search request
+ Body components.SearchRequest `request:"mediaType=application/json"`
+}
+
+func (o *SearchRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *SearchRequest) GetBody() components.SearchRequest {
+ if o == nil {
+ return components.SearchRequest{}
+ }
+ return o.Body
+}
+
type SearchResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/summarize.go b/src/__tests__/mockserver/internal/sdk/models/operations/summarize.go
index 90cc598d..9bd6a38a 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/summarize.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/summarize.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type SummarizeRequest 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"`
+ // Includes request params such as the query and specs of the documents to summarize.
+ Body components.SummarizeRequest `request:"mediaType=application/json"`
+}
+
+func (o *SummarizeRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *SummarizeRequest) GetBody() components.SummarizeRequest {
+ if o == nil {
+ return components.SummarizeRequest{}
+ }
+ return o.Body
+}
+
type SummarizeResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/unpin.go b/src/__tests__/mockserver/internal/sdk/models/operations/unpin.go
index 4bff2a3c..f6aeca75 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/unpin.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/unpin.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type UnpinRequest 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"`
+ // Details about the pin being unpinned.
+ Body components.Unpin `request:"mediaType=application/json"`
+}
+
+func (o *UnpinRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *UnpinRequest) GetBody() components.Unpin {
+ if o == nil {
+ return components.Unpin{}
+ }
+ return o.Body
+}
+
type UnpinResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
}
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateannouncement.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateannouncement.go
index 927436ef..4cc872ff 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/updateannouncement.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateannouncement.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type UpdateannouncementRequest 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"`
+ // Announcement content. Id need to be specified for the announcement.
+ Body components.UpdateAnnouncementRequest `request:"mediaType=application/json"`
+}
+
+func (o *UpdateannouncementRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *UpdateannouncementRequest) GetBody() components.UpdateAnnouncementRequest {
+ if o == nil {
+ return components.UpdateAnnouncementRequest{}
+ }
+ return o.Body
+}
+
type UpdateannouncementResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateshortcut.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateshortcut.go
index ebfd6f72..f16ddd5e 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/updateshortcut.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateshortcut.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type UpdateshortcutRequest 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"`
+ // Shortcut content. Id need to be specified for the shortcut.
+ Body components.UpdateShortcutRequest `request:"mediaType=application/json"`
+}
+
+func (o *UpdateshortcutRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *UpdateshortcutRequest) GetBody() components.UpdateShortcutRequest {
+ if o == nil {
+ return components.UpdateShortcutRequest{}
+ }
+ return o.Body
+}
+
type UpdateshortcutResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/uploadchatfiles.go b/src/__tests__/mockserver/internal/sdk/models/operations/uploadchatfiles.go
index ec14b549..24142696 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/uploadchatfiles.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/uploadchatfiles.go
@@ -7,11 +7,20 @@ import (
)
type UploadchatfilesRequest 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"`
Body components.UploadChatFilesRequest `request:"mediaType=multipart/form-data"`
}
+func (o *UploadchatfilesRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
func (o *UploadchatfilesRequest) GetTimezoneOffset() *int64 {
if o == nil {
return nil
diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/verify.go b/src/__tests__/mockserver/internal/sdk/models/operations/verify.go
index 1f2fc93e..502b190f 100644
--- a/src/__tests__/mockserver/internal/sdk/models/operations/verify.go
+++ b/src/__tests__/mockserver/internal/sdk/models/operations/verify.go
@@ -6,6 +6,27 @@ import (
"mockserver/internal/sdk/models/components"
)
+type VerifyRequest 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"`
+ // Details about the verification request.
+ Body components.VerifyRequest `request:"mediaType=application/json"`
+}
+
+func (o *VerifyRequest) GetLocale() *string {
+ if o == nil {
+ return nil
+ }
+ return o.Locale
+}
+
+func (o *VerifyRequest) GetBody() components.VerifyRequest {
+ if o == nil {
+ return components.VerifyRequest{}
+ }
+ return o.Body
+}
+
type VerifyResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/gleandataerror.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/gleandataerror.go
index 5870c8ac..05af2574 100644
--- a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/gleandataerror.go
+++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/gleandataerror.go
@@ -15,7 +15,9 @@ type GleanDataError struct {
// Indicates results could not be fetched due to invalid operators in the query.
InvalidOperators []components.InvalidOperatorValueError `json:"invalidOperators,omitempty"`
ErrorMessages []components.ErrorMessage `json:"errorMessages,omitempty"`
- HTTPMeta components.HTTPMetadata `json:"-"`
+ // Indicates the federated search results could not be fetched due to rate limiting.
+ FederatedSearchRateLimitError *bool `json:"federatedSearchRateLimitError,omitempty"`
+ HTTPMeta components.HTTPMetadata `json:"-"`
}
var _ error = &GleanDataError{}
diff --git a/src/__tests__/mockserver/internal/sdk/utils/json.go b/src/__tests__/mockserver/internal/sdk/utils/json.go
index f7ecd042..84d12928 100644
--- a/src/__tests__/mockserver/internal/sdk/utils/json.go
+++ b/src/__tests__/mockserver/internal/sdk/utils/json.go
@@ -426,6 +426,9 @@ func handleDefaultConstValue(tagValue string, val interface{}, tag reflect.Struc
return []byte(fmt.Sprintf(`"%s"`, tagValue))
default:
if typ.Kind() == reflect.String {
+ if strings.HasPrefix(tagValue, "\"") && strings.HasSuffix(tagValue, "\"") {
+ return []byte(tagValue)
+ }
return []byte(fmt.Sprintf("%q", tagValue))
}
}
diff --git a/src/__tests__/summarize.test.ts b/src/__tests__/summarize.test.ts
index 7c2057b7..49c0ea42 100644
--- a/src/__tests__/summarize.test.ts
+++ b/src/__tests__/summarize.test.ts
@@ -18,10 +18,10 @@ test("Summarize Summarize", async () => {
const result = await glean.client.documents.summarize({
documentSpecs: [
{
- url: "https://dim-glider.com/",
+ url: "https://educated-laughter.info/",
},
{
- id: "",
+ url: "https://educated-laughter.info/",
},
],
});
diff --git a/src/funcs/clientAgentsRetrieve.ts b/src/funcs/clientAgentsRetrieve.ts
index f0f928f2..d0c862f9 100644
--- a/src/funcs/clientAgentsRetrieve.ts
+++ b/src/funcs/clientAgentsRetrieve.ts
@@ -34,6 +34,7 @@ import { Result } from "../types/fp.js";
export function clientAgentsRetrieve(
client: GleanCore,
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): APIPromise<
@@ -52,6 +53,7 @@ export function clientAgentsRetrieve(
return new APIPromise($do(
client,
agentId,
+ locale,
timezoneOffset,
options,
));
@@ -60,6 +62,7 @@ export function clientAgentsRetrieve(
async function $do(
client: GleanCore,
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise<
@@ -80,6 +83,7 @@ async function $do(
> {
const input: operations.GetAgentRequest = {
agentId: agentId,
+ locale: locale,
timezoneOffset: timezoneOffset,
};
@@ -104,6 +108,7 @@ async function $do(
const path = pathToFunc("/rest/api/v1/agents/{agent_id}")(pathParams);
const query = encodeFormQuery({
+ "locale": payload.locale,
"timezoneOffset": payload.timezoneOffset,
});
diff --git a/src/funcs/clientAgentsRetrieveSchemas.ts b/src/funcs/clientAgentsRetrieveSchemas.ts
index 4c50930b..7cb2f16e 100644
--- a/src/funcs/clientAgentsRetrieveSchemas.ts
+++ b/src/funcs/clientAgentsRetrieveSchemas.ts
@@ -34,6 +34,7 @@ import { Result } from "../types/fp.js";
export function clientAgentsRetrieveSchemas(
client: GleanCore,
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): APIPromise<
@@ -52,6 +53,7 @@ export function clientAgentsRetrieveSchemas(
return new APIPromise($do(
client,
agentId,
+ locale,
timezoneOffset,
options,
));
@@ -60,6 +62,7 @@ export function clientAgentsRetrieveSchemas(
async function $do(
client: GleanCore,
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise<
@@ -80,6 +83,7 @@ async function $do(
> {
const input: operations.GetAgentSchemasRequest = {
agentId: agentId,
+ locale: locale,
timezoneOffset: timezoneOffset,
};
@@ -104,6 +108,7 @@ async function $do(
const path = pathToFunc("/rest/api/v1/agents/{agent_id}/schemas")(pathParams);
const query = encodeFormQuery({
+ "locale": payload.locale,
"timezoneOffset": payload.timezoneOffset,
});
diff --git a/src/funcs/clientAnnouncementsCreate.ts b/src/funcs/clientAnnouncementsCreate.ts
index f5524c94..cf79c4d3 100644
--- a/src/funcs/clientAnnouncementsCreate.ts
+++ b/src/funcs/clientAnnouncementsCreate.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientAnnouncementsCreate(
client: GleanCore,
- request: components.CreateAnnouncementRequest,
+ createAnnouncementRequest: components.CreateAnnouncementRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientAnnouncementsCreate(
> {
return new APIPromise($do(
client,
- request,
+ createAnnouncementRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.CreateAnnouncementRequest,
+ createAnnouncementRequest: components.CreateAnnouncementRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.CreateannouncementRequest = {
+ createAnnouncementRequest: createAnnouncementRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.CreateAnnouncementRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.CreateannouncementRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.CreateAnnouncementRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/createannouncement")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientAnnouncementsDelete.ts b/src/funcs/clientAnnouncementsDelete.ts
index 32448a9c..d9cdccba 100644
--- a/src/funcs/clientAnnouncementsDelete.ts
+++ b/src/funcs/clientAnnouncementsDelete.ts
@@ -4,7 +4,7 @@
import * as z from "zod/v3";
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -22,6 +22,7 @@ import {
} 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";
@@ -33,7 +34,8 @@ import { Result } from "../types/fp.js";
*/
export function clientAnnouncementsDelete(
client: GleanCore,
- request: components.DeleteAnnouncementRequest,
+ deleteAnnouncementRequest: components.DeleteAnnouncementRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -50,14 +52,16 @@ export function clientAnnouncementsDelete(
> {
return new APIPromise($do(
client,
- request,
+ deleteAnnouncementRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.DeleteAnnouncementRequest,
+ deleteAnnouncementRequest: components.DeleteAnnouncementRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -75,19 +79,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.DeleteannouncementRequest = {
+ deleteAnnouncementRequest: deleteAnnouncementRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.DeleteAnnouncementRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.DeleteannouncementRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.DeleteAnnouncementRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/deleteannouncement")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "*/*",
@@ -118,6 +133,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientAnnouncementsUpdate.ts b/src/funcs/clientAnnouncementsUpdate.ts
index 67941e71..8135039c 100644
--- a/src/funcs/clientAnnouncementsUpdate.ts
+++ b/src/funcs/clientAnnouncementsUpdate.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientAnnouncementsUpdate(
client: GleanCore,
- request: components.UpdateAnnouncementRequest,
+ updateAnnouncementRequest: components.UpdateAnnouncementRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientAnnouncementsUpdate(
> {
return new APIPromise($do(
client,
- request,
+ updateAnnouncementRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.UpdateAnnouncementRequest,
+ updateAnnouncementRequest: components.UpdateAnnouncementRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.UpdateannouncementRequest = {
+ updateAnnouncementRequest: updateAnnouncementRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.UpdateAnnouncementRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.UpdateannouncementRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.UpdateAnnouncementRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/updateannouncement")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientAnswersCreate.ts b/src/funcs/clientAnswersCreate.ts
index 28ace2c4..b473a8ef 100644
--- a/src/funcs/clientAnswersCreate.ts
+++ b/src/funcs/clientAnswersCreate.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientAnswersCreate(
client: GleanCore,
- request: components.CreateAnswerRequest,
+ createAnswerRequest: components.CreateAnswerRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientAnswersCreate(
> {
return new APIPromise($do(
client,
- request,
+ createAnswerRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.CreateAnswerRequest,
+ createAnswerRequest: components.CreateAnswerRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.CreateanswerRequest = {
+ createAnswerRequest: createAnswerRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.CreateAnswerRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.CreateanswerRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.CreateAnswerRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/createanswer")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientAnswersDelete.ts b/src/funcs/clientAnswersDelete.ts
index 03c428ff..b7717f10 100644
--- a/src/funcs/clientAnswersDelete.ts
+++ b/src/funcs/clientAnswersDelete.ts
@@ -4,7 +4,7 @@
import * as z from "zod/v3";
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -22,6 +22,7 @@ import {
} 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";
@@ -33,7 +34,8 @@ import { Result } from "../types/fp.js";
*/
export function clientAnswersDelete(
client: GleanCore,
- request: components.DeleteAnswerRequest,
+ deleteAnswerRequest: components.DeleteAnswerRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -50,14 +52,16 @@ export function clientAnswersDelete(
> {
return new APIPromise($do(
client,
- request,
+ deleteAnswerRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.DeleteAnswerRequest,
+ deleteAnswerRequest: components.DeleteAnswerRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -75,19 +79,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.DeleteanswerRequest = {
+ deleteAnswerRequest: deleteAnswerRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.DeleteAnswerRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.DeleteanswerRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.DeleteAnswerRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/deleteanswer")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "*/*",
@@ -118,6 +133,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientAnswersList.ts b/src/funcs/clientAnswersList.ts
index 1e486598..53cabe6d 100644
--- a/src/funcs/clientAnswersList.ts
+++ b/src/funcs/clientAnswersList.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -30,11 +31,12 @@ import { Result } from "../types/fp.js";
* @remarks
* List Answers created by the current user.
*
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
+ * @deprecated method: Deprecated on 2026-01-21, removal scheduled for 2026-10-15: Answer boards have been removed and this endpoint no longer serves a purpose.
*/
export function clientAnswersList(
client: GleanCore,
- request: components.ListAnswersRequest,
+ listAnswersRequest: components.ListAnswersRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -51,14 +53,16 @@ export function clientAnswersList(
> {
return new APIPromise($do(
client,
- request,
+ listAnswersRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.ListAnswersRequest,
+ listAnswersRequest: components.ListAnswersRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -76,19 +80,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.ListanswersRequest = {
+ listAnswersRequest: listAnswersRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.ListAnswersRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.ListanswersRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.ListAnswersRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/listanswers")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -119,6 +134,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientAnswersRetrieve.ts b/src/funcs/clientAnswersRetrieve.ts
index b77d4cac..3eebd453 100644
--- a/src/funcs/clientAnswersRetrieve.ts
+++ b/src/funcs/clientAnswersRetrieve.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientAnswersRetrieve(
client: GleanCore,
- request: components.GetAnswerRequest,
+ getAnswerRequest: components.GetAnswerRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientAnswersRetrieve(
> {
return new APIPromise($do(
client,
- request,
+ getAnswerRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.GetAnswerRequest,
+ getAnswerRequest: components.GetAnswerRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.GetanswerRequest = {
+ getAnswerRequest: getAnswerRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.GetAnswerRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.GetanswerRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.GetAnswerRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/getanswer")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +130,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientAnswersUpdate.ts b/src/funcs/clientAnswersUpdate.ts
index fb11f539..40d6b7f8 100644
--- a/src/funcs/clientAnswersUpdate.ts
+++ b/src/funcs/clientAnswersUpdate.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientAnswersUpdate(
client: GleanCore,
- request: components.EditAnswerRequest,
+ editAnswerRequest: components.EditAnswerRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientAnswersUpdate(
> {
return new APIPromise($do(
client,
- request,
+ editAnswerRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.EditAnswerRequest,
+ editAnswerRequest: components.EditAnswerRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.EditanswerRequest = {
+ editAnswerRequest: editAnswerRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.EditAnswerRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.EditanswerRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.EditAnswerRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/editanswer")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +130,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientChatCreate.ts b/src/funcs/clientChatCreate.ts
index ec42cd5c..e1be0b7c 100644
--- a/src/funcs/clientChatCreate.ts
+++ b/src/funcs/clientChatCreate.ts
@@ -34,6 +34,7 @@ import { Result } from "../types/fp.js";
export function clientChatCreate(
client: GleanCore,
chatRequest: components.ChatRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): APIPromise<
@@ -52,6 +53,7 @@ export function clientChatCreate(
return new APIPromise($do(
client,
chatRequest,
+ locale,
timezoneOffset,
options,
));
@@ -60,6 +62,7 @@ export function clientChatCreate(
async function $do(
client: GleanCore,
chatRequest: components.ChatRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise<
@@ -80,6 +83,7 @@ async function $do(
> {
const input: operations.ChatRequest = {
chatRequest: chatRequest,
+ locale: locale,
timezoneOffset: timezoneOffset,
};
@@ -97,6 +101,7 @@ async function $do(
const path = pathToFunc("/rest/api/v1/chat")();
const query = encodeFormQuery({
+ "locale": payload.locale,
"timezoneOffset": payload.timezoneOffset,
});
diff --git a/src/funcs/clientChatDelete.ts b/src/funcs/clientChatDelete.ts
index 522b1eb4..d0d29e3c 100644
--- a/src/funcs/clientChatDelete.ts
+++ b/src/funcs/clientChatDelete.ts
@@ -35,6 +35,7 @@ import { Result } from "../types/fp.js";
export function clientChatDelete(
client: GleanCore,
deleteChatsRequest: components.DeleteChatsRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): APIPromise<
@@ -53,6 +54,7 @@ export function clientChatDelete(
return new APIPromise($do(
client,
deleteChatsRequest,
+ locale,
timezoneOffset,
options,
));
@@ -61,6 +63,7 @@ export function clientChatDelete(
async function $do(
client: GleanCore,
deleteChatsRequest: components.DeleteChatsRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise<
@@ -81,6 +84,7 @@ async function $do(
> {
const input: operations.DeletechatsRequest = {
deleteChatsRequest: deleteChatsRequest,
+ locale: locale,
timezoneOffset: timezoneOffset,
};
@@ -100,6 +104,7 @@ async function $do(
const path = pathToFunc("/rest/api/v1/deletechats")();
const query = encodeFormQuery({
+ "locale": payload.locale,
"timezoneOffset": payload.timezoneOffset,
});
diff --git a/src/funcs/clientChatDeleteAll.ts b/src/funcs/clientChatDeleteAll.ts
index ff80f1a4..f961f54d 100644
--- a/src/funcs/clientChatDeleteAll.ts
+++ b/src/funcs/clientChatDeleteAll.ts
@@ -33,6 +33,7 @@ import { Result } from "../types/fp.js";
*/
export function clientChatDeleteAll(
client: GleanCore,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): APIPromise<
@@ -50,6 +51,7 @@ export function clientChatDeleteAll(
> {
return new APIPromise($do(
client,
+ locale,
timezoneOffset,
options,
));
@@ -57,6 +59,7 @@ export function clientChatDeleteAll(
async function $do(
client: GleanCore,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise<
@@ -76,6 +79,7 @@ async function $do(
]
> {
const input: operations.DeleteallchatsRequest = {
+ locale: locale,
timezoneOffset: timezoneOffset,
};
@@ -93,6 +97,7 @@ async function $do(
const path = pathToFunc("/rest/api/v1/deleteallchats")();
const query = encodeFormQuery({
+ "locale": payload.locale,
"timezoneOffset": payload.timezoneOffset,
});
diff --git a/src/funcs/clientChatDeleteFiles.ts b/src/funcs/clientChatDeleteFiles.ts
index cb18dc31..a714bae6 100644
--- a/src/funcs/clientChatDeleteFiles.ts
+++ b/src/funcs/clientChatDeleteFiles.ts
@@ -35,6 +35,7 @@ import { Result } from "../types/fp.js";
export function clientChatDeleteFiles(
client: GleanCore,
deleteChatFilesRequest: components.DeleteChatFilesRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): APIPromise<
@@ -53,6 +54,7 @@ export function clientChatDeleteFiles(
return new APIPromise($do(
client,
deleteChatFilesRequest,
+ locale,
timezoneOffset,
options,
));
@@ -61,6 +63,7 @@ export function clientChatDeleteFiles(
async function $do(
client: GleanCore,
deleteChatFilesRequest: components.DeleteChatFilesRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise<
@@ -81,6 +84,7 @@ async function $do(
> {
const input: operations.DeletechatfilesRequest = {
deleteChatFilesRequest: deleteChatFilesRequest,
+ locale: locale,
timezoneOffset: timezoneOffset,
};
@@ -100,6 +104,7 @@ async function $do(
const path = pathToFunc("/rest/api/v1/deletechatfiles")();
const query = encodeFormQuery({
+ "locale": payload.locale,
"timezoneOffset": payload.timezoneOffset,
});
diff --git a/src/funcs/clientChatList.ts b/src/funcs/clientChatList.ts
index aa6ca44f..5fdbe491 100644
--- a/src/funcs/clientChatList.ts
+++ b/src/funcs/clientChatList.ts
@@ -33,6 +33,7 @@ import { Result } from "../types/fp.js";
*/
export function clientChatList(
client: GleanCore,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): APIPromise<
@@ -50,6 +51,7 @@ export function clientChatList(
> {
return new APIPromise($do(
client,
+ locale,
timezoneOffset,
options,
));
@@ -57,6 +59,7 @@ export function clientChatList(
async function $do(
client: GleanCore,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise<
@@ -76,6 +79,7 @@ async function $do(
]
> {
const input: operations.ListchatsRequest = {
+ locale: locale,
timezoneOffset: timezoneOffset,
};
@@ -93,6 +97,7 @@ async function $do(
const path = pathToFunc("/rest/api/v1/listchats")();
const query = encodeFormQuery({
+ "locale": payload.locale,
"timezoneOffset": payload.timezoneOffset,
});
diff --git a/src/funcs/clientChatRetrieve.ts b/src/funcs/clientChatRetrieve.ts
index fb20dc0d..26c12f48 100644
--- a/src/funcs/clientChatRetrieve.ts
+++ b/src/funcs/clientChatRetrieve.ts
@@ -34,6 +34,7 @@ import { Result } from "../types/fp.js";
export function clientChatRetrieve(
client: GleanCore,
getChatRequest: components.GetChatRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): APIPromise<
@@ -52,6 +53,7 @@ export function clientChatRetrieve(
return new APIPromise($do(
client,
getChatRequest,
+ locale,
timezoneOffset,
options,
));
@@ -60,6 +62,7 @@ export function clientChatRetrieve(
async function $do(
client: GleanCore,
getChatRequest: components.GetChatRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise<
@@ -80,6 +83,7 @@ async function $do(
> {
const input: operations.GetchatRequest = {
getChatRequest: getChatRequest,
+ locale: locale,
timezoneOffset: timezoneOffset,
};
@@ -97,6 +101,7 @@ async function $do(
const path = pathToFunc("/rest/api/v1/getchat")();
const query = encodeFormQuery({
+ "locale": payload.locale,
"timezoneOffset": payload.timezoneOffset,
});
diff --git a/src/funcs/clientChatRetrieveApplication.ts b/src/funcs/clientChatRetrieveApplication.ts
index 253c64a2..134b67c1 100644
--- a/src/funcs/clientChatRetrieveApplication.ts
+++ b/src/funcs/clientChatRetrieveApplication.ts
@@ -34,6 +34,7 @@ import { Result } from "../types/fp.js";
export function clientChatRetrieveApplication(
client: GleanCore,
getChatApplicationRequest: components.GetChatApplicationRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): APIPromise<
@@ -52,6 +53,7 @@ export function clientChatRetrieveApplication(
return new APIPromise($do(
client,
getChatApplicationRequest,
+ locale,
timezoneOffset,
options,
));
@@ -60,6 +62,7 @@ export function clientChatRetrieveApplication(
async function $do(
client: GleanCore,
getChatApplicationRequest: components.GetChatApplicationRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise<
@@ -80,6 +83,7 @@ async function $do(
> {
const input: operations.GetchatapplicationRequest = {
getChatApplicationRequest: getChatApplicationRequest,
+ locale: locale,
timezoneOffset: timezoneOffset,
};
@@ -99,6 +103,7 @@ async function $do(
const path = pathToFunc("/rest/api/v1/getchatapplication")();
const query = encodeFormQuery({
+ "locale": payload.locale,
"timezoneOffset": payload.timezoneOffset,
});
diff --git a/src/funcs/clientChatRetrieveFiles.ts b/src/funcs/clientChatRetrieveFiles.ts
index 6d33c29b..c081da5f 100644
--- a/src/funcs/clientChatRetrieveFiles.ts
+++ b/src/funcs/clientChatRetrieveFiles.ts
@@ -34,6 +34,7 @@ import { Result } from "../types/fp.js";
export function clientChatRetrieveFiles(
client: GleanCore,
getChatFilesRequest: components.GetChatFilesRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): APIPromise<
@@ -52,6 +53,7 @@ export function clientChatRetrieveFiles(
return new APIPromise($do(
client,
getChatFilesRequest,
+ locale,
timezoneOffset,
options,
));
@@ -60,6 +62,7 @@ export function clientChatRetrieveFiles(
async function $do(
client: GleanCore,
getChatFilesRequest: components.GetChatFilesRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise<
@@ -80,6 +83,7 @@ async function $do(
> {
const input: operations.GetchatfilesRequest = {
getChatFilesRequest: getChatFilesRequest,
+ locale: locale,
timezoneOffset: timezoneOffset,
};
@@ -99,6 +103,7 @@ async function $do(
const path = pathToFunc("/rest/api/v1/getchatfiles")();
const query = encodeFormQuery({
+ "locale": payload.locale,
"timezoneOffset": payload.timezoneOffset,
});
diff --git a/src/funcs/clientChatUploadFiles.ts b/src/funcs/clientChatUploadFiles.ts
index 673aea99..e98ece1b 100644
--- a/src/funcs/clientChatUploadFiles.ts
+++ b/src/funcs/clientChatUploadFiles.ts
@@ -40,6 +40,7 @@ import { isReadableStream } from "../types/streams.js";
export function clientChatUploadFiles(
client: GleanCore,
uploadChatFilesRequest: components.UploadChatFilesRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): APIPromise<
@@ -58,6 +59,7 @@ export function clientChatUploadFiles(
return new APIPromise($do(
client,
uploadChatFilesRequest,
+ locale,
timezoneOffset,
options,
));
@@ -66,6 +68,7 @@ export function clientChatUploadFiles(
async function $do(
client: GleanCore,
uploadChatFilesRequest: components.UploadChatFilesRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise<
@@ -86,6 +89,7 @@ async function $do(
> {
const input: operations.UploadchatfilesRequest = {
uploadChatFilesRequest: uploadChatFilesRequest,
+ locale: locale,
timezoneOffset: timezoneOffset,
};
@@ -124,6 +128,7 @@ async function $do(
const path = pathToFunc("/rest/api/v1/uploadchatfiles")();
const query = encodeFormQuery({
+ "locale": payload.locale,
"timezoneOffset": payload.timezoneOffset,
});
diff --git a/src/funcs/clientCollectionsAddItems.ts b/src/funcs/clientCollectionsAddItems.ts
index 70767a01..17a908aa 100644
--- a/src/funcs/clientCollectionsAddItems.ts
+++ b/src/funcs/clientCollectionsAddItems.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientCollectionsAddItems(
client: GleanCore,
- request: components.AddCollectionItemsRequest,
+ addCollectionItemsRequest: components.AddCollectionItemsRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientCollectionsAddItems(
> {
return new APIPromise($do(
client,
- request,
+ addCollectionItemsRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.AddCollectionItemsRequest,
+ addCollectionItemsRequest: components.AddCollectionItemsRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.AddcollectionitemsRequest = {
+ addCollectionItemsRequest: addCollectionItemsRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.AddCollectionItemsRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.AddcollectionitemsRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.AddCollectionItemsRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/addcollectionitems")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientCollectionsCreate.ts b/src/funcs/clientCollectionsCreate.ts
index 992099ac..957d370e 100644
--- a/src/funcs/clientCollectionsCreate.ts
+++ b/src/funcs/clientCollectionsCreate.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -34,7 +34,8 @@ import { Result } from "../types/fp.js";
*/
export function clientCollectionsCreate(
client: GleanCore,
- request: components.CreateCollectionRequest,
+ createCollectionRequest: components.CreateCollectionRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -52,14 +53,16 @@ export function clientCollectionsCreate(
> {
return new APIPromise($do(
client,
- request,
+ createCollectionRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.CreateCollectionRequest,
+ createCollectionRequest: components.CreateCollectionRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -78,19 +81,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.CreatecollectionRequest = {
+ createCollectionRequest: createCollectionRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.CreateCollectionRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.CreatecollectionRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.CreateCollectionRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/createcollection")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -121,6 +135,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientCollectionsDelete.ts b/src/funcs/clientCollectionsDelete.ts
index 47461d09..8a08261b 100644
--- a/src/funcs/clientCollectionsDelete.ts
+++ b/src/funcs/clientCollectionsDelete.ts
@@ -4,7 +4,7 @@
import * as z from "zod/v3";
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -23,6 +23,7 @@ import {
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";
@@ -34,7 +35,8 @@ import { Result } from "../types/fp.js";
*/
export function clientCollectionsDelete(
client: GleanCore,
- request: components.DeleteCollectionRequest,
+ deleteCollectionRequest: components.DeleteCollectionRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -52,14 +54,16 @@ export function clientCollectionsDelete(
> {
return new APIPromise($do(
client,
- request,
+ deleteCollectionRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.DeleteCollectionRequest,
+ deleteCollectionRequest: components.DeleteCollectionRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -78,19 +82,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.DeletecollectionRequest = {
+ deleteCollectionRequest: deleteCollectionRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.DeleteCollectionRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.DeletecollectionRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.DeleteCollectionRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/deletecollection")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -121,6 +136,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientCollectionsDeleteItem.ts b/src/funcs/clientCollectionsDeleteItem.ts
index a2c68b00..1b3bcbaa 100644
--- a/src/funcs/clientCollectionsDeleteItem.ts
+++ b/src/funcs/clientCollectionsDeleteItem.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientCollectionsDeleteItem(
client: GleanCore,
- request: components.DeleteCollectionItemRequest,
+ deleteCollectionItemRequest: components.DeleteCollectionItemRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientCollectionsDeleteItem(
> {
return new APIPromise($do(
client,
- request,
+ deleteCollectionItemRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.DeleteCollectionItemRequest,
+ deleteCollectionItemRequest: components.DeleteCollectionItemRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,20 +78,31 @@ async function $do(
APICall,
]
> {
+ const input: operations.DeletecollectionitemRequest = {
+ deleteCollectionItemRequest: deleteCollectionItemRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
+ input,
(value) =>
- components.DeleteCollectionItemRequest$outboundSchema.parse(value),
+ operations.DeletecollectionitemRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.DeleteCollectionItemRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/deletecollectionitem")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -118,6 +133,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientCollectionsList.ts b/src/funcs/clientCollectionsList.ts
index 57f118b4..7a3dc2fd 100644
--- a/src/funcs/clientCollectionsList.ts
+++ b/src/funcs/clientCollectionsList.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientCollectionsList(
client: GleanCore,
- request: components.ListCollectionsRequest,
+ listCollectionsRequest: components.ListCollectionsRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientCollectionsList(
> {
return new APIPromise($do(
client,
- request,
+ listCollectionsRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.ListCollectionsRequest,
+ listCollectionsRequest: components.ListCollectionsRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.ListcollectionsRequest = {
+ listCollectionsRequest: listCollectionsRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.ListCollectionsRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.ListcollectionsRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.ListCollectionsRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/listcollections")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientCollectionsRetrieve.ts b/src/funcs/clientCollectionsRetrieve.ts
index 9bf2ceb6..bdcb1d67 100644
--- a/src/funcs/clientCollectionsRetrieve.ts
+++ b/src/funcs/clientCollectionsRetrieve.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientCollectionsRetrieve(
client: GleanCore,
- request: components.GetCollectionRequest,
+ getCollectionRequest: components.GetCollectionRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientCollectionsRetrieve(
> {
return new APIPromise($do(
client,
- request,
+ getCollectionRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.GetCollectionRequest,
+ getCollectionRequest: components.GetCollectionRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.GetcollectionRequest = {
+ getCollectionRequest: getCollectionRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.GetCollectionRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.GetcollectionRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.GetCollectionRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/getcollection")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientCollectionsUpdate.ts b/src/funcs/clientCollectionsUpdate.ts
index d7ce0ebd..f219ac38 100644
--- a/src/funcs/clientCollectionsUpdate.ts
+++ b/src/funcs/clientCollectionsUpdate.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -22,6 +22,7 @@ import {
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";
@@ -33,7 +34,8 @@ import { Result } from "../types/fp.js";
*/
export function clientCollectionsUpdate(
client: GleanCore,
- request: components.EditCollectionRequest,
+ editCollectionRequest: components.EditCollectionRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -51,14 +53,16 @@ export function clientCollectionsUpdate(
> {
return new APIPromise($do(
client,
- request,
+ editCollectionRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.EditCollectionRequest,
+ editCollectionRequest: components.EditCollectionRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -77,19 +81,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.EditcollectionRequest = {
+ editCollectionRequest: editCollectionRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.EditCollectionRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.EditcollectionRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.EditCollectionRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/editcollection")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -120,6 +135,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientCollectionsUpdateItem.ts b/src/funcs/clientCollectionsUpdateItem.ts
index 9b04c00c..5c5e49f1 100644
--- a/src/funcs/clientCollectionsUpdateItem.ts
+++ b/src/funcs/clientCollectionsUpdateItem.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientCollectionsUpdateItem(
client: GleanCore,
- request: components.EditCollectionItemRequest,
+ editCollectionItemRequest: components.EditCollectionItemRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientCollectionsUpdateItem(
> {
return new APIPromise($do(
client,
- request,
+ editCollectionItemRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.EditCollectionItemRequest,
+ editCollectionItemRequest: components.EditCollectionItemRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.EditcollectionitemRequest = {
+ editCollectionItemRequest: editCollectionItemRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.EditCollectionItemRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.EditcollectionitemRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.EditCollectionItemRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/editcollectionitem")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientDocumentsRetrieve.ts b/src/funcs/clientDocumentsRetrieve.ts
index e19a8746..3fdb4397 100644
--- a/src/funcs/clientDocumentsRetrieve.ts
+++ b/src/funcs/clientDocumentsRetrieve.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientDocumentsRetrieve(
client: GleanCore,
- request?: components.GetDocumentsRequest | undefined,
+ getDocumentsRequest?: components.GetDocumentsRequest | undefined,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientDocumentsRetrieve(
> {
return new APIPromise($do(
client,
- request,
+ getDocumentsRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request?: components.GetDocumentsRequest | undefined,
+ getDocumentsRequest?: components.GetDocumentsRequest | undefined,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,22 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.GetdocumentsRequest = {
+ getDocumentsRequest: getDocumentsRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) =>
- components.GetDocumentsRequest$outboundSchema.optional().parse(value),
+ input,
+ (value) => operations.GetdocumentsRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = payload === undefined
- ? null
- : encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.GetDocumentsRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/getdocuments")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -120,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientDocumentsRetrieveByFacets.ts b/src/funcs/clientDocumentsRetrieveByFacets.ts
index 4c331393..7643888f 100644
--- a/src/funcs/clientDocumentsRetrieveByFacets.ts
+++ b/src/funcs/clientDocumentsRetrieveByFacets.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,10 @@ import { Result } from "../types/fp.js";
*/
export function clientDocumentsRetrieveByFacets(
client: GleanCore,
- request?: components.GetDocumentsByFacetsRequest | undefined,
+ getDocumentsByFacetsRequest?:
+ | components.GetDocumentsByFacetsRequest
+ | undefined,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +53,18 @@ export function clientDocumentsRetrieveByFacets(
> {
return new APIPromise($do(
client,
- request,
+ getDocumentsByFacetsRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request?: components.GetDocumentsByFacetsRequest | undefined,
+ getDocumentsByFacetsRequest?:
+ | components.GetDocumentsByFacetsRequest
+ | undefined,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,24 +82,31 @@ async function $do(
APICall,
]
> {
+ const input: operations.GetdocumentsbyfacetsRequest = {
+ getDocumentsByFacetsRequest: getDocumentsByFacetsRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
+ input,
(value) =>
- components.GetDocumentsByFacetsRequest$outboundSchema.optional().parse(
- value,
- ),
+ operations.GetdocumentsbyfacetsRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = payload === undefined
- ? null
- : encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.GetDocumentsByFacetsRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/getdocumentsbyfacets")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -122,6 +137,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientDocumentsRetrievePermissions.ts b/src/funcs/clientDocumentsRetrievePermissions.ts
index 2fd3de3a..0580101d 100644
--- a/src/funcs/clientDocumentsRetrievePermissions.ts
+++ b/src/funcs/clientDocumentsRetrievePermissions.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientDocumentsRetrievePermissions(
client: GleanCore,
- request: components.GetDocPermissionsRequest,
+ getDocPermissionsRequest: components.GetDocPermissionsRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientDocumentsRetrievePermissions(
> {
return new APIPromise($do(
client,
- request,
+ getDocPermissionsRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.GetDocPermissionsRequest,
+ getDocPermissionsRequest: components.GetDocPermissionsRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.GetdocpermissionsRequest = {
+ getDocPermissionsRequest: getDocPermissionsRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.GetDocPermissionsRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.GetdocpermissionsRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.GetDocPermissionsRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/getdocpermissions")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientDocumentsSummarize.ts b/src/funcs/clientDocumentsSummarize.ts
index d2932851..4fee6e1a 100644
--- a/src/funcs/clientDocumentsSummarize.ts
+++ b/src/funcs/clientDocumentsSummarize.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientDocumentsSummarize(
client: GleanCore,
- request: components.SummarizeRequest,
+ summarizeRequest: components.SummarizeRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientDocumentsSummarize(
> {
return new APIPromise($do(
client,
- request,
+ summarizeRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.SummarizeRequest,
+ summarizeRequest: components.SummarizeRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.SummarizeRequest = {
+ summarizeRequest: summarizeRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.SummarizeRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.SummarizeRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.SummarizeRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/summarize")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +130,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientEntitiesList.ts b/src/funcs/clientEntitiesList.ts
index e38961cc..c3b97c93 100644
--- a/src/funcs/clientEntitiesList.ts
+++ b/src/funcs/clientEntitiesList.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientEntitiesList(
client: GleanCore,
- request: components.ListEntitiesRequest,
+ listEntitiesRequest: components.ListEntitiesRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientEntitiesList(
> {
return new APIPromise($do(
client,
- request,
+ listEntitiesRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.ListEntitiesRequest,
+ listEntitiesRequest: components.ListEntitiesRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.ListentitiesRequest = {
+ listEntitiesRequest: listEntitiesRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.ListEntitiesRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.ListentitiesRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.ListEntitiesRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/listentities")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientEntitiesReadPeople.ts b/src/funcs/clientEntitiesReadPeople.ts
index 6d2d78f8..73452ba5 100644
--- a/src/funcs/clientEntitiesReadPeople.ts
+++ b/src/funcs/clientEntitiesReadPeople.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientEntitiesReadPeople(
client: GleanCore,
- request: components.PeopleRequest,
+ peopleRequest: components.PeopleRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientEntitiesReadPeople(
> {
return new APIPromise($do(
client,
- request,
+ peopleRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.PeopleRequest,
+ peopleRequest: components.PeopleRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.PeopleRequest = {
+ peopleRequest: peopleRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.PeopleRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.PeopleRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.PeopleRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/people")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +130,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientInsightsRetrieve.ts b/src/funcs/clientInsightsRetrieve.ts
index 9a79bc49..e84187c9 100644
--- a/src/funcs/clientInsightsRetrieve.ts
+++ b/src/funcs/clientInsightsRetrieve.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientInsightsRetrieve(
client: GleanCore,
- request: components.InsightsRequest,
+ insightsRequest: components.InsightsRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientInsightsRetrieve(
> {
return new APIPromise($do(
client,
- request,
+ insightsRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.InsightsRequest,
+ insightsRequest: components.InsightsRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.InsightsRequest = {
+ insightsRequest: insightsRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.InsightsRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.InsightsRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.InsightsRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/insights")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +130,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientMessagesRetrieve.ts b/src/funcs/clientMessagesRetrieve.ts
index 79818694..8a3a7016 100644
--- a/src/funcs/clientMessagesRetrieve.ts
+++ b/src/funcs/clientMessagesRetrieve.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientMessagesRetrieve(
client: GleanCore,
- request: components.MessagesRequest,
+ messagesRequest: components.MessagesRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientMessagesRetrieve(
> {
return new APIPromise($do(
client,
- request,
+ messagesRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.MessagesRequest,
+ messagesRequest: components.MessagesRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.MessagesRequest = {
+ messagesRequest: messagesRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.MessagesRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.MessagesRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.MessagesRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/messages")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +130,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientPinsCreate.ts b/src/funcs/clientPinsCreate.ts
index 11fe8c6b..764dfe84 100644
--- a/src/funcs/clientPinsCreate.ts
+++ b/src/funcs/clientPinsCreate.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientPinsCreate(
client: GleanCore,
- request: components.PinRequest,
+ pinRequest: components.PinRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientPinsCreate(
> {
return new APIPromise($do(
client,
- request,
+ pinRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.PinRequest,
+ pinRequest: components.PinRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.PinRequest = {
+ pinRequest: pinRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.PinRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.PinRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.PinRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/pin")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +130,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientPinsList.ts b/src/funcs/clientPinsList.ts
index faca847f..561332d9 100644
--- a/src/funcs/clientPinsList.ts
+++ b/src/funcs/clientPinsList.ts
@@ -3,8 +3,10 @@
*/
import { GleanCore } from "../core.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.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";
@@ -31,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientPinsList(
client: GleanCore,
- _request: operations.ListpinsRequest,
+ requestBody: operations.ListpinsRequestBody,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -48,14 +51,16 @@ export function clientPinsList(
> {
return new APIPromise($do(
client,
- _request,
+ requestBody,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- _request: operations.ListpinsRequest,
+ requestBody: operations.ListpinsRequestBody,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -73,8 +78,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.ListpinsRequest = {
+ requestBody: requestBody,
+ locale: locale,
+ };
+
+ const parsed = safeParse(
+ input,
+ (value) => operations.ListpinsRequest$outboundSchema.parse(value),
+ "Input validation failed",
+ );
+ if (!parsed.ok) {
+ return [parsed, { status: "invalid" }];
+ }
+ const payload = parsed.value;
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
+
const path = pathToFunc("/rest/api/v1/listpins")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -105,6 +130,8 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
+ body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
}, options);
diff --git a/src/funcs/clientPinsRemove.ts b/src/funcs/clientPinsRemove.ts
index dd80b47f..aeb78451 100644
--- a/src/funcs/clientPinsRemove.ts
+++ b/src/funcs/clientPinsRemove.ts
@@ -4,7 +4,7 @@
import * as z from "zod/v3";
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -22,6 +22,7 @@ import {
} 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";
@@ -33,7 +34,8 @@ import { Result } from "../types/fp.js";
*/
export function clientPinsRemove(
client: GleanCore,
- request: components.Unpin,
+ unpin: components.Unpin,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -50,14 +52,16 @@ export function clientPinsRemove(
> {
return new APIPromise($do(
client,
- request,
+ unpin,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.Unpin,
+ unpin: components.Unpin,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -75,19 +79,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.UnpinRequest = {
+ unpin: unpin,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.Unpin$outboundSchema.parse(value),
+ input,
+ (value) => operations.UnpinRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.Unpin, { explode: true });
const path = pathToFunc("/rest/api/v1/unpin")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "*/*",
@@ -118,6 +131,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientPinsRetrieve.ts b/src/funcs/clientPinsRetrieve.ts
index 0fb782b4..85183894 100644
--- a/src/funcs/clientPinsRetrieve.ts
+++ b/src/funcs/clientPinsRetrieve.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientPinsRetrieve(
client: GleanCore,
- request: components.GetPinRequest,
+ getPinRequest: components.GetPinRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientPinsRetrieve(
> {
return new APIPromise($do(
client,
- request,
+ getPinRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.GetPinRequest,
+ getPinRequest: components.GetPinRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.GetpinRequest = {
+ getPinRequest: getPinRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.GetPinRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.GetpinRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.GetPinRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/getpin")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +130,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientPinsUpdate.ts b/src/funcs/clientPinsUpdate.ts
index d4f2ae83..ea93244a 100644
--- a/src/funcs/clientPinsUpdate.ts
+++ b/src/funcs/clientPinsUpdate.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientPinsUpdate(
client: GleanCore,
- request: components.EditPinRequest,
+ editPinRequest: components.EditPinRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientPinsUpdate(
> {
return new APIPromise($do(
client,
- request,
+ editPinRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.EditPinRequest,
+ editPinRequest: components.EditPinRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.EditpinRequest = {
+ editPinRequest: editPinRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.EditPinRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.EditpinRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.EditPinRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/editpin")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +130,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientSearchAutocomplete.ts b/src/funcs/clientSearchAutocomplete.ts
index bec1fa3b..41969824 100644
--- a/src/funcs/clientSearchAutocomplete.ts
+++ b/src/funcs/clientSearchAutocomplete.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientSearchAutocomplete(
client: GleanCore,
- request: components.AutocompleteRequest,
+ autocompleteRequest: components.AutocompleteRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientSearchAutocomplete(
> {
return new APIPromise($do(
client,
- request,
+ autocompleteRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.AutocompleteRequest,
+ autocompleteRequest: components.AutocompleteRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.AutocompleteRequest = {
+ autocompleteRequest: autocompleteRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.AutocompleteRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.AutocompleteRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.AutocompleteRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/autocomplete")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientSearchQuery.ts b/src/funcs/clientSearchQuery.ts
index f8c5ece5..2896d2fb 100644
--- a/src/funcs/clientSearchQuery.ts
+++ b/src/funcs/clientSearchQuery.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -22,6 +22,7 @@ import {
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";
@@ -33,7 +34,8 @@ import { Result } from "../types/fp.js";
*/
export function clientSearchQuery(
client: GleanCore,
- request: components.SearchRequest,
+ searchRequest: components.SearchRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -51,14 +53,16 @@ export function clientSearchQuery(
> {
return new APIPromise($do(
client,
- request,
+ searchRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.SearchRequest,
+ searchRequest: components.SearchRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -77,19 +81,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.SearchRequest = {
+ searchRequest: searchRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.SearchRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.SearchRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.SearchRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/search")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -120,6 +133,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientSearchQueryAsAdmin.ts b/src/funcs/clientSearchQueryAsAdmin.ts
index 8c54f309..99fbd058 100644
--- a/src/funcs/clientSearchQueryAsAdmin.ts
+++ b/src/funcs/clientSearchQueryAsAdmin.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -22,6 +22,7 @@ import {
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";
@@ -33,7 +34,8 @@ import { Result } from "../types/fp.js";
*/
export function clientSearchQueryAsAdmin(
client: GleanCore,
- request: components.SearchRequest,
+ searchRequest: components.SearchRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -51,14 +53,16 @@ export function clientSearchQueryAsAdmin(
> {
return new APIPromise($do(
client,
- request,
+ searchRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.SearchRequest,
+ searchRequest: components.SearchRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -77,19 +81,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.AdminsearchRequest = {
+ searchRequest: searchRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.SearchRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.AdminsearchRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.SearchRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/adminsearch")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -120,6 +133,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientSearchRecommendations.ts b/src/funcs/clientSearchRecommendations.ts
index 0b65b0d6..26060bb9 100644
--- a/src/funcs/clientSearchRecommendations.ts
+++ b/src/funcs/clientSearchRecommendations.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientSearchRecommendations(
client: GleanCore,
- request: components.RecommendationsRequest,
+ recommendationsRequest: components.RecommendationsRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientSearchRecommendations(
> {
return new APIPromise($do(
client,
- request,
+ recommendationsRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.RecommendationsRequest,
+ recommendationsRequest: components.RecommendationsRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.RecommendationsRequest = {
+ recommendationsRequest: recommendationsRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.RecommendationsRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.RecommendationsRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.RecommendationsRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/recommendations")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientSearchRetrieveFeed.ts b/src/funcs/clientSearchRetrieveFeed.ts
index a5eb5185..eac3120b 100644
--- a/src/funcs/clientSearchRetrieveFeed.ts
+++ b/src/funcs/clientSearchRetrieveFeed.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientSearchRetrieveFeed(
client: GleanCore,
- request: components.FeedRequest,
+ feedRequest: components.FeedRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientSearchRetrieveFeed(
> {
return new APIPromise($do(
client,
- request,
+ feedRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.FeedRequest,
+ feedRequest: components.FeedRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.FeedRequest = {
+ feedRequest: feedRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.FeedRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.FeedRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.FeedRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/feed")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +130,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientShortcutsCreate.ts b/src/funcs/clientShortcutsCreate.ts
index 55498fd2..78d58cb6 100644
--- a/src/funcs/clientShortcutsCreate.ts
+++ b/src/funcs/clientShortcutsCreate.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientShortcutsCreate(
client: GleanCore,
- request: components.CreateShortcutRequest,
+ createShortcutRequest: components.CreateShortcutRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientShortcutsCreate(
> {
return new APIPromise($do(
client,
- request,
+ createShortcutRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.CreateShortcutRequest,
+ createShortcutRequest: components.CreateShortcutRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.CreateshortcutRequest = {
+ createShortcutRequest: createShortcutRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.CreateShortcutRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.CreateshortcutRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.CreateShortcutRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/createshortcut")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientShortcutsDelete.ts b/src/funcs/clientShortcutsDelete.ts
index 91d4ee0c..b75a2649 100644
--- a/src/funcs/clientShortcutsDelete.ts
+++ b/src/funcs/clientShortcutsDelete.ts
@@ -4,7 +4,7 @@
import * as z from "zod/v3";
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -22,6 +22,7 @@ import {
} 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";
@@ -33,7 +34,8 @@ import { Result } from "../types/fp.js";
*/
export function clientShortcutsDelete(
client: GleanCore,
- request: components.DeleteShortcutRequest,
+ deleteShortcutRequest: components.DeleteShortcutRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -50,14 +52,16 @@ export function clientShortcutsDelete(
> {
return new APIPromise($do(
client,
- request,
+ deleteShortcutRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.DeleteShortcutRequest,
+ deleteShortcutRequest: components.DeleteShortcutRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -75,19 +79,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.DeleteshortcutRequest = {
+ deleteShortcutRequest: deleteShortcutRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.DeleteShortcutRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.DeleteshortcutRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.DeleteShortcutRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/deleteshortcut")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "*/*",
@@ -118,6 +133,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientShortcutsList.ts b/src/funcs/clientShortcutsList.ts
index 831f24da..98ff6b0b 100644
--- a/src/funcs/clientShortcutsList.ts
+++ b/src/funcs/clientShortcutsList.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientShortcutsList(
client: GleanCore,
- request: components.ListShortcutsPaginatedRequest,
+ listShortcutsPaginatedRequest: components.ListShortcutsPaginatedRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientShortcutsList(
> {
return new APIPromise($do(
client,
- request,
+ listShortcutsPaginatedRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.ListShortcutsPaginatedRequest,
+ listShortcutsPaginatedRequest: components.ListShortcutsPaginatedRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,20 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.ListshortcutsRequest = {
+ listShortcutsPaginatedRequest: listShortcutsPaginatedRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) =>
- components.ListShortcutsPaginatedRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.ListshortcutsRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.ListShortcutsPaginatedRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/listshortcuts")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -118,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientShortcutsRetrieve.ts b/src/funcs/clientShortcutsRetrieve.ts
index 1bc880fb..d71d7994 100644
--- a/src/funcs/clientShortcutsRetrieve.ts
+++ b/src/funcs/clientShortcutsRetrieve.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientShortcutsRetrieve(
client: GleanCore,
- request: components.GetShortcutRequestUnion,
+ getShortcutRequest: components.GetShortcutRequestUnion,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientShortcutsRetrieve(
> {
return new APIPromise($do(
client,
- request,
+ getShortcutRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.GetShortcutRequestUnion,
+ getShortcutRequest: components.GetShortcutRequestUnion,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.GetshortcutRequest = {
+ getShortcutRequest: getShortcutRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.GetShortcutRequestUnion$outboundSchema.parse(value),
+ input,
+ (value) => operations.GetshortcutRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.GetShortcutRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/getshortcut")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientShortcutsUpdate.ts b/src/funcs/clientShortcutsUpdate.ts
index 9866e5f3..aff0b16e 100644
--- a/src/funcs/clientShortcutsUpdate.ts
+++ b/src/funcs/clientShortcutsUpdate.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientShortcutsUpdate(
client: GleanCore,
- request: components.UpdateShortcutRequest,
+ updateShortcutRequest: components.UpdateShortcutRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientShortcutsUpdate(
> {
return new APIPromise($do(
client,
- request,
+ updateShortcutRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.UpdateShortcutRequest,
+ updateShortcutRequest: components.UpdateShortcutRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,30 @@ async function $do(
APICall,
]
> {
+ const input: operations.UpdateshortcutRequest = {
+ updateShortcutRequest: updateShortcutRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.UpdateShortcutRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.UpdateshortcutRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.UpdateShortcutRequest, {
+ explode: true,
+ });
const path = pathToFunc("/rest/api/v1/updateshortcut")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +132,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientVerificationAddReminder.ts b/src/funcs/clientVerificationAddReminder.ts
index e91f72a2..7ba5b349 100644
--- a/src/funcs/clientVerificationAddReminder.ts
+++ b/src/funcs/clientVerificationAddReminder.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientVerificationAddReminder(
client: GleanCore,
- request: components.ReminderRequest,
+ reminderRequest: components.ReminderRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientVerificationAddReminder(
> {
return new APIPromise($do(
client,
- request,
+ reminderRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.ReminderRequest,
+ reminderRequest: components.ReminderRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,29 @@ async function $do(
APICall,
]
> {
+ const input: operations.AddverificationreminderRequest = {
+ reminderRequest: reminderRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.ReminderRequest$outboundSchema.parse(value),
+ input,
+ (value) =>
+ operations.AddverificationreminderRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.ReminderRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/addverificationreminder")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +131,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/funcs/clientVerificationList.ts b/src/funcs/clientVerificationList.ts
index 058d94de..dfc380fe 100644
--- a/src/funcs/clientVerificationList.ts
+++ b/src/funcs/clientVerificationList.ts
@@ -34,6 +34,7 @@ import { Result } from "../types/fp.js";
export function clientVerificationList(
client: GleanCore,
count?: number | undefined,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -51,6 +52,7 @@ export function clientVerificationList(
return new APIPromise($do(
client,
count,
+ locale,
options,
));
}
@@ -58,6 +60,7 @@ export function clientVerificationList(
async function $do(
client: GleanCore,
count?: number | undefined,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -77,6 +80,7 @@ async function $do(
> {
const input: operations.ListverificationsRequest = {
count: count,
+ locale: locale,
};
const parsed = safeParse(
@@ -94,6 +98,7 @@ async function $do(
const query = encodeFormQuery({
"count": payload.count,
+ "locale": payload.locale,
});
const headers = new Headers(compactMap({
diff --git a/src/funcs/clientVerificationVerify.ts b/src/funcs/clientVerificationVerify.ts
index cd5a5f1a..38237508 100644
--- a/src/funcs/clientVerificationVerify.ts
+++ b/src/funcs/clientVerificationVerify.ts
@@ -3,7 +3,7 @@
*/
import { GleanCore } from "../core.js";
-import { encodeJSON } from "../lib/encodings.js";
+import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
@@ -21,6 +21,7 @@ import {
} 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";
@@ -32,7 +33,8 @@ import { Result } from "../types/fp.js";
*/
export function clientVerificationVerify(
client: GleanCore,
- request: components.VerifyRequest,
+ verifyRequest: components.VerifyRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): APIPromise<
Result<
@@ -49,14 +51,16 @@ export function clientVerificationVerify(
> {
return new APIPromise($do(
client,
- request,
+ verifyRequest,
+ locale,
options,
));
}
async function $do(
client: GleanCore,
- request: components.VerifyRequest,
+ verifyRequest: components.VerifyRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise<
[
@@ -74,19 +78,28 @@ async function $do(
APICall,
]
> {
+ const input: operations.VerifyRequest = {
+ verifyRequest: verifyRequest,
+ locale: locale,
+ };
+
const parsed = safeParse(
- request,
- (value) => components.VerifyRequest$outboundSchema.parse(value),
+ input,
+ (value) => operations.VerifyRequest$outboundSchema.parse(value),
"Input validation failed",
);
if (!parsed.ok) {
return [parsed, { status: "invalid" }];
}
const payload = parsed.value;
- const body = encodeJSON("body", payload, { explode: true });
+ const body = encodeJSON("body", payload.VerifyRequest, { explode: true });
const path = pathToFunc("/rest/api/v1/verify")();
+ const query = encodeFormQuery({
+ "locale": payload.locale,
+ });
+
const headers = new Headers(compactMap({
"Content-Type": "application/json",
Accept: "application/json",
@@ -117,6 +130,7 @@ async function $do(
baseURL: options?.serverURL,
path: path,
headers: headers,
+ query: query,
body: body,
userAgent: client._options.userAgent,
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
diff --git a/src/lib/config.ts b/src/lib/config.ts
index 20bc3868..bf0019a9 100644
--- a/src/lib/config.ts
+++ b/src/lib/config.ts
@@ -68,8 +68,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "0.9.0",
- sdkVersion: "0.13.20",
- genVersion: "2.796.1",
+ sdkVersion: "0.13.21",
+ genVersion: "2.799.0",
userAgent:
- "speakeasy-sdk/typescript 0.13.20 2.796.1 0.9.0 @gleanwork/api-client",
+ "speakeasy-sdk/typescript 0.13.21 2.799.0 0.9.0 @gleanwork/api-client",
} as const;
diff --git a/src/models/components/gleandataerror.ts b/src/models/components/gleandataerror.ts
index 067e73d4..93636bd2 100644
--- a/src/models/components/gleandataerror.ts
+++ b/src/models/components/gleandataerror.ts
@@ -26,6 +26,10 @@ export type GleanDataError = {
*/
invalidOperators?: Array | undefined;
errorMessages?: Array | undefined;
+ /**
+ * Indicates the federated search results could not be fetched due to rate limiting.
+ */
+ federatedSearchRateLimitError?: boolean | undefined;
};
/** @internal */
@@ -38,6 +42,7 @@ export const GleanDataError$inboundSchema: z.ZodType<
badOutlookToken: z.boolean().optional(),
invalidOperators: z.array(InvalidOperatorValueError$inboundSchema).optional(),
errorMessages: z.array(ErrorMessage$inboundSchema).optional(),
+ federatedSearchRateLimitError: z.boolean().optional(),
});
export function gleanDataErrorFromJSON(
diff --git a/src/models/components/inputoptions.ts b/src/models/components/inputoptions.ts
index 7a3b0ff7..e8a2c5ec 100644
--- a/src/models/components/inputoptions.ts
+++ b/src/models/components/inputoptions.ts
@@ -72,6 +72,10 @@ export type InputOptions = {
*/
timePeriodType?: InputOptionsTimePeriodType | undefined;
customTimeRange?: TimeRange | undefined;
+ /**
+ * Subset of document IDs to scan. If empty, all documents matching other scope criteria will be scanned.
+ */
+ subsetDocIdsToScan?: Array | undefined;
};
/** @internal */
@@ -104,6 +108,7 @@ export const InputOptions$inboundSchema: z.ZodType<
datasourceInstances: z.array(z.string()).optional(),
timePeriodType: InputOptionsTimePeriodType$inboundSchema.optional(),
customTimeRange: TimeRange$inboundSchema.optional(),
+ subsetDocIdsToScan: z.array(z.string()).optional(),
});
/** @internal */
export type InputOptions$Outbound = {
@@ -113,6 +118,7 @@ export type InputOptions$Outbound = {
datasourceInstances?: Array | undefined;
timePeriodType?: string | undefined;
customTimeRange?: TimeRange$Outbound | undefined;
+ subsetDocIdsToScan?: Array | undefined;
};
/** @internal */
@@ -127,6 +133,7 @@ export const InputOptions$outboundSchema: z.ZodType<
datasourceInstances: z.array(z.string()).optional(),
timePeriodType: InputOptionsTimePeriodType$outboundSchema.optional(),
customTimeRange: TimeRange$outboundSchema.optional(),
+ subsetDocIdsToScan: z.array(z.string()).optional(),
});
export function inputOptionsToJSON(inputOptions: InputOptions): string {
diff --git a/src/models/components/ugctype.ts b/src/models/components/ugctype.ts
index 6798658c..c77a3e51 100644
--- a/src/models/components/ugctype.ts
+++ b/src/models/components/ugctype.ts
@@ -12,6 +12,7 @@ export const UgcType = {
ShortcutsType: "SHORTCUTS_TYPE",
WorkflowsType: "WORKFLOWS_TYPE",
PromptTemplatesType: "PROMPT_TEMPLATES_TYPE",
+ PrismViewsType: "PRISM_VIEWS_TYPE",
} as const;
export type UgcType = ClosedEnum;
diff --git a/src/models/errors/gleandataerror.ts b/src/models/errors/gleandataerror.ts
index 4b7bcc51..ebee0d02 100644
--- a/src/models/errors/gleandataerror.ts
+++ b/src/models/errors/gleandataerror.ts
@@ -20,6 +20,10 @@ export type GleanDataErrorData = {
*/
invalidOperators?: Array | undefined;
errorMessages?: Array | undefined;
+ /**
+ * Indicates the federated search results could not be fetched due to rate limiting.
+ */
+ federatedSearchRateLimitError?: boolean | undefined;
};
export class GleanDataError extends GleanBaseError {
@@ -36,6 +40,10 @@ export class GleanDataError extends GleanBaseError {
*/
invalidOperators?: Array | undefined;
errorMessages?: Array | undefined;
+ /**
+ * Indicates the federated search results could not be fetched due to rate limiting.
+ */
+ federatedSearchRateLimitError?: boolean | undefined;
/** The original data that was passed to this error instance. */
data$: GleanDataErrorData;
@@ -55,6 +63,9 @@ export class GleanDataError extends GleanBaseError {
this.invalidOperators = err.invalidOperators;
}
if (err.errorMessages != null) this.errorMessages = err.errorMessages;
+ if (err.federatedSearchRateLimitError != null) {
+ this.federatedSearchRateLimitError = err.federatedSearchRateLimitError;
+ }
this.name = "GleanDataError";
}
@@ -71,6 +82,7 @@ export const GleanDataError$inboundSchema: z.ZodType<
invalidOperators: z.array(components.InvalidOperatorValueError$inboundSchema)
.optional(),
errorMessages: z.array(components.ErrorMessage$inboundSchema).optional(),
+ federatedSearchRateLimitError: z.boolean().optional(),
request$: z.instanceof(Request),
response$: z.instanceof(Response),
body$: z.string(),
diff --git a/src/models/operations/addcollectionitems.ts b/src/models/operations/addcollectionitems.ts
new file mode 100644
index 00000000..f04dc355
--- /dev/null
+++ b/src/models/operations/addcollectionitems.ts
@@ -0,0 +1,47 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type AddcollectionitemsRequest = {
+ /**
+ * 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;
+ /**
+ * Data describing the add operation.
+ */
+ addCollectionItemsRequest: components.AddCollectionItemsRequest;
+};
+
+/** @internal */
+export type AddcollectionitemsRequest$Outbound = {
+ locale?: string | undefined;
+ AddCollectionItemsRequest: components.AddCollectionItemsRequest$Outbound;
+};
+
+/** @internal */
+export const AddcollectionitemsRequest$outboundSchema: z.ZodType<
+ AddcollectionitemsRequest$Outbound,
+ z.ZodTypeDef,
+ AddcollectionitemsRequest
+> = z.object({
+ locale: z.string().optional(),
+ addCollectionItemsRequest:
+ components.AddCollectionItemsRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ addCollectionItemsRequest: "AddCollectionItemsRequest",
+ });
+});
+
+export function addcollectionitemsRequestToJSON(
+ addcollectionitemsRequest: AddcollectionitemsRequest,
+): string {
+ return JSON.stringify(
+ AddcollectionitemsRequest$outboundSchema.parse(addcollectionitemsRequest),
+ );
+}
diff --git a/src/models/operations/addverificationreminder.ts b/src/models/operations/addverificationreminder.ts
new file mode 100644
index 00000000..e9adb46b
--- /dev/null
+++ b/src/models/operations/addverificationreminder.ts
@@ -0,0 +1,48 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type AddverificationreminderRequest = {
+ /**
+ * 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;
+ /**
+ * Details about the reminder.
+ */
+ reminderRequest: components.ReminderRequest;
+};
+
+/** @internal */
+export type AddverificationreminderRequest$Outbound = {
+ locale?: string | undefined;
+ ReminderRequest: components.ReminderRequest$Outbound;
+};
+
+/** @internal */
+export const AddverificationreminderRequest$outboundSchema: z.ZodType<
+ AddverificationreminderRequest$Outbound,
+ z.ZodTypeDef,
+ AddverificationreminderRequest
+> = z.object({
+ locale: z.string().optional(),
+ reminderRequest: components.ReminderRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ reminderRequest: "ReminderRequest",
+ });
+});
+
+export function addverificationreminderRequestToJSON(
+ addverificationreminderRequest: AddverificationreminderRequest,
+): string {
+ return JSON.stringify(
+ AddverificationreminderRequest$outboundSchema.parse(
+ addverificationreminderRequest,
+ ),
+ );
+}
diff --git a/src/models/operations/adminsearch.ts b/src/models/operations/adminsearch.ts
new file mode 100644
index 00000000..c3bc81b4
--- /dev/null
+++ b/src/models/operations/adminsearch.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type AdminsearchRequest = {
+ /**
+ * 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;
+ /**
+ * Admin search request
+ */
+ searchRequest: components.SearchRequest;
+};
+
+/** @internal */
+export type AdminsearchRequest$Outbound = {
+ locale?: string | undefined;
+ SearchRequest: components.SearchRequest$Outbound;
+};
+
+/** @internal */
+export const AdminsearchRequest$outboundSchema: z.ZodType<
+ AdminsearchRequest$Outbound,
+ z.ZodTypeDef,
+ AdminsearchRequest
+> = z.object({
+ locale: z.string().optional(),
+ searchRequest: components.SearchRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ searchRequest: "SearchRequest",
+ });
+});
+
+export function adminsearchRequestToJSON(
+ adminsearchRequest: AdminsearchRequest,
+): string {
+ return JSON.stringify(
+ AdminsearchRequest$outboundSchema.parse(adminsearchRequest),
+ );
+}
diff --git a/src/models/operations/autocomplete.ts b/src/models/operations/autocomplete.ts
new file mode 100644
index 00000000..2894d060
--- /dev/null
+++ b/src/models/operations/autocomplete.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type AutocompleteRequest = {
+ /**
+ * 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;
+ /**
+ * Autocomplete request
+ */
+ autocompleteRequest: components.AutocompleteRequest;
+};
+
+/** @internal */
+export type AutocompleteRequest$Outbound = {
+ locale?: string | undefined;
+ AutocompleteRequest: components.AutocompleteRequest$Outbound;
+};
+
+/** @internal */
+export const AutocompleteRequest$outboundSchema: z.ZodType<
+ AutocompleteRequest$Outbound,
+ z.ZodTypeDef,
+ AutocompleteRequest
+> = z.object({
+ locale: z.string().optional(),
+ autocompleteRequest: components.AutocompleteRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ autocompleteRequest: "AutocompleteRequest",
+ });
+});
+
+export function autocompleteRequestToJSON(
+ autocompleteRequest: AutocompleteRequest,
+): string {
+ return JSON.stringify(
+ AutocompleteRequest$outboundSchema.parse(autocompleteRequest),
+ );
+}
diff --git a/src/models/operations/chat.ts b/src/models/operations/chat.ts
index 2cd899d0..558d479c 100644
--- a/src/models/operations/chat.ts
+++ b/src/models/operations/chat.ts
@@ -7,6 +7,10 @@ import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
export type ChatRequest = {
+ /**
+ * 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.
*/
@@ -19,6 +23,7 @@ export type ChatRequest = {
/** @internal */
export type ChatRequest$Outbound = {
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
ChatRequest: components.ChatRequest$Outbound;
};
@@ -29,6 +34,7 @@ export const ChatRequest$outboundSchema: z.ZodType<
z.ZodTypeDef,
ChatRequest
> = z.object({
+ locale: z.string().optional(),
timezoneOffset: z.number().int().optional(),
chatRequest: components.ChatRequest$outboundSchema,
}).transform((v) => {
diff --git a/src/models/operations/createannouncement.ts b/src/models/operations/createannouncement.ts
new file mode 100644
index 00000000..6b8e393d
--- /dev/null
+++ b/src/models/operations/createannouncement.ts
@@ -0,0 +1,47 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type CreateannouncementRequest = {
+ /**
+ * 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;
+ /**
+ * Announcement content
+ */
+ createAnnouncementRequest: components.CreateAnnouncementRequest;
+};
+
+/** @internal */
+export type CreateannouncementRequest$Outbound = {
+ locale?: string | undefined;
+ CreateAnnouncementRequest: components.CreateAnnouncementRequest$Outbound;
+};
+
+/** @internal */
+export const CreateannouncementRequest$outboundSchema: z.ZodType<
+ CreateannouncementRequest$Outbound,
+ z.ZodTypeDef,
+ CreateannouncementRequest
+> = z.object({
+ locale: z.string().optional(),
+ createAnnouncementRequest:
+ components.CreateAnnouncementRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ createAnnouncementRequest: "CreateAnnouncementRequest",
+ });
+});
+
+export function createannouncementRequestToJSON(
+ createannouncementRequest: CreateannouncementRequest,
+): string {
+ return JSON.stringify(
+ CreateannouncementRequest$outboundSchema.parse(createannouncementRequest),
+ );
+}
diff --git a/src/models/operations/createanswer.ts b/src/models/operations/createanswer.ts
new file mode 100644
index 00000000..dacde844
--- /dev/null
+++ b/src/models/operations/createanswer.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type CreateanswerRequest = {
+ /**
+ * 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;
+ /**
+ * CreateAnswer request
+ */
+ createAnswerRequest: components.CreateAnswerRequest;
+};
+
+/** @internal */
+export type CreateanswerRequest$Outbound = {
+ locale?: string | undefined;
+ CreateAnswerRequest: components.CreateAnswerRequest$Outbound;
+};
+
+/** @internal */
+export const CreateanswerRequest$outboundSchema: z.ZodType<
+ CreateanswerRequest$Outbound,
+ z.ZodTypeDef,
+ CreateanswerRequest
+> = z.object({
+ locale: z.string().optional(),
+ createAnswerRequest: components.CreateAnswerRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ createAnswerRequest: "CreateAnswerRequest",
+ });
+});
+
+export function createanswerRequestToJSON(
+ createanswerRequest: CreateanswerRequest,
+): string {
+ return JSON.stringify(
+ CreateanswerRequest$outboundSchema.parse(createanswerRequest),
+ );
+}
diff --git a/src/models/operations/createcollection.ts b/src/models/operations/createcollection.ts
index 6296be0b..5b06fad3 100644
--- a/src/models/operations/createcollection.ts
+++ b/src/models/operations/createcollection.ts
@@ -3,11 +3,23 @@
*/
import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
+export type CreatecollectionRequest = {
+ /**
+ * 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;
+ /**
+ * Collection content plus any additional metadata for the request.
+ */
+ createCollectionRequest: components.CreateCollectionRequest;
+};
+
export type ResponseBody2 = {
collection?: components.Collection | undefined;
error: components.CollectionError;
@@ -23,6 +35,34 @@ export type ResponseBody1 = {
*/
export type CreatecollectionResponse = ResponseBody1 | ResponseBody2;
+/** @internal */
+export type CreatecollectionRequest$Outbound = {
+ locale?: string | undefined;
+ CreateCollectionRequest: components.CreateCollectionRequest$Outbound;
+};
+
+/** @internal */
+export const CreatecollectionRequest$outboundSchema: z.ZodType<
+ CreatecollectionRequest$Outbound,
+ z.ZodTypeDef,
+ CreatecollectionRequest
+> = z.object({
+ locale: z.string().optional(),
+ createCollectionRequest: components.CreateCollectionRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ createCollectionRequest: "CreateCollectionRequest",
+ });
+});
+
+export function createcollectionRequestToJSON(
+ createcollectionRequest: CreatecollectionRequest,
+): string {
+ return JSON.stringify(
+ CreatecollectionRequest$outboundSchema.parse(createcollectionRequest),
+ );
+}
+
/** @internal */
export const ResponseBody2$inboundSchema: z.ZodType<
ResponseBody2,
diff --git a/src/models/operations/createshortcut.ts b/src/models/operations/createshortcut.ts
new file mode 100644
index 00000000..c60d8f38
--- /dev/null
+++ b/src/models/operations/createshortcut.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type CreateshortcutRequest = {
+ /**
+ * 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;
+ /**
+ * CreateShortcut request
+ */
+ createShortcutRequest: components.CreateShortcutRequest;
+};
+
+/** @internal */
+export type CreateshortcutRequest$Outbound = {
+ locale?: string | undefined;
+ CreateShortcutRequest: components.CreateShortcutRequest$Outbound;
+};
+
+/** @internal */
+export const CreateshortcutRequest$outboundSchema: z.ZodType<
+ CreateshortcutRequest$Outbound,
+ z.ZodTypeDef,
+ CreateshortcutRequest
+> = z.object({
+ locale: z.string().optional(),
+ createShortcutRequest: components.CreateShortcutRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ createShortcutRequest: "CreateShortcutRequest",
+ });
+});
+
+export function createshortcutRequestToJSON(
+ createshortcutRequest: CreateshortcutRequest,
+): string {
+ return JSON.stringify(
+ CreateshortcutRequest$outboundSchema.parse(createshortcutRequest),
+ );
+}
diff --git a/src/models/operations/deleteallchats.ts b/src/models/operations/deleteallchats.ts
index fece46c8..0948f596 100644
--- a/src/models/operations/deleteallchats.ts
+++ b/src/models/operations/deleteallchats.ts
@@ -5,6 +5,10 @@
import * as z from "zod/v3";
export type DeleteallchatsRequest = {
+ /**
+ * 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.
*/
@@ -13,6 +17,7 @@ export type DeleteallchatsRequest = {
/** @internal */
export type DeleteallchatsRequest$Outbound = {
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
};
@@ -22,6 +27,7 @@ export const DeleteallchatsRequest$outboundSchema: z.ZodType<
z.ZodTypeDef,
DeleteallchatsRequest
> = z.object({
+ locale: z.string().optional(),
timezoneOffset: z.number().int().optional(),
});
diff --git a/src/models/operations/deleteannouncement.ts b/src/models/operations/deleteannouncement.ts
new file mode 100644
index 00000000..ebe508fe
--- /dev/null
+++ b/src/models/operations/deleteannouncement.ts
@@ -0,0 +1,47 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type DeleteannouncementRequest = {
+ /**
+ * 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;
+ /**
+ * Delete announcement request
+ */
+ deleteAnnouncementRequest: components.DeleteAnnouncementRequest;
+};
+
+/** @internal */
+export type DeleteannouncementRequest$Outbound = {
+ locale?: string | undefined;
+ DeleteAnnouncementRequest: components.DeleteAnnouncementRequest$Outbound;
+};
+
+/** @internal */
+export const DeleteannouncementRequest$outboundSchema: z.ZodType<
+ DeleteannouncementRequest$Outbound,
+ z.ZodTypeDef,
+ DeleteannouncementRequest
+> = z.object({
+ locale: z.string().optional(),
+ deleteAnnouncementRequest:
+ components.DeleteAnnouncementRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ deleteAnnouncementRequest: "DeleteAnnouncementRequest",
+ });
+});
+
+export function deleteannouncementRequestToJSON(
+ deleteannouncementRequest: DeleteannouncementRequest,
+): string {
+ return JSON.stringify(
+ DeleteannouncementRequest$outboundSchema.parse(deleteannouncementRequest),
+ );
+}
diff --git a/src/models/operations/deleteanswer.ts b/src/models/operations/deleteanswer.ts
new file mode 100644
index 00000000..6f04a846
--- /dev/null
+++ b/src/models/operations/deleteanswer.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type DeleteanswerRequest = {
+ /**
+ * 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;
+ /**
+ * DeleteAnswer request
+ */
+ deleteAnswerRequest: components.DeleteAnswerRequest;
+};
+
+/** @internal */
+export type DeleteanswerRequest$Outbound = {
+ locale?: string | undefined;
+ DeleteAnswerRequest: components.DeleteAnswerRequest$Outbound;
+};
+
+/** @internal */
+export const DeleteanswerRequest$outboundSchema: z.ZodType<
+ DeleteanswerRequest$Outbound,
+ z.ZodTypeDef,
+ DeleteanswerRequest
+> = z.object({
+ locale: z.string().optional(),
+ deleteAnswerRequest: components.DeleteAnswerRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ deleteAnswerRequest: "DeleteAnswerRequest",
+ });
+});
+
+export function deleteanswerRequestToJSON(
+ deleteanswerRequest: DeleteanswerRequest,
+): string {
+ return JSON.stringify(
+ DeleteanswerRequest$outboundSchema.parse(deleteanswerRequest),
+ );
+}
diff --git a/src/models/operations/deletechatfiles.ts b/src/models/operations/deletechatfiles.ts
index f2aba826..2d70cbd5 100644
--- a/src/models/operations/deletechatfiles.ts
+++ b/src/models/operations/deletechatfiles.ts
@@ -7,6 +7,10 @@ import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
export type DeletechatfilesRequest = {
+ /**
+ * 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.
*/
@@ -16,6 +20,7 @@ export type DeletechatfilesRequest = {
/** @internal */
export type DeletechatfilesRequest$Outbound = {
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
DeleteChatFilesRequest: components.DeleteChatFilesRequest$Outbound;
};
@@ -26,6 +31,7 @@ export const DeletechatfilesRequest$outboundSchema: z.ZodType<
z.ZodTypeDef,
DeletechatfilesRequest
> = z.object({
+ locale: z.string().optional(),
timezoneOffset: z.number().int().optional(),
deleteChatFilesRequest: components.DeleteChatFilesRequest$outboundSchema,
}).transform((v) => {
diff --git a/src/models/operations/deletechats.ts b/src/models/operations/deletechats.ts
index 3fa38703..1d99c3bd 100644
--- a/src/models/operations/deletechats.ts
+++ b/src/models/operations/deletechats.ts
@@ -7,6 +7,10 @@ import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
export type DeletechatsRequest = {
+ /**
+ * 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.
*/
@@ -16,6 +20,7 @@ export type DeletechatsRequest = {
/** @internal */
export type DeletechatsRequest$Outbound = {
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
DeleteChatsRequest: components.DeleteChatsRequest$Outbound;
};
@@ -26,6 +31,7 @@ export const DeletechatsRequest$outboundSchema: z.ZodType<
z.ZodTypeDef,
DeletechatsRequest
> = z.object({
+ locale: z.string().optional(),
timezoneOffset: z.number().int().optional(),
deleteChatsRequest: components.DeleteChatsRequest$outboundSchema,
}).transform((v) => {
diff --git a/src/models/operations/deletecollection.ts b/src/models/operations/deletecollection.ts
new file mode 100644
index 00000000..02672fde
--- /dev/null
+++ b/src/models/operations/deletecollection.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type DeletecollectionRequest = {
+ /**
+ * 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;
+ /**
+ * DeleteCollection request
+ */
+ deleteCollectionRequest: components.DeleteCollectionRequest;
+};
+
+/** @internal */
+export type DeletecollectionRequest$Outbound = {
+ locale?: string | undefined;
+ DeleteCollectionRequest: components.DeleteCollectionRequest$Outbound;
+};
+
+/** @internal */
+export const DeletecollectionRequest$outboundSchema: z.ZodType<
+ DeletecollectionRequest$Outbound,
+ z.ZodTypeDef,
+ DeletecollectionRequest
+> = z.object({
+ locale: z.string().optional(),
+ deleteCollectionRequest: components.DeleteCollectionRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ deleteCollectionRequest: "DeleteCollectionRequest",
+ });
+});
+
+export function deletecollectionRequestToJSON(
+ deletecollectionRequest: DeletecollectionRequest,
+): string {
+ return JSON.stringify(
+ DeletecollectionRequest$outboundSchema.parse(deletecollectionRequest),
+ );
+}
diff --git a/src/models/operations/deletecollectionitem.ts b/src/models/operations/deletecollectionitem.ts
new file mode 100644
index 00000000..3dd9464a
--- /dev/null
+++ b/src/models/operations/deletecollectionitem.ts
@@ -0,0 +1,49 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type DeletecollectionitemRequest = {
+ /**
+ * 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;
+ /**
+ * Data describing the delete operation.
+ */
+ deleteCollectionItemRequest: components.DeleteCollectionItemRequest;
+};
+
+/** @internal */
+export type DeletecollectionitemRequest$Outbound = {
+ locale?: string | undefined;
+ DeleteCollectionItemRequest: components.DeleteCollectionItemRequest$Outbound;
+};
+
+/** @internal */
+export const DeletecollectionitemRequest$outboundSchema: z.ZodType<
+ DeletecollectionitemRequest$Outbound,
+ z.ZodTypeDef,
+ DeletecollectionitemRequest
+> = z.object({
+ locale: z.string().optional(),
+ deleteCollectionItemRequest:
+ components.DeleteCollectionItemRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ deleteCollectionItemRequest: "DeleteCollectionItemRequest",
+ });
+});
+
+export function deletecollectionitemRequestToJSON(
+ deletecollectionitemRequest: DeletecollectionitemRequest,
+): string {
+ return JSON.stringify(
+ DeletecollectionitemRequest$outboundSchema.parse(
+ deletecollectionitemRequest,
+ ),
+ );
+}
diff --git a/src/models/operations/deleteshortcut.ts b/src/models/operations/deleteshortcut.ts
new file mode 100644
index 00000000..9eb260ad
--- /dev/null
+++ b/src/models/operations/deleteshortcut.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type DeleteshortcutRequest = {
+ /**
+ * 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;
+ /**
+ * DeleteShortcut request
+ */
+ deleteShortcutRequest: components.DeleteShortcutRequest;
+};
+
+/** @internal */
+export type DeleteshortcutRequest$Outbound = {
+ locale?: string | undefined;
+ DeleteShortcutRequest: components.DeleteShortcutRequest$Outbound;
+};
+
+/** @internal */
+export const DeleteshortcutRequest$outboundSchema: z.ZodType<
+ DeleteshortcutRequest$Outbound,
+ z.ZodTypeDef,
+ DeleteshortcutRequest
+> = z.object({
+ locale: z.string().optional(),
+ deleteShortcutRequest: components.DeleteShortcutRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ deleteShortcutRequest: "DeleteShortcutRequest",
+ });
+});
+
+export function deleteshortcutRequestToJSON(
+ deleteshortcutRequest: DeleteshortcutRequest,
+): string {
+ return JSON.stringify(
+ DeleteshortcutRequest$outboundSchema.parse(deleteshortcutRequest),
+ );
+}
diff --git a/src/models/operations/editanswer.ts b/src/models/operations/editanswer.ts
new file mode 100644
index 00000000..d8f112bd
--- /dev/null
+++ b/src/models/operations/editanswer.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type EditanswerRequest = {
+ /**
+ * 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;
+ /**
+ * EditAnswer request
+ */
+ editAnswerRequest: components.EditAnswerRequest;
+};
+
+/** @internal */
+export type EditanswerRequest$Outbound = {
+ locale?: string | undefined;
+ EditAnswerRequest: components.EditAnswerRequest$Outbound;
+};
+
+/** @internal */
+export const EditanswerRequest$outboundSchema: z.ZodType<
+ EditanswerRequest$Outbound,
+ z.ZodTypeDef,
+ EditanswerRequest
+> = z.object({
+ locale: z.string().optional(),
+ editAnswerRequest: components.EditAnswerRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ editAnswerRequest: "EditAnswerRequest",
+ });
+});
+
+export function editanswerRequestToJSON(
+ editanswerRequest: EditanswerRequest,
+): string {
+ return JSON.stringify(
+ EditanswerRequest$outboundSchema.parse(editanswerRequest),
+ );
+}
diff --git a/src/models/operations/editcollection.ts b/src/models/operations/editcollection.ts
new file mode 100644
index 00000000..4573cec4
--- /dev/null
+++ b/src/models/operations/editcollection.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type EditcollectionRequest = {
+ /**
+ * 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;
+ /**
+ * Collection content plus any additional metadata for the request.
+ */
+ editCollectionRequest: components.EditCollectionRequest;
+};
+
+/** @internal */
+export type EditcollectionRequest$Outbound = {
+ locale?: string | undefined;
+ EditCollectionRequest: components.EditCollectionRequest$Outbound;
+};
+
+/** @internal */
+export const EditcollectionRequest$outboundSchema: z.ZodType<
+ EditcollectionRequest$Outbound,
+ z.ZodTypeDef,
+ EditcollectionRequest
+> = z.object({
+ locale: z.string().optional(),
+ editCollectionRequest: components.EditCollectionRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ editCollectionRequest: "EditCollectionRequest",
+ });
+});
+
+export function editcollectionRequestToJSON(
+ editcollectionRequest: EditcollectionRequest,
+): string {
+ return JSON.stringify(
+ EditcollectionRequest$outboundSchema.parse(editcollectionRequest),
+ );
+}
diff --git a/src/models/operations/editcollectionitem.ts b/src/models/operations/editcollectionitem.ts
new file mode 100644
index 00000000..a54f0bd3
--- /dev/null
+++ b/src/models/operations/editcollectionitem.ts
@@ -0,0 +1,47 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type EditcollectionitemRequest = {
+ /**
+ * 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;
+ /**
+ * Edit Collection Items request
+ */
+ editCollectionItemRequest: components.EditCollectionItemRequest;
+};
+
+/** @internal */
+export type EditcollectionitemRequest$Outbound = {
+ locale?: string | undefined;
+ EditCollectionItemRequest: components.EditCollectionItemRequest$Outbound;
+};
+
+/** @internal */
+export const EditcollectionitemRequest$outboundSchema: z.ZodType<
+ EditcollectionitemRequest$Outbound,
+ z.ZodTypeDef,
+ EditcollectionitemRequest
+> = z.object({
+ locale: z.string().optional(),
+ editCollectionItemRequest:
+ components.EditCollectionItemRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ editCollectionItemRequest: "EditCollectionItemRequest",
+ });
+});
+
+export function editcollectionitemRequestToJSON(
+ editcollectionitemRequest: EditcollectionitemRequest,
+): string {
+ return JSON.stringify(
+ EditcollectionitemRequest$outboundSchema.parse(editcollectionitemRequest),
+ );
+}
diff --git a/src/models/operations/editpin.ts b/src/models/operations/editpin.ts
new file mode 100644
index 00000000..d4ec8f63
--- /dev/null
+++ b/src/models/operations/editpin.ts
@@ -0,0 +1,42 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type EditpinRequest = {
+ /**
+ * 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;
+ /**
+ * Edit pins request
+ */
+ editPinRequest: components.EditPinRequest;
+};
+
+/** @internal */
+export type EditpinRequest$Outbound = {
+ locale?: string | undefined;
+ EditPinRequest: components.EditPinRequest$Outbound;
+};
+
+/** @internal */
+export const EditpinRequest$outboundSchema: z.ZodType<
+ EditpinRequest$Outbound,
+ z.ZodTypeDef,
+ EditpinRequest
+> = z.object({
+ locale: z.string().optional(),
+ editPinRequest: components.EditPinRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ editPinRequest: "EditPinRequest",
+ });
+});
+
+export function editpinRequestToJSON(editpinRequest: EditpinRequest): string {
+ return JSON.stringify(EditpinRequest$outboundSchema.parse(editpinRequest));
+}
diff --git a/src/models/operations/feed.ts b/src/models/operations/feed.ts
new file mode 100644
index 00000000..2c55640d
--- /dev/null
+++ b/src/models/operations/feed.ts
@@ -0,0 +1,42 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type FeedRequest = {
+ /**
+ * 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;
+ /**
+ * Includes request params, client data and more for making user's feed.
+ */
+ feedRequest: components.FeedRequest;
+};
+
+/** @internal */
+export type FeedRequest$Outbound = {
+ locale?: string | undefined;
+ FeedRequest: components.FeedRequest$Outbound;
+};
+
+/** @internal */
+export const FeedRequest$outboundSchema: z.ZodType<
+ FeedRequest$Outbound,
+ z.ZodTypeDef,
+ FeedRequest
+> = z.object({
+ locale: z.string().optional(),
+ feedRequest: components.FeedRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ feedRequest: "FeedRequest",
+ });
+});
+
+export function feedRequestToJSON(feedRequest: FeedRequest): string {
+ return JSON.stringify(FeedRequest$outboundSchema.parse(feedRequest));
+}
diff --git a/src/models/operations/getagent.ts b/src/models/operations/getagent.ts
index 6f1795fa..40e8579c 100644
--- a/src/models/operations/getagent.ts
+++ b/src/models/operations/getagent.ts
@@ -6,6 +6,10 @@ import * as z from "zod/v3";
import { remap as remap$ } from "../../lib/primitives.js";
export type GetAgentRequest = {
+ /**
+ * 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.
*/
@@ -18,6 +22,7 @@ export type GetAgentRequest = {
/** @internal */
export type GetAgentRequest$Outbound = {
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
agent_id: string;
};
@@ -28,6 +33,7 @@ export const GetAgentRequest$outboundSchema: z.ZodType<
z.ZodTypeDef,
GetAgentRequest
> = z.object({
+ locale: z.string().optional(),
timezoneOffset: z.number().int().optional(),
agentId: z.string(),
}).transform((v) => {
diff --git a/src/models/operations/getagentschemas.ts b/src/models/operations/getagentschemas.ts
index 3d324338..74e1dc31 100644
--- a/src/models/operations/getagentschemas.ts
+++ b/src/models/operations/getagentschemas.ts
@@ -6,6 +6,10 @@ import * as z from "zod/v3";
import { remap as remap$ } from "../../lib/primitives.js";
export type GetAgentSchemasRequest = {
+ /**
+ * 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.
*/
@@ -18,6 +22,7 @@ export type GetAgentSchemasRequest = {
/** @internal */
export type GetAgentSchemasRequest$Outbound = {
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
agent_id: string;
};
@@ -28,6 +33,7 @@ export const GetAgentSchemasRequest$outboundSchema: z.ZodType<
z.ZodTypeDef,
GetAgentSchemasRequest
> = z.object({
+ locale: z.string().optional(),
timezoneOffset: z.number().int().optional(),
agentId: z.string(),
}).transform((v) => {
diff --git a/src/models/operations/getanswer.ts b/src/models/operations/getanswer.ts
new file mode 100644
index 00000000..e29d7ad3
--- /dev/null
+++ b/src/models/operations/getanswer.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type GetanswerRequest = {
+ /**
+ * 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;
+ /**
+ * GetAnswer request
+ */
+ getAnswerRequest: components.GetAnswerRequest;
+};
+
+/** @internal */
+export type GetanswerRequest$Outbound = {
+ locale?: string | undefined;
+ GetAnswerRequest: components.GetAnswerRequest$Outbound;
+};
+
+/** @internal */
+export const GetanswerRequest$outboundSchema: z.ZodType<
+ GetanswerRequest$Outbound,
+ z.ZodTypeDef,
+ GetanswerRequest
+> = z.object({
+ locale: z.string().optional(),
+ getAnswerRequest: components.GetAnswerRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ getAnswerRequest: "GetAnswerRequest",
+ });
+});
+
+export function getanswerRequestToJSON(
+ getanswerRequest: GetanswerRequest,
+): string {
+ return JSON.stringify(
+ GetanswerRequest$outboundSchema.parse(getanswerRequest),
+ );
+}
diff --git a/src/models/operations/getchat.ts b/src/models/operations/getchat.ts
index be06614d..24771590 100644
--- a/src/models/operations/getchat.ts
+++ b/src/models/operations/getchat.ts
@@ -7,6 +7,10 @@ import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
export type GetchatRequest = {
+ /**
+ * 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.
*/
@@ -16,6 +20,7 @@ export type GetchatRequest = {
/** @internal */
export type GetchatRequest$Outbound = {
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
GetChatRequest: components.GetChatRequest$Outbound;
};
@@ -26,6 +31,7 @@ export const GetchatRequest$outboundSchema: z.ZodType<
z.ZodTypeDef,
GetchatRequest
> = z.object({
+ locale: z.string().optional(),
timezoneOffset: z.number().int().optional(),
getChatRequest: components.GetChatRequest$outboundSchema,
}).transform((v) => {
diff --git a/src/models/operations/getchatapplication.ts b/src/models/operations/getchatapplication.ts
index 41679b31..caebb761 100644
--- a/src/models/operations/getchatapplication.ts
+++ b/src/models/operations/getchatapplication.ts
@@ -7,6 +7,10 @@ import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
export type GetchatapplicationRequest = {
+ /**
+ * 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.
*/
@@ -16,6 +20,7 @@ export type GetchatapplicationRequest = {
/** @internal */
export type GetchatapplicationRequest$Outbound = {
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
GetChatApplicationRequest: components.GetChatApplicationRequest$Outbound;
};
@@ -26,6 +31,7 @@ export const GetchatapplicationRequest$outboundSchema: z.ZodType<
z.ZodTypeDef,
GetchatapplicationRequest
> = z.object({
+ locale: z.string().optional(),
timezoneOffset: z.number().int().optional(),
getChatApplicationRequest:
components.GetChatApplicationRequest$outboundSchema,
diff --git a/src/models/operations/getchatfiles.ts b/src/models/operations/getchatfiles.ts
index 527c6627..2c19460a 100644
--- a/src/models/operations/getchatfiles.ts
+++ b/src/models/operations/getchatfiles.ts
@@ -7,6 +7,10 @@ import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
export type GetchatfilesRequest = {
+ /**
+ * 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.
*/
@@ -16,6 +20,7 @@ export type GetchatfilesRequest = {
/** @internal */
export type GetchatfilesRequest$Outbound = {
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
GetChatFilesRequest: components.GetChatFilesRequest$Outbound;
};
@@ -26,6 +31,7 @@ export const GetchatfilesRequest$outboundSchema: z.ZodType<
z.ZodTypeDef,
GetchatfilesRequest
> = z.object({
+ locale: z.string().optional(),
timezoneOffset: z.number().int().optional(),
getChatFilesRequest: components.GetChatFilesRequest$outboundSchema,
}).transform((v) => {
diff --git a/src/models/operations/getcollection.ts b/src/models/operations/getcollection.ts
new file mode 100644
index 00000000..5156bc67
--- /dev/null
+++ b/src/models/operations/getcollection.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type GetcollectionRequest = {
+ /**
+ * 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;
+ /**
+ * GetCollection request
+ */
+ getCollectionRequest: components.GetCollectionRequest;
+};
+
+/** @internal */
+export type GetcollectionRequest$Outbound = {
+ locale?: string | undefined;
+ GetCollectionRequest: components.GetCollectionRequest$Outbound;
+};
+
+/** @internal */
+export const GetcollectionRequest$outboundSchema: z.ZodType<
+ GetcollectionRequest$Outbound,
+ z.ZodTypeDef,
+ GetcollectionRequest
+> = z.object({
+ locale: z.string().optional(),
+ getCollectionRequest: components.GetCollectionRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ getCollectionRequest: "GetCollectionRequest",
+ });
+});
+
+export function getcollectionRequestToJSON(
+ getcollectionRequest: GetcollectionRequest,
+): string {
+ return JSON.stringify(
+ GetcollectionRequest$outboundSchema.parse(getcollectionRequest),
+ );
+}
diff --git a/src/models/operations/getdocpermissions.ts b/src/models/operations/getdocpermissions.ts
new file mode 100644
index 00000000..39b97736
--- /dev/null
+++ b/src/models/operations/getdocpermissions.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type GetdocpermissionsRequest = {
+ /**
+ * 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;
+ /**
+ * Document permissions request
+ */
+ getDocPermissionsRequest: components.GetDocPermissionsRequest;
+};
+
+/** @internal */
+export type GetdocpermissionsRequest$Outbound = {
+ locale?: string | undefined;
+ GetDocPermissionsRequest: components.GetDocPermissionsRequest$Outbound;
+};
+
+/** @internal */
+export const GetdocpermissionsRequest$outboundSchema: z.ZodType<
+ GetdocpermissionsRequest$Outbound,
+ z.ZodTypeDef,
+ GetdocpermissionsRequest
+> = z.object({
+ locale: z.string().optional(),
+ getDocPermissionsRequest: components.GetDocPermissionsRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ getDocPermissionsRequest: "GetDocPermissionsRequest",
+ });
+});
+
+export function getdocpermissionsRequestToJSON(
+ getdocpermissionsRequest: GetdocpermissionsRequest,
+): string {
+ return JSON.stringify(
+ GetdocpermissionsRequest$outboundSchema.parse(getdocpermissionsRequest),
+ );
+}
diff --git a/src/models/operations/getdocuments.ts b/src/models/operations/getdocuments.ts
new file mode 100644
index 00000000..4d347b90
--- /dev/null
+++ b/src/models/operations/getdocuments.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type GetdocumentsRequest = {
+ /**
+ * 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;
+ /**
+ * Information about documents requested.
+ */
+ getDocumentsRequest?: components.GetDocumentsRequest | undefined;
+};
+
+/** @internal */
+export type GetdocumentsRequest$Outbound = {
+ locale?: string | undefined;
+ GetDocumentsRequest?: components.GetDocumentsRequest$Outbound | undefined;
+};
+
+/** @internal */
+export const GetdocumentsRequest$outboundSchema: z.ZodType<
+ GetdocumentsRequest$Outbound,
+ z.ZodTypeDef,
+ GetdocumentsRequest
+> = z.object({
+ locale: z.string().optional(),
+ getDocumentsRequest: components.GetDocumentsRequest$outboundSchema.optional(),
+}).transform((v) => {
+ return remap$(v, {
+ getDocumentsRequest: "GetDocumentsRequest",
+ });
+});
+
+export function getdocumentsRequestToJSON(
+ getdocumentsRequest: GetdocumentsRequest,
+): string {
+ return JSON.stringify(
+ GetdocumentsRequest$outboundSchema.parse(getdocumentsRequest),
+ );
+}
diff --git a/src/models/operations/getdocumentsbyfacets.ts b/src/models/operations/getdocumentsbyfacets.ts
new file mode 100644
index 00000000..fb1046cb
--- /dev/null
+++ b/src/models/operations/getdocumentsbyfacets.ts
@@ -0,0 +1,53 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type GetdocumentsbyfacetsRequest = {
+ /**
+ * 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;
+ /**
+ * Information about facet conditions for documents to be retrieved.
+ */
+ getDocumentsByFacetsRequest?:
+ | components.GetDocumentsByFacetsRequest
+ | undefined;
+};
+
+/** @internal */
+export type GetdocumentsbyfacetsRequest$Outbound = {
+ locale?: string | undefined;
+ GetDocumentsByFacetsRequest?:
+ | components.GetDocumentsByFacetsRequest$Outbound
+ | undefined;
+};
+
+/** @internal */
+export const GetdocumentsbyfacetsRequest$outboundSchema: z.ZodType<
+ GetdocumentsbyfacetsRequest$Outbound,
+ z.ZodTypeDef,
+ GetdocumentsbyfacetsRequest
+> = z.object({
+ locale: z.string().optional(),
+ getDocumentsByFacetsRequest: components
+ .GetDocumentsByFacetsRequest$outboundSchema.optional(),
+}).transform((v) => {
+ return remap$(v, {
+ getDocumentsByFacetsRequest: "GetDocumentsByFacetsRequest",
+ });
+});
+
+export function getdocumentsbyfacetsRequestToJSON(
+ getdocumentsbyfacetsRequest: GetdocumentsbyfacetsRequest,
+): string {
+ return JSON.stringify(
+ GetdocumentsbyfacetsRequest$outboundSchema.parse(
+ getdocumentsbyfacetsRequest,
+ ),
+ );
+}
diff --git a/src/models/operations/getpin.ts b/src/models/operations/getpin.ts
new file mode 100644
index 00000000..86764e06
--- /dev/null
+++ b/src/models/operations/getpin.ts
@@ -0,0 +1,42 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type GetpinRequest = {
+ /**
+ * 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;
+ /**
+ * Get pin request
+ */
+ getPinRequest: components.GetPinRequest;
+};
+
+/** @internal */
+export type GetpinRequest$Outbound = {
+ locale?: string | undefined;
+ GetPinRequest: components.GetPinRequest$Outbound;
+};
+
+/** @internal */
+export const GetpinRequest$outboundSchema: z.ZodType<
+ GetpinRequest$Outbound,
+ z.ZodTypeDef,
+ GetpinRequest
+> = z.object({
+ locale: z.string().optional(),
+ getPinRequest: components.GetPinRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ getPinRequest: "GetPinRequest",
+ });
+});
+
+export function getpinRequestToJSON(getpinRequest: GetpinRequest): string {
+ return JSON.stringify(GetpinRequest$outboundSchema.parse(getpinRequest));
+}
diff --git a/src/models/operations/getshortcut.ts b/src/models/operations/getshortcut.ts
new file mode 100644
index 00000000..84dab924
--- /dev/null
+++ b/src/models/operations/getshortcut.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type GetshortcutRequest = {
+ /**
+ * 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;
+ /**
+ * GetShortcut request
+ */
+ getShortcutRequest: components.GetShortcutRequestUnion;
+};
+
+/** @internal */
+export type GetshortcutRequest$Outbound = {
+ locale?: string | undefined;
+ GetShortcutRequest: components.GetShortcutRequestUnion$Outbound;
+};
+
+/** @internal */
+export const GetshortcutRequest$outboundSchema: z.ZodType<
+ GetshortcutRequest$Outbound,
+ z.ZodTypeDef,
+ GetshortcutRequest
+> = z.object({
+ locale: z.string().optional(),
+ getShortcutRequest: components.GetShortcutRequestUnion$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ getShortcutRequest: "GetShortcutRequest",
+ });
+});
+
+export function getshortcutRequestToJSON(
+ getshortcutRequest: GetshortcutRequest,
+): string {
+ return JSON.stringify(
+ GetshortcutRequest$outboundSchema.parse(getshortcutRequest),
+ );
+}
diff --git a/src/models/operations/index.ts b/src/models/operations/index.ts
index f39bfab6..73ce30c4 100644
--- a/src/models/operations/index.ts
+++ b/src/models/operations/index.ts
@@ -2,33 +2,72 @@
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
+export * from "./addcollectionitems.js";
+export * from "./addverificationreminder.js";
+export * from "./adminsearch.js";
+export * from "./autocomplete.js";
export * from "./chat.js";
export * from "./chatstream.js";
+export * from "./createannouncement.js";
+export * from "./createanswer.js";
export * from "./createcollection.js";
+export * from "./createshortcut.js";
export * from "./deleteallchats.js";
+export * from "./deleteannouncement.js";
+export * from "./deleteanswer.js";
export * from "./deletechatfiles.js";
export * from "./deletechats.js";
+export * from "./deletecollection.js";
+export * from "./deletecollectionitem.js";
export * from "./deletefindingsexport.js";
+export * from "./deleteshortcut.js";
export * from "./downloadfindingsexport.js";
export * from "./downloadpolicycsv.js";
export * from "./downloadreportcsv.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 "./getagent.js";
export * from "./getagentschemas.js";
+export * from "./getanswer.js";
export * from "./getchat.js";
export * from "./getchatapplication.js";
export * from "./getchatfiles.js";
+export * from "./getcollection.js";
+export * from "./getdocpermissions.js";
+export * from "./getdocuments.js";
+export * from "./getdocumentsbyfacets.js";
export * from "./getdocvisibility.js";
+export * from "./getpin.js";
export * from "./getpolicy.js";
export * from "./getreportstatus.js";
export * from "./getrestapiv1toolslist.js";
+export * from "./getshortcut.js";
+export * from "./insights.js";
+export * from "./listanswers.js";
export * from "./listchats.js";
+export * from "./listcollections.js";
+export * from "./listentities.js";
export * from "./listpins.js";
export * from "./listpolicies.js";
+export * from "./listshortcuts.js";
export * from "./listverifications.js";
+export * from "./messages.js";
+export * from "./people.js";
+export * from "./pin.js";
export * from "./postapiindexv1debugdatasourcedocument.js";
export * from "./postapiindexv1debugdatasourcedocuments.js";
export * from "./postapiindexv1debugdatasourcestatus.js";
export * from "./postapiindexv1debugdatasourceuser.js";
+export * from "./recommendations.js";
+export * from "./search.js";
+export * from "./summarize.js";
+export * from "./unpin.js";
+export * from "./updateannouncement.js";
export * from "./updatepolicy.js";
+export * from "./updateshortcut.js";
export * from "./uploadchatfiles.js";
+export * from "./verify.js";
diff --git a/src/models/operations/insights.ts b/src/models/operations/insights.ts
new file mode 100644
index 00000000..df3a4088
--- /dev/null
+++ b/src/models/operations/insights.ts
@@ -0,0 +1,44 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type InsightsRequest = {
+ /**
+ * 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;
+ /**
+ * Includes request parameters for insights requests.
+ */
+ insightsRequest: components.InsightsRequest;
+};
+
+/** @internal */
+export type InsightsRequest$Outbound = {
+ locale?: string | undefined;
+ InsightsRequest: components.InsightsRequest$Outbound;
+};
+
+/** @internal */
+export const InsightsRequest$outboundSchema: z.ZodType<
+ InsightsRequest$Outbound,
+ z.ZodTypeDef,
+ InsightsRequest
+> = z.object({
+ locale: z.string().optional(),
+ insightsRequest: components.InsightsRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ insightsRequest: "InsightsRequest",
+ });
+});
+
+export function insightsRequestToJSON(
+ insightsRequest: InsightsRequest,
+): string {
+ return JSON.stringify(InsightsRequest$outboundSchema.parse(insightsRequest));
+}
diff --git a/src/models/operations/listanswers.ts b/src/models/operations/listanswers.ts
new file mode 100644
index 00000000..1df6ad71
--- /dev/null
+++ b/src/models/operations/listanswers.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type ListanswersRequest = {
+ /**
+ * 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;
+ /**
+ * ListAnswers request
+ */
+ listAnswersRequest: components.ListAnswersRequest;
+};
+
+/** @internal */
+export type ListanswersRequest$Outbound = {
+ locale?: string | undefined;
+ ListAnswersRequest: components.ListAnswersRequest$Outbound;
+};
+
+/** @internal */
+export const ListanswersRequest$outboundSchema: z.ZodType<
+ ListanswersRequest$Outbound,
+ z.ZodTypeDef,
+ ListanswersRequest
+> = z.object({
+ locale: z.string().optional(),
+ listAnswersRequest: components.ListAnswersRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ listAnswersRequest: "ListAnswersRequest",
+ });
+});
+
+export function listanswersRequestToJSON(
+ listanswersRequest: ListanswersRequest,
+): string {
+ return JSON.stringify(
+ ListanswersRequest$outboundSchema.parse(listanswersRequest),
+ );
+}
diff --git a/src/models/operations/listchats.ts b/src/models/operations/listchats.ts
index c0364c2a..4ba98801 100644
--- a/src/models/operations/listchats.ts
+++ b/src/models/operations/listchats.ts
@@ -5,6 +5,10 @@
import * as z from "zod/v3";
export type ListchatsRequest = {
+ /**
+ * 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.
*/
@@ -13,6 +17,7 @@ export type ListchatsRequest = {
/** @internal */
export type ListchatsRequest$Outbound = {
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
};
@@ -22,6 +27,7 @@ export const ListchatsRequest$outboundSchema: z.ZodType<
z.ZodTypeDef,
ListchatsRequest
> = z.object({
+ locale: z.string().optional(),
timezoneOffset: z.number().int().optional(),
});
diff --git a/src/models/operations/listcollections.ts b/src/models/operations/listcollections.ts
new file mode 100644
index 00000000..8c1fe62f
--- /dev/null
+++ b/src/models/operations/listcollections.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type ListcollectionsRequest = {
+ /**
+ * 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;
+ /**
+ * ListCollections request
+ */
+ listCollectionsRequest: components.ListCollectionsRequest;
+};
+
+/** @internal */
+export type ListcollectionsRequest$Outbound = {
+ locale?: string | undefined;
+ ListCollectionsRequest: components.ListCollectionsRequest$Outbound;
+};
+
+/** @internal */
+export const ListcollectionsRequest$outboundSchema: z.ZodType<
+ ListcollectionsRequest$Outbound,
+ z.ZodTypeDef,
+ ListcollectionsRequest
+> = z.object({
+ locale: z.string().optional(),
+ listCollectionsRequest: components.ListCollectionsRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ listCollectionsRequest: "ListCollectionsRequest",
+ });
+});
+
+export function listcollectionsRequestToJSON(
+ listcollectionsRequest: ListcollectionsRequest,
+): string {
+ return JSON.stringify(
+ ListcollectionsRequest$outboundSchema.parse(listcollectionsRequest),
+ );
+}
diff --git a/src/models/operations/listentities.ts b/src/models/operations/listentities.ts
new file mode 100644
index 00000000..ec26037f
--- /dev/null
+++ b/src/models/operations/listentities.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type ListentitiesRequest = {
+ /**
+ * 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;
+ /**
+ * List people request
+ */
+ listEntitiesRequest: components.ListEntitiesRequest;
+};
+
+/** @internal */
+export type ListentitiesRequest$Outbound = {
+ locale?: string | undefined;
+ ListEntitiesRequest: components.ListEntitiesRequest$Outbound;
+};
+
+/** @internal */
+export const ListentitiesRequest$outboundSchema: z.ZodType<
+ ListentitiesRequest$Outbound,
+ z.ZodTypeDef,
+ ListentitiesRequest
+> = z.object({
+ locale: z.string().optional(),
+ listEntitiesRequest: components.ListEntitiesRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ listEntitiesRequest: "ListEntitiesRequest",
+ });
+});
+
+export function listentitiesRequestToJSON(
+ listentitiesRequest: ListentitiesRequest,
+): string {
+ return JSON.stringify(
+ ListentitiesRequest$outboundSchema.parse(listentitiesRequest),
+ );
+}
diff --git a/src/models/operations/listpins.ts b/src/models/operations/listpins.ts
index 2ca13ebd..57ae2441 100644
--- a/src/models/operations/listpins.ts
+++ b/src/models/operations/listpins.ts
@@ -3,21 +3,61 @@
*/
import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
/**
* List pins request
*/
-export type ListpinsRequest = {};
+export type ListpinsRequestBody = {};
+
+export type ListpinsRequest = {
+ /**
+ * 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;
+ /**
+ * List pins request
+ */
+ requestBody: ListpinsRequestBody;
+};
/** @internal */
-export type ListpinsRequest$Outbound = {};
+export type ListpinsRequestBody$Outbound = {};
+
+/** @internal */
+export const ListpinsRequestBody$outboundSchema: z.ZodType<
+ ListpinsRequestBody$Outbound,
+ z.ZodTypeDef,
+ ListpinsRequestBody
+> = z.object({});
+
+export function listpinsRequestBodyToJSON(
+ listpinsRequestBody: ListpinsRequestBody,
+): string {
+ return JSON.stringify(
+ ListpinsRequestBody$outboundSchema.parse(listpinsRequestBody),
+ );
+}
+
+/** @internal */
+export type ListpinsRequest$Outbound = {
+ locale?: string | undefined;
+ RequestBody: ListpinsRequestBody$Outbound;
+};
/** @internal */
export const ListpinsRequest$outboundSchema: z.ZodType<
ListpinsRequest$Outbound,
z.ZodTypeDef,
ListpinsRequest
-> = z.object({});
+> = z.object({
+ locale: z.string().optional(),
+ requestBody: z.lazy(() => ListpinsRequestBody$outboundSchema),
+}).transform((v) => {
+ return remap$(v, {
+ requestBody: "RequestBody",
+ });
+});
export function listpinsRequestToJSON(
listpinsRequest: ListpinsRequest,
diff --git a/src/models/operations/listshortcuts.ts b/src/models/operations/listshortcuts.ts
new file mode 100644
index 00000000..062132b1
--- /dev/null
+++ b/src/models/operations/listshortcuts.ts
@@ -0,0 +1,48 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type ListshortcutsRequest = {
+ /**
+ * 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;
+ /**
+ * Filters, sorters, paging params required for pagination
+ */
+ listShortcutsPaginatedRequest: components.ListShortcutsPaginatedRequest;
+};
+
+/** @internal */
+export type ListshortcutsRequest$Outbound = {
+ locale?: string | undefined;
+ ListShortcutsPaginatedRequest:
+ components.ListShortcutsPaginatedRequest$Outbound;
+};
+
+/** @internal */
+export const ListshortcutsRequest$outboundSchema: z.ZodType<
+ ListshortcutsRequest$Outbound,
+ z.ZodTypeDef,
+ ListshortcutsRequest
+> = z.object({
+ locale: z.string().optional(),
+ listShortcutsPaginatedRequest:
+ components.ListShortcutsPaginatedRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ listShortcutsPaginatedRequest: "ListShortcutsPaginatedRequest",
+ });
+});
+
+export function listshortcutsRequestToJSON(
+ listshortcutsRequest: ListshortcutsRequest,
+): string {
+ return JSON.stringify(
+ ListshortcutsRequest$outboundSchema.parse(listshortcutsRequest),
+ );
+}
diff --git a/src/models/operations/listverifications.ts b/src/models/operations/listverifications.ts
index 0e4fa668..79f4d7e6 100644
--- a/src/models/operations/listverifications.ts
+++ b/src/models/operations/listverifications.ts
@@ -9,11 +9,16 @@ export type ListverificationsRequest = {
* Maximum number of documents to return
*/
count?: number | undefined;
+ /**
+ * 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;
};
/** @internal */
export type ListverificationsRequest$Outbound = {
count?: number | undefined;
+ locale?: string | undefined;
};
/** @internal */
@@ -23,6 +28,7 @@ export const ListverificationsRequest$outboundSchema: z.ZodType<
ListverificationsRequest
> = z.object({
count: z.number().int().optional(),
+ locale: z.string().optional(),
});
export function listverificationsRequestToJSON(
diff --git a/src/models/operations/messages.ts b/src/models/operations/messages.ts
new file mode 100644
index 00000000..f013debb
--- /dev/null
+++ b/src/models/operations/messages.ts
@@ -0,0 +1,44 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type MessagesRequest = {
+ /**
+ * 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;
+ /**
+ * Includes request params such as the id for channel/message and direction.
+ */
+ messagesRequest: components.MessagesRequest;
+};
+
+/** @internal */
+export type MessagesRequest$Outbound = {
+ locale?: string | undefined;
+ MessagesRequest: components.MessagesRequest$Outbound;
+};
+
+/** @internal */
+export const MessagesRequest$outboundSchema: z.ZodType<
+ MessagesRequest$Outbound,
+ z.ZodTypeDef,
+ MessagesRequest
+> = z.object({
+ locale: z.string().optional(),
+ messagesRequest: components.MessagesRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ messagesRequest: "MessagesRequest",
+ });
+});
+
+export function messagesRequestToJSON(
+ messagesRequest: MessagesRequest,
+): string {
+ return JSON.stringify(MessagesRequest$outboundSchema.parse(messagesRequest));
+}
diff --git a/src/models/operations/people.ts b/src/models/operations/people.ts
new file mode 100644
index 00000000..dee5a23f
--- /dev/null
+++ b/src/models/operations/people.ts
@@ -0,0 +1,42 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type PeopleRequest = {
+ /**
+ * 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;
+ /**
+ * People request
+ */
+ peopleRequest: components.PeopleRequest;
+};
+
+/** @internal */
+export type PeopleRequest$Outbound = {
+ locale?: string | undefined;
+ PeopleRequest: components.PeopleRequest$Outbound;
+};
+
+/** @internal */
+export const PeopleRequest$outboundSchema: z.ZodType<
+ PeopleRequest$Outbound,
+ z.ZodTypeDef,
+ PeopleRequest
+> = z.object({
+ locale: z.string().optional(),
+ peopleRequest: components.PeopleRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ peopleRequest: "PeopleRequest",
+ });
+});
+
+export function peopleRequestToJSON(peopleRequest: PeopleRequest): string {
+ return JSON.stringify(PeopleRequest$outboundSchema.parse(peopleRequest));
+}
diff --git a/src/models/operations/pin.ts b/src/models/operations/pin.ts
new file mode 100644
index 00000000..c07e941b
--- /dev/null
+++ b/src/models/operations/pin.ts
@@ -0,0 +1,42 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type PinRequest = {
+ /**
+ * 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;
+ /**
+ * Details about the document and query for the pin.
+ */
+ pinRequest: components.PinRequest;
+};
+
+/** @internal */
+export type PinRequest$Outbound = {
+ locale?: string | undefined;
+ PinRequest: components.PinRequest$Outbound;
+};
+
+/** @internal */
+export const PinRequest$outboundSchema: z.ZodType<
+ PinRequest$Outbound,
+ z.ZodTypeDef,
+ PinRequest
+> = z.object({
+ locale: z.string().optional(),
+ pinRequest: components.PinRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ pinRequest: "PinRequest",
+ });
+});
+
+export function pinRequestToJSON(pinRequest: PinRequest): string {
+ return JSON.stringify(PinRequest$outboundSchema.parse(pinRequest));
+}
diff --git a/src/models/operations/recommendations.ts b/src/models/operations/recommendations.ts
new file mode 100644
index 00000000..910b8da4
--- /dev/null
+++ b/src/models/operations/recommendations.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type RecommendationsRequest = {
+ /**
+ * 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;
+ /**
+ * Recommendations request
+ */
+ recommendationsRequest: components.RecommendationsRequest;
+};
+
+/** @internal */
+export type RecommendationsRequest$Outbound = {
+ locale?: string | undefined;
+ RecommendationsRequest: components.RecommendationsRequest$Outbound;
+};
+
+/** @internal */
+export const RecommendationsRequest$outboundSchema: z.ZodType<
+ RecommendationsRequest$Outbound,
+ z.ZodTypeDef,
+ RecommendationsRequest
+> = z.object({
+ locale: z.string().optional(),
+ recommendationsRequest: components.RecommendationsRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ recommendationsRequest: "RecommendationsRequest",
+ });
+});
+
+export function recommendationsRequestToJSON(
+ recommendationsRequest: RecommendationsRequest,
+): string {
+ return JSON.stringify(
+ RecommendationsRequest$outboundSchema.parse(recommendationsRequest),
+ );
+}
diff --git a/src/models/operations/search.ts b/src/models/operations/search.ts
new file mode 100644
index 00000000..b3c2fae9
--- /dev/null
+++ b/src/models/operations/search.ts
@@ -0,0 +1,42 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type SearchRequest = {
+ /**
+ * 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;
+ /**
+ * Search request
+ */
+ searchRequest: components.SearchRequest;
+};
+
+/** @internal */
+export type SearchRequest$Outbound = {
+ locale?: string | undefined;
+ SearchRequest: components.SearchRequest$Outbound;
+};
+
+/** @internal */
+export const SearchRequest$outboundSchema: z.ZodType<
+ SearchRequest$Outbound,
+ z.ZodTypeDef,
+ SearchRequest
+> = z.object({
+ locale: z.string().optional(),
+ searchRequest: components.SearchRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ searchRequest: "SearchRequest",
+ });
+});
+
+export function searchRequestToJSON(searchRequest: SearchRequest): string {
+ return JSON.stringify(SearchRequest$outboundSchema.parse(searchRequest));
+}
diff --git a/src/models/operations/summarize.ts b/src/models/operations/summarize.ts
new file mode 100644
index 00000000..2694bf18
--- /dev/null
+++ b/src/models/operations/summarize.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type SummarizeRequest = {
+ /**
+ * 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;
+ /**
+ * Includes request params such as the query and specs of the documents to summarize.
+ */
+ summarizeRequest: components.SummarizeRequest;
+};
+
+/** @internal */
+export type SummarizeRequest$Outbound = {
+ locale?: string | undefined;
+ SummarizeRequest: components.SummarizeRequest$Outbound;
+};
+
+/** @internal */
+export const SummarizeRequest$outboundSchema: z.ZodType<
+ SummarizeRequest$Outbound,
+ z.ZodTypeDef,
+ SummarizeRequest
+> = z.object({
+ locale: z.string().optional(),
+ summarizeRequest: components.SummarizeRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ summarizeRequest: "SummarizeRequest",
+ });
+});
+
+export function summarizeRequestToJSON(
+ summarizeRequest: SummarizeRequest,
+): string {
+ return JSON.stringify(
+ SummarizeRequest$outboundSchema.parse(summarizeRequest),
+ );
+}
diff --git a/src/models/operations/unpin.ts b/src/models/operations/unpin.ts
new file mode 100644
index 00000000..0fe997c7
--- /dev/null
+++ b/src/models/operations/unpin.ts
@@ -0,0 +1,42 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type UnpinRequest = {
+ /**
+ * 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;
+ /**
+ * Details about the pin being unpinned.
+ */
+ unpin: components.Unpin;
+};
+
+/** @internal */
+export type UnpinRequest$Outbound = {
+ locale?: string | undefined;
+ Unpin: components.Unpin$Outbound;
+};
+
+/** @internal */
+export const UnpinRequest$outboundSchema: z.ZodType<
+ UnpinRequest$Outbound,
+ z.ZodTypeDef,
+ UnpinRequest
+> = z.object({
+ locale: z.string().optional(),
+ unpin: components.Unpin$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ unpin: "Unpin",
+ });
+});
+
+export function unpinRequestToJSON(unpinRequest: UnpinRequest): string {
+ return JSON.stringify(UnpinRequest$outboundSchema.parse(unpinRequest));
+}
diff --git a/src/models/operations/updateannouncement.ts b/src/models/operations/updateannouncement.ts
new file mode 100644
index 00000000..417582cb
--- /dev/null
+++ b/src/models/operations/updateannouncement.ts
@@ -0,0 +1,47 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type UpdateannouncementRequest = {
+ /**
+ * 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;
+ /**
+ * Announcement content. Id need to be specified for the announcement.
+ */
+ updateAnnouncementRequest: components.UpdateAnnouncementRequest;
+};
+
+/** @internal */
+export type UpdateannouncementRequest$Outbound = {
+ locale?: string | undefined;
+ UpdateAnnouncementRequest: components.UpdateAnnouncementRequest$Outbound;
+};
+
+/** @internal */
+export const UpdateannouncementRequest$outboundSchema: z.ZodType<
+ UpdateannouncementRequest$Outbound,
+ z.ZodTypeDef,
+ UpdateannouncementRequest
+> = z.object({
+ locale: z.string().optional(),
+ updateAnnouncementRequest:
+ components.UpdateAnnouncementRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ updateAnnouncementRequest: "UpdateAnnouncementRequest",
+ });
+});
+
+export function updateannouncementRequestToJSON(
+ updateannouncementRequest: UpdateannouncementRequest,
+): string {
+ return JSON.stringify(
+ UpdateannouncementRequest$outboundSchema.parse(updateannouncementRequest),
+ );
+}
diff --git a/src/models/operations/updateshortcut.ts b/src/models/operations/updateshortcut.ts
new file mode 100644
index 00000000..0bd0384d
--- /dev/null
+++ b/src/models/operations/updateshortcut.ts
@@ -0,0 +1,46 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type UpdateshortcutRequest = {
+ /**
+ * 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;
+ /**
+ * Shortcut content. Id need to be specified for the shortcut.
+ */
+ updateShortcutRequest: components.UpdateShortcutRequest;
+};
+
+/** @internal */
+export type UpdateshortcutRequest$Outbound = {
+ locale?: string | undefined;
+ UpdateShortcutRequest: components.UpdateShortcutRequest$Outbound;
+};
+
+/** @internal */
+export const UpdateshortcutRequest$outboundSchema: z.ZodType<
+ UpdateshortcutRequest$Outbound,
+ z.ZodTypeDef,
+ UpdateshortcutRequest
+> = z.object({
+ locale: z.string().optional(),
+ updateShortcutRequest: components.UpdateShortcutRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ updateShortcutRequest: "UpdateShortcutRequest",
+ });
+});
+
+export function updateshortcutRequestToJSON(
+ updateshortcutRequest: UpdateshortcutRequest,
+): string {
+ return JSON.stringify(
+ UpdateshortcutRequest$outboundSchema.parse(updateshortcutRequest),
+ );
+}
diff --git a/src/models/operations/uploadchatfiles.ts b/src/models/operations/uploadchatfiles.ts
index 2a94d185..64fdf738 100644
--- a/src/models/operations/uploadchatfiles.ts
+++ b/src/models/operations/uploadchatfiles.ts
@@ -7,6 +7,10 @@ import { remap as remap$ } from "../../lib/primitives.js";
import * as components from "../components/index.js";
export type UploadchatfilesRequest = {
+ /**
+ * 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.
*/
@@ -16,6 +20,7 @@ export type UploadchatfilesRequest = {
/** @internal */
export type UploadchatfilesRequest$Outbound = {
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
UploadChatFilesRequest: components.UploadChatFilesRequest$Outbound;
};
@@ -26,6 +31,7 @@ export const UploadchatfilesRequest$outboundSchema: z.ZodType<
z.ZodTypeDef,
UploadchatfilesRequest
> = z.object({
+ locale: z.string().optional(),
timezoneOffset: z.number().int().optional(),
uploadChatFilesRequest: components.UploadChatFilesRequest$outboundSchema,
}).transform((v) => {
diff --git a/src/models/operations/verify.ts b/src/models/operations/verify.ts
new file mode 100644
index 00000000..d9dd9d7a
--- /dev/null
+++ b/src/models/operations/verify.ts
@@ -0,0 +1,42 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+
+import * as z from "zod/v3";
+import { remap as remap$ } from "../../lib/primitives.js";
+import * as components from "../components/index.js";
+
+export type VerifyRequest = {
+ /**
+ * 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;
+ /**
+ * Details about the verification request.
+ */
+ verifyRequest: components.VerifyRequest;
+};
+
+/** @internal */
+export type VerifyRequest$Outbound = {
+ locale?: string | undefined;
+ VerifyRequest: components.VerifyRequest$Outbound;
+};
+
+/** @internal */
+export const VerifyRequest$outboundSchema: z.ZodType<
+ VerifyRequest$Outbound,
+ z.ZodTypeDef,
+ VerifyRequest
+> = z.object({
+ locale: z.string().optional(),
+ verifyRequest: components.VerifyRequest$outboundSchema,
+}).transform((v) => {
+ return remap$(v, {
+ verifyRequest: "VerifyRequest",
+ });
+});
+
+export function verifyRequestToJSON(verifyRequest: VerifyRequest): string {
+ return JSON.stringify(VerifyRequest$outboundSchema.parse(verifyRequest));
+}
diff --git a/src/react-query/_types.ts b/src/react-query/_types.ts
index 504419b8..cd2a9554 100644
--- a/src/react-query/_types.ts
+++ b/src/react-query/_types.ts
@@ -92,27 +92,28 @@ export type TupleToPrefixes = T extends [...infer Prefix, any]
? TupleToPrefixes | T
: never;
-export type QueryHookOptions =
+export type QueryHookOptions =
& Omit<
- UseQueryOptions,
+ UseQueryOptions,
"queryKey" | "queryFn" | "select" | keyof RequestOptions
>
& RequestOptions;
-export type SuspenseQueryHookOptions =
+export type SuspenseQueryHookOptions =
& Omit<
- UseSuspenseQueryOptions,
+ UseSuspenseQueryOptions,
"queryKey" | "queryFn" | "select" | keyof RequestOptions
>
& RequestOptions;
export type InfiniteQueryHookOptions<
Data extends PageIterator,
+ Err = Error,
> =
& Omit<
UseInfiniteQueryOptions<
Data,
- Error,
+ Err,
InfiniteData,
QueryKey,
Data["~next"]
@@ -130,11 +131,12 @@ export type InfiniteQueryHookOptions<
export type SuspenseInfiniteQueryHookOptions<
Data extends PageIterator,
+ Err = Error,
> =
& Omit<
UseSuspenseInfiniteQueryOptions<
Data,
- Error,
+ Err,
InfiniteData,
QueryKey,
Data["~next"]
diff --git a/src/react-query/clientActivityFeedback.ts b/src/react-query/clientActivityFeedback.ts
index 8b5c66a7..04ef3a7b 100644
--- a/src/react-query/clientActivityFeedback.ts
+++ b/src/react-query/clientActivityFeedback.ts
@@ -12,6 +12,16 @@ import { clientActivityFeedback } from "../funcs/clientActivityFeedback.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";
@@ -24,6 +34,16 @@ export type ClientActivityFeedbackMutationVariables = {
export type ClientActivityFeedbackMutationData = void;
+export type ClientActivityFeedbackMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Report client activity
*
@@ -33,12 +53,12 @@ export type ClientActivityFeedbackMutationData = void;
export function useClientActivityFeedbackMutation(
options?: MutationHookOptions<
ClientActivityFeedbackMutationData,
- Error,
+ ClientActivityFeedbackMutationError,
ClientActivityFeedbackMutationVariables
>,
): UseMutationResult<
ClientActivityFeedbackMutationData,
- Error,
+ ClientActivityFeedbackMutationError,
ClientActivityFeedbackMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/clientActivityReport.ts b/src/react-query/clientActivityReport.ts
index f379a9f6..127161a1 100644
--- a/src/react-query/clientActivityReport.ts
+++ b/src/react-query/clientActivityReport.ts
@@ -12,6 +12,16 @@ import { clientActivityReport } from "../funcs/clientActivityReport.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";
@@ -23,6 +33,16 @@ export type ClientActivityReportMutationVariables = {
export type ClientActivityReportMutationData = void;
+export type ClientActivityReportMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Report document activity
*
@@ -32,12 +52,12 @@ export type ClientActivityReportMutationData = void;
export function useClientActivityReportMutation(
options?: MutationHookOptions<
ClientActivityReportMutationData,
- Error,
+ ClientActivityReportMutationError,
ClientActivityReportMutationVariables
>,
): UseMutationResult<
ClientActivityReportMutationData,
- Error,
+ ClientActivityReportMutationError,
ClientActivityReportMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/clientAgentsList.ts b/src/react-query/clientAgentsList.ts
index 034bc91d..4d5ca6a3 100644
--- a/src/react-query/clientAgentsList.ts
+++ b/src/react-query/clientAgentsList.ts
@@ -12,6 +12,16 @@ import { clientAgentsList } from "../funcs/clientAgentsList.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";
@@ -23,6 +33,16 @@ export type ClientAgentsListMutationVariables = {
export type ClientAgentsListMutationData = components.SearchAgentsResponse;
+export type ClientAgentsListMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Search agents
*
@@ -32,12 +52,12 @@ export type ClientAgentsListMutationData = components.SearchAgentsResponse;
export function useClientAgentsListMutation(
options?: MutationHookOptions<
ClientAgentsListMutationData,
- Error,
+ ClientAgentsListMutationError,
ClientAgentsListMutationVariables
>,
): UseMutationResult<
ClientAgentsListMutationData,
- Error,
+ ClientAgentsListMutationError,
ClientAgentsListMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/clientAgentsRetrieve.core.ts b/src/react-query/clientAgentsRetrieve.core.ts
index 3ecba001..e3e57707 100644
--- a/src/react-query/clientAgentsRetrieve.core.ts
+++ b/src/react-query/clientAgentsRetrieve.core.ts
@@ -19,6 +19,7 @@ export function prefetchClientAgentsRetrieve(
queryClient: QueryClient,
client$: GleanCore,
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise {
@@ -26,6 +27,7 @@ export function prefetchClientAgentsRetrieve(
...buildClientAgentsRetrieveQuery(
client$,
agentId,
+ locale,
timezoneOffset,
options,
),
@@ -35,6 +37,7 @@ export function prefetchClientAgentsRetrieve(
export function buildClientAgentsRetrieveQuery(
client$: GleanCore,
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): {
@@ -44,7 +47,7 @@ export function buildClientAgentsRetrieveQuery(
) => Promise;
} {
return {
- queryKey: queryKeyClientAgentsRetrieve(agentId, { timezoneOffset }),
+ queryKey: queryKeyClientAgentsRetrieve(agentId, { locale, timezoneOffset }),
queryFn: async function clientAgentsRetrieveQueryFn(
ctx,
): Promise {
@@ -62,6 +65,7 @@ export function buildClientAgentsRetrieveQuery(
return unwrapAsync(clientAgentsRetrieve(
client$,
agentId,
+ locale,
timezoneOffset,
mergedOptions,
));
@@ -71,7 +75,10 @@ export function buildClientAgentsRetrieveQuery(
export function queryKeyClientAgentsRetrieve(
agentId: string,
- parameters: { timezoneOffset?: number | undefined },
+ parameters: {
+ locale?: string | undefined;
+ timezoneOffset?: number | undefined;
+ },
): QueryKey {
return ["@gleanwork/api-client", "agents", "retrieve", agentId, parameters];
}
diff --git a/src/react-query/clientAgentsRetrieve.ts b/src/react-query/clientAgentsRetrieve.ts
index dbc6bdf6..fd301983 100644
--- a/src/react-query/clientAgentsRetrieve.ts
+++ b/src/react-query/clientAgentsRetrieve.ts
@@ -10,6 +10,16 @@ import {
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,
@@ -29,6 +39,16 @@ export {
queryKeyClientAgentsRetrieve,
};
+export type ClientAgentsRetrieveQueryError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Retrieve an agent
*
@@ -37,14 +57,22 @@ export {
*/
export function useClientAgentsRetrieve(
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
- options?: QueryHookOptions,
-): UseQueryResult {
+ options?: QueryHookOptions<
+ ClientAgentsRetrieveQueryData,
+ ClientAgentsRetrieveQueryError
+ >,
+): UseQueryResult<
+ ClientAgentsRetrieveQueryData,
+ ClientAgentsRetrieveQueryError
+> {
const client = useGleanContext();
return useQuery({
...buildClientAgentsRetrieveQuery(
client,
agentId,
+ locale,
timezoneOffset,
options,
),
@@ -60,14 +88,22 @@ export function useClientAgentsRetrieve(
*/
export function useClientAgentsRetrieveSuspense(
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
- options?: SuspenseQueryHookOptions,
-): UseSuspenseQueryResult {
+ options?: SuspenseQueryHookOptions<
+ ClientAgentsRetrieveQueryData,
+ ClientAgentsRetrieveQueryError
+ >,
+): UseSuspenseQueryResult<
+ ClientAgentsRetrieveQueryData,
+ ClientAgentsRetrieveQueryError
+> {
const client = useGleanContext();
return useSuspenseQuery({
...buildClientAgentsRetrieveQuery(
client,
agentId,
+ locale,
timezoneOffset,
options,
),
@@ -79,7 +115,10 @@ export function setClientAgentsRetrieveData(
client: QueryClient,
queryKeyBase: [
agentId: string,
- parameters: { timezoneOffset?: number | undefined },
+ parameters: {
+ locale?: string | undefined;
+ timezoneOffset?: number | undefined;
+ },
],
data: ClientAgentsRetrieveQueryData,
): ClientAgentsRetrieveQueryData | undefined {
@@ -91,7 +130,13 @@ export function setClientAgentsRetrieveData(
export function invalidateClientAgentsRetrieve(
client: QueryClient,
queryKeyBase: TupleToPrefixes<
- [agentId: string, parameters: { timezoneOffset?: number | undefined }]
+ [
+ agentId: string,
+ parameters: {
+ locale?: string | undefined;
+ timezoneOffset?: number | undefined;
+ },
+ ]
>,
filters?: Omit,
): Promise {
diff --git a/src/react-query/clientAgentsRetrieveSchemas.core.ts b/src/react-query/clientAgentsRetrieveSchemas.core.ts
index 892769e5..b7f89ade 100644
--- a/src/react-query/clientAgentsRetrieveSchemas.core.ts
+++ b/src/react-query/clientAgentsRetrieveSchemas.core.ts
@@ -19,6 +19,7 @@ export function prefetchClientAgentsRetrieveSchemas(
queryClient: QueryClient,
client$: GleanCore,
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise {
@@ -26,6 +27,7 @@ export function prefetchClientAgentsRetrieveSchemas(
...buildClientAgentsRetrieveSchemasQuery(
client$,
agentId,
+ locale,
timezoneOffset,
options,
),
@@ -35,6 +37,7 @@ export function prefetchClientAgentsRetrieveSchemas(
export function buildClientAgentsRetrieveSchemasQuery(
client$: GleanCore,
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): {
@@ -44,7 +47,10 @@ export function buildClientAgentsRetrieveSchemasQuery(
) => Promise;
} {
return {
- queryKey: queryKeyClientAgentsRetrieveSchemas(agentId, { timezoneOffset }),
+ queryKey: queryKeyClientAgentsRetrieveSchemas(agentId, {
+ locale,
+ timezoneOffset,
+ }),
queryFn: async function clientAgentsRetrieveSchemasQueryFn(
ctx,
): Promise {
@@ -62,6 +68,7 @@ export function buildClientAgentsRetrieveSchemasQuery(
return unwrapAsync(clientAgentsRetrieveSchemas(
client$,
agentId,
+ locale,
timezoneOffset,
mergedOptions,
));
@@ -71,7 +78,10 @@ export function buildClientAgentsRetrieveSchemasQuery(
export function queryKeyClientAgentsRetrieveSchemas(
agentId: string,
- parameters: { timezoneOffset?: number | undefined },
+ parameters: {
+ locale?: string | undefined;
+ timezoneOffset?: number | undefined;
+ },
): QueryKey {
return [
"@gleanwork/api-client",
diff --git a/src/react-query/clientAgentsRetrieveSchemas.ts b/src/react-query/clientAgentsRetrieveSchemas.ts
index 5d49c8b2..a6467c36 100644
--- a/src/react-query/clientAgentsRetrieveSchemas.ts
+++ b/src/react-query/clientAgentsRetrieveSchemas.ts
@@ -10,6 +10,16 @@ import {
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,
@@ -29,6 +39,16 @@ export {
queryKeyClientAgentsRetrieveSchemas,
};
+export type ClientAgentsRetrieveSchemasQueryError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* List an agent's schemas
*
@@ -37,14 +57,22 @@ export {
*/
export function useClientAgentsRetrieveSchemas(
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
- options?: QueryHookOptions,
-): UseQueryResult {
+ options?: QueryHookOptions<
+ ClientAgentsRetrieveSchemasQueryData,
+ ClientAgentsRetrieveSchemasQueryError
+ >,
+): UseQueryResult<
+ ClientAgentsRetrieveSchemasQueryData,
+ ClientAgentsRetrieveSchemasQueryError
+> {
const client = useGleanContext();
return useQuery({
...buildClientAgentsRetrieveSchemasQuery(
client,
agentId,
+ locale,
timezoneOffset,
options,
),
@@ -60,14 +88,22 @@ export function useClientAgentsRetrieveSchemas(
*/
export function useClientAgentsRetrieveSchemasSuspense(
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
- options?: SuspenseQueryHookOptions,
-): UseSuspenseQueryResult {
+ options?: SuspenseQueryHookOptions<
+ ClientAgentsRetrieveSchemasQueryData,
+ ClientAgentsRetrieveSchemasQueryError
+ >,
+): UseSuspenseQueryResult<
+ ClientAgentsRetrieveSchemasQueryData,
+ ClientAgentsRetrieveSchemasQueryError
+> {
const client = useGleanContext();
return useSuspenseQuery({
...buildClientAgentsRetrieveSchemasQuery(
client,
agentId,
+ locale,
timezoneOffset,
options,
),
@@ -79,7 +115,10 @@ export function setClientAgentsRetrieveSchemasData(
client: QueryClient,
queryKeyBase: [
agentId: string,
- parameters: { timezoneOffset?: number | undefined },
+ parameters: {
+ locale?: string | undefined;
+ timezoneOffset?: number | undefined;
+ },
],
data: ClientAgentsRetrieveSchemasQueryData,
): ClientAgentsRetrieveSchemasQueryData | undefined {
@@ -91,7 +130,13 @@ export function setClientAgentsRetrieveSchemasData(
export function invalidateClientAgentsRetrieveSchemas(
client: QueryClient,
queryKeyBase: TupleToPrefixes<
- [agentId: string, parameters: { timezoneOffset?: number | undefined }]
+ [
+ agentId: string,
+ parameters: {
+ locale?: string | undefined;
+ timezoneOffset?: number | undefined;
+ },
+ ]
>,
filters?: Omit,
): Promise {
diff --git a/src/react-query/clientAgentsRun.ts b/src/react-query/clientAgentsRun.ts
index 7ae0026f..4963374d 100644
--- a/src/react-query/clientAgentsRun.ts
+++ b/src/react-query/clientAgentsRun.ts
@@ -12,6 +12,16 @@ import { clientAgentsRun } from "../funcs/clientAgentsRun.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";
@@ -23,6 +33,16 @@ export type ClientAgentsRunMutationVariables = {
export type ClientAgentsRunMutationData = components.AgentRunWaitResponse;
+export type ClientAgentsRunMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Create an agent run and wait for the response
*
@@ -32,12 +52,12 @@ export type ClientAgentsRunMutationData = components.AgentRunWaitResponse;
export function useClientAgentsRunMutation(
options?: MutationHookOptions<
ClientAgentsRunMutationData,
- Error,
+ ClientAgentsRunMutationError,
ClientAgentsRunMutationVariables
>,
): UseMutationResult<
ClientAgentsRunMutationData,
- Error,
+ ClientAgentsRunMutationError,
ClientAgentsRunMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/clientAgentsRunStream.ts b/src/react-query/clientAgentsRunStream.ts
index 3fbf3337..2f8b3ef7 100644
--- a/src/react-query/clientAgentsRunStream.ts
+++ b/src/react-query/clientAgentsRunStream.ts
@@ -12,6 +12,16 @@ import { clientAgentsRunStream } from "../funcs/clientAgentsRunStream.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";
@@ -23,6 +33,16 @@ export type ClientAgentsRunStreamMutationVariables = {
export type ClientAgentsRunStreamMutationData = string;
+export type ClientAgentsRunStreamMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Create an agent run and stream the response
*
@@ -32,12 +52,12 @@ export type ClientAgentsRunStreamMutationData = string;
export function useClientAgentsRunStreamMutation(
options?: MutationHookOptions<
ClientAgentsRunStreamMutationData,
- Error,
+ ClientAgentsRunStreamMutationError,
ClientAgentsRunStreamMutationVariables
>,
): UseMutationResult<
ClientAgentsRunStreamMutationData,
- Error,
+ ClientAgentsRunStreamMutationError,
ClientAgentsRunStreamMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/clientAnnouncementsCreate.ts b/src/react-query/clientAnnouncementsCreate.ts
index 71c7e7c3..26d8f6d3 100644
--- a/src/react-query/clientAnnouncementsCreate.ts
+++ b/src/react-query/clientAnnouncementsCreate.ts
@@ -12,17 +12,38 @@ import { clientAnnouncementsCreate } from "../funcs/clientAnnouncementsCreate.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 ClientAnnouncementsCreateMutationVariables = {
- request: components.CreateAnnouncementRequest;
+ createAnnouncementRequest: components.CreateAnnouncementRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientAnnouncementsCreateMutationData = components.Announcement;
+export type ClientAnnouncementsCreateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Create Announcement
*
@@ -32,12 +53,12 @@ export type ClientAnnouncementsCreateMutationData = components.Announcement;
export function useClientAnnouncementsCreateMutation(
options?: MutationHookOptions<
ClientAnnouncementsCreateMutationData,
- Error,
+ ClientAnnouncementsCreateMutationError,
ClientAnnouncementsCreateMutationVariables
>,
): UseMutationResult<
ClientAnnouncementsCreateMutationData,
- Error,
+ ClientAnnouncementsCreateMutationError,
ClientAnnouncementsCreateMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientAnnouncementsCreateMutation(
return {
mutationKey: mutationKeyClientAnnouncementsCreate(),
mutationFn: function clientAnnouncementsCreateMutationFn({
- request,
+ createAnnouncementRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientAnnouncementsCreateMutation(
};
return unwrapAsync(clientAnnouncementsCreate(
client$,
- request,
+ createAnnouncementRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientAnnouncementsDelete.ts b/src/react-query/clientAnnouncementsDelete.ts
index b7179ce7..60bf8290 100644
--- a/src/react-query/clientAnnouncementsDelete.ts
+++ b/src/react-query/clientAnnouncementsDelete.ts
@@ -12,17 +12,38 @@ import { clientAnnouncementsDelete } from "../funcs/clientAnnouncementsDelete.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 ClientAnnouncementsDeleteMutationVariables = {
- request: components.DeleteAnnouncementRequest;
+ deleteAnnouncementRequest: components.DeleteAnnouncementRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientAnnouncementsDeleteMutationData = void;
+export type ClientAnnouncementsDeleteMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Delete Announcement
*
@@ -32,12 +53,12 @@ export type ClientAnnouncementsDeleteMutationData = void;
export function useClientAnnouncementsDeleteMutation(
options?: MutationHookOptions<
ClientAnnouncementsDeleteMutationData,
- Error,
+ ClientAnnouncementsDeleteMutationError,
ClientAnnouncementsDeleteMutationVariables
>,
): UseMutationResult<
ClientAnnouncementsDeleteMutationData,
- Error,
+ ClientAnnouncementsDeleteMutationError,
ClientAnnouncementsDeleteMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientAnnouncementsDeleteMutation(
return {
mutationKey: mutationKeyClientAnnouncementsDelete(),
mutationFn: function clientAnnouncementsDeleteMutationFn({
- request,
+ deleteAnnouncementRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientAnnouncementsDeleteMutation(
};
return unwrapAsync(clientAnnouncementsDelete(
client$,
- request,
+ deleteAnnouncementRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientAnnouncementsUpdate.ts b/src/react-query/clientAnnouncementsUpdate.ts
index a31630f0..db7a2270 100644
--- a/src/react-query/clientAnnouncementsUpdate.ts
+++ b/src/react-query/clientAnnouncementsUpdate.ts
@@ -12,17 +12,38 @@ import { clientAnnouncementsUpdate } from "../funcs/clientAnnouncementsUpdate.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 ClientAnnouncementsUpdateMutationVariables = {
- request: components.UpdateAnnouncementRequest;
+ updateAnnouncementRequest: components.UpdateAnnouncementRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientAnnouncementsUpdateMutationData = components.Announcement;
+export type ClientAnnouncementsUpdateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Update Announcement
*
@@ -32,12 +53,12 @@ export type ClientAnnouncementsUpdateMutationData = components.Announcement;
export function useClientAnnouncementsUpdateMutation(
options?: MutationHookOptions<
ClientAnnouncementsUpdateMutationData,
- Error,
+ ClientAnnouncementsUpdateMutationError,
ClientAnnouncementsUpdateMutationVariables
>,
): UseMutationResult<
ClientAnnouncementsUpdateMutationData,
- Error,
+ ClientAnnouncementsUpdateMutationError,
ClientAnnouncementsUpdateMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientAnnouncementsUpdateMutation(
return {
mutationKey: mutationKeyClientAnnouncementsUpdate(),
mutationFn: function clientAnnouncementsUpdateMutationFn({
- request,
+ updateAnnouncementRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientAnnouncementsUpdateMutation(
};
return unwrapAsync(clientAnnouncementsUpdate(
client$,
- request,
+ updateAnnouncementRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientAnswersCreate.ts b/src/react-query/clientAnswersCreate.ts
index 131b4c13..41648317 100644
--- a/src/react-query/clientAnswersCreate.ts
+++ b/src/react-query/clientAnswersCreate.ts
@@ -12,17 +12,38 @@ import { clientAnswersCreate } from "../funcs/clientAnswersCreate.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 ClientAnswersCreateMutationVariables = {
- request: components.CreateAnswerRequest;
+ createAnswerRequest: components.CreateAnswerRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientAnswersCreateMutationData = components.Answer;
+export type ClientAnswersCreateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Create Answer
*
@@ -32,12 +53,12 @@ export type ClientAnswersCreateMutationData = components.Answer;
export function useClientAnswersCreateMutation(
options?: MutationHookOptions<
ClientAnswersCreateMutationData,
- Error,
+ ClientAnswersCreateMutationError,
ClientAnswersCreateMutationVariables
>,
): UseMutationResult<
ClientAnswersCreateMutationData,
- Error,
+ ClientAnswersCreateMutationError,
ClientAnswersCreateMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientAnswersCreateMutation(
return {
mutationKey: mutationKeyClientAnswersCreate(),
mutationFn: function clientAnswersCreateMutationFn({
- request,
+ createAnswerRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientAnswersCreateMutation(
};
return unwrapAsync(clientAnswersCreate(
client$,
- request,
+ createAnswerRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientAnswersDelete.ts b/src/react-query/clientAnswersDelete.ts
index f04ba396..b1896954 100644
--- a/src/react-query/clientAnswersDelete.ts
+++ b/src/react-query/clientAnswersDelete.ts
@@ -12,17 +12,38 @@ import { clientAnswersDelete } from "../funcs/clientAnswersDelete.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 ClientAnswersDeleteMutationVariables = {
- request: components.DeleteAnswerRequest;
+ deleteAnswerRequest: components.DeleteAnswerRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientAnswersDeleteMutationData = void;
+export type ClientAnswersDeleteMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Delete Answer
*
@@ -32,12 +53,12 @@ export type ClientAnswersDeleteMutationData = void;
export function useClientAnswersDeleteMutation(
options?: MutationHookOptions<
ClientAnswersDeleteMutationData,
- Error,
+ ClientAnswersDeleteMutationError,
ClientAnswersDeleteMutationVariables
>,
): UseMutationResult<
ClientAnswersDeleteMutationData,
- Error,
+ ClientAnswersDeleteMutationError,
ClientAnswersDeleteMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientAnswersDeleteMutation(
return {
mutationKey: mutationKeyClientAnswersDelete(),
mutationFn: function clientAnswersDeleteMutationFn({
- request,
+ deleteAnswerRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientAnswersDeleteMutation(
};
return unwrapAsync(clientAnswersDelete(
client$,
- request,
+ deleteAnswerRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientAnswersList.ts b/src/react-query/clientAnswersList.ts
index 874992e2..84bee52b 100644
--- a/src/react-query/clientAnswersList.ts
+++ b/src/react-query/clientAnswersList.ts
@@ -12,34 +12,55 @@ import { clientAnswersList } from "../funcs/clientAnswersList.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 ClientAnswersListMutationVariables = {
- request: components.ListAnswersRequest;
+ listAnswersRequest: components.ListAnswersRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientAnswersListMutationData = components.ListAnswersResponse;
+export type ClientAnswersListMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* List Answers
*
* @remarks
* List Answers created by the current user.
*
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
+ * @deprecated method: Deprecated on 2026-01-21, removal scheduled for 2026-10-15: Answer boards have been removed and this endpoint no longer serves a purpose.
*/
export function useClientAnswersListMutation(
options?: MutationHookOptions<
ClientAnswersListMutationData,
- Error,
+ ClientAnswersListMutationError,
ClientAnswersListMutationVariables
>,
): UseMutationResult<
ClientAnswersListMutationData,
- Error,
+ ClientAnswersListMutationError,
ClientAnswersListMutationVariables
> {
const client = useGleanContext();
@@ -65,7 +86,8 @@ export function buildClientAnswersListMutation(
return {
mutationKey: mutationKeyClientAnswersList(),
mutationFn: function clientAnswersListMutationFn({
- request,
+ listAnswersRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -82,7 +104,8 @@ export function buildClientAnswersListMutation(
};
return unwrapAsync(clientAnswersList(
client$,
- request,
+ listAnswersRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientAnswersRetrieve.ts b/src/react-query/clientAnswersRetrieve.ts
index 16cb2e3b..9039eee1 100644
--- a/src/react-query/clientAnswersRetrieve.ts
+++ b/src/react-query/clientAnswersRetrieve.ts
@@ -12,17 +12,38 @@ import { clientAnswersRetrieve } from "../funcs/clientAnswersRetrieve.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 ClientAnswersRetrieveMutationVariables = {
- request: components.GetAnswerRequest;
+ getAnswerRequest: components.GetAnswerRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientAnswersRetrieveMutationData = components.GetAnswerResponse;
+export type ClientAnswersRetrieveMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Read Answer
*
@@ -32,12 +53,12 @@ export type ClientAnswersRetrieveMutationData = components.GetAnswerResponse;
export function useClientAnswersRetrieveMutation(
options?: MutationHookOptions<
ClientAnswersRetrieveMutationData,
- Error,
+ ClientAnswersRetrieveMutationError,
ClientAnswersRetrieveMutationVariables
>,
): UseMutationResult<
ClientAnswersRetrieveMutationData,
- Error,
+ ClientAnswersRetrieveMutationError,
ClientAnswersRetrieveMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientAnswersRetrieveMutation(
return {
mutationKey: mutationKeyClientAnswersRetrieve(),
mutationFn: function clientAnswersRetrieveMutationFn({
- request,
+ getAnswerRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientAnswersRetrieveMutation(
};
return unwrapAsync(clientAnswersRetrieve(
client$,
- request,
+ getAnswerRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientAnswersUpdate.ts b/src/react-query/clientAnswersUpdate.ts
index 676f793c..ed675017 100644
--- a/src/react-query/clientAnswersUpdate.ts
+++ b/src/react-query/clientAnswersUpdate.ts
@@ -12,17 +12,38 @@ import { clientAnswersUpdate } from "../funcs/clientAnswersUpdate.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 ClientAnswersUpdateMutationVariables = {
- request: components.EditAnswerRequest;
+ editAnswerRequest: components.EditAnswerRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientAnswersUpdateMutationData = components.Answer;
+export type ClientAnswersUpdateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Update Answer
*
@@ -32,12 +53,12 @@ export type ClientAnswersUpdateMutationData = components.Answer;
export function useClientAnswersUpdateMutation(
options?: MutationHookOptions<
ClientAnswersUpdateMutationData,
- Error,
+ ClientAnswersUpdateMutationError,
ClientAnswersUpdateMutationVariables
>,
): UseMutationResult<
ClientAnswersUpdateMutationData,
- Error,
+ ClientAnswersUpdateMutationError,
ClientAnswersUpdateMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientAnswersUpdateMutation(
return {
mutationKey: mutationKeyClientAnswersUpdate(),
mutationFn: function clientAnswersUpdateMutationFn({
- request,
+ editAnswerRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientAnswersUpdateMutation(
};
return unwrapAsync(clientAnswersUpdate(
client$,
- request,
+ editAnswerRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientAuthenticationCreateToken.ts b/src/react-query/clientAuthenticationCreateToken.ts
index 6f09a3cb..09327ceb 100644
--- a/src/react-query/clientAuthenticationCreateToken.ts
+++ b/src/react-query/clientAuthenticationCreateToken.ts
@@ -12,6 +12,16 @@ import { clientAuthenticationCreateToken } from "../funcs/clientAuthenticationCr
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";
@@ -23,6 +33,16 @@ export type ClientAuthenticationCreateTokenMutationVariables = {
export type ClientAuthenticationCreateTokenMutationData =
components.CreateAuthTokenResponse;
+export type ClientAuthenticationCreateTokenMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Create authentication token
*
@@ -36,12 +56,12 @@ export type ClientAuthenticationCreateTokenMutationData =
export function useClientAuthenticationCreateTokenMutation(
options?: MutationHookOptions<
ClientAuthenticationCreateTokenMutationData,
- Error,
+ ClientAuthenticationCreateTokenMutationError,
ClientAuthenticationCreateTokenMutationVariables
>,
): UseMutationResult<
ClientAuthenticationCreateTokenMutationData,
- Error,
+ ClientAuthenticationCreateTokenMutationError,
ClientAuthenticationCreateTokenMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/clientChatCreate.ts b/src/react-query/clientChatCreate.ts
index 76b8701f..416aa6fe 100644
--- a/src/react-query/clientChatCreate.ts
+++ b/src/react-query/clientChatCreate.ts
@@ -12,18 +12,39 @@ import { clientChatCreate } from "../funcs/clientChatCreate.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 ClientChatCreateMutationVariables = {
chatRequest: components.ChatRequest;
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
options?: RequestOptions;
};
export type ClientChatCreateMutationData = components.ChatResponse;
+export type ClientChatCreateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Chat
*
@@ -33,12 +54,12 @@ export type ClientChatCreateMutationData = components.ChatResponse;
export function useClientChatCreateMutation(
options?: MutationHookOptions<
ClientChatCreateMutationData,
- Error,
+ ClientChatCreateMutationError,
ClientChatCreateMutationVariables
>,
): UseMutationResult<
ClientChatCreateMutationData,
- Error,
+ ClientChatCreateMutationError,
ClientChatCreateMutationVariables
> {
const client = useGleanContext();
@@ -65,6 +86,7 @@ export function buildClientChatCreateMutation(
mutationKey: mutationKeyClientChatCreate(),
mutationFn: function clientChatCreateMutationFn({
chatRequest,
+ locale,
timezoneOffset,
options,
}): Promise {
@@ -83,6 +105,7 @@ export function buildClientChatCreateMutation(
return unwrapAsync(clientChatCreate(
client$,
chatRequest,
+ locale,
timezoneOffset,
mergedOptions,
));
diff --git a/src/react-query/clientChatCreateStream.ts b/src/react-query/clientChatCreateStream.ts
index 648d1298..82d9fc1c 100644
--- a/src/react-query/clientChatCreateStream.ts
+++ b/src/react-query/clientChatCreateStream.ts
@@ -12,6 +12,16 @@ import { clientChatCreateStream } from "../funcs/clientChatCreateStream.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";
@@ -24,6 +34,16 @@ export type ClientChatCreateStreamMutationVariables = {
export type ClientChatCreateStreamMutationData = string;
+export type ClientChatCreateStreamMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Chat
*
@@ -33,12 +53,12 @@ export type ClientChatCreateStreamMutationData = string;
export function useClientChatCreateStreamMutation(
options?: MutationHookOptions<
ClientChatCreateStreamMutationData,
- Error,
+ ClientChatCreateStreamMutationError,
ClientChatCreateStreamMutationVariables
>,
): UseMutationResult<
ClientChatCreateStreamMutationData,
- Error,
+ ClientChatCreateStreamMutationError,
ClientChatCreateStreamMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/clientChatDelete.ts b/src/react-query/clientChatDelete.ts
index 5bf9ef3e..f39e8e5a 100644
--- a/src/react-query/clientChatDelete.ts
+++ b/src/react-query/clientChatDelete.ts
@@ -12,18 +12,39 @@ import { clientChatDelete } from "../funcs/clientChatDelete.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 ClientChatDeleteMutationVariables = {
deleteChatsRequest: components.DeleteChatsRequest;
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
options?: RequestOptions;
};
export type ClientChatDeleteMutationData = void;
+export type ClientChatDeleteMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Deletes saved Chats
*
@@ -33,12 +54,12 @@ export type ClientChatDeleteMutationData = void;
export function useClientChatDeleteMutation(
options?: MutationHookOptions<
ClientChatDeleteMutationData,
- Error,
+ ClientChatDeleteMutationError,
ClientChatDeleteMutationVariables
>,
): UseMutationResult<
ClientChatDeleteMutationData,
- Error,
+ ClientChatDeleteMutationError,
ClientChatDeleteMutationVariables
> {
const client = useGleanContext();
@@ -65,6 +86,7 @@ export function buildClientChatDeleteMutation(
mutationKey: mutationKeyClientChatDelete(),
mutationFn: function clientChatDeleteMutationFn({
deleteChatsRequest,
+ locale,
timezoneOffset,
options,
}): Promise {
@@ -83,6 +105,7 @@ export function buildClientChatDeleteMutation(
return unwrapAsync(clientChatDelete(
client$,
deleteChatsRequest,
+ locale,
timezoneOffset,
mergedOptions,
));
diff --git a/src/react-query/clientChatDeleteAll.ts b/src/react-query/clientChatDeleteAll.ts
index fbd8f484..701c07de 100644
--- a/src/react-query/clientChatDeleteAll.ts
+++ b/src/react-query/clientChatDeleteAll.ts
@@ -11,17 +11,38 @@ import { GleanCore } from "../core.js";
import { clientChatDeleteAll } from "../funcs/clientChatDeleteAll.js";
import { combineSignals } from "../lib/primitives.js";
import { RequestOptions } from "../lib/sdks.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 ClientChatDeleteAllMutationVariables = {
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
options?: RequestOptions;
};
export type ClientChatDeleteAllMutationData = void;
+export type ClientChatDeleteAllMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Deletes all saved Chats owned by a user
*
@@ -31,12 +52,12 @@ export type ClientChatDeleteAllMutationData = void;
export function useClientChatDeleteAllMutation(
options?: MutationHookOptions<
ClientChatDeleteAllMutationData,
- Error,
+ ClientChatDeleteAllMutationError,
ClientChatDeleteAllMutationVariables
>,
): UseMutationResult<
ClientChatDeleteAllMutationData,
- Error,
+ ClientChatDeleteAllMutationError,
ClientChatDeleteAllMutationVariables
> {
const client = useGleanContext();
@@ -62,6 +83,7 @@ export function buildClientChatDeleteAllMutation(
return {
mutationKey: mutationKeyClientChatDeleteAll(),
mutationFn: function clientChatDeleteAllMutationFn({
+ locale,
timezoneOffset,
options,
}): Promise {
@@ -79,6 +101,7 @@ export function buildClientChatDeleteAllMutation(
};
return unwrapAsync(clientChatDeleteAll(
client$,
+ locale,
timezoneOffset,
mergedOptions,
));
diff --git a/src/react-query/clientChatDeleteFiles.ts b/src/react-query/clientChatDeleteFiles.ts
index 1c7d88e5..79a20c6d 100644
--- a/src/react-query/clientChatDeleteFiles.ts
+++ b/src/react-query/clientChatDeleteFiles.ts
@@ -12,18 +12,39 @@ import { clientChatDeleteFiles } from "../funcs/clientChatDeleteFiles.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 ClientChatDeleteFilesMutationVariables = {
deleteChatFilesRequest: components.DeleteChatFilesRequest;
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
options?: RequestOptions;
};
export type ClientChatDeleteFilesMutationData = void;
+export type ClientChatDeleteFilesMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Delete files uploaded by a user for chat.
*
@@ -33,12 +54,12 @@ export type ClientChatDeleteFilesMutationData = void;
export function useClientChatDeleteFilesMutation(
options?: MutationHookOptions<
ClientChatDeleteFilesMutationData,
- Error,
+ ClientChatDeleteFilesMutationError,
ClientChatDeleteFilesMutationVariables
>,
): UseMutationResult<
ClientChatDeleteFilesMutationData,
- Error,
+ ClientChatDeleteFilesMutationError,
ClientChatDeleteFilesMutationVariables
> {
const client = useGleanContext();
@@ -65,6 +86,7 @@ export function buildClientChatDeleteFilesMutation(
mutationKey: mutationKeyClientChatDeleteFiles(),
mutationFn: function clientChatDeleteFilesMutationFn({
deleteChatFilesRequest,
+ locale,
timezoneOffset,
options,
}): Promise {
@@ -83,6 +105,7 @@ export function buildClientChatDeleteFilesMutation(
return unwrapAsync(clientChatDeleteFiles(
client$,
deleteChatFilesRequest,
+ locale,
timezoneOffset,
mergedOptions,
));
diff --git a/src/react-query/clientChatList.ts b/src/react-query/clientChatList.ts
index 13cc8914..bba96d6d 100644
--- a/src/react-query/clientChatList.ts
+++ b/src/react-query/clientChatList.ts
@@ -12,17 +12,38 @@ import { clientChatList } from "../funcs/clientChatList.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 ClientChatListMutationVariables = {
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
options?: RequestOptions;
};
export type ClientChatListMutationData = components.ListChatsResponse;
+export type ClientChatListMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Retrieves all saved Chats
*
@@ -32,12 +53,12 @@ export type ClientChatListMutationData = components.ListChatsResponse;
export function useClientChatListMutation(
options?: MutationHookOptions<
ClientChatListMutationData,
- Error,
+ ClientChatListMutationError,
ClientChatListMutationVariables
>,
): UseMutationResult<
ClientChatListMutationData,
- Error,
+ ClientChatListMutationError,
ClientChatListMutationVariables
> {
const client = useGleanContext();
@@ -63,6 +84,7 @@ export function buildClientChatListMutation(
return {
mutationKey: mutationKeyClientChatList(),
mutationFn: function clientChatListMutationFn({
+ locale,
timezoneOffset,
options,
}): Promise {
@@ -80,6 +102,7 @@ export function buildClientChatListMutation(
};
return unwrapAsync(clientChatList(
client$,
+ locale,
timezoneOffset,
mergedOptions,
));
diff --git a/src/react-query/clientChatRetrieve.ts b/src/react-query/clientChatRetrieve.ts
index 1ff1193a..9a574797 100644
--- a/src/react-query/clientChatRetrieve.ts
+++ b/src/react-query/clientChatRetrieve.ts
@@ -12,18 +12,39 @@ import { clientChatRetrieve } from "../funcs/clientChatRetrieve.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 ClientChatRetrieveMutationVariables = {
getChatRequest: components.GetChatRequest;
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
options?: RequestOptions;
};
export type ClientChatRetrieveMutationData = components.GetChatResponse;
+export type ClientChatRetrieveMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Retrieves a Chat
*
@@ -33,12 +54,12 @@ export type ClientChatRetrieveMutationData = components.GetChatResponse;
export function useClientChatRetrieveMutation(
options?: MutationHookOptions<
ClientChatRetrieveMutationData,
- Error,
+ ClientChatRetrieveMutationError,
ClientChatRetrieveMutationVariables
>,
): UseMutationResult<
ClientChatRetrieveMutationData,
- Error,
+ ClientChatRetrieveMutationError,
ClientChatRetrieveMutationVariables
> {
const client = useGleanContext();
@@ -65,6 +86,7 @@ export function buildClientChatRetrieveMutation(
mutationKey: mutationKeyClientChatRetrieve(),
mutationFn: function clientChatRetrieveMutationFn({
getChatRequest,
+ locale,
timezoneOffset,
options,
}): Promise {
@@ -83,6 +105,7 @@ export function buildClientChatRetrieveMutation(
return unwrapAsync(clientChatRetrieve(
client$,
getChatRequest,
+ locale,
timezoneOffset,
mergedOptions,
));
diff --git a/src/react-query/clientChatRetrieveApplication.ts b/src/react-query/clientChatRetrieveApplication.ts
index bbad6a46..2a1d2830 100644
--- a/src/react-query/clientChatRetrieveApplication.ts
+++ b/src/react-query/clientChatRetrieveApplication.ts
@@ -12,12 +12,23 @@ import { clientChatRetrieveApplication } from "../funcs/clientChatRetrieveApplic
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 ClientChatRetrieveApplicationMutationVariables = {
getChatApplicationRequest: components.GetChatApplicationRequest;
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
options?: RequestOptions;
};
@@ -25,6 +36,16 @@ export type ClientChatRetrieveApplicationMutationVariables = {
export type ClientChatRetrieveApplicationMutationData =
components.GetChatApplicationResponse;
+export type ClientChatRetrieveApplicationMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Gets the metadata for a custom Chat application
*
@@ -34,12 +55,12 @@ export type ClientChatRetrieveApplicationMutationData =
export function useClientChatRetrieveApplicationMutation(
options?: MutationHookOptions<
ClientChatRetrieveApplicationMutationData,
- Error,
+ ClientChatRetrieveApplicationMutationError,
ClientChatRetrieveApplicationMutationVariables
>,
): UseMutationResult<
ClientChatRetrieveApplicationMutationData,
- Error,
+ ClientChatRetrieveApplicationMutationError,
ClientChatRetrieveApplicationMutationVariables
> {
const client = useGleanContext();
@@ -66,6 +87,7 @@ export function buildClientChatRetrieveApplicationMutation(
mutationKey: mutationKeyClientChatRetrieveApplication(),
mutationFn: function clientChatRetrieveApplicationMutationFn({
getChatApplicationRequest,
+ locale,
timezoneOffset,
options,
}): Promise {
@@ -84,6 +106,7 @@ export function buildClientChatRetrieveApplicationMutation(
return unwrapAsync(clientChatRetrieveApplication(
client$,
getChatApplicationRequest,
+ locale,
timezoneOffset,
mergedOptions,
));
diff --git a/src/react-query/clientChatRetrieveFiles.ts b/src/react-query/clientChatRetrieveFiles.ts
index ccfad6c3..b45bb7c2 100644
--- a/src/react-query/clientChatRetrieveFiles.ts
+++ b/src/react-query/clientChatRetrieveFiles.ts
@@ -12,12 +12,23 @@ import { clientChatRetrieveFiles } from "../funcs/clientChatRetrieveFiles.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 ClientChatRetrieveFilesMutationVariables = {
getChatFilesRequest: components.GetChatFilesRequest;
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
options?: RequestOptions;
};
@@ -25,6 +36,16 @@ export type ClientChatRetrieveFilesMutationVariables = {
export type ClientChatRetrieveFilesMutationData =
components.GetChatFilesResponse;
+export type ClientChatRetrieveFilesMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Get files uploaded by a user for Chat.
*
@@ -34,12 +55,12 @@ export type ClientChatRetrieveFilesMutationData =
export function useClientChatRetrieveFilesMutation(
options?: MutationHookOptions<
ClientChatRetrieveFilesMutationData,
- Error,
+ ClientChatRetrieveFilesMutationError,
ClientChatRetrieveFilesMutationVariables
>,
): UseMutationResult<
ClientChatRetrieveFilesMutationData,
- Error,
+ ClientChatRetrieveFilesMutationError,
ClientChatRetrieveFilesMutationVariables
> {
const client = useGleanContext();
@@ -66,6 +87,7 @@ export function buildClientChatRetrieveFilesMutation(
mutationKey: mutationKeyClientChatRetrieveFiles(),
mutationFn: function clientChatRetrieveFilesMutationFn({
getChatFilesRequest,
+ locale,
timezoneOffset,
options,
}): Promise {
@@ -84,6 +106,7 @@ export function buildClientChatRetrieveFilesMutation(
return unwrapAsync(clientChatRetrieveFiles(
client$,
getChatFilesRequest,
+ locale,
timezoneOffset,
mergedOptions,
));
diff --git a/src/react-query/clientChatUploadFiles.ts b/src/react-query/clientChatUploadFiles.ts
index 60e31afb..8e15f497 100644
--- a/src/react-query/clientChatUploadFiles.ts
+++ b/src/react-query/clientChatUploadFiles.ts
@@ -12,12 +12,23 @@ import { clientChatUploadFiles } from "../funcs/clientChatUploadFiles.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 ClientChatUploadFilesMutationVariables = {
uploadChatFilesRequest: components.UploadChatFilesRequest;
+ locale?: string | undefined;
timezoneOffset?: number | undefined;
options?: RequestOptions;
};
@@ -25,6 +36,16 @@ export type ClientChatUploadFilesMutationVariables = {
export type ClientChatUploadFilesMutationData =
components.UploadChatFilesResponse;
+export type ClientChatUploadFilesMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Upload files for Chat.
*
@@ -34,12 +55,12 @@ export type ClientChatUploadFilesMutationData =
export function useClientChatUploadFilesMutation(
options?: MutationHookOptions<
ClientChatUploadFilesMutationData,
- Error,
+ ClientChatUploadFilesMutationError,
ClientChatUploadFilesMutationVariables
>,
): UseMutationResult<
ClientChatUploadFilesMutationData,
- Error,
+ ClientChatUploadFilesMutationError,
ClientChatUploadFilesMutationVariables
> {
const client = useGleanContext();
@@ -66,6 +87,7 @@ export function buildClientChatUploadFilesMutation(
mutationKey: mutationKeyClientChatUploadFiles(),
mutationFn: function clientChatUploadFilesMutationFn({
uploadChatFilesRequest,
+ locale,
timezoneOffset,
options,
}): Promise {
@@ -84,6 +106,7 @@ export function buildClientChatUploadFilesMutation(
return unwrapAsync(clientChatUploadFiles(
client$,
uploadChatFilesRequest,
+ locale,
timezoneOffset,
mergedOptions,
));
diff --git a/src/react-query/clientCollectionsAddItems.ts b/src/react-query/clientCollectionsAddItems.ts
index 1d663916..6d4585bb 100644
--- a/src/react-query/clientCollectionsAddItems.ts
+++ b/src/react-query/clientCollectionsAddItems.ts
@@ -12,18 +12,39 @@ import { clientCollectionsAddItems } from "../funcs/clientCollectionsAddItems.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 ClientCollectionsAddItemsMutationVariables = {
- request: components.AddCollectionItemsRequest;
+ addCollectionItemsRequest: components.AddCollectionItemsRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientCollectionsAddItemsMutationData =
components.AddCollectionItemsResponse;
+export type ClientCollectionsAddItemsMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Add Collection item
*
@@ -33,12 +54,12 @@ export type ClientCollectionsAddItemsMutationData =
export function useClientCollectionsAddItemsMutation(
options?: MutationHookOptions<
ClientCollectionsAddItemsMutationData,
- Error,
+ ClientCollectionsAddItemsMutationError,
ClientCollectionsAddItemsMutationVariables
>,
): UseMutationResult<
ClientCollectionsAddItemsMutationData,
- Error,
+ ClientCollectionsAddItemsMutationError,
ClientCollectionsAddItemsMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +85,8 @@ export function buildClientCollectionsAddItemsMutation(
return {
mutationKey: mutationKeyClientCollectionsAddItems(),
mutationFn: function clientCollectionsAddItemsMutationFn({
- request,
+ addCollectionItemsRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +103,8 @@ export function buildClientCollectionsAddItemsMutation(
};
return unwrapAsync(clientCollectionsAddItems(
client$,
- request,
+ addCollectionItemsRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientCollectionsCreate.ts b/src/react-query/clientCollectionsCreate.ts
index 13de2f61..e81ae894 100644
--- a/src/react-query/clientCollectionsCreate.ts
+++ b/src/react-query/clientCollectionsCreate.ts
@@ -12,19 +12,42 @@ import { clientCollectionsCreate } from "../funcs/clientCollectionsCreate.js";
import { combineSignals } from "../lib/primitives.js";
import { RequestOptions } from "../lib/sdks.js";
import * as components from "../models/components/index.js";
+import { GleanBaseError } from "../models/errors/gleanbaseerror.js";
+import {
+ ConnectionError,
+ InvalidRequestError,
+ RequestAbortedError,
+ RequestTimeoutError,
+ UnexpectedClientError,
+} from "../models/errors/httpclienterrors.js";
+import * as errors from "../models/errors/index.js";
+import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
+import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
import * as operations from "../models/operations/index.js";
import { unwrapAsync } from "../types/fp.js";
import { useGleanContext } from "./_context.js";
import { MutationHookOptions } from "./_types.js";
export type ClientCollectionsCreateMutationVariables = {
- request: components.CreateCollectionRequest;
+ createCollectionRequest: components.CreateCollectionRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientCollectionsCreateMutationData =
operations.CreatecollectionResponse;
+export type ClientCollectionsCreateMutationError =
+ | errors.CollectionError
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Create Collection
*
@@ -34,12 +57,12 @@ export type ClientCollectionsCreateMutationData =
export function useClientCollectionsCreateMutation(
options?: MutationHookOptions<
ClientCollectionsCreateMutationData,
- Error,
+ ClientCollectionsCreateMutationError,
ClientCollectionsCreateMutationVariables
>,
): UseMutationResult<
ClientCollectionsCreateMutationData,
- Error,
+ ClientCollectionsCreateMutationError,
ClientCollectionsCreateMutationVariables
> {
const client = useGleanContext();
@@ -65,7 +88,8 @@ export function buildClientCollectionsCreateMutation(
return {
mutationKey: mutationKeyClientCollectionsCreate(),
mutationFn: function clientCollectionsCreateMutationFn({
- request,
+ createCollectionRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -82,7 +106,8 @@ export function buildClientCollectionsCreateMutation(
};
return unwrapAsync(clientCollectionsCreate(
client$,
- request,
+ createCollectionRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientCollectionsDelete.ts b/src/react-query/clientCollectionsDelete.ts
index 040ac171..74464d95 100644
--- a/src/react-query/clientCollectionsDelete.ts
+++ b/src/react-query/clientCollectionsDelete.ts
@@ -12,17 +12,40 @@ import { clientCollectionsDelete } from "../funcs/clientCollectionsDelete.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 ClientCollectionsDeleteMutationVariables = {
- request: components.DeleteCollectionRequest;
+ deleteCollectionRequest: components.DeleteCollectionRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientCollectionsDeleteMutationData = void;
+export type ClientCollectionsDeleteMutationError =
+ | errors.CollectionError
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Delete Collection
*
@@ -32,12 +55,12 @@ export type ClientCollectionsDeleteMutationData = void;
export function useClientCollectionsDeleteMutation(
options?: MutationHookOptions<
ClientCollectionsDeleteMutationData,
- Error,
+ ClientCollectionsDeleteMutationError,
ClientCollectionsDeleteMutationVariables
>,
): UseMutationResult<
ClientCollectionsDeleteMutationData,
- Error,
+ ClientCollectionsDeleteMutationError,
ClientCollectionsDeleteMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +86,8 @@ export function buildClientCollectionsDeleteMutation(
return {
mutationKey: mutationKeyClientCollectionsDelete(),
mutationFn: function clientCollectionsDeleteMutationFn({
- request,
+ deleteCollectionRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +104,8 @@ export function buildClientCollectionsDeleteMutation(
};
return unwrapAsync(clientCollectionsDelete(
client$,
- request,
+ deleteCollectionRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientCollectionsDeleteItem.ts b/src/react-query/clientCollectionsDeleteItem.ts
index 521de9f0..3e66e5aa 100644
--- a/src/react-query/clientCollectionsDeleteItem.ts
+++ b/src/react-query/clientCollectionsDeleteItem.ts
@@ -12,18 +12,39 @@ import { clientCollectionsDeleteItem } from "../funcs/clientCollectionsDeleteIte
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 ClientCollectionsDeleteItemMutationVariables = {
- request: components.DeleteCollectionItemRequest;
+ deleteCollectionItemRequest: components.DeleteCollectionItemRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientCollectionsDeleteItemMutationData =
components.DeleteCollectionItemResponse;
+export type ClientCollectionsDeleteItemMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Delete Collection item
*
@@ -33,12 +54,12 @@ export type ClientCollectionsDeleteItemMutationData =
export function useClientCollectionsDeleteItemMutation(
options?: MutationHookOptions<
ClientCollectionsDeleteItemMutationData,
- Error,
+ ClientCollectionsDeleteItemMutationError,
ClientCollectionsDeleteItemMutationVariables
>,
): UseMutationResult<
ClientCollectionsDeleteItemMutationData,
- Error,
+ ClientCollectionsDeleteItemMutationError,
ClientCollectionsDeleteItemMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +85,8 @@ export function buildClientCollectionsDeleteItemMutation(
return {
mutationKey: mutationKeyClientCollectionsDeleteItem(),
mutationFn: function clientCollectionsDeleteItemMutationFn({
- request,
+ deleteCollectionItemRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +103,8 @@ export function buildClientCollectionsDeleteItemMutation(
};
return unwrapAsync(clientCollectionsDeleteItem(
client$,
- request,
+ deleteCollectionItemRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientCollectionsList.ts b/src/react-query/clientCollectionsList.ts
index e31b0396..9f91a626 100644
--- a/src/react-query/clientCollectionsList.ts
+++ b/src/react-query/clientCollectionsList.ts
@@ -12,18 +12,39 @@ import { clientCollectionsList } from "../funcs/clientCollectionsList.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 ClientCollectionsListMutationVariables = {
- request: components.ListCollectionsRequest;
+ listCollectionsRequest: components.ListCollectionsRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientCollectionsListMutationData =
components.ListCollectionsResponse;
+export type ClientCollectionsListMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* List Collections
*
@@ -33,12 +54,12 @@ export type ClientCollectionsListMutationData =
export function useClientCollectionsListMutation(
options?: MutationHookOptions<
ClientCollectionsListMutationData,
- Error,
+ ClientCollectionsListMutationError,
ClientCollectionsListMutationVariables
>,
): UseMutationResult<
ClientCollectionsListMutationData,
- Error,
+ ClientCollectionsListMutationError,
ClientCollectionsListMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +85,8 @@ export function buildClientCollectionsListMutation(
return {
mutationKey: mutationKeyClientCollectionsList(),
mutationFn: function clientCollectionsListMutationFn({
- request,
+ listCollectionsRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +103,8 @@ export function buildClientCollectionsListMutation(
};
return unwrapAsync(clientCollectionsList(
client$,
- request,
+ listCollectionsRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientCollectionsRetrieve.ts b/src/react-query/clientCollectionsRetrieve.ts
index d68c9862..b0f7c335 100644
--- a/src/react-query/clientCollectionsRetrieve.ts
+++ b/src/react-query/clientCollectionsRetrieve.ts
@@ -12,18 +12,39 @@ import { clientCollectionsRetrieve } from "../funcs/clientCollectionsRetrieve.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 ClientCollectionsRetrieveMutationVariables = {
- request: components.GetCollectionRequest;
+ getCollectionRequest: components.GetCollectionRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientCollectionsRetrieveMutationData =
components.GetCollectionResponse;
+export type ClientCollectionsRetrieveMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Read Collection
*
@@ -33,12 +54,12 @@ export type ClientCollectionsRetrieveMutationData =
export function useClientCollectionsRetrieveMutation(
options?: MutationHookOptions<
ClientCollectionsRetrieveMutationData,
- Error,
+ ClientCollectionsRetrieveMutationError,
ClientCollectionsRetrieveMutationVariables
>,
): UseMutationResult<
ClientCollectionsRetrieveMutationData,
- Error,
+ ClientCollectionsRetrieveMutationError,
ClientCollectionsRetrieveMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +85,8 @@ export function buildClientCollectionsRetrieveMutation(
return {
mutationKey: mutationKeyClientCollectionsRetrieve(),
mutationFn: function clientCollectionsRetrieveMutationFn({
- request,
+ getCollectionRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +103,8 @@ export function buildClientCollectionsRetrieveMutation(
};
return unwrapAsync(clientCollectionsRetrieve(
client$,
- request,
+ getCollectionRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientCollectionsUpdate.ts b/src/react-query/clientCollectionsUpdate.ts
index 20d8e097..737b3758 100644
--- a/src/react-query/clientCollectionsUpdate.ts
+++ b/src/react-query/clientCollectionsUpdate.ts
@@ -12,18 +12,41 @@ import { clientCollectionsUpdate } from "../funcs/clientCollectionsUpdate.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 ClientCollectionsUpdateMutationVariables = {
- request: components.EditCollectionRequest;
+ editCollectionRequest: components.EditCollectionRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientCollectionsUpdateMutationData =
components.EditCollectionResponse;
+export type ClientCollectionsUpdateMutationError =
+ | errors.CollectionError
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Update Collection
*
@@ -33,12 +56,12 @@ export type ClientCollectionsUpdateMutationData =
export function useClientCollectionsUpdateMutation(
options?: MutationHookOptions<
ClientCollectionsUpdateMutationData,
- Error,
+ ClientCollectionsUpdateMutationError,
ClientCollectionsUpdateMutationVariables
>,
): UseMutationResult<
ClientCollectionsUpdateMutationData,
- Error,
+ ClientCollectionsUpdateMutationError,
ClientCollectionsUpdateMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +87,8 @@ export function buildClientCollectionsUpdateMutation(
return {
mutationKey: mutationKeyClientCollectionsUpdate(),
mutationFn: function clientCollectionsUpdateMutationFn({
- request,
+ editCollectionRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +105,8 @@ export function buildClientCollectionsUpdateMutation(
};
return unwrapAsync(clientCollectionsUpdate(
client$,
- request,
+ editCollectionRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientCollectionsUpdateItem.ts b/src/react-query/clientCollectionsUpdateItem.ts
index bf9b092a..d11b7df6 100644
--- a/src/react-query/clientCollectionsUpdateItem.ts
+++ b/src/react-query/clientCollectionsUpdateItem.ts
@@ -12,18 +12,39 @@ import { clientCollectionsUpdateItem } from "../funcs/clientCollectionsUpdateIte
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 ClientCollectionsUpdateItemMutationVariables = {
- request: components.EditCollectionItemRequest;
+ editCollectionItemRequest: components.EditCollectionItemRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientCollectionsUpdateItemMutationData =
components.EditCollectionItemResponse;
+export type ClientCollectionsUpdateItemMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Update Collection item
*
@@ -33,12 +54,12 @@ export type ClientCollectionsUpdateItemMutationData =
export function useClientCollectionsUpdateItemMutation(
options?: MutationHookOptions<
ClientCollectionsUpdateItemMutationData,
- Error,
+ ClientCollectionsUpdateItemMutationError,
ClientCollectionsUpdateItemMutationVariables
>,
): UseMutationResult<
ClientCollectionsUpdateItemMutationData,
- Error,
+ ClientCollectionsUpdateItemMutationError,
ClientCollectionsUpdateItemMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +85,8 @@ export function buildClientCollectionsUpdateItemMutation(
return {
mutationKey: mutationKeyClientCollectionsUpdateItem(),
mutationFn: function clientCollectionsUpdateItemMutationFn({
- request,
+ editCollectionItemRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +103,8 @@ export function buildClientCollectionsUpdateItemMutation(
};
return unwrapAsync(clientCollectionsUpdateItem(
client$,
- request,
+ editCollectionItemRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientDocumentsRetrieve.ts b/src/react-query/clientDocumentsRetrieve.ts
index ab4d9cb9..b1341c54 100644
--- a/src/react-query/clientDocumentsRetrieve.ts
+++ b/src/react-query/clientDocumentsRetrieve.ts
@@ -12,18 +12,39 @@ import { clientDocumentsRetrieve } from "../funcs/clientDocumentsRetrieve.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 ClientDocumentsRetrieveMutationVariables = {
- request?: components.GetDocumentsRequest | undefined;
+ getDocumentsRequest?: components.GetDocumentsRequest | undefined;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientDocumentsRetrieveMutationData =
components.GetDocumentsResponse;
+export type ClientDocumentsRetrieveMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Read documents
*
@@ -33,12 +54,12 @@ export type ClientDocumentsRetrieveMutationData =
export function useClientDocumentsRetrieveMutation(
options?: MutationHookOptions<
ClientDocumentsRetrieveMutationData,
- Error,
+ ClientDocumentsRetrieveMutationError,
ClientDocumentsRetrieveMutationVariables
>,
): UseMutationResult<
ClientDocumentsRetrieveMutationData,
- Error,
+ ClientDocumentsRetrieveMutationError,
ClientDocumentsRetrieveMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +85,8 @@ export function buildClientDocumentsRetrieveMutation(
return {
mutationKey: mutationKeyClientDocumentsRetrieve(),
mutationFn: function clientDocumentsRetrieveMutationFn({
- request,
+ getDocumentsRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +103,8 @@ export function buildClientDocumentsRetrieveMutation(
};
return unwrapAsync(clientDocumentsRetrieve(
client$,
- request,
+ getDocumentsRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientDocumentsRetrieveByFacets.ts b/src/react-query/clientDocumentsRetrieveByFacets.ts
index 24329dd6..804c8da2 100644
--- a/src/react-query/clientDocumentsRetrieveByFacets.ts
+++ b/src/react-query/clientDocumentsRetrieveByFacets.ts
@@ -12,18 +12,41 @@ import { clientDocumentsRetrieveByFacets } from "../funcs/clientDocumentsRetriev
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 ClientDocumentsRetrieveByFacetsMutationVariables = {
- request?: components.GetDocumentsByFacetsRequest | undefined;
+ getDocumentsByFacetsRequest?:
+ | components.GetDocumentsByFacetsRequest
+ | undefined;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientDocumentsRetrieveByFacetsMutationData =
components.GetDocumentsByFacetsResponse;
+export type ClientDocumentsRetrieveByFacetsMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Read documents by facets
*
@@ -33,12 +56,12 @@ export type ClientDocumentsRetrieveByFacetsMutationData =
export function useClientDocumentsRetrieveByFacetsMutation(
options?: MutationHookOptions<
ClientDocumentsRetrieveByFacetsMutationData,
- Error,
+ ClientDocumentsRetrieveByFacetsMutationError,
ClientDocumentsRetrieveByFacetsMutationVariables
>,
): UseMutationResult<
ClientDocumentsRetrieveByFacetsMutationData,
- Error,
+ ClientDocumentsRetrieveByFacetsMutationError,
ClientDocumentsRetrieveByFacetsMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +87,8 @@ export function buildClientDocumentsRetrieveByFacetsMutation(
return {
mutationKey: mutationKeyClientDocumentsRetrieveByFacets(),
mutationFn: function clientDocumentsRetrieveByFacetsMutationFn({
- request,
+ getDocumentsByFacetsRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +105,8 @@ export function buildClientDocumentsRetrieveByFacetsMutation(
};
return unwrapAsync(clientDocumentsRetrieveByFacets(
client$,
- request,
+ getDocumentsByFacetsRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientDocumentsRetrievePermissions.ts b/src/react-query/clientDocumentsRetrievePermissions.ts
index 6772dd25..2a36dc81 100644
--- a/src/react-query/clientDocumentsRetrievePermissions.ts
+++ b/src/react-query/clientDocumentsRetrievePermissions.ts
@@ -12,18 +12,39 @@ import { clientDocumentsRetrievePermissions } from "../funcs/clientDocumentsRetr
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 ClientDocumentsRetrievePermissionsMutationVariables = {
- request: components.GetDocPermissionsRequest;
+ getDocPermissionsRequest: components.GetDocPermissionsRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientDocumentsRetrievePermissionsMutationData =
components.GetDocPermissionsResponse;
+export type ClientDocumentsRetrievePermissionsMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Read document permissions
*
@@ -33,12 +54,12 @@ export type ClientDocumentsRetrievePermissionsMutationData =
export function useClientDocumentsRetrievePermissionsMutation(
options?: MutationHookOptions<
ClientDocumentsRetrievePermissionsMutationData,
- Error,
+ ClientDocumentsRetrievePermissionsMutationError,
ClientDocumentsRetrievePermissionsMutationVariables
>,
): UseMutationResult<
ClientDocumentsRetrievePermissionsMutationData,
- Error,
+ ClientDocumentsRetrievePermissionsMutationError,
ClientDocumentsRetrievePermissionsMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +85,8 @@ export function buildClientDocumentsRetrievePermissionsMutation(
return {
mutationKey: mutationKeyClientDocumentsRetrievePermissions(),
mutationFn: function clientDocumentsRetrievePermissionsMutationFn({
- request,
+ getDocPermissionsRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +103,8 @@ export function buildClientDocumentsRetrievePermissionsMutation(
};
return unwrapAsync(clientDocumentsRetrievePermissions(
client$,
- request,
+ getDocPermissionsRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientDocumentsSummarize.ts b/src/react-query/clientDocumentsSummarize.ts
index 7b39ef2d..0649f21e 100644
--- a/src/react-query/clientDocumentsSummarize.ts
+++ b/src/react-query/clientDocumentsSummarize.ts
@@ -12,17 +12,38 @@ import { clientDocumentsSummarize } from "../funcs/clientDocumentsSummarize.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 ClientDocumentsSummarizeMutationVariables = {
- request: components.SummarizeRequest;
+ summarizeRequest: components.SummarizeRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientDocumentsSummarizeMutationData = components.SummarizeResponse;
+export type ClientDocumentsSummarizeMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Summarize documents
*
@@ -32,12 +53,12 @@ export type ClientDocumentsSummarizeMutationData = components.SummarizeResponse;
export function useClientDocumentsSummarizeMutation(
options?: MutationHookOptions<
ClientDocumentsSummarizeMutationData,
- Error,
+ ClientDocumentsSummarizeMutationError,
ClientDocumentsSummarizeMutationVariables
>,
): UseMutationResult<
ClientDocumentsSummarizeMutationData,
- Error,
+ ClientDocumentsSummarizeMutationError,
ClientDocumentsSummarizeMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientDocumentsSummarizeMutation(
return {
mutationKey: mutationKeyClientDocumentsSummarize(),
mutationFn: function clientDocumentsSummarizeMutationFn({
- request,
+ summarizeRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientDocumentsSummarizeMutation(
};
return unwrapAsync(clientDocumentsSummarize(
client$,
- request,
+ summarizeRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientEntitiesList.ts b/src/react-query/clientEntitiesList.ts
index 1ddce9f7..d10e6364 100644
--- a/src/react-query/clientEntitiesList.ts
+++ b/src/react-query/clientEntitiesList.ts
@@ -12,17 +12,38 @@ import { clientEntitiesList } from "../funcs/clientEntitiesList.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 ClientEntitiesListMutationVariables = {
- request: components.ListEntitiesRequest;
+ listEntitiesRequest: components.ListEntitiesRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientEntitiesListMutationData = components.ListEntitiesResponse;
+export type ClientEntitiesListMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* List entities
*
@@ -32,12 +53,12 @@ export type ClientEntitiesListMutationData = components.ListEntitiesResponse;
export function useClientEntitiesListMutation(
options?: MutationHookOptions<
ClientEntitiesListMutationData,
- Error,
+ ClientEntitiesListMutationError,
ClientEntitiesListMutationVariables
>,
): UseMutationResult<
ClientEntitiesListMutationData,
- Error,
+ ClientEntitiesListMutationError,
ClientEntitiesListMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientEntitiesListMutation(
return {
mutationKey: mutationKeyClientEntitiesList(),
mutationFn: function clientEntitiesListMutationFn({
- request,
+ listEntitiesRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientEntitiesListMutation(
};
return unwrapAsync(clientEntitiesList(
client$,
- request,
+ listEntitiesRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientEntitiesReadPeople.ts b/src/react-query/clientEntitiesReadPeople.ts
index 0ef2d706..bd9173d3 100644
--- a/src/react-query/clientEntitiesReadPeople.ts
+++ b/src/react-query/clientEntitiesReadPeople.ts
@@ -12,17 +12,38 @@ import { clientEntitiesReadPeople } from "../funcs/clientEntitiesReadPeople.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 ClientEntitiesReadPeopleMutationVariables = {
- request: components.PeopleRequest;
+ peopleRequest: components.PeopleRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientEntitiesReadPeopleMutationData = components.PeopleResponse;
+export type ClientEntitiesReadPeopleMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Read people
*
@@ -32,12 +53,12 @@ export type ClientEntitiesReadPeopleMutationData = components.PeopleResponse;
export function useClientEntitiesReadPeopleMutation(
options?: MutationHookOptions<
ClientEntitiesReadPeopleMutationData,
- Error,
+ ClientEntitiesReadPeopleMutationError,
ClientEntitiesReadPeopleMutationVariables
>,
): UseMutationResult<
ClientEntitiesReadPeopleMutationData,
- Error,
+ ClientEntitiesReadPeopleMutationError,
ClientEntitiesReadPeopleMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientEntitiesReadPeopleMutation(
return {
mutationKey: mutationKeyClientEntitiesReadPeople(),
mutationFn: function clientEntitiesReadPeopleMutationFn({
- request,
+ peopleRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientEntitiesReadPeopleMutation(
};
return unwrapAsync(clientEntitiesReadPeople(
client$,
- request,
+ peopleRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientGovernanceDataPoliciesCreate.ts b/src/react-query/clientGovernanceDataPoliciesCreate.ts
index 0685dc3d..d5bca8d8 100644
--- a/src/react-query/clientGovernanceDataPoliciesCreate.ts
+++ b/src/react-query/clientGovernanceDataPoliciesCreate.ts
@@ -12,6 +12,16 @@ import { clientGovernanceDataPoliciesCreate } from "../funcs/clientGovernanceDat
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";
@@ -24,6 +34,16 @@ export type ClientGovernanceDataPoliciesCreateMutationVariables = {
export type ClientGovernanceDataPoliciesCreateMutationData =
components.CreateDlpReportResponse;
+export type ClientGovernanceDataPoliciesCreateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Creates new policy
*
@@ -33,12 +53,12 @@ export type ClientGovernanceDataPoliciesCreateMutationData =
export function useClientGovernanceDataPoliciesCreateMutation(
options?: MutationHookOptions<
ClientGovernanceDataPoliciesCreateMutationData,
- Error,
+ ClientGovernanceDataPoliciesCreateMutationError,
ClientGovernanceDataPoliciesCreateMutationVariables
>,
): UseMutationResult<
ClientGovernanceDataPoliciesCreateMutationData,
- Error,
+ ClientGovernanceDataPoliciesCreateMutationError,
ClientGovernanceDataPoliciesCreateMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/clientGovernanceDataPoliciesDownload.ts b/src/react-query/clientGovernanceDataPoliciesDownload.ts
index c93ba1a1..23e93697 100644
--- a/src/react-query/clientGovernanceDataPoliciesDownload.ts
+++ b/src/react-query/clientGovernanceDataPoliciesDownload.ts
@@ -10,6 +10,16 @@ import {
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,
@@ -29,6 +39,16 @@ export {
queryKeyClientGovernanceDataPoliciesDownload,
};
+export type ClientGovernanceDataPoliciesDownloadQueryError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Downloads violations CSV for policy
*
@@ -37,8 +57,14 @@ export {
*/
export function useClientGovernanceDataPoliciesDownload(
id: string,
- options?: QueryHookOptions,
-): UseQueryResult {
+ options?: QueryHookOptions<
+ ClientGovernanceDataPoliciesDownloadQueryData,
+ ClientGovernanceDataPoliciesDownloadQueryError
+ >,
+): UseQueryResult<
+ ClientGovernanceDataPoliciesDownloadQueryData,
+ ClientGovernanceDataPoliciesDownloadQueryError
+> {
const client = useGleanContext();
return useQuery({
...buildClientGovernanceDataPoliciesDownloadQuery(
@@ -59,11 +85,12 @@ export function useClientGovernanceDataPoliciesDownload(
export function useClientGovernanceDataPoliciesDownloadSuspense(
id: string,
options?: SuspenseQueryHookOptions<
- ClientGovernanceDataPoliciesDownloadQueryData
+ ClientGovernanceDataPoliciesDownloadQueryData,
+ ClientGovernanceDataPoliciesDownloadQueryError
>,
): UseSuspenseQueryResult<
ClientGovernanceDataPoliciesDownloadQueryData,
- Error
+ ClientGovernanceDataPoliciesDownloadQueryError
> {
const client = useGleanContext();
return useSuspenseQuery({
diff --git a/src/react-query/clientGovernanceDataPoliciesList.ts b/src/react-query/clientGovernanceDataPoliciesList.ts
index e07262c6..dacc1205 100644
--- a/src/react-query/clientGovernanceDataPoliciesList.ts
+++ b/src/react-query/clientGovernanceDataPoliciesList.ts
@@ -10,6 +10,16 @@ import {
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,
@@ -29,6 +39,16 @@ export {
queryKeyClientGovernanceDataPoliciesList,
};
+export type ClientGovernanceDataPoliciesListQueryError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Lists policies
*
@@ -38,8 +58,14 @@ export {
export function useClientGovernanceDataPoliciesList(
autoHide?: boolean | undefined,
frequency?: string | undefined,
- options?: QueryHookOptions,
-): UseQueryResult {
+ options?: QueryHookOptions<
+ ClientGovernanceDataPoliciesListQueryData,
+ ClientGovernanceDataPoliciesListQueryError
+ >,
+): UseQueryResult<
+ ClientGovernanceDataPoliciesListQueryData,
+ ClientGovernanceDataPoliciesListQueryError
+> {
const client = useGleanContext();
return useQuery({
...buildClientGovernanceDataPoliciesListQuery(
@@ -61,8 +87,14 @@ export function useClientGovernanceDataPoliciesList(
export function useClientGovernanceDataPoliciesListSuspense(
autoHide?: boolean | undefined,
frequency?: string | undefined,
- options?: SuspenseQueryHookOptions,
-): UseSuspenseQueryResult {
+ options?: SuspenseQueryHookOptions<
+ ClientGovernanceDataPoliciesListQueryData,
+ ClientGovernanceDataPoliciesListQueryError
+ >,
+): UseSuspenseQueryResult<
+ ClientGovernanceDataPoliciesListQueryData,
+ ClientGovernanceDataPoliciesListQueryError
+> {
const client = useGleanContext();
return useSuspenseQuery({
...buildClientGovernanceDataPoliciesListQuery(
diff --git a/src/react-query/clientGovernanceDataPoliciesRetrieve.ts b/src/react-query/clientGovernanceDataPoliciesRetrieve.ts
index 39484303..35a28378 100644
--- a/src/react-query/clientGovernanceDataPoliciesRetrieve.ts
+++ b/src/react-query/clientGovernanceDataPoliciesRetrieve.ts
@@ -10,6 +10,16 @@ import {
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,
@@ -29,6 +39,16 @@ export {
queryKeyClientGovernanceDataPoliciesRetrieve,
};
+export type ClientGovernanceDataPoliciesRetrieveQueryError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Gets specified policy
*
@@ -38,8 +58,14 @@ export {
export function useClientGovernanceDataPoliciesRetrieve(
id: string,
version?: number | undefined,
- options?: QueryHookOptions,
-): UseQueryResult {
+ options?: QueryHookOptions<
+ ClientGovernanceDataPoliciesRetrieveQueryData,
+ ClientGovernanceDataPoliciesRetrieveQueryError
+ >,
+): UseQueryResult<
+ ClientGovernanceDataPoliciesRetrieveQueryData,
+ ClientGovernanceDataPoliciesRetrieveQueryError
+> {
const client = useGleanContext();
return useQuery({
...buildClientGovernanceDataPoliciesRetrieveQuery(
@@ -62,11 +88,12 @@ export function useClientGovernanceDataPoliciesRetrieveSuspense(
id: string,
version?: number | undefined,
options?: SuspenseQueryHookOptions<
- ClientGovernanceDataPoliciesRetrieveQueryData
+ ClientGovernanceDataPoliciesRetrieveQueryData,
+ ClientGovernanceDataPoliciesRetrieveQueryError
>,
): UseSuspenseQueryResult<
ClientGovernanceDataPoliciesRetrieveQueryData,
- Error
+ ClientGovernanceDataPoliciesRetrieveQueryError
> {
const client = useGleanContext();
return useSuspenseQuery({
diff --git a/src/react-query/clientGovernanceDataPoliciesUpdate.ts b/src/react-query/clientGovernanceDataPoliciesUpdate.ts
index bfe3fa59..50c5c2ed 100644
--- a/src/react-query/clientGovernanceDataPoliciesUpdate.ts
+++ b/src/react-query/clientGovernanceDataPoliciesUpdate.ts
@@ -12,6 +12,16 @@ import { clientGovernanceDataPoliciesUpdate } from "../funcs/clientGovernanceDat
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";
@@ -25,6 +35,16 @@ export type ClientGovernanceDataPoliciesUpdateMutationVariables = {
export type ClientGovernanceDataPoliciesUpdateMutationData =
components.UpdateDlpReportResponse;
+export type ClientGovernanceDataPoliciesUpdateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Updates an existing policy
*
@@ -34,12 +54,12 @@ export type ClientGovernanceDataPoliciesUpdateMutationData =
export function useClientGovernanceDataPoliciesUpdateMutation(
options?: MutationHookOptions<
ClientGovernanceDataPoliciesUpdateMutationData,
- Error,
+ ClientGovernanceDataPoliciesUpdateMutationError,
ClientGovernanceDataPoliciesUpdateMutationVariables
>,
): UseMutationResult<
ClientGovernanceDataPoliciesUpdateMutationData,
- Error,
+ ClientGovernanceDataPoliciesUpdateMutationError,
ClientGovernanceDataPoliciesUpdateMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/clientGovernanceDataReportsCreate.ts b/src/react-query/clientGovernanceDataReportsCreate.ts
index 03f8a7f5..a94a7e34 100644
--- a/src/react-query/clientGovernanceDataReportsCreate.ts
+++ b/src/react-query/clientGovernanceDataReportsCreate.ts
@@ -12,6 +12,16 @@ import { clientGovernanceDataReportsCreate } from "../funcs/clientGovernanceData
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";
@@ -24,6 +34,16 @@ export type ClientGovernanceDataReportsCreateMutationVariables = {
export type ClientGovernanceDataReportsCreateMutationData =
components.UpdateDlpConfigResponse;
+export type ClientGovernanceDataReportsCreateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Creates new one-time report
*
@@ -33,12 +53,12 @@ export type ClientGovernanceDataReportsCreateMutationData =
export function useClientGovernanceDataReportsCreateMutation(
options?: MutationHookOptions<
ClientGovernanceDataReportsCreateMutationData,
- Error,
+ ClientGovernanceDataReportsCreateMutationError,
ClientGovernanceDataReportsCreateMutationVariables
>,
): UseMutationResult<
ClientGovernanceDataReportsCreateMutationData,
- Error,
+ ClientGovernanceDataReportsCreateMutationError,
ClientGovernanceDataReportsCreateMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/clientGovernanceDataReportsDownload.ts b/src/react-query/clientGovernanceDataReportsDownload.ts
index 769182ca..7ac5543f 100644
--- a/src/react-query/clientGovernanceDataReportsDownload.ts
+++ b/src/react-query/clientGovernanceDataReportsDownload.ts
@@ -10,6 +10,16 @@ import {
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,
@@ -29,6 +39,16 @@ export {
queryKeyClientGovernanceDataReportsDownload,
};
+export type ClientGovernanceDataReportsDownloadQueryError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Downloads violations CSV for report
*
@@ -37,8 +57,14 @@ export {
*/
export function useClientGovernanceDataReportsDownload(
id: string,
- options?: QueryHookOptions,
-): UseQueryResult {
+ options?: QueryHookOptions<
+ ClientGovernanceDataReportsDownloadQueryData,
+ ClientGovernanceDataReportsDownloadQueryError
+ >,
+): UseQueryResult<
+ ClientGovernanceDataReportsDownloadQueryData,
+ ClientGovernanceDataReportsDownloadQueryError
+> {
const client = useGleanContext();
return useQuery({
...buildClientGovernanceDataReportsDownloadQuery(
@@ -59,9 +85,13 @@ export function useClientGovernanceDataReportsDownload(
export function useClientGovernanceDataReportsDownloadSuspense(
id: string,
options?: SuspenseQueryHookOptions<
- ClientGovernanceDataReportsDownloadQueryData
+ ClientGovernanceDataReportsDownloadQueryData,
+ ClientGovernanceDataReportsDownloadQueryError
>,
-): UseSuspenseQueryResult {
+): UseSuspenseQueryResult<
+ ClientGovernanceDataReportsDownloadQueryData,
+ ClientGovernanceDataReportsDownloadQueryError
+> {
const client = useGleanContext();
return useSuspenseQuery({
...buildClientGovernanceDataReportsDownloadQuery(
diff --git a/src/react-query/clientGovernanceDataReportsStatus.ts b/src/react-query/clientGovernanceDataReportsStatus.ts
index 0dc2708a..50d2a2ca 100644
--- a/src/react-query/clientGovernanceDataReportsStatus.ts
+++ b/src/react-query/clientGovernanceDataReportsStatus.ts
@@ -10,6 +10,16 @@ import {
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,
@@ -29,6 +39,16 @@ export {
queryKeyClientGovernanceDataReportsStatus,
};
+export type ClientGovernanceDataReportsStatusQueryError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Fetches report run status
*
@@ -37,8 +57,14 @@ export {
*/
export function useClientGovernanceDataReportsStatus(
id: string,
- options?: QueryHookOptions,
-): UseQueryResult {
+ options?: QueryHookOptions<
+ ClientGovernanceDataReportsStatusQueryData,
+ ClientGovernanceDataReportsStatusQueryError
+ >,
+): UseQueryResult<
+ ClientGovernanceDataReportsStatusQueryData,
+ ClientGovernanceDataReportsStatusQueryError
+> {
const client = useGleanContext();
return useQuery({
...buildClientGovernanceDataReportsStatusQuery(
@@ -59,9 +85,13 @@ export function useClientGovernanceDataReportsStatus(
export function useClientGovernanceDataReportsStatusSuspense(
id: string,
options?: SuspenseQueryHookOptions<
- ClientGovernanceDataReportsStatusQueryData
+ ClientGovernanceDataReportsStatusQueryData,
+ ClientGovernanceDataReportsStatusQueryError
>,
-): UseSuspenseQueryResult {
+): UseSuspenseQueryResult<
+ ClientGovernanceDataReportsStatusQueryData,
+ ClientGovernanceDataReportsStatusQueryError
+> {
const client = useGleanContext();
return useSuspenseQuery({
...buildClientGovernanceDataReportsStatusQuery(
diff --git a/src/react-query/clientGovernanceDocumentsVisibilityoverridesCreate.ts b/src/react-query/clientGovernanceDocumentsVisibilityoverridesCreate.ts
index eaa1bf9d..f11c7799 100644
--- a/src/react-query/clientGovernanceDocumentsVisibilityoverridesCreate.ts
+++ b/src/react-query/clientGovernanceDocumentsVisibilityoverridesCreate.ts
@@ -12,6 +12,16 @@ import { clientGovernanceDocumentsVisibilityoverridesCreate } from "../funcs/cli
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";
@@ -25,6 +35,16 @@ export type ClientGovernanceDocumentsVisibilityoverridesCreateMutationVariables
export type ClientGovernanceDocumentsVisibilityoverridesCreateMutationData =
components.UpdateDocumentVisibilityOverridesResponse;
+export type ClientGovernanceDocumentsVisibilityoverridesCreateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Hide or unhide docs
*
@@ -34,12 +54,12 @@ export type ClientGovernanceDocumentsVisibilityoverridesCreateMutationData =
export function useClientGovernanceDocumentsVisibilityoverridesCreateMutation(
options?: MutationHookOptions<
ClientGovernanceDocumentsVisibilityoverridesCreateMutationData,
- Error,
+ ClientGovernanceDocumentsVisibilityoverridesCreateMutationError,
ClientGovernanceDocumentsVisibilityoverridesCreateMutationVariables
>,
): UseMutationResult<
ClientGovernanceDocumentsVisibilityoverridesCreateMutationData,
- Error,
+ ClientGovernanceDocumentsVisibilityoverridesCreateMutationError,
ClientGovernanceDocumentsVisibilityoverridesCreateMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/clientGovernanceDocumentsVisibilityoverridesList.ts b/src/react-query/clientGovernanceDocumentsVisibilityoverridesList.ts
index 9dcb6b65..8bc366cb 100644
--- a/src/react-query/clientGovernanceDocumentsVisibilityoverridesList.ts
+++ b/src/react-query/clientGovernanceDocumentsVisibilityoverridesList.ts
@@ -10,6 +10,16 @@ import {
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,
@@ -29,6 +39,16 @@ export {
queryKeyClientGovernanceDocumentsVisibilityoverridesList,
};
+export type ClientGovernanceDocumentsVisibilityoverridesListQueryError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Fetches documents visibility
*
@@ -38,11 +58,12 @@ export {
export function useClientGovernanceDocumentsVisibilityoverridesList(
docIds?: Array | undefined,
options?: QueryHookOptions<
- ClientGovernanceDocumentsVisibilityoverridesListQueryData
+ ClientGovernanceDocumentsVisibilityoverridesListQueryData,
+ ClientGovernanceDocumentsVisibilityoverridesListQueryError
>,
): UseQueryResult<
ClientGovernanceDocumentsVisibilityoverridesListQueryData,
- Error
+ ClientGovernanceDocumentsVisibilityoverridesListQueryError
> {
const client = useGleanContext();
return useQuery({
@@ -64,11 +85,12 @@ export function useClientGovernanceDocumentsVisibilityoverridesList(
export function useClientGovernanceDocumentsVisibilityoverridesListSuspense(
docIds?: Array | undefined,
options?: SuspenseQueryHookOptions<
- ClientGovernanceDocumentsVisibilityoverridesListQueryData
+ ClientGovernanceDocumentsVisibilityoverridesListQueryData,
+ ClientGovernanceDocumentsVisibilityoverridesListQueryError
>,
): UseSuspenseQueryResult<
ClientGovernanceDocumentsVisibilityoverridesListQueryData,
- Error
+ ClientGovernanceDocumentsVisibilityoverridesListQueryError
> {
const client = useGleanContext();
return useSuspenseQuery({
diff --git a/src/react-query/clientInsightsRetrieve.ts b/src/react-query/clientInsightsRetrieve.ts
index aef7c684..daab05b2 100644
--- a/src/react-query/clientInsightsRetrieve.ts
+++ b/src/react-query/clientInsightsRetrieve.ts
@@ -12,17 +12,38 @@ import { clientInsightsRetrieve } from "../funcs/clientInsightsRetrieve.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 ClientInsightsRetrieveMutationVariables = {
- request: components.InsightsRequest;
+ insightsRequest: components.InsightsRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientInsightsRetrieveMutationData = components.InsightsResponse;
+export type ClientInsightsRetrieveMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Get insights
*
@@ -32,12 +53,12 @@ export type ClientInsightsRetrieveMutationData = components.InsightsResponse;
export function useClientInsightsRetrieveMutation(
options?: MutationHookOptions<
ClientInsightsRetrieveMutationData,
- Error,
+ ClientInsightsRetrieveMutationError,
ClientInsightsRetrieveMutationVariables
>,
): UseMutationResult<
ClientInsightsRetrieveMutationData,
- Error,
+ ClientInsightsRetrieveMutationError,
ClientInsightsRetrieveMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientInsightsRetrieveMutation(
return {
mutationKey: mutationKeyClientInsightsRetrieve(),
mutationFn: function clientInsightsRetrieveMutationFn({
- request,
+ insightsRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientInsightsRetrieveMutation(
};
return unwrapAsync(clientInsightsRetrieve(
client$,
- request,
+ insightsRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientMessagesRetrieve.ts b/src/react-query/clientMessagesRetrieve.ts
index 8badd40c..013deafc 100644
--- a/src/react-query/clientMessagesRetrieve.ts
+++ b/src/react-query/clientMessagesRetrieve.ts
@@ -12,17 +12,38 @@ import { clientMessagesRetrieve } from "../funcs/clientMessagesRetrieve.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 ClientMessagesRetrieveMutationVariables = {
- request: components.MessagesRequest;
+ messagesRequest: components.MessagesRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientMessagesRetrieveMutationData = components.MessagesResponse;
+export type ClientMessagesRetrieveMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Read messages
*
@@ -32,12 +53,12 @@ export type ClientMessagesRetrieveMutationData = components.MessagesResponse;
export function useClientMessagesRetrieveMutation(
options?: MutationHookOptions<
ClientMessagesRetrieveMutationData,
- Error,
+ ClientMessagesRetrieveMutationError,
ClientMessagesRetrieveMutationVariables
>,
): UseMutationResult<
ClientMessagesRetrieveMutationData,
- Error,
+ ClientMessagesRetrieveMutationError,
ClientMessagesRetrieveMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientMessagesRetrieveMutation(
return {
mutationKey: mutationKeyClientMessagesRetrieve(),
mutationFn: function clientMessagesRetrieveMutationFn({
- request,
+ messagesRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientMessagesRetrieveMutation(
};
return unwrapAsync(clientMessagesRetrieve(
client$,
- request,
+ messagesRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientPinsCreate.ts b/src/react-query/clientPinsCreate.ts
index fa3f9668..109b2bdb 100644
--- a/src/react-query/clientPinsCreate.ts
+++ b/src/react-query/clientPinsCreate.ts
@@ -12,17 +12,38 @@ import { clientPinsCreate } from "../funcs/clientPinsCreate.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 ClientPinsCreateMutationVariables = {
- request: components.PinRequest;
+ pinRequest: components.PinRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientPinsCreateMutationData = components.PinDocument;
+export type ClientPinsCreateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Create pin
*
@@ -32,12 +53,12 @@ export type ClientPinsCreateMutationData = components.PinDocument;
export function useClientPinsCreateMutation(
options?: MutationHookOptions<
ClientPinsCreateMutationData,
- Error,
+ ClientPinsCreateMutationError,
ClientPinsCreateMutationVariables
>,
): UseMutationResult<
ClientPinsCreateMutationData,
- Error,
+ ClientPinsCreateMutationError,
ClientPinsCreateMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientPinsCreateMutation(
return {
mutationKey: mutationKeyClientPinsCreate(),
mutationFn: function clientPinsCreateMutationFn({
- request,
+ pinRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientPinsCreateMutation(
};
return unwrapAsync(clientPinsCreate(
client$,
- request,
+ pinRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientPinsList.ts b/src/react-query/clientPinsList.ts
index b94c30ef..b75e547b 100644
--- a/src/react-query/clientPinsList.ts
+++ b/src/react-query/clientPinsList.ts
@@ -12,18 +12,39 @@ import { clientPinsList } from "../funcs/clientPinsList.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 * as operations from "../models/operations/index.js";
import { unwrapAsync } from "../types/fp.js";
import { useGleanContext } from "./_context.js";
import { MutationHookOptions } from "./_types.js";
export type ClientPinsListMutationVariables = {
- request: operations.ListpinsRequest;
+ requestBody: operations.ListpinsRequestBody;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientPinsListMutationData = components.ListPinsResponse;
+export type ClientPinsListMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* List pins
*
@@ -33,12 +54,12 @@ export type ClientPinsListMutationData = components.ListPinsResponse;
export function useClientPinsListMutation(
options?: MutationHookOptions<
ClientPinsListMutationData,
- Error,
+ ClientPinsListMutationError,
ClientPinsListMutationVariables
>,
): UseMutationResult<
ClientPinsListMutationData,
- Error,
+ ClientPinsListMutationError,
ClientPinsListMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +85,8 @@ export function buildClientPinsListMutation(
return {
mutationKey: mutationKeyClientPinsList(),
mutationFn: function clientPinsListMutationFn({
- request,
+ requestBody,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +103,8 @@ export function buildClientPinsListMutation(
};
return unwrapAsync(clientPinsList(
client$,
- request,
+ requestBody,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientPinsRemove.ts b/src/react-query/clientPinsRemove.ts
index 228bff12..99f77f6e 100644
--- a/src/react-query/clientPinsRemove.ts
+++ b/src/react-query/clientPinsRemove.ts
@@ -12,17 +12,38 @@ import { clientPinsRemove } from "../funcs/clientPinsRemove.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 ClientPinsRemoveMutationVariables = {
- request: components.Unpin;
+ unpin: components.Unpin;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientPinsRemoveMutationData = void;
+export type ClientPinsRemoveMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Delete pin
*
@@ -32,12 +53,12 @@ export type ClientPinsRemoveMutationData = void;
export function useClientPinsRemoveMutation(
options?: MutationHookOptions<
ClientPinsRemoveMutationData,
- Error,
+ ClientPinsRemoveMutationError,
ClientPinsRemoveMutationVariables
>,
): UseMutationResult<
ClientPinsRemoveMutationData,
- Error,
+ ClientPinsRemoveMutationError,
ClientPinsRemoveMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientPinsRemoveMutation(
return {
mutationKey: mutationKeyClientPinsRemove(),
mutationFn: function clientPinsRemoveMutationFn({
- request,
+ unpin,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientPinsRemoveMutation(
};
return unwrapAsync(clientPinsRemove(
client$,
- request,
+ unpin,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientPinsRetrieve.ts b/src/react-query/clientPinsRetrieve.ts
index 32efe0a8..6240e615 100644
--- a/src/react-query/clientPinsRetrieve.ts
+++ b/src/react-query/clientPinsRetrieve.ts
@@ -12,17 +12,38 @@ import { clientPinsRetrieve } from "../funcs/clientPinsRetrieve.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 ClientPinsRetrieveMutationVariables = {
- request: components.GetPinRequest;
+ getPinRequest: components.GetPinRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientPinsRetrieveMutationData = components.GetPinResponse;
+export type ClientPinsRetrieveMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Read pin
*
@@ -32,12 +53,12 @@ export type ClientPinsRetrieveMutationData = components.GetPinResponse;
export function useClientPinsRetrieveMutation(
options?: MutationHookOptions<
ClientPinsRetrieveMutationData,
- Error,
+ ClientPinsRetrieveMutationError,
ClientPinsRetrieveMutationVariables
>,
): UseMutationResult<
ClientPinsRetrieveMutationData,
- Error,
+ ClientPinsRetrieveMutationError,
ClientPinsRetrieveMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientPinsRetrieveMutation(
return {
mutationKey: mutationKeyClientPinsRetrieve(),
mutationFn: function clientPinsRetrieveMutationFn({
- request,
+ getPinRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientPinsRetrieveMutation(
};
return unwrapAsync(clientPinsRetrieve(
client$,
- request,
+ getPinRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientPinsUpdate.ts b/src/react-query/clientPinsUpdate.ts
index 13eb9911..4f493ae2 100644
--- a/src/react-query/clientPinsUpdate.ts
+++ b/src/react-query/clientPinsUpdate.ts
@@ -12,17 +12,38 @@ import { clientPinsUpdate } from "../funcs/clientPinsUpdate.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 ClientPinsUpdateMutationVariables = {
- request: components.EditPinRequest;
+ editPinRequest: components.EditPinRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientPinsUpdateMutationData = components.PinDocument;
+export type ClientPinsUpdateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Update pin
*
@@ -32,12 +53,12 @@ export type ClientPinsUpdateMutationData = components.PinDocument;
export function useClientPinsUpdateMutation(
options?: MutationHookOptions<
ClientPinsUpdateMutationData,
- Error,
+ ClientPinsUpdateMutationError,
ClientPinsUpdateMutationVariables
>,
): UseMutationResult<
ClientPinsUpdateMutationData,
- Error,
+ ClientPinsUpdateMutationError,
ClientPinsUpdateMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientPinsUpdateMutation(
return {
mutationKey: mutationKeyClientPinsUpdate(),
mutationFn: function clientPinsUpdateMutationFn({
- request,
+ editPinRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientPinsUpdateMutation(
};
return unwrapAsync(clientPinsUpdate(
client$,
- request,
+ editPinRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientSearchAutocomplete.ts b/src/react-query/clientSearchAutocomplete.ts
index e8439a7a..ac81e5ef 100644
--- a/src/react-query/clientSearchAutocomplete.ts
+++ b/src/react-query/clientSearchAutocomplete.ts
@@ -12,18 +12,39 @@ import { clientSearchAutocomplete } from "../funcs/clientSearchAutocomplete.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 ClientSearchAutocompleteMutationVariables = {
- request: components.AutocompleteRequest;
+ autocompleteRequest: components.AutocompleteRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientSearchAutocompleteMutationData =
components.AutocompleteResponse;
+export type ClientSearchAutocompleteMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Autocomplete
*
@@ -33,12 +54,12 @@ export type ClientSearchAutocompleteMutationData =
export function useClientSearchAutocompleteMutation(
options?: MutationHookOptions<
ClientSearchAutocompleteMutationData,
- Error,
+ ClientSearchAutocompleteMutationError,
ClientSearchAutocompleteMutationVariables
>,
): UseMutationResult<
ClientSearchAutocompleteMutationData,
- Error,
+ ClientSearchAutocompleteMutationError,
ClientSearchAutocompleteMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +85,8 @@ export function buildClientSearchAutocompleteMutation(
return {
mutationKey: mutationKeyClientSearchAutocomplete(),
mutationFn: function clientSearchAutocompleteMutationFn({
- request,
+ autocompleteRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +103,8 @@ export function buildClientSearchAutocompleteMutation(
};
return unwrapAsync(clientSearchAutocomplete(
client$,
- request,
+ autocompleteRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientSearchQuery.ts b/src/react-query/clientSearchQuery.ts
index ffb12fab..f3ed6771 100644
--- a/src/react-query/clientSearchQuery.ts
+++ b/src/react-query/clientSearchQuery.ts
@@ -12,17 +12,40 @@ import { clientSearchQuery } from "../funcs/clientSearchQuery.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 ClientSearchQueryMutationVariables = {
- request: components.SearchRequest;
+ searchRequest: components.SearchRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientSearchQueryMutationData = components.SearchResponse;
+export type ClientSearchQueryMutationError =
+ | errors.GleanDataError
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Search
*
@@ -32,12 +55,12 @@ export type ClientSearchQueryMutationData = components.SearchResponse;
export function useClientSearchQueryMutation(
options?: MutationHookOptions<
ClientSearchQueryMutationData,
- Error,
+ ClientSearchQueryMutationError,
ClientSearchQueryMutationVariables
>,
): UseMutationResult<
ClientSearchQueryMutationData,
- Error,
+ ClientSearchQueryMutationError,
ClientSearchQueryMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +86,8 @@ export function buildClientSearchQueryMutation(
return {
mutationKey: mutationKeyClientSearchQuery(),
mutationFn: function clientSearchQueryMutationFn({
- request,
+ searchRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +104,8 @@ export function buildClientSearchQueryMutation(
};
return unwrapAsync(clientSearchQuery(
client$,
- request,
+ searchRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientSearchQueryAsAdmin.ts b/src/react-query/clientSearchQueryAsAdmin.ts
index 44d93a3e..49fcd53f 100644
--- a/src/react-query/clientSearchQueryAsAdmin.ts
+++ b/src/react-query/clientSearchQueryAsAdmin.ts
@@ -12,17 +12,40 @@ import { clientSearchQueryAsAdmin } from "../funcs/clientSearchQueryAsAdmin.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 ClientSearchQueryAsAdminMutationVariables = {
- request: components.SearchRequest;
+ searchRequest: components.SearchRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientSearchQueryAsAdminMutationData = components.SearchResponse;
+export type ClientSearchQueryAsAdminMutationError =
+ | errors.GleanDataError
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Search the index (admin)
*
@@ -32,12 +55,12 @@ export type ClientSearchQueryAsAdminMutationData = components.SearchResponse;
export function useClientSearchQueryAsAdminMutation(
options?: MutationHookOptions<
ClientSearchQueryAsAdminMutationData,
- Error,
+ ClientSearchQueryAsAdminMutationError,
ClientSearchQueryAsAdminMutationVariables
>,
): UseMutationResult<
ClientSearchQueryAsAdminMutationData,
- Error,
+ ClientSearchQueryAsAdminMutationError,
ClientSearchQueryAsAdminMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +86,8 @@ export function buildClientSearchQueryAsAdminMutation(
return {
mutationKey: mutationKeyClientSearchQueryAsAdmin(),
mutationFn: function clientSearchQueryAsAdminMutationFn({
- request,
+ searchRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +104,8 @@ export function buildClientSearchQueryAsAdminMutation(
};
return unwrapAsync(clientSearchQueryAsAdmin(
client$,
- request,
+ searchRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientSearchRecommendations.ts b/src/react-query/clientSearchRecommendations.ts
index 5d9170bd..f32639c5 100644
--- a/src/react-query/clientSearchRecommendations.ts
+++ b/src/react-query/clientSearchRecommendations.ts
@@ -12,12 +12,23 @@ import { clientSearchRecommendations } from "../funcs/clientSearchRecommendation
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 ClientSearchRecommendationsMutationVariables = {
- request: components.RecommendationsRequest;
+ recommendationsRequest: components.RecommendationsRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
@@ -25,6 +36,16 @@ export type ClientSearchRecommendationsMutationData =
| components.ResultsResponse
| undefined;
+export type ClientSearchRecommendationsMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Recommend documents
*
@@ -34,12 +55,12 @@ export type ClientSearchRecommendationsMutationData =
export function useClientSearchRecommendationsMutation(
options?: MutationHookOptions<
ClientSearchRecommendationsMutationData,
- Error,
+ ClientSearchRecommendationsMutationError,
ClientSearchRecommendationsMutationVariables
>,
): UseMutationResult<
ClientSearchRecommendationsMutationData,
- Error,
+ ClientSearchRecommendationsMutationError,
ClientSearchRecommendationsMutationVariables
> {
const client = useGleanContext();
@@ -65,7 +86,8 @@ export function buildClientSearchRecommendationsMutation(
return {
mutationKey: mutationKeyClientSearchRecommendations(),
mutationFn: function clientSearchRecommendationsMutationFn({
- request,
+ recommendationsRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -82,7 +104,8 @@ export function buildClientSearchRecommendationsMutation(
};
return unwrapAsync(clientSearchRecommendations(
client$,
- request,
+ recommendationsRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientSearchRetrieveFeed.ts b/src/react-query/clientSearchRetrieveFeed.ts
index b697367e..61acec4e 100644
--- a/src/react-query/clientSearchRetrieveFeed.ts
+++ b/src/react-query/clientSearchRetrieveFeed.ts
@@ -12,17 +12,38 @@ import { clientSearchRetrieveFeed } from "../funcs/clientSearchRetrieveFeed.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 ClientSearchRetrieveFeedMutationVariables = {
- request: components.FeedRequest;
+ feedRequest: components.FeedRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientSearchRetrieveFeedMutationData = components.FeedResponse;
+export type ClientSearchRetrieveFeedMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Feed of documents and events
*
@@ -32,12 +53,12 @@ export type ClientSearchRetrieveFeedMutationData = components.FeedResponse;
export function useClientSearchRetrieveFeedMutation(
options?: MutationHookOptions<
ClientSearchRetrieveFeedMutationData,
- Error,
+ ClientSearchRetrieveFeedMutationError,
ClientSearchRetrieveFeedMutationVariables
>,
): UseMutationResult<
ClientSearchRetrieveFeedMutationData,
- Error,
+ ClientSearchRetrieveFeedMutationError,
ClientSearchRetrieveFeedMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientSearchRetrieveFeedMutation(
return {
mutationKey: mutationKeyClientSearchRetrieveFeed(),
mutationFn: function clientSearchRetrieveFeedMutationFn({
- request,
+ feedRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientSearchRetrieveFeedMutation(
};
return unwrapAsync(clientSearchRetrieveFeed(
client$,
- request,
+ feedRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientShortcutsCreate.ts b/src/react-query/clientShortcutsCreate.ts
index c1a0da83..770a83ac 100644
--- a/src/react-query/clientShortcutsCreate.ts
+++ b/src/react-query/clientShortcutsCreate.ts
@@ -12,18 +12,39 @@ import { clientShortcutsCreate } from "../funcs/clientShortcutsCreate.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 ClientShortcutsCreateMutationVariables = {
- request: components.CreateShortcutRequest;
+ createShortcutRequest: components.CreateShortcutRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientShortcutsCreateMutationData =
components.CreateShortcutResponse;
+export type ClientShortcutsCreateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Create shortcut
*
@@ -33,12 +54,12 @@ export type ClientShortcutsCreateMutationData =
export function useClientShortcutsCreateMutation(
options?: MutationHookOptions<
ClientShortcutsCreateMutationData,
- Error,
+ ClientShortcutsCreateMutationError,
ClientShortcutsCreateMutationVariables
>,
): UseMutationResult<
ClientShortcutsCreateMutationData,
- Error,
+ ClientShortcutsCreateMutationError,
ClientShortcutsCreateMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +85,8 @@ export function buildClientShortcutsCreateMutation(
return {
mutationKey: mutationKeyClientShortcutsCreate(),
mutationFn: function clientShortcutsCreateMutationFn({
- request,
+ createShortcutRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +103,8 @@ export function buildClientShortcutsCreateMutation(
};
return unwrapAsync(clientShortcutsCreate(
client$,
- request,
+ createShortcutRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientShortcutsDelete.ts b/src/react-query/clientShortcutsDelete.ts
index 2963c0fc..fb692668 100644
--- a/src/react-query/clientShortcutsDelete.ts
+++ b/src/react-query/clientShortcutsDelete.ts
@@ -12,17 +12,38 @@ import { clientShortcutsDelete } from "../funcs/clientShortcutsDelete.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 ClientShortcutsDeleteMutationVariables = {
- request: components.DeleteShortcutRequest;
+ deleteShortcutRequest: components.DeleteShortcutRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientShortcutsDeleteMutationData = void;
+export type ClientShortcutsDeleteMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Delete shortcut
*
@@ -32,12 +53,12 @@ export type ClientShortcutsDeleteMutationData = void;
export function useClientShortcutsDeleteMutation(
options?: MutationHookOptions<
ClientShortcutsDeleteMutationData,
- Error,
+ ClientShortcutsDeleteMutationError,
ClientShortcutsDeleteMutationVariables
>,
): UseMutationResult<
ClientShortcutsDeleteMutationData,
- Error,
+ ClientShortcutsDeleteMutationError,
ClientShortcutsDeleteMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientShortcutsDeleteMutation(
return {
mutationKey: mutationKeyClientShortcutsDelete(),
mutationFn: function clientShortcutsDeleteMutationFn({
- request,
+ deleteShortcutRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientShortcutsDeleteMutation(
};
return unwrapAsync(clientShortcutsDelete(
client$,
- request,
+ deleteShortcutRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientShortcutsList.ts b/src/react-query/clientShortcutsList.ts
index 0455977f..5c406eb0 100644
--- a/src/react-query/clientShortcutsList.ts
+++ b/src/react-query/clientShortcutsList.ts
@@ -12,18 +12,39 @@ import { clientShortcutsList } from "../funcs/clientShortcutsList.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 ClientShortcutsListMutationVariables = {
- request: components.ListShortcutsPaginatedRequest;
+ listShortcutsPaginatedRequest: components.ListShortcutsPaginatedRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientShortcutsListMutationData =
components.ListShortcutsPaginatedResponse;
+export type ClientShortcutsListMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* List shortcuts
*
@@ -33,12 +54,12 @@ export type ClientShortcutsListMutationData =
export function useClientShortcutsListMutation(
options?: MutationHookOptions<
ClientShortcutsListMutationData,
- Error,
+ ClientShortcutsListMutationError,
ClientShortcutsListMutationVariables
>,
): UseMutationResult<
ClientShortcutsListMutationData,
- Error,
+ ClientShortcutsListMutationError,
ClientShortcutsListMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +85,8 @@ export function buildClientShortcutsListMutation(
return {
mutationKey: mutationKeyClientShortcutsList(),
mutationFn: function clientShortcutsListMutationFn({
- request,
+ listShortcutsPaginatedRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +103,8 @@ export function buildClientShortcutsListMutation(
};
return unwrapAsync(clientShortcutsList(
client$,
- request,
+ listShortcutsPaginatedRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientShortcutsRetrieve.ts b/src/react-query/clientShortcutsRetrieve.ts
index 4eadadc1..5b91e1db 100644
--- a/src/react-query/clientShortcutsRetrieve.ts
+++ b/src/react-query/clientShortcutsRetrieve.ts
@@ -12,18 +12,39 @@ import { clientShortcutsRetrieve } from "../funcs/clientShortcutsRetrieve.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 ClientShortcutsRetrieveMutationVariables = {
- request: components.GetShortcutRequestUnion;
+ getShortcutRequest: components.GetShortcutRequestUnion;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientShortcutsRetrieveMutationData =
components.GetShortcutResponse;
+export type ClientShortcutsRetrieveMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Read shortcut
*
@@ -33,12 +54,12 @@ export type ClientShortcutsRetrieveMutationData =
export function useClientShortcutsRetrieveMutation(
options?: MutationHookOptions<
ClientShortcutsRetrieveMutationData,
- Error,
+ ClientShortcutsRetrieveMutationError,
ClientShortcutsRetrieveMutationVariables
>,
): UseMutationResult<
ClientShortcutsRetrieveMutationData,
- Error,
+ ClientShortcutsRetrieveMutationError,
ClientShortcutsRetrieveMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +85,8 @@ export function buildClientShortcutsRetrieveMutation(
return {
mutationKey: mutationKeyClientShortcutsRetrieve(),
mutationFn: function clientShortcutsRetrieveMutationFn({
- request,
+ getShortcutRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +103,8 @@ export function buildClientShortcutsRetrieveMutation(
};
return unwrapAsync(clientShortcutsRetrieve(
client$,
- request,
+ getShortcutRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientShortcutsUpdate.ts b/src/react-query/clientShortcutsUpdate.ts
index db6bd857..542d9d51 100644
--- a/src/react-query/clientShortcutsUpdate.ts
+++ b/src/react-query/clientShortcutsUpdate.ts
@@ -12,18 +12,39 @@ import { clientShortcutsUpdate } from "../funcs/clientShortcutsUpdate.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 ClientShortcutsUpdateMutationVariables = {
- request: components.UpdateShortcutRequest;
+ updateShortcutRequest: components.UpdateShortcutRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientShortcutsUpdateMutationData =
components.UpdateShortcutResponse;
+export type ClientShortcutsUpdateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Update shortcut
*
@@ -33,12 +54,12 @@ export type ClientShortcutsUpdateMutationData =
export function useClientShortcutsUpdateMutation(
options?: MutationHookOptions<
ClientShortcutsUpdateMutationData,
- Error,
+ ClientShortcutsUpdateMutationError,
ClientShortcutsUpdateMutationVariables
>,
): UseMutationResult<
ClientShortcutsUpdateMutationData,
- Error,
+ ClientShortcutsUpdateMutationError,
ClientShortcutsUpdateMutationVariables
> {
const client = useGleanContext();
@@ -64,7 +85,8 @@ export function buildClientShortcutsUpdateMutation(
return {
mutationKey: mutationKeyClientShortcutsUpdate(),
mutationFn: function clientShortcutsUpdateMutationFn({
- request,
+ updateShortcutRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,7 +103,8 @@ export function buildClientShortcutsUpdateMutation(
};
return unwrapAsync(clientShortcutsUpdate(
client$,
- request,
+ updateShortcutRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientToolsList.ts b/src/react-query/clientToolsList.ts
index e1de3f64..3d771609 100644
--- a/src/react-query/clientToolsList.ts
+++ b/src/react-query/clientToolsList.ts
@@ -10,6 +10,16 @@ import {
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,
@@ -29,6 +39,16 @@ export {
queryKeyClientToolsList,
};
+export type ClientToolsListQueryError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* List available tools
*
@@ -37,8 +57,11 @@ export {
*/
export function useClientToolsList(
toolNames?: Array | undefined,
- options?: QueryHookOptions,
-): UseQueryResult {
+ options?: QueryHookOptions<
+ ClientToolsListQueryData,
+ ClientToolsListQueryError
+ >,
+): UseQueryResult {
const client = useGleanContext();
return useQuery({
...buildClientToolsListQuery(
@@ -58,8 +81,11 @@ export function useClientToolsList(
*/
export function useClientToolsListSuspense(
toolNames?: Array | undefined,
- options?: SuspenseQueryHookOptions,
-): UseSuspenseQueryResult {
+ options?: SuspenseQueryHookOptions<
+ ClientToolsListQueryData,
+ ClientToolsListQueryError
+ >,
+): UseSuspenseQueryResult {
const client = useGleanContext();
return useSuspenseQuery({
...buildClientToolsListQuery(
diff --git a/src/react-query/clientToolsRun.ts b/src/react-query/clientToolsRun.ts
index c81f9ced..4e6a5ca6 100644
--- a/src/react-query/clientToolsRun.ts
+++ b/src/react-query/clientToolsRun.ts
@@ -12,6 +12,16 @@ import { clientToolsRun } from "../funcs/clientToolsRun.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";
@@ -23,6 +33,16 @@ export type ClientToolsRunMutationVariables = {
export type ClientToolsRunMutationData = components.ToolsCallResponse;
+export type ClientToolsRunMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Execute the specified tool
*
@@ -32,12 +52,12 @@ export type ClientToolsRunMutationData = components.ToolsCallResponse;
export function useClientToolsRunMutation(
options?: MutationHookOptions<
ClientToolsRunMutationData,
- Error,
+ ClientToolsRunMutationError,
ClientToolsRunMutationVariables
>,
): UseMutationResult<
ClientToolsRunMutationData,
- Error,
+ ClientToolsRunMutationError,
ClientToolsRunMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/clientVerificationAddReminder.ts b/src/react-query/clientVerificationAddReminder.ts
index 59682ce2..5a068911 100644
--- a/src/react-query/clientVerificationAddReminder.ts
+++ b/src/react-query/clientVerificationAddReminder.ts
@@ -12,17 +12,38 @@ import { clientVerificationAddReminder } from "../funcs/clientVerificationAddRem
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 ClientVerificationAddReminderMutationVariables = {
- request: components.ReminderRequest;
+ reminderRequest: components.ReminderRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientVerificationAddReminderMutationData = components.Verification;
+export type ClientVerificationAddReminderMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Create verification
*
@@ -32,12 +53,12 @@ export type ClientVerificationAddReminderMutationData = components.Verification;
export function useClientVerificationAddReminderMutation(
options?: MutationHookOptions<
ClientVerificationAddReminderMutationData,
- Error,
+ ClientVerificationAddReminderMutationError,
ClientVerificationAddReminderMutationVariables
>,
): UseMutationResult<
ClientVerificationAddReminderMutationData,
- Error,
+ ClientVerificationAddReminderMutationError,
ClientVerificationAddReminderMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientVerificationAddReminderMutation(
return {
mutationKey: mutationKeyClientVerificationAddReminder(),
mutationFn: function clientVerificationAddReminderMutationFn({
- request,
+ reminderRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientVerificationAddReminderMutation(
};
return unwrapAsync(clientVerificationAddReminder(
client$,
- request,
+ reminderRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientVerificationList.ts b/src/react-query/clientVerificationList.ts
index 522088a1..4dec965e 100644
--- a/src/react-query/clientVerificationList.ts
+++ b/src/react-query/clientVerificationList.ts
@@ -12,17 +12,38 @@ import { clientVerificationList } from "../funcs/clientVerificationList.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 ClientVerificationListMutationVariables = {
count?: number | undefined;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientVerificationListMutationData = components.VerificationFeed;
+export type ClientVerificationListMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* List verifications
*
@@ -32,12 +53,12 @@ export type ClientVerificationListMutationData = components.VerificationFeed;
export function useClientVerificationListMutation(
options?: MutationHookOptions<
ClientVerificationListMutationData,
- Error,
+ ClientVerificationListMutationError,
ClientVerificationListMutationVariables
>,
): UseMutationResult<
ClientVerificationListMutationData,
- Error,
+ ClientVerificationListMutationError,
ClientVerificationListMutationVariables
> {
const client = useGleanContext();
@@ -64,6 +85,7 @@ export function buildClientVerificationListMutation(
mutationKey: mutationKeyClientVerificationList(),
mutationFn: function clientVerificationListMutationFn({
count,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -81,6 +103,7 @@ export function buildClientVerificationListMutation(
return unwrapAsync(clientVerificationList(
client$,
count,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/clientVerificationVerify.ts b/src/react-query/clientVerificationVerify.ts
index d276bc99..5305ea20 100644
--- a/src/react-query/clientVerificationVerify.ts
+++ b/src/react-query/clientVerificationVerify.ts
@@ -12,17 +12,38 @@ import { clientVerificationVerify } from "../funcs/clientVerificationVerify.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 ClientVerificationVerifyMutationVariables = {
- request: components.VerifyRequest;
+ verifyRequest: components.VerifyRequest;
+ locale?: string | undefined;
options?: RequestOptions;
};
export type ClientVerificationVerifyMutationData = components.Verification;
+export type ClientVerificationVerifyMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Update verification
*
@@ -32,12 +53,12 @@ export type ClientVerificationVerifyMutationData = components.Verification;
export function useClientVerificationVerifyMutation(
options?: MutationHookOptions<
ClientVerificationVerifyMutationData,
- Error,
+ ClientVerificationVerifyMutationError,
ClientVerificationVerifyMutationVariables
>,
): UseMutationResult<
ClientVerificationVerifyMutationData,
- Error,
+ ClientVerificationVerifyMutationError,
ClientVerificationVerifyMutationVariables
> {
const client = useGleanContext();
@@ -63,7 +84,8 @@ export function buildClientVerificationVerifyMutation(
return {
mutationKey: mutationKeyClientVerificationVerify(),
mutationFn: function clientVerificationVerifyMutationFn({
- request,
+ verifyRequest,
+ locale,
options,
}): Promise {
const mergedOptions = {
@@ -80,7 +102,8 @@ export function buildClientVerificationVerifyMutation(
};
return unwrapAsync(clientVerificationVerify(
client$,
- request,
+ verifyRequest,
+ locale,
mergedOptions,
));
},
diff --git a/src/react-query/governanceCreatefindingsexport.ts b/src/react-query/governanceCreatefindingsexport.ts
index 74245f8f..b54cb6b4 100644
--- a/src/react-query/governanceCreatefindingsexport.ts
+++ b/src/react-query/governanceCreatefindingsexport.ts
@@ -12,6 +12,16 @@ import { governanceCreatefindingsexport } from "../funcs/governanceCreatefinding
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";
@@ -23,6 +33,16 @@ export type GovernanceCreatefindingsexportMutationVariables = {
export type GovernanceCreatefindingsexportMutationData = components.ExportInfo;
+export type GovernanceCreatefindingsexportMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Creates findings export
*
@@ -32,12 +52,12 @@ export type GovernanceCreatefindingsexportMutationData = components.ExportInfo;
export function useGovernanceCreatefindingsexportMutation(
options?: MutationHookOptions<
GovernanceCreatefindingsexportMutationData,
- Error,
+ GovernanceCreatefindingsexportMutationError,
GovernanceCreatefindingsexportMutationVariables
>,
): UseMutationResult<
GovernanceCreatefindingsexportMutationData,
- Error,
+ GovernanceCreatefindingsexportMutationError,
GovernanceCreatefindingsexportMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/governanceDeletefindingsexport.ts b/src/react-query/governanceDeletefindingsexport.ts
index 5df33039..bb856f72 100644
--- a/src/react-query/governanceDeletefindingsexport.ts
+++ b/src/react-query/governanceDeletefindingsexport.ts
@@ -11,6 +11,16 @@ import { GleanCore } from "../core.js";
import { governanceDeletefindingsexport } from "../funcs/governanceDeletefindingsexport.js";
import { combineSignals } from "../lib/primitives.js";
import { RequestOptions } from "../lib/sdks.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";
@@ -22,6 +32,16 @@ export type GovernanceDeletefindingsexportMutationVariables = {
export type GovernanceDeletefindingsexportMutationData = void;
+export type GovernanceDeletefindingsexportMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Deletes findings export
*
@@ -31,12 +51,12 @@ export type GovernanceDeletefindingsexportMutationData = void;
export function useGovernanceDeletefindingsexportMutation(
options?: MutationHookOptions<
GovernanceDeletefindingsexportMutationData,
- Error,
+ GovernanceDeletefindingsexportMutationError,
GovernanceDeletefindingsexportMutationVariables
>,
): UseMutationResult<
GovernanceDeletefindingsexportMutationData,
- Error,
+ GovernanceDeletefindingsexportMutationError,
GovernanceDeletefindingsexportMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/governanceDownloadfindingsexport.ts b/src/react-query/governanceDownloadfindingsexport.ts
index 89478569..0d0a7fc9 100644
--- a/src/react-query/governanceDownloadfindingsexport.ts
+++ b/src/react-query/governanceDownloadfindingsexport.ts
@@ -10,6 +10,16 @@ import {
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,
@@ -29,6 +39,16 @@ export {
queryKeyGovernanceDownloadfindingsexport,
};
+export type GovernanceDownloadfindingsexportQueryError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Downloads findings export
*
@@ -37,8 +57,14 @@ export {
*/
export function useGovernanceDownloadfindingsexport(
id: string,
- options?: QueryHookOptions,
-): UseQueryResult {
+ options?: QueryHookOptions<
+ GovernanceDownloadfindingsexportQueryData,
+ GovernanceDownloadfindingsexportQueryError
+ >,
+): UseQueryResult<
+ GovernanceDownloadfindingsexportQueryData,
+ GovernanceDownloadfindingsexportQueryError
+> {
const client = useGleanContext();
return useQuery({
...buildGovernanceDownloadfindingsexportQuery(
@@ -58,8 +84,14 @@ export function useGovernanceDownloadfindingsexport(
*/
export function useGovernanceDownloadfindingsexportSuspense(
id: string,
- options?: SuspenseQueryHookOptions,
-): UseSuspenseQueryResult {
+ options?: SuspenseQueryHookOptions<
+ GovernanceDownloadfindingsexportQueryData,
+ GovernanceDownloadfindingsexportQueryError
+ >,
+): UseSuspenseQueryResult<
+ GovernanceDownloadfindingsexportQueryData,
+ GovernanceDownloadfindingsexportQueryError
+> {
const client = useGleanContext();
return useSuspenseQuery({
...buildGovernanceDownloadfindingsexportQuery(
diff --git a/src/react-query/governanceListfindingsexports.ts b/src/react-query/governanceListfindingsexports.ts
index f2c42ff4..0fca22dd 100644
--- a/src/react-query/governanceListfindingsexports.ts
+++ b/src/react-query/governanceListfindingsexports.ts
@@ -10,6 +10,16 @@ import {
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 } from "./_types.js";
import {
@@ -25,6 +35,16 @@ export {
queryKeyGovernanceListfindingsexports,
};
+export type GovernanceListfindingsexportsQueryError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Lists findings exports
*
@@ -32,8 +52,14 @@ export {
* Lists all DLP findings exports.
*/
export function useGovernanceListfindingsexports(
- options?: QueryHookOptions,
-): UseQueryResult {
+ options?: QueryHookOptions<
+ GovernanceListfindingsexportsQueryData,
+ GovernanceListfindingsexportsQueryError
+ >,
+): UseQueryResult<
+ GovernanceListfindingsexportsQueryData,
+ GovernanceListfindingsexportsQueryError
+> {
const client = useGleanContext();
return useQuery({
...buildGovernanceListfindingsexportsQuery(
@@ -51,8 +77,14 @@ export function useGovernanceListfindingsexports(
* Lists all DLP findings exports.
*/
export function useGovernanceListfindingsexportsSuspense(
- options?: SuspenseQueryHookOptions,
-): UseSuspenseQueryResult {
+ options?: SuspenseQueryHookOptions<
+ GovernanceListfindingsexportsQueryData,
+ GovernanceListfindingsexportsQueryError
+ >,
+): UseSuspenseQueryResult<
+ GovernanceListfindingsexportsQueryData,
+ GovernanceListfindingsexportsQueryError
+> {
const client = useGleanContext();
return useSuspenseQuery({
...buildGovernanceListfindingsexportsQuery(
diff --git a/src/react-query/indexingAuthenticationRotateToken.ts b/src/react-query/indexingAuthenticationRotateToken.ts
index b9ca62ee..fcedd268 100644
--- a/src/react-query/indexingAuthenticationRotateToken.ts
+++ b/src/react-query/indexingAuthenticationRotateToken.ts
@@ -12,6 +12,16 @@ import { indexingAuthenticationRotateToken } from "../funcs/indexingAuthenticati
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";
@@ -23,6 +33,16 @@ export type IndexingAuthenticationRotateTokenMutationVariables = {
export type IndexingAuthenticationRotateTokenMutationData =
components.RotateTokenResponse;
+export type IndexingAuthenticationRotateTokenMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Rotate token
*
@@ -32,12 +52,12 @@ export type IndexingAuthenticationRotateTokenMutationData =
export function useIndexingAuthenticationRotateTokenMutation(
options?: MutationHookOptions<
IndexingAuthenticationRotateTokenMutationData,
- Error,
+ IndexingAuthenticationRotateTokenMutationError,
IndexingAuthenticationRotateTokenMutationVariables
>,
): UseMutationResult<
IndexingAuthenticationRotateTokenMutationData,
- Error,
+ IndexingAuthenticationRotateTokenMutationError,
IndexingAuthenticationRotateTokenMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingDatasourceStatus.ts b/src/react-query/indexingDatasourceStatus.ts
index 3873f31c..b005bc72 100644
--- a/src/react-query/indexingDatasourceStatus.ts
+++ b/src/react-query/indexingDatasourceStatus.ts
@@ -12,6 +12,16 @@ import { indexingDatasourceStatus } from "../funcs/indexingDatasourceStatus.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";
@@ -24,6 +34,16 @@ export type IndexingDatasourceStatusMutationVariables = {
export type IndexingDatasourceStatusMutationData =
components.DebugDatasourceStatusResponse;
+export type IndexingDatasourceStatusMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Beta: Get datasource status
*
@@ -35,12 +55,12 @@ export type IndexingDatasourceStatusMutationData =
export function useIndexingDatasourceStatusMutation(
options?: MutationHookOptions<
IndexingDatasourceStatusMutationData,
- Error,
+ IndexingDatasourceStatusMutationError,
IndexingDatasourceStatusMutationVariables
>,
): UseMutationResult<
IndexingDatasourceStatusMutationData,
- Error,
+ IndexingDatasourceStatusMutationError,
IndexingDatasourceStatusMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingDatasourcesAdd.ts b/src/react-query/indexingDatasourcesAdd.ts
index 913abb46..88564386 100644
--- a/src/react-query/indexingDatasourcesAdd.ts
+++ b/src/react-query/indexingDatasourcesAdd.ts
@@ -12,6 +12,16 @@ import { indexingDatasourcesAdd } from "../funcs/indexingDatasourcesAdd.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";
@@ -23,6 +33,16 @@ export type IndexingDatasourcesAddMutationVariables = {
export type IndexingDatasourcesAddMutationData = void;
+export type IndexingDatasourcesAddMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Add or update datasource
*
@@ -32,12 +52,12 @@ export type IndexingDatasourcesAddMutationData = void;
export function useIndexingDatasourcesAddMutation(
options?: MutationHookOptions<
IndexingDatasourcesAddMutationData,
- Error,
+ IndexingDatasourcesAddMutationError,
IndexingDatasourcesAddMutationVariables
>,
): UseMutationResult<
IndexingDatasourcesAddMutationData,
- Error,
+ IndexingDatasourcesAddMutationError,
IndexingDatasourcesAddMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingDatasourcesRetrieveConfig.ts b/src/react-query/indexingDatasourcesRetrieveConfig.ts
index 460d64f6..4a7cab64 100644
--- a/src/react-query/indexingDatasourcesRetrieveConfig.ts
+++ b/src/react-query/indexingDatasourcesRetrieveConfig.ts
@@ -12,6 +12,16 @@ import { indexingDatasourcesRetrieveConfig } from "../funcs/indexingDatasourcesR
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";
@@ -24,6 +34,16 @@ export type IndexingDatasourcesRetrieveConfigMutationVariables = {
export type IndexingDatasourcesRetrieveConfigMutationData =
components.CustomDatasourceConfig;
+export type IndexingDatasourcesRetrieveConfigMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Get datasource config
*
@@ -33,12 +53,12 @@ export type IndexingDatasourcesRetrieveConfigMutationData =
export function useIndexingDatasourcesRetrieveConfigMutation(
options?: MutationHookOptions<
IndexingDatasourcesRetrieveConfigMutationData,
- Error,
+ IndexingDatasourcesRetrieveConfigMutationError,
IndexingDatasourcesRetrieveConfigMutationVariables
>,
): UseMutationResult<
IndexingDatasourcesRetrieveConfigMutationData,
- Error,
+ IndexingDatasourcesRetrieveConfigMutationError,
IndexingDatasourcesRetrieveConfigMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingDocumentsAddOrUpdate.ts b/src/react-query/indexingDocumentsAddOrUpdate.ts
index 0474f2c3..dc35de90 100644
--- a/src/react-query/indexingDocumentsAddOrUpdate.ts
+++ b/src/react-query/indexingDocumentsAddOrUpdate.ts
@@ -12,6 +12,16 @@ import { indexingDocumentsAddOrUpdate } from "../funcs/indexingDocumentsAddOrUpd
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";
@@ -23,6 +33,16 @@ export type IndexingDocumentsAddOrUpdateMutationVariables = {
export type IndexingDocumentsAddOrUpdateMutationData = void;
+export type IndexingDocumentsAddOrUpdateMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Index document
*
@@ -32,12 +52,12 @@ export type IndexingDocumentsAddOrUpdateMutationData = void;
export function useIndexingDocumentsAddOrUpdateMutation(
options?: MutationHookOptions<
IndexingDocumentsAddOrUpdateMutationData,
- Error,
+ IndexingDocumentsAddOrUpdateMutationError,
IndexingDocumentsAddOrUpdateMutationVariables
>,
): UseMutationResult<
IndexingDocumentsAddOrUpdateMutationData,
- Error,
+ IndexingDocumentsAddOrUpdateMutationError,
IndexingDocumentsAddOrUpdateMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingDocumentsBulkIndex.ts b/src/react-query/indexingDocumentsBulkIndex.ts
index f8656fb9..cab79fdd 100644
--- a/src/react-query/indexingDocumentsBulkIndex.ts
+++ b/src/react-query/indexingDocumentsBulkIndex.ts
@@ -12,6 +12,16 @@ import { indexingDocumentsBulkIndex } from "../funcs/indexingDocumentsBulkIndex.
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";
@@ -23,6 +33,16 @@ export type IndexingDocumentsBulkIndexMutationVariables = {
export type IndexingDocumentsBulkIndexMutationData = void;
+export type IndexingDocumentsBulkIndexMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Bulk index documents
*
@@ -32,12 +52,12 @@ export type IndexingDocumentsBulkIndexMutationData = void;
export function useIndexingDocumentsBulkIndexMutation(
options?: MutationHookOptions<
IndexingDocumentsBulkIndexMutationData,
- Error,
+ IndexingDocumentsBulkIndexMutationError,
IndexingDocumentsBulkIndexMutationVariables
>,
): UseMutationResult<
IndexingDocumentsBulkIndexMutationData,
- Error,
+ IndexingDocumentsBulkIndexMutationError,
IndexingDocumentsBulkIndexMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingDocumentsCheckAccess.ts b/src/react-query/indexingDocumentsCheckAccess.ts
index a8d6faac..d6835667 100644
--- a/src/react-query/indexingDocumentsCheckAccess.ts
+++ b/src/react-query/indexingDocumentsCheckAccess.ts
@@ -12,6 +12,16 @@ import { indexingDocumentsCheckAccess } from "../funcs/indexingDocumentsCheckAcc
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";
@@ -24,6 +34,16 @@ export type IndexingDocumentsCheckAccessMutationVariables = {
export type IndexingDocumentsCheckAccessMutationData =
components.CheckDocumentAccessResponse;
+export type IndexingDocumentsCheckAccessMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Check document access
*
@@ -35,12 +55,12 @@ export type IndexingDocumentsCheckAccessMutationData =
export function useIndexingDocumentsCheckAccessMutation(
options?: MutationHookOptions<
IndexingDocumentsCheckAccessMutationData,
- Error,
+ IndexingDocumentsCheckAccessMutationError,
IndexingDocumentsCheckAccessMutationVariables
>,
): UseMutationResult<
IndexingDocumentsCheckAccessMutationData,
- Error,
+ IndexingDocumentsCheckAccessMutationError,
IndexingDocumentsCheckAccessMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingDocumentsCount.ts b/src/react-query/indexingDocumentsCount.ts
index b11156cc..503a3ace 100644
--- a/src/react-query/indexingDocumentsCount.ts
+++ b/src/react-query/indexingDocumentsCount.ts
@@ -12,6 +12,16 @@ import { indexingDocumentsCount } from "../funcs/indexingDocumentsCount.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";
@@ -24,6 +34,16 @@ export type IndexingDocumentsCountMutationVariables = {
export type IndexingDocumentsCountMutationData =
components.GetDocumentCountResponse;
+export type IndexingDocumentsCountMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Get document count
*
@@ -37,12 +57,12 @@ export type IndexingDocumentsCountMutationData =
export function useIndexingDocumentsCountMutation(
options?: MutationHookOptions<
IndexingDocumentsCountMutationData,
- Error,
+ IndexingDocumentsCountMutationError,
IndexingDocumentsCountMutationVariables
>,
): UseMutationResult<
IndexingDocumentsCountMutationData,
- Error,
+ IndexingDocumentsCountMutationError,
IndexingDocumentsCountMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingDocumentsDebug.ts b/src/react-query/indexingDocumentsDebug.ts
index 156165a6..c651baed 100644
--- a/src/react-query/indexingDocumentsDebug.ts
+++ b/src/react-query/indexingDocumentsDebug.ts
@@ -12,6 +12,16 @@ import { indexingDocumentsDebug } from "../funcs/indexingDocumentsDebug.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";
@@ -25,6 +35,16 @@ export type IndexingDocumentsDebugMutationVariables = {
export type IndexingDocumentsDebugMutationData =
components.DebugDocumentResponse;
+export type IndexingDocumentsDebugMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Beta: Get document information
*
@@ -36,12 +56,12 @@ export type IndexingDocumentsDebugMutationData =
export function useIndexingDocumentsDebugMutation(
options?: MutationHookOptions<
IndexingDocumentsDebugMutationData,
- Error,
+ IndexingDocumentsDebugMutationError,
IndexingDocumentsDebugMutationVariables
>,
): UseMutationResult<
IndexingDocumentsDebugMutationData,
- Error,
+ IndexingDocumentsDebugMutationError,
IndexingDocumentsDebugMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingDocumentsDebugMany.ts b/src/react-query/indexingDocumentsDebugMany.ts
index db2feab6..f327f036 100644
--- a/src/react-query/indexingDocumentsDebugMany.ts
+++ b/src/react-query/indexingDocumentsDebugMany.ts
@@ -12,6 +12,16 @@ import { indexingDocumentsDebugMany } from "../funcs/indexingDocumentsDebugMany.
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";
@@ -25,6 +35,16 @@ export type IndexingDocumentsDebugManyMutationVariables = {
export type IndexingDocumentsDebugManyMutationData =
components.DebugDocumentsResponse;
+export type IndexingDocumentsDebugManyMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Beta: Get information of a batch of documents
*
@@ -36,12 +56,12 @@ export type IndexingDocumentsDebugManyMutationData =
export function useIndexingDocumentsDebugManyMutation(
options?: MutationHookOptions<
IndexingDocumentsDebugManyMutationData,
- Error,
+ IndexingDocumentsDebugManyMutationError,
IndexingDocumentsDebugManyMutationVariables
>,
): UseMutationResult<
IndexingDocumentsDebugManyMutationData,
- Error,
+ IndexingDocumentsDebugManyMutationError,
IndexingDocumentsDebugManyMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingDocumentsDelete.ts b/src/react-query/indexingDocumentsDelete.ts
index 6a1abc54..a199211e 100644
--- a/src/react-query/indexingDocumentsDelete.ts
+++ b/src/react-query/indexingDocumentsDelete.ts
@@ -12,6 +12,16 @@ import { indexingDocumentsDelete } from "../funcs/indexingDocumentsDelete.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";
@@ -23,6 +33,16 @@ export type IndexingDocumentsDeleteMutationVariables = {
export type IndexingDocumentsDeleteMutationData = void;
+export type IndexingDocumentsDeleteMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Delete document
*
@@ -32,12 +52,12 @@ export type IndexingDocumentsDeleteMutationData = void;
export function useIndexingDocumentsDeleteMutation(
options?: MutationHookOptions<
IndexingDocumentsDeleteMutationData,
- Error,
+ IndexingDocumentsDeleteMutationError,
IndexingDocumentsDeleteMutationVariables
>,
): UseMutationResult<
IndexingDocumentsDeleteMutationData,
- Error,
+ IndexingDocumentsDeleteMutationError,
IndexingDocumentsDeleteMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingDocumentsIndex.ts b/src/react-query/indexingDocumentsIndex.ts
index 9eca591e..12ec6df9 100644
--- a/src/react-query/indexingDocumentsIndex.ts
+++ b/src/react-query/indexingDocumentsIndex.ts
@@ -12,6 +12,16 @@ import { indexingDocumentsIndex } from "../funcs/indexingDocumentsIndex.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";
@@ -23,6 +33,16 @@ export type IndexingDocumentsIndexMutationVariables = {
export type IndexingDocumentsIndexMutationData = void;
+export type IndexingDocumentsIndexMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Index documents
*
@@ -32,12 +52,12 @@ export type IndexingDocumentsIndexMutationData = void;
export function useIndexingDocumentsIndexMutation(
options?: MutationHookOptions<
IndexingDocumentsIndexMutationData,
- Error,
+ IndexingDocumentsIndexMutationError,
IndexingDocumentsIndexMutationVariables
>,
): UseMutationResult<
IndexingDocumentsIndexMutationData,
- Error,
+ IndexingDocumentsIndexMutationError,
IndexingDocumentsIndexMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingDocumentsProcessAll.ts b/src/react-query/indexingDocumentsProcessAll.ts
index 7a421fee..eeb84bd4 100644
--- a/src/react-query/indexingDocumentsProcessAll.ts
+++ b/src/react-query/indexingDocumentsProcessAll.ts
@@ -12,6 +12,16 @@ import { indexingDocumentsProcessAll } from "../funcs/indexingDocumentsProcessAl
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";
@@ -23,6 +33,16 @@ export type IndexingDocumentsProcessAllMutationVariables = {
export type IndexingDocumentsProcessAllMutationData = void;
+export type IndexingDocumentsProcessAllMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Schedules the processing of uploaded documents
*
@@ -42,12 +62,12 @@ export type IndexingDocumentsProcessAllMutationData = void;
export function useIndexingDocumentsProcessAllMutation(
options?: MutationHookOptions<
IndexingDocumentsProcessAllMutationData,
- Error,
+ IndexingDocumentsProcessAllMutationError,
IndexingDocumentsProcessAllMutationVariables
>,
): UseMutationResult<
IndexingDocumentsProcessAllMutationData,
- Error,
+ IndexingDocumentsProcessAllMutationError,
IndexingDocumentsProcessAllMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingDocumentsStatus.ts b/src/react-query/indexingDocumentsStatus.ts
index 2753b4ce..edce1516 100644
--- a/src/react-query/indexingDocumentsStatus.ts
+++ b/src/react-query/indexingDocumentsStatus.ts
@@ -12,6 +12,16 @@ import { indexingDocumentsStatus } from "../funcs/indexingDocumentsStatus.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";
@@ -24,6 +34,16 @@ export type IndexingDocumentsStatusMutationVariables = {
export type IndexingDocumentsStatusMutationData =
components.GetDocumentStatusResponse;
+export type IndexingDocumentsStatusMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Get document upload and indexing status
*
@@ -37,12 +57,12 @@ export type IndexingDocumentsStatusMutationData =
export function useIndexingDocumentsStatusMutation(
options?: MutationHookOptions<
IndexingDocumentsStatusMutationData,
- Error,
+ IndexingDocumentsStatusMutationError,
IndexingDocumentsStatusMutationVariables
>,
): UseMutationResult<
IndexingDocumentsStatusMutationData,
- Error,
+ IndexingDocumentsStatusMutationError,
IndexingDocumentsStatusMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPeopleBulkIndex.ts b/src/react-query/indexingPeopleBulkIndex.ts
index 98cefeac..203e1d32 100644
--- a/src/react-query/indexingPeopleBulkIndex.ts
+++ b/src/react-query/indexingPeopleBulkIndex.ts
@@ -12,6 +12,16 @@ import { indexingPeopleBulkIndex } from "../funcs/indexingPeopleBulkIndex.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";
@@ -23,6 +33,16 @@ export type IndexingPeopleBulkIndexMutationVariables = {
export type IndexingPeopleBulkIndexMutationData = void;
+export type IndexingPeopleBulkIndexMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Bulk index employees
*
@@ -32,12 +52,12 @@ export type IndexingPeopleBulkIndexMutationData = void;
export function useIndexingPeopleBulkIndexMutation(
options?: MutationHookOptions<
IndexingPeopleBulkIndexMutationData,
- Error,
+ IndexingPeopleBulkIndexMutationError,
IndexingPeopleBulkIndexMutationVariables
>,
): UseMutationResult<
IndexingPeopleBulkIndexMutationData,
- Error,
+ IndexingPeopleBulkIndexMutationError,
IndexingPeopleBulkIndexMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPeopleBulkIndexTeams.ts b/src/react-query/indexingPeopleBulkIndexTeams.ts
index afb9106a..5aad98f7 100644
--- a/src/react-query/indexingPeopleBulkIndexTeams.ts
+++ b/src/react-query/indexingPeopleBulkIndexTeams.ts
@@ -12,6 +12,16 @@ import { indexingPeopleBulkIndexTeams } from "../funcs/indexingPeopleBulkIndexTe
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";
@@ -23,6 +33,16 @@ export type IndexingPeopleBulkIndexTeamsMutationVariables = {
export type IndexingPeopleBulkIndexTeamsMutationData = void;
+export type IndexingPeopleBulkIndexTeamsMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Bulk index teams
*
@@ -32,12 +52,12 @@ export type IndexingPeopleBulkIndexTeamsMutationData = void;
export function useIndexingPeopleBulkIndexTeamsMutation(
options?: MutationHookOptions<
IndexingPeopleBulkIndexTeamsMutationData,
- Error,
+ IndexingPeopleBulkIndexTeamsMutationError,
IndexingPeopleBulkIndexTeamsMutationVariables
>,
): UseMutationResult<
IndexingPeopleBulkIndexTeamsMutationData,
- Error,
+ IndexingPeopleBulkIndexTeamsMutationError,
IndexingPeopleBulkIndexTeamsMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPeopleCount.ts b/src/react-query/indexingPeopleCount.ts
index 5319ad33..123eb494 100644
--- a/src/react-query/indexingPeopleCount.ts
+++ b/src/react-query/indexingPeopleCount.ts
@@ -12,6 +12,16 @@ import { indexingPeopleCount } from "../funcs/indexingPeopleCount.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";
@@ -23,6 +33,16 @@ export type IndexingPeopleCountMutationVariables = {
export type IndexingPeopleCountMutationData = components.GetUserCountResponse;
+export type IndexingPeopleCountMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Get user count
*
@@ -36,12 +56,12 @@ export type IndexingPeopleCountMutationData = components.GetUserCountResponse;
export function useIndexingPeopleCountMutation(
options?: MutationHookOptions<
IndexingPeopleCountMutationData,
- Error,
+ IndexingPeopleCountMutationError,
IndexingPeopleCountMutationVariables
>,
): UseMutationResult<
IndexingPeopleCountMutationData,
- Error,
+ IndexingPeopleCountMutationError,
IndexingPeopleCountMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPeopleDebug.ts b/src/react-query/indexingPeopleDebug.ts
index e265a49f..bef70a9b 100644
--- a/src/react-query/indexingPeopleDebug.ts
+++ b/src/react-query/indexingPeopleDebug.ts
@@ -12,6 +12,16 @@ import { indexingPeopleDebug } from "../funcs/indexingPeopleDebug.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";
@@ -24,6 +34,16 @@ export type IndexingPeopleDebugMutationVariables = {
export type IndexingPeopleDebugMutationData = components.DebugUserResponse;
+export type IndexingPeopleDebugMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Beta: Get user information
*
@@ -35,12 +55,12 @@ export type IndexingPeopleDebugMutationData = components.DebugUserResponse;
export function useIndexingPeopleDebugMutation(
options?: MutationHookOptions<
IndexingPeopleDebugMutationData,
- Error,
+ IndexingPeopleDebugMutationError,
IndexingPeopleDebugMutationVariables
>,
): UseMutationResult<
IndexingPeopleDebugMutationData,
- Error,
+ IndexingPeopleDebugMutationError,
IndexingPeopleDebugMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPeopleDelete.ts b/src/react-query/indexingPeopleDelete.ts
index 02671ad3..1754783c 100644
--- a/src/react-query/indexingPeopleDelete.ts
+++ b/src/react-query/indexingPeopleDelete.ts
@@ -12,6 +12,16 @@ import { indexingPeopleDelete } from "../funcs/indexingPeopleDelete.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";
@@ -23,6 +33,16 @@ export type IndexingPeopleDeleteMutationVariables = {
export type IndexingPeopleDeleteMutationData = void;
+export type IndexingPeopleDeleteMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Delete employee
*
@@ -32,12 +52,12 @@ export type IndexingPeopleDeleteMutationData = void;
export function useIndexingPeopleDeleteMutation(
options?: MutationHookOptions<
IndexingPeopleDeleteMutationData,
- Error,
+ IndexingPeopleDeleteMutationError,
IndexingPeopleDeleteMutationVariables
>,
): UseMutationResult<
IndexingPeopleDeleteMutationData,
- Error,
+ IndexingPeopleDeleteMutationError,
IndexingPeopleDeleteMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPeopleDeleteTeam.ts b/src/react-query/indexingPeopleDeleteTeam.ts
index 352cdc7f..5c2d9e0a 100644
--- a/src/react-query/indexingPeopleDeleteTeam.ts
+++ b/src/react-query/indexingPeopleDeleteTeam.ts
@@ -12,6 +12,16 @@ import { indexingPeopleDeleteTeam } from "../funcs/indexingPeopleDeleteTeam.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";
@@ -23,6 +33,16 @@ export type IndexingPeopleDeleteTeamMutationVariables = {
export type IndexingPeopleDeleteTeamMutationData = void;
+export type IndexingPeopleDeleteTeamMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Delete team
*
@@ -32,12 +52,12 @@ export type IndexingPeopleDeleteTeamMutationData = void;
export function useIndexingPeopleDeleteTeamMutation(
options?: MutationHookOptions<
IndexingPeopleDeleteTeamMutationData,
- Error,
+ IndexingPeopleDeleteTeamMutationError,
IndexingPeopleDeleteTeamMutationVariables
>,
): UseMutationResult<
IndexingPeopleDeleteTeamMutationData,
- Error,
+ IndexingPeopleDeleteTeamMutationError,
IndexingPeopleDeleteTeamMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPeopleIndex.ts b/src/react-query/indexingPeopleIndex.ts
index 7b107564..34e426ea 100644
--- a/src/react-query/indexingPeopleIndex.ts
+++ b/src/react-query/indexingPeopleIndex.ts
@@ -12,6 +12,16 @@ import { indexingPeopleIndex } from "../funcs/indexingPeopleIndex.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";
@@ -23,6 +33,16 @@ export type IndexingPeopleIndexMutationVariables = {
export type IndexingPeopleIndexMutationData = void;
+export type IndexingPeopleIndexMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Index employee
*
@@ -32,12 +52,12 @@ export type IndexingPeopleIndexMutationData = void;
export function useIndexingPeopleIndexMutation(
options?: MutationHookOptions<
IndexingPeopleIndexMutationData,
- Error,
+ IndexingPeopleIndexMutationError,
IndexingPeopleIndexMutationVariables
>,
): UseMutationResult<
IndexingPeopleIndexMutationData,
- Error,
+ IndexingPeopleIndexMutationError,
IndexingPeopleIndexMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPeopleIndexTeam.ts b/src/react-query/indexingPeopleIndexTeam.ts
index f79992ec..4a3c095e 100644
--- a/src/react-query/indexingPeopleIndexTeam.ts
+++ b/src/react-query/indexingPeopleIndexTeam.ts
@@ -12,6 +12,16 @@ import { indexingPeopleIndexTeam } from "../funcs/indexingPeopleIndexTeam.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";
@@ -23,6 +33,16 @@ export type IndexingPeopleIndexTeamMutationVariables = {
export type IndexingPeopleIndexTeamMutationData = void;
+export type IndexingPeopleIndexTeamMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Index team
*
@@ -32,12 +52,12 @@ export type IndexingPeopleIndexTeamMutationData = void;
export function useIndexingPeopleIndexTeamMutation(
options?: MutationHookOptions<
IndexingPeopleIndexTeamMutationData,
- Error,
+ IndexingPeopleIndexTeamMutationError,
IndexingPeopleIndexTeamMutationVariables
>,
): UseMutationResult<
IndexingPeopleIndexTeamMutationData,
- Error,
+ IndexingPeopleIndexTeamMutationError,
IndexingPeopleIndexTeamMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPeopleProcessAllEmployeesAndTeams.ts b/src/react-query/indexingPeopleProcessAllEmployeesAndTeams.ts
index ee42064a..74c83c57 100644
--- a/src/react-query/indexingPeopleProcessAllEmployeesAndTeams.ts
+++ b/src/react-query/indexingPeopleProcessAllEmployeesAndTeams.ts
@@ -11,6 +11,16 @@ import { GleanCore } from "../core.js";
import { indexingPeopleProcessAllEmployeesAndTeams } from "../funcs/indexingPeopleProcessAllEmployeesAndTeams.js";
import { combineSignals } from "../lib/primitives.js";
import { RequestOptions } from "../lib/sdks.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";
@@ -21,6 +31,16 @@ export type IndexingPeopleProcessAllEmployeesAndTeamsMutationVariables = {
export type IndexingPeopleProcessAllEmployeesAndTeamsMutationData = void;
+export type IndexingPeopleProcessAllEmployeesAndTeamsMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Schedules the processing of uploaded employees and teams
*
@@ -30,12 +50,12 @@ export type IndexingPeopleProcessAllEmployeesAndTeamsMutationData = void;
export function useIndexingPeopleProcessAllEmployeesAndTeamsMutation(
options?: MutationHookOptions<
IndexingPeopleProcessAllEmployeesAndTeamsMutationData,
- Error,
+ IndexingPeopleProcessAllEmployeesAndTeamsMutationError,
IndexingPeopleProcessAllEmployeesAndTeamsMutationVariables
>,
): UseMutationResult<
IndexingPeopleProcessAllEmployeesAndTeamsMutationData,
- Error,
+ IndexingPeopleProcessAllEmployeesAndTeamsMutationError,
IndexingPeopleProcessAllEmployeesAndTeamsMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPermissionsAuthorizeBetaUsers.ts b/src/react-query/indexingPermissionsAuthorizeBetaUsers.ts
index cd7a4bea..68d57a21 100644
--- a/src/react-query/indexingPermissionsAuthorizeBetaUsers.ts
+++ b/src/react-query/indexingPermissionsAuthorizeBetaUsers.ts
@@ -12,6 +12,16 @@ import { indexingPermissionsAuthorizeBetaUsers } from "../funcs/indexingPermissi
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";
@@ -23,6 +33,16 @@ export type IndexingPermissionsAuthorizeBetaUsersMutationVariables = {
export type IndexingPermissionsAuthorizeBetaUsersMutationData = void;
+export type IndexingPermissionsAuthorizeBetaUsersMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Beta users
*
@@ -32,12 +52,12 @@ export type IndexingPermissionsAuthorizeBetaUsersMutationData = void;
export function useIndexingPermissionsAuthorizeBetaUsersMutation(
options?: MutationHookOptions<
IndexingPermissionsAuthorizeBetaUsersMutationData,
- Error,
+ IndexingPermissionsAuthorizeBetaUsersMutationError,
IndexingPermissionsAuthorizeBetaUsersMutationVariables
>,
): UseMutationResult<
IndexingPermissionsAuthorizeBetaUsersMutationData,
- Error,
+ IndexingPermissionsAuthorizeBetaUsersMutationError,
IndexingPermissionsAuthorizeBetaUsersMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPermissionsBulkIndexGroups.ts b/src/react-query/indexingPermissionsBulkIndexGroups.ts
index c83e5eb4..bc05ed86 100644
--- a/src/react-query/indexingPermissionsBulkIndexGroups.ts
+++ b/src/react-query/indexingPermissionsBulkIndexGroups.ts
@@ -12,6 +12,16 @@ import { indexingPermissionsBulkIndexGroups } from "../funcs/indexingPermissions
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";
@@ -23,6 +33,16 @@ export type IndexingPermissionsBulkIndexGroupsMutationVariables = {
export type IndexingPermissionsBulkIndexGroupsMutationData = void;
+export type IndexingPermissionsBulkIndexGroupsMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Bulk index groups
*
@@ -33,12 +53,12 @@ export type IndexingPermissionsBulkIndexGroupsMutationData = void;
export function useIndexingPermissionsBulkIndexGroupsMutation(
options?: MutationHookOptions<
IndexingPermissionsBulkIndexGroupsMutationData,
- Error,
+ IndexingPermissionsBulkIndexGroupsMutationError,
IndexingPermissionsBulkIndexGroupsMutationVariables
>,
): UseMutationResult<
IndexingPermissionsBulkIndexGroupsMutationData,
- Error,
+ IndexingPermissionsBulkIndexGroupsMutationError,
IndexingPermissionsBulkIndexGroupsMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPermissionsBulkIndexMemberships.ts b/src/react-query/indexingPermissionsBulkIndexMemberships.ts
index 661841a2..c4a2f526 100644
--- a/src/react-query/indexingPermissionsBulkIndexMemberships.ts
+++ b/src/react-query/indexingPermissionsBulkIndexMemberships.ts
@@ -12,6 +12,16 @@ import { indexingPermissionsBulkIndexMemberships } from "../funcs/indexingPermis
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";
@@ -23,6 +33,16 @@ export type IndexingPermissionsBulkIndexMembershipsMutationVariables = {
export type IndexingPermissionsBulkIndexMembershipsMutationData = void;
+export type IndexingPermissionsBulkIndexMembershipsMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Bulk index memberships for a group
*
@@ -32,12 +52,12 @@ export type IndexingPermissionsBulkIndexMembershipsMutationData = void;
export function useIndexingPermissionsBulkIndexMembershipsMutation(
options?: MutationHookOptions<
IndexingPermissionsBulkIndexMembershipsMutationData,
- Error,
+ IndexingPermissionsBulkIndexMembershipsMutationError,
IndexingPermissionsBulkIndexMembershipsMutationVariables
>,
): UseMutationResult<
IndexingPermissionsBulkIndexMembershipsMutationData,
- Error,
+ IndexingPermissionsBulkIndexMembershipsMutationError,
IndexingPermissionsBulkIndexMembershipsMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPermissionsBulkIndexUsers.ts b/src/react-query/indexingPermissionsBulkIndexUsers.ts
index 992023ee..4a91ec35 100644
--- a/src/react-query/indexingPermissionsBulkIndexUsers.ts
+++ b/src/react-query/indexingPermissionsBulkIndexUsers.ts
@@ -12,6 +12,16 @@ import { indexingPermissionsBulkIndexUsers } from "../funcs/indexingPermissionsB
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";
@@ -23,6 +33,16 @@ export type IndexingPermissionsBulkIndexUsersMutationVariables = {
export type IndexingPermissionsBulkIndexUsersMutationData = void;
+export type IndexingPermissionsBulkIndexUsersMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Bulk index users
*
@@ -33,12 +53,12 @@ export type IndexingPermissionsBulkIndexUsersMutationData = void;
export function useIndexingPermissionsBulkIndexUsersMutation(
options?: MutationHookOptions<
IndexingPermissionsBulkIndexUsersMutationData,
- Error,
+ IndexingPermissionsBulkIndexUsersMutationError,
IndexingPermissionsBulkIndexUsersMutationVariables
>,
): UseMutationResult<
IndexingPermissionsBulkIndexUsersMutationData,
- Error,
+ IndexingPermissionsBulkIndexUsersMutationError,
IndexingPermissionsBulkIndexUsersMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPermissionsDeleteGroup.ts b/src/react-query/indexingPermissionsDeleteGroup.ts
index e4c50caa..fe4b43c0 100644
--- a/src/react-query/indexingPermissionsDeleteGroup.ts
+++ b/src/react-query/indexingPermissionsDeleteGroup.ts
@@ -12,6 +12,16 @@ import { indexingPermissionsDeleteGroup } from "../funcs/indexingPermissionsDele
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";
@@ -23,6 +33,16 @@ export type IndexingPermissionsDeleteGroupMutationVariables = {
export type IndexingPermissionsDeleteGroupMutationData = void;
+export type IndexingPermissionsDeleteGroupMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Delete group
*
@@ -33,12 +53,12 @@ export type IndexingPermissionsDeleteGroupMutationData = void;
export function useIndexingPermissionsDeleteGroupMutation(
options?: MutationHookOptions<
IndexingPermissionsDeleteGroupMutationData,
- Error,
+ IndexingPermissionsDeleteGroupMutationError,
IndexingPermissionsDeleteGroupMutationVariables
>,
): UseMutationResult<
IndexingPermissionsDeleteGroupMutationData,
- Error,
+ IndexingPermissionsDeleteGroupMutationError,
IndexingPermissionsDeleteGroupMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPermissionsDeleteMembership.ts b/src/react-query/indexingPermissionsDeleteMembership.ts
index 7efec031..13f922a6 100644
--- a/src/react-query/indexingPermissionsDeleteMembership.ts
+++ b/src/react-query/indexingPermissionsDeleteMembership.ts
@@ -12,6 +12,16 @@ import { indexingPermissionsDeleteMembership } from "../funcs/indexingPermission
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";
@@ -23,6 +33,16 @@ export type IndexingPermissionsDeleteMembershipMutationVariables = {
export type IndexingPermissionsDeleteMembershipMutationData = void;
+export type IndexingPermissionsDeleteMembershipMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Delete membership
*
@@ -32,12 +52,12 @@ export type IndexingPermissionsDeleteMembershipMutationData = void;
export function useIndexingPermissionsDeleteMembershipMutation(
options?: MutationHookOptions<
IndexingPermissionsDeleteMembershipMutationData,
- Error,
+ IndexingPermissionsDeleteMembershipMutationError,
IndexingPermissionsDeleteMembershipMutationVariables
>,
): UseMutationResult<
IndexingPermissionsDeleteMembershipMutationData,
- Error,
+ IndexingPermissionsDeleteMembershipMutationError,
IndexingPermissionsDeleteMembershipMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPermissionsDeleteUser.ts b/src/react-query/indexingPermissionsDeleteUser.ts
index ce6c6351..766f8506 100644
--- a/src/react-query/indexingPermissionsDeleteUser.ts
+++ b/src/react-query/indexingPermissionsDeleteUser.ts
@@ -12,6 +12,16 @@ import { indexingPermissionsDeleteUser } from "../funcs/indexingPermissionsDelet
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";
@@ -23,6 +33,16 @@ export type IndexingPermissionsDeleteUserMutationVariables = {
export type IndexingPermissionsDeleteUserMutationData = void;
+export type IndexingPermissionsDeleteUserMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Delete user
*
@@ -33,12 +53,12 @@ export type IndexingPermissionsDeleteUserMutationData = void;
export function useIndexingPermissionsDeleteUserMutation(
options?: MutationHookOptions<
IndexingPermissionsDeleteUserMutationData,
- Error,
+ IndexingPermissionsDeleteUserMutationError,
IndexingPermissionsDeleteUserMutationVariables
>,
): UseMutationResult<
IndexingPermissionsDeleteUserMutationData,
- Error,
+ IndexingPermissionsDeleteUserMutationError,
IndexingPermissionsDeleteUserMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPermissionsIndexGroup.ts b/src/react-query/indexingPermissionsIndexGroup.ts
index b44e409a..a884b69f 100644
--- a/src/react-query/indexingPermissionsIndexGroup.ts
+++ b/src/react-query/indexingPermissionsIndexGroup.ts
@@ -12,6 +12,16 @@ import { indexingPermissionsIndexGroup } from "../funcs/indexingPermissionsIndex
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";
@@ -23,6 +33,16 @@ export type IndexingPermissionsIndexGroupMutationVariables = {
export type IndexingPermissionsIndexGroupMutationData = void;
+export type IndexingPermissionsIndexGroupMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Index group
*
@@ -32,12 +52,12 @@ export type IndexingPermissionsIndexGroupMutationData = void;
export function useIndexingPermissionsIndexGroupMutation(
options?: MutationHookOptions<
IndexingPermissionsIndexGroupMutationData,
- Error,
+ IndexingPermissionsIndexGroupMutationError,
IndexingPermissionsIndexGroupMutationVariables
>,
): UseMutationResult<
IndexingPermissionsIndexGroupMutationData,
- Error,
+ IndexingPermissionsIndexGroupMutationError,
IndexingPermissionsIndexGroupMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPermissionsIndexMembership.ts b/src/react-query/indexingPermissionsIndexMembership.ts
index 5766589e..a47326e4 100644
--- a/src/react-query/indexingPermissionsIndexMembership.ts
+++ b/src/react-query/indexingPermissionsIndexMembership.ts
@@ -12,6 +12,16 @@ import { indexingPermissionsIndexMembership } from "../funcs/indexingPermissions
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";
@@ -23,6 +33,16 @@ export type IndexingPermissionsIndexMembershipMutationVariables = {
export type IndexingPermissionsIndexMembershipMutationData = void;
+export type IndexingPermissionsIndexMembershipMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Index membership
*
@@ -32,12 +52,12 @@ export type IndexingPermissionsIndexMembershipMutationData = void;
export function useIndexingPermissionsIndexMembershipMutation(
options?: MutationHookOptions<
IndexingPermissionsIndexMembershipMutationData,
- Error,
+ IndexingPermissionsIndexMembershipMutationError,
IndexingPermissionsIndexMembershipMutationVariables
>,
): UseMutationResult<
IndexingPermissionsIndexMembershipMutationData,
- Error,
+ IndexingPermissionsIndexMembershipMutationError,
IndexingPermissionsIndexMembershipMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPermissionsIndexUser.ts b/src/react-query/indexingPermissionsIndexUser.ts
index 99644429..902533ec 100644
--- a/src/react-query/indexingPermissionsIndexUser.ts
+++ b/src/react-query/indexingPermissionsIndexUser.ts
@@ -12,6 +12,16 @@ import { indexingPermissionsIndexUser } from "../funcs/indexingPermissionsIndexU
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";
@@ -23,6 +33,16 @@ export type IndexingPermissionsIndexUserMutationVariables = {
export type IndexingPermissionsIndexUserMutationData = void;
+export type IndexingPermissionsIndexUserMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Index user
*
@@ -32,12 +52,12 @@ export type IndexingPermissionsIndexUserMutationData = void;
export function useIndexingPermissionsIndexUserMutation(
options?: MutationHookOptions<
IndexingPermissionsIndexUserMutationData,
- Error,
+ IndexingPermissionsIndexUserMutationError,
IndexingPermissionsIndexUserMutationVariables
>,
): UseMutationResult<
IndexingPermissionsIndexUserMutationData,
- Error,
+ IndexingPermissionsIndexUserMutationError,
IndexingPermissionsIndexUserMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPermissionsProcessMemberships.ts b/src/react-query/indexingPermissionsProcessMemberships.ts
index 2a2880b7..bd6b201b 100644
--- a/src/react-query/indexingPermissionsProcessMemberships.ts
+++ b/src/react-query/indexingPermissionsProcessMemberships.ts
@@ -12,6 +12,16 @@ import { indexingPermissionsProcessMemberships } from "../funcs/indexingPermissi
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";
@@ -23,6 +33,16 @@ export type IndexingPermissionsProcessMembershipsMutationVariables = {
export type IndexingPermissionsProcessMembershipsMutationData = void;
+export type IndexingPermissionsProcessMembershipsMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Schedules the processing of group memberships
*
@@ -32,12 +52,12 @@ export type IndexingPermissionsProcessMembershipsMutationData = void;
export function useIndexingPermissionsProcessMembershipsMutation(
options?: MutationHookOptions<
IndexingPermissionsProcessMembershipsMutationData,
- Error,
+ IndexingPermissionsProcessMembershipsMutationError,
IndexingPermissionsProcessMembershipsMutationVariables
>,
): UseMutationResult<
IndexingPermissionsProcessMembershipsMutationData,
- Error,
+ IndexingPermissionsProcessMembershipsMutationError,
IndexingPermissionsProcessMembershipsMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingPermissionsUpdatePermissions.ts b/src/react-query/indexingPermissionsUpdatePermissions.ts
index 9572a6f5..f98dda47 100644
--- a/src/react-query/indexingPermissionsUpdatePermissions.ts
+++ b/src/react-query/indexingPermissionsUpdatePermissions.ts
@@ -12,6 +12,16 @@ import { indexingPermissionsUpdatePermissions } from "../funcs/indexingPermissio
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";
@@ -23,6 +33,16 @@ export type IndexingPermissionsUpdatePermissionsMutationVariables = {
export type IndexingPermissionsUpdatePermissionsMutationData = void;
+export type IndexingPermissionsUpdatePermissionsMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Update document permissions
*
@@ -32,12 +52,12 @@ export type IndexingPermissionsUpdatePermissionsMutationData = void;
export function useIndexingPermissionsUpdatePermissionsMutation(
options?: MutationHookOptions<
IndexingPermissionsUpdatePermissionsMutationData,
- Error,
+ IndexingPermissionsUpdatePermissionsMutationError,
IndexingPermissionsUpdatePermissionsMutationVariables
>,
): UseMutationResult<
IndexingPermissionsUpdatePermissionsMutationData,
- Error,
+ IndexingPermissionsUpdatePermissionsMutationError,
IndexingPermissionsUpdatePermissionsMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingShortcutsBulkIndex.ts b/src/react-query/indexingShortcutsBulkIndex.ts
index ddb79f5e..a4682a41 100644
--- a/src/react-query/indexingShortcutsBulkIndex.ts
+++ b/src/react-query/indexingShortcutsBulkIndex.ts
@@ -12,6 +12,16 @@ import { indexingShortcutsBulkIndex } from "../funcs/indexingShortcutsBulkIndex.
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";
@@ -23,6 +33,16 @@ export type IndexingShortcutsBulkIndexMutationVariables = {
export type IndexingShortcutsBulkIndexMutationData = void;
+export type IndexingShortcutsBulkIndexMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Bulk index external shortcuts
*
@@ -32,12 +52,12 @@ export type IndexingShortcutsBulkIndexMutationData = void;
export function useIndexingShortcutsBulkIndexMutation(
options?: MutationHookOptions<
IndexingShortcutsBulkIndexMutationData,
- Error,
+ IndexingShortcutsBulkIndexMutationError,
IndexingShortcutsBulkIndexMutationVariables
>,
): UseMutationResult<
IndexingShortcutsBulkIndexMutationData,
- Error,
+ IndexingShortcutsBulkIndexMutationError,
IndexingShortcutsBulkIndexMutationVariables
> {
const client = useGleanContext();
diff --git a/src/react-query/indexingShortcutsUpload.ts b/src/react-query/indexingShortcutsUpload.ts
index 3d4f8838..35c38bf6 100644
--- a/src/react-query/indexingShortcutsUpload.ts
+++ b/src/react-query/indexingShortcutsUpload.ts
@@ -12,6 +12,16 @@ import { indexingShortcutsUpload } from "../funcs/indexingShortcutsUpload.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";
@@ -23,6 +33,16 @@ export type IndexingShortcutsUploadMutationVariables = {
export type IndexingShortcutsUploadMutationData = void;
+export type IndexingShortcutsUploadMutationError =
+ | GleanBaseError
+ | ResponseValidationError
+ | ConnectionError
+ | RequestAbortedError
+ | RequestTimeoutError
+ | InvalidRequestError
+ | UnexpectedClientError
+ | SDKValidationError;
+
/**
* Upload shortcuts
*
@@ -32,12 +52,12 @@ export type IndexingShortcutsUploadMutationData = void;
export function useIndexingShortcutsUploadMutation(
options?: MutationHookOptions<
IndexingShortcutsUploadMutationData,
- Error,
+ IndexingShortcutsUploadMutationError,
IndexingShortcutsUploadMutationVariables
>,
): UseMutationResult<
IndexingShortcutsUploadMutationData,
- Error,
+ IndexingShortcutsUploadMutationError,
IndexingShortcutsUploadMutationVariables
> {
const client = useGleanContext();
diff --git a/src/sdk/agents.ts b/src/sdk/agents.ts
index 1142f3bd..0c75c91b 100644
--- a/src/sdk/agents.ts
+++ b/src/sdk/agents.ts
@@ -20,12 +20,14 @@ export class Agents extends ClientSDK {
*/
async retrieve(
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientAgentsRetrieve(
this,
agentId,
+ locale,
timezoneOffset,
options,
));
@@ -39,12 +41,14 @@ export class Agents extends ClientSDK {
*/
async retrieveSchemas(
agentId: string,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientAgentsRetrieveSchemas(
this,
agentId,
+ locale,
timezoneOffset,
options,
));
diff --git a/src/sdk/announcements.ts b/src/sdk/announcements.ts
index fbe747c7..bdff332f 100644
--- a/src/sdk/announcements.ts
+++ b/src/sdk/announcements.ts
@@ -17,12 +17,14 @@ export class Announcements extends ClientSDK {
* Create a textual announcement visible to some set of users based on department and location.
*/
async create(
- request: components.CreateAnnouncementRequest,
+ createAnnouncementRequest: components.CreateAnnouncementRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientAnnouncementsCreate(
this,
- request,
+ createAnnouncementRequest,
+ locale,
options,
));
}
@@ -34,12 +36,14 @@ export class Announcements extends ClientSDK {
* Delete an existing user-generated announcement.
*/
async delete(
- request: components.DeleteAnnouncementRequest,
+ deleteAnnouncementRequest: components.DeleteAnnouncementRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientAnnouncementsDelete(
this,
- request,
+ deleteAnnouncementRequest,
+ locale,
options,
));
}
@@ -51,12 +55,14 @@ export class Announcements extends ClientSDK {
* Update a textual announcement visible to some set of users based on department and location.
*/
async update(
- request: components.UpdateAnnouncementRequest,
+ updateAnnouncementRequest: components.UpdateAnnouncementRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientAnnouncementsUpdate(
this,
- request,
+ updateAnnouncementRequest,
+ locale,
options,
));
}
diff --git a/src/sdk/answers.ts b/src/sdk/answers.ts
index 3384d640..5463b2a6 100644
--- a/src/sdk/answers.ts
+++ b/src/sdk/answers.ts
@@ -19,12 +19,14 @@ export class Answers extends ClientSDK {
* Create a user-generated Answer that contains a question and answer.
*/
async create(
- request: components.CreateAnswerRequest,
+ createAnswerRequest: components.CreateAnswerRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientAnswersCreate(
this,
- request,
+ createAnswerRequest,
+ locale,
options,
));
}
@@ -36,12 +38,14 @@ export class Answers extends ClientSDK {
* Delete an existing user-generated Answer.
*/
async delete(
- request: components.DeleteAnswerRequest,
+ deleteAnswerRequest: components.DeleteAnswerRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientAnswersDelete(
this,
- request,
+ deleteAnswerRequest,
+ locale,
options,
));
}
@@ -53,12 +57,14 @@ export class Answers extends ClientSDK {
* Update an existing user-generated Answer.
*/
async update(
- request: components.EditAnswerRequest,
+ editAnswerRequest: components.EditAnswerRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientAnswersUpdate(
this,
- request,
+ editAnswerRequest,
+ locale,
options,
));
}
@@ -70,12 +76,14 @@ export class Answers extends ClientSDK {
* Read the details of a particular Answer given its ID.
*/
async retrieve(
- request: components.GetAnswerRequest,
+ getAnswerRequest: components.GetAnswerRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientAnswersRetrieve(
this,
- request,
+ getAnswerRequest,
+ locale,
options,
));
}
@@ -86,15 +94,17 @@ export class Answers extends ClientSDK {
* @remarks
* List Answers created by the current user.
*
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
+ * @deprecated method: Deprecated on 2026-01-21, removal scheduled for 2026-10-15: Answer boards have been removed and this endpoint no longer serves a purpose.
*/
async list(
- request: components.ListAnswersRequest,
+ listAnswersRequest: components.ListAnswersRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientAnswersList(
this,
- request,
+ listAnswersRequest,
+ locale,
options,
));
}
diff --git a/src/sdk/chat.ts b/src/sdk/chat.ts
index e6b29d82..8352ccd6 100644
--- a/src/sdk/chat.ts
+++ b/src/sdk/chat.ts
@@ -25,12 +25,14 @@ export class Chat extends ClientSDK {
*/
async create(
chatRequest: components.ChatRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientChatCreate(
this,
chatRequest,
+ locale,
timezoneOffset,
options,
));
@@ -43,11 +45,13 @@ export class Chat extends ClientSDK {
* 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,
));
@@ -61,12 +65,14 @@ export class Chat extends ClientSDK {
*/
async delete(
deleteChatsRequest: components.DeleteChatsRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientChatDelete(
this,
deleteChatsRequest,
+ locale,
timezoneOffset,
options,
));
@@ -80,12 +86,14 @@ export class Chat extends ClientSDK {
*/
async retrieve(
getChatRequest: components.GetChatRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientChatRetrieve(
this,
getChatRequest,
+ locale,
timezoneOffset,
options,
));
@@ -98,11 +106,13 @@ export class Chat extends ClientSDK {
* 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,
));
@@ -116,12 +126,14 @@ export class Chat extends ClientSDK {
*/
async retrieveApplication(
getChatApplicationRequest: components.GetChatApplicationRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientChatRetrieveApplication(
this,
getChatApplicationRequest,
+ locale,
timezoneOffset,
options,
));
@@ -135,12 +147,14 @@ export class Chat extends ClientSDK {
*/
async uploadFiles(
uploadChatFilesRequest: components.UploadChatFilesRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientChatUploadFiles(
this,
uploadChatFilesRequest,
+ locale,
timezoneOffset,
options,
));
@@ -154,12 +168,14 @@ export class Chat extends ClientSDK {
*/
async retrieveFiles(
getChatFilesRequest: components.GetChatFilesRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientChatRetrieveFiles(
this,
getChatFilesRequest,
+ locale,
timezoneOffset,
options,
));
@@ -173,12 +189,14 @@ export class Chat extends ClientSDK {
*/
async deleteFiles(
deleteChatFilesRequest: components.DeleteChatFilesRequest,
+ locale?: string | undefined,
timezoneOffset?: number | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientChatDeleteFiles(
this,
deleteChatFilesRequest,
+ locale,
timezoneOffset,
options,
));
diff --git a/src/sdk/clientdocuments.ts b/src/sdk/clientdocuments.ts
index 645c88b9..60ebace6 100644
--- a/src/sdk/clientdocuments.ts
+++ b/src/sdk/clientdocuments.ts
@@ -18,12 +18,14 @@ export class ClientDocuments extends ClientSDK {
* Read the emails of all users who have access to the given document.
*/
async retrievePermissions(
- request: components.GetDocPermissionsRequest,
+ getDocPermissionsRequest: components.GetDocPermissionsRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientDocumentsRetrievePermissions(
this,
- request,
+ getDocPermissionsRequest,
+ locale,
options,
));
}
@@ -35,12 +37,14 @@ export class ClientDocuments extends ClientSDK {
* 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.
*/
async retrieve(
- request?: components.GetDocumentsRequest | undefined,
+ getDocumentsRequest?: components.GetDocumentsRequest | undefined,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientDocumentsRetrieve(
this,
- request,
+ getDocumentsRequest,
+ locale,
options,
));
}
@@ -52,12 +56,16 @@ export class ClientDocuments extends ClientSDK {
* Read the documents including metadata (does not include enhanced metadata via `/documentmetadata`) macthing the given facet conditions.
*/
async retrieveByFacets(
- request?: components.GetDocumentsByFacetsRequest | undefined,
+ getDocumentsByFacetsRequest?:
+ | components.GetDocumentsByFacetsRequest
+ | undefined,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientDocumentsRetrieveByFacets(
this,
- request,
+ getDocumentsByFacetsRequest,
+ locale,
options,
));
}
@@ -69,12 +77,14 @@ export class ClientDocuments extends ClientSDK {
* Generate an AI summary of the requested documents.
*/
async summarize(
- request: components.SummarizeRequest,
+ summarizeRequest: components.SummarizeRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientDocumentsSummarize(
this,
- request,
+ summarizeRequest,
+ locale,
options,
));
}
diff --git a/src/sdk/clientshortcuts.ts b/src/sdk/clientshortcuts.ts
index 20455b47..475259a7 100644
--- a/src/sdk/clientshortcuts.ts
+++ b/src/sdk/clientshortcuts.ts
@@ -19,12 +19,14 @@ export class ClientShortcuts extends ClientSDK {
* Create a user-generated shortcut that contains an alias and destination URL.
*/
async create(
- request: components.CreateShortcutRequest,
+ createShortcutRequest: components.CreateShortcutRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientShortcutsCreate(
this,
- request,
+ createShortcutRequest,
+ locale,
options,
));
}
@@ -36,12 +38,14 @@ export class ClientShortcuts extends ClientSDK {
* Delete an existing user-generated shortcut.
*/
async delete(
- request: components.DeleteShortcutRequest,
+ deleteShortcutRequest: components.DeleteShortcutRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientShortcutsDelete(
this,
- request,
+ deleteShortcutRequest,
+ locale,
options,
));
}
@@ -53,12 +57,14 @@ export class ClientShortcuts extends ClientSDK {
* Read a particular shortcut's details given its ID.
*/
async retrieve(
- request: components.GetShortcutRequestUnion,
+ getShortcutRequest: components.GetShortcutRequestUnion,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientShortcutsRetrieve(
this,
- request,
+ getShortcutRequest,
+ locale,
options,
));
}
@@ -70,12 +76,14 @@ export class ClientShortcuts extends ClientSDK {
* List shortcuts editable/owned by the currently authenticated user.
*/
async list(
- request: components.ListShortcutsPaginatedRequest,
+ listShortcutsPaginatedRequest: components.ListShortcutsPaginatedRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientShortcutsList(
this,
- request,
+ listShortcutsPaginatedRequest,
+ locale,
options,
));
}
@@ -87,12 +95,14 @@ export class ClientShortcuts extends ClientSDK {
* Updates the shortcut with the given ID.
*/
async update(
- request: components.UpdateShortcutRequest,
+ updateShortcutRequest: components.UpdateShortcutRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientShortcutsUpdate(
this,
- request,
+ updateShortcutRequest,
+ locale,
options,
));
}
diff --git a/src/sdk/collections.ts b/src/sdk/collections.ts
index 3648ce94..cf162554 100644
--- a/src/sdk/collections.ts
+++ b/src/sdk/collections.ts
@@ -23,12 +23,14 @@ export class Collections extends ClientSDK {
* Add items to a Collection.
*/
async addItems(
- request: components.AddCollectionItemsRequest,
+ addCollectionItemsRequest: components.AddCollectionItemsRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise {
return unwrapAsync(clientCollectionsAddItems(
this,
- request,
+ addCollectionItemsRequest,
+ locale,
options,
));
}
@@ -40,12 +42,14 @@ export class Collections extends ClientSDK {
* Create a publicly visible (empty) Collection of documents.
*/
async create(
- request: components.CreateCollectionRequest,
+ createCollectionRequest: components.CreateCollectionRequest,
+ locale?: string | undefined,
options?: RequestOptions,
): Promise