From 008a36adf6d49ff27c6e038c8b6a77adfec5a651 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 30 May 2026 19:34:48 +0000 Subject: [PATCH 1/2] =?UTF-8?q?##=20Typescript=20SDK=20Changes:=20*=20`ste?= =?UTF-8?q?amsets.leaderboard.getBucketLeaders()`:=20=20`response.[]`=20**?= =?UTF-8?q?Changed**=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20*=20`steamsets.ac?= =?UTF-8?q?count.queueInventoryRefresh()`:=20**Added**=20*=20`steamsets.ap?= =?UTF-8?q?p.queueUpdate()`:=20**Added**=20*=20`steamsets.group.queueUpdat?= =?UTF-8?q?e()`:=20**Added**?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .speakeasy/gen.lock | 194 +++++++++++++----- .speakeasy/gen.yaml | 3 +- .speakeasy/workflow.lock | 12 +- README.md | 6 + RELEASES.md | 12 +- docs/models/components/bucketleader.md | 6 +- ...accountqueueinventoryrefreshrequestbody.md | 17 ++ .../components/v1appqueueupdaterequestbody.md | 21 ++ .../v1groupqueueupdaterequestbody.md | 17 ++ .../accountqueueinventoryrefreshresponse.md | 15 ++ .../operations/appqueueupdateresponse.md | 15 ++ .../operations/groupqueueupdateresponse.md | 15 ++ ...=> leaderboardgetbucketleadersresponse.md} | 6 +- docs/sdks/account/README.md | 84 ++++++++ docs/sdks/app/README.md | 76 +++++++ docs/sdks/group/README.md | 80 ++++++++ docs/sdks/leaderboard/README.md | 4 +- examples/package-lock.json | 2 +- jsr.json | 2 +- package-lock.json | 4 +- package.json | 2 +- src/funcs/accountQueueInventoryRefresh.ts | 188 +++++++++++++++++ src/funcs/appQueueUpdate.ts | 186 +++++++++++++++++ src/funcs/groupQueueUpdate.ts | 186 +++++++++++++++++ src/funcs/leaderboardGetBucketLeaders.ts | 10 +- src/lib/config.ts | 6 +- src/models/components/bucketleader.ts | 9 +- src/models/components/index.ts | 3 + ...accountqueueinventoryrefreshrequestbody.ts | 38 ++++ .../components/v1appqueueupdaterequestbody.ts | 36 ++++ .../v1groupqueueupdaterequestbody.ts | 36 ++++ .../accountqueueinventoryrefresh.ts | 38 ++++ src/models/operations/appqueueupdate.ts | 37 ++++ src/models/operations/groupqueueupdate.ts | 37 ++++ src/models/operations/index.ts | 5 +- ...ders.ts => leaderboardgetbucketleaders.ts} | 15 +- src/sdk/account.ts | 15 ++ src/sdk/app.ts | 16 ++ src/sdk/group.ts | 16 ++ src/sdk/leaderboard.ts | 2 +- 40 files changed, 1380 insertions(+), 92 deletions(-) create mode 100644 docs/models/components/v1accountqueueinventoryrefreshrequestbody.md create mode 100644 docs/models/components/v1appqueueupdaterequestbody.md create mode 100644 docs/models/components/v1groupqueueupdaterequestbody.md create mode 100644 docs/models/operations/accountqueueinventoryrefreshresponse.md create mode 100644 docs/models/operations/appqueueupdateresponse.md create mode 100644 docs/models/operations/groupqueueupdateresponse.md rename docs/models/operations/{getbucketleadersresponse.md => leaderboardgetbucketleadersresponse.md} (86%) create mode 100644 src/funcs/accountQueueInventoryRefresh.ts create mode 100644 src/funcs/appQueueUpdate.ts create mode 100644 src/funcs/groupQueueUpdate.ts create mode 100644 src/models/components/v1accountqueueinventoryrefreshrequestbody.ts create mode 100644 src/models/components/v1appqueueupdaterequestbody.ts create mode 100644 src/models/components/v1groupqueueupdaterequestbody.ts create mode 100644 src/models/operations/accountqueueinventoryrefresh.ts create mode 100644 src/models/operations/appqueueupdate.ts create mode 100644 src/models/operations/groupqueueupdate.ts rename src/models/operations/{getbucketleaders.ts => leaderboardgetbucketleaders.ts} (66%) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 8e66e752..56dd6ca4 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 95d4d11c-e322-4e38-9ede-6e6dcc472d64 management: - docChecksum: fff0820bd9548987aa49356cccbd2fa3 + docChecksum: ebf96ebfa9a014b67f1e37a04b55a376 docVersion: 1.0.0 - speakeasyVersion: 1.764.1 - generationVersion: 2.885.1 - releaseVersion: 0.34.9 - configChecksum: 3bf7449739be2236366ecd65dac1e1ac + speakeasyVersion: 1.768.2 + generationVersion: 2.889.1 + releaseVersion: 0.35.0 + configChecksum: 74ff04b277c4ca8aad31616d9838bfd8 repoURL: https://github.com/steamsets/client-ts.git installationURL: https://github.com/steamsets/client-ts published: true persistentEdits: - generation_id: a3d7f4d5-de98-4d5c-9ff2-3dd87f1f2b6b - pristine_commit_hash: 2cd729c1c0626f90883a21bf8497f543815c432b - pristine_tree_hash: 4316f07708c875d16d6fc8c8f1bfa765f6a07da4 + generation_id: 01b9cf41-9851-409f-999d-43ab33fe66ce + pristine_commit_hash: 7afde3f63aae54609e016fdf8d70997dedb4db3b + pristine_tree_hash: c46b72ac80ac6d620254ca50604c3dfc1aabb5eb features: go: additionalDependencies: 0.1.0 @@ -34,7 +34,7 @@ features: acceptHeaders: 2.81.2 additionalDependencies: 0.1.0 constsAndDefaults: 0.1.14 - core: 3.26.51 + core: 3.27.0 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 devContainers: 2.90.1 @@ -366,8 +366,8 @@ trackedFiles: pristine_git_object: 29972c7f81e0303b17b263913a5eb2c724c124ab docs/models/components/bucketleader.md: id: 92f99f7d17b7 - last_write_checksum: sha1:c433fe9fcb13563d8604d5faa106159447edcd99 - pristine_git_object: 0455a804996e6263bbfa95b9c1f40111c667ffea + last_write_checksum: sha1:e67b109b078089ae5aba16c66f073817cc710914 + pristine_git_object: 98d95db25208e395f4f5eb193593250372e279f9 docs/models/components/by.md: id: 2b0e1e77703f last_write_checksum: sha1:230dc6f0107743fdfdb1fd635935d6dd50e1a7af @@ -1080,6 +1080,10 @@ trackedFiles: id: 054782ae57db last_write_checksum: sha1:e9d6866186b13869786cf59b75b613fb53b8b3e6 pristine_git_object: ee9c7b7bc3b99102bf080b6804e56822c6b6f6f4 + docs/models/components/v1accountqueueinventoryrefreshrequestbody.md: + id: 1dbc9b204e83 + last_write_checksum: sha1:6330ef15f146876fc30d0f35de7dcbbc691eaffe + pristine_git_object: bdde0e4c7f0e8b3bc03236e6ca9b6c22ce417709 docs/models/components/v1accountqueueupdaterequestbody.md: id: 555d2a443c41 last_write_checksum: sha1:eea93cb8b78510f875075e36f0c6d18f47ae83f0 @@ -1340,6 +1344,10 @@ trackedFiles: id: 1ea9dd33ffb6 last_write_checksum: sha1:819f17d921dda9f0d898f5b55967a7fd80c50ff6 pristine_git_object: abb72dba12317731afe09016ce778379e21e1504 + docs/models/components/v1appqueueupdaterequestbody.md: + id: 3fdbfc076b20 + last_write_checksum: sha1:de438be97a34780c04fa1b8c982957ad3416ef8c + pristine_git_object: c7b655a604538ace5acc94ce187bec17cafe86ef docs/models/components/v1badgefilters.md: id: 5ecf83e67449 last_write_checksum: sha1:5b0a3e29ebf320857e1f2e5247d0d91a8c2df58a @@ -1416,6 +1424,10 @@ trackedFiles: id: 60790bd8988c last_write_checksum: sha1:05db2c667de36d353855186fdc12a0734e891d39 pristine_git_object: fd13362db2abb016143454a5dd5f4ba2ffc9d3f7 + docs/models/components/v1groupqueueupdaterequestbody.md: + id: ee893e8f3c85 + last_write_checksum: sha1:572437c18d52844517fa2ef958cbdccc589d4bc7 + pristine_git_object: f2d62a9135f835ca44ff1522c3050af67a0e059d docs/models/components/v1leaderboardappinfo.md: id: f97f46f3af42 last_write_checksum: sha1:ec77071cbddfbbb25990cf0b58b66c1247f26a09 @@ -1656,6 +1668,10 @@ trackedFiles: id: ea3ef98b4eb7 last_write_checksum: sha1:cd47da55879096cb5c84ad1a59b46b2c369f8130 pristine_git_object: 11963e6601f6df2420e4d9a208cf1488bff23296 + docs/models/operations/accountqueueinventoryrefreshresponse.md: + id: 8f6e970b7825 + last_write_checksum: sha1:ac95455f451a2ccd8c2ca7ae210d2be26241347f + pristine_git_object: d0cb5cf0937ac45846ccb05ce269cc99816789f6 docs/models/operations/accountqueueupdaterequest.md: id: 870af8c62ea3 last_write_checksum: sha1:9f4d6258d6d3c989efe87e6ecb4d08267d8fce6b @@ -1840,6 +1856,10 @@ trackedFiles: id: 8944d6fe3452 last_write_checksum: sha1:f0cbe4e6aea6adeda058e34d811f7355a285a926 pristine_git_object: acf8160a9bc9311f8ccdaeb6fc2f0ce16c3d5179 + docs/models/operations/appqueueupdateresponse.md: + id: 24f76d392611 + last_write_checksum: sha1:fc22c743c9a599fecef563ce29c776254f67351f + pristine_git_object: fae9b46c55bcf239365cb452f30984d705066bab docs/models/operations/appsearchrequest.md: id: b16f85d2b8bd last_write_checksum: sha1:b50ff9d78409ac9a36baf60ee4e76acb78d1365e @@ -1996,10 +2016,6 @@ trackedFiles: id: c9eebfe32c77 last_write_checksum: sha1:5987fa0b26628336bec82ae3ba2e5dd9346e0edd pristine_git_object: f2b36d76803422b25da46be18c49d7e1ced5f92c - docs/models/operations/getbucketleadersresponse.md: - id: 5a6c46acafc5 - last_write_checksum: sha1:519d37f2683a4520948ae2cca1ae8c1273298057 - pristine_git_object: ed5fb1b7e78ecc9820ff0f3cafbbaa75c840f621 docs/models/operations/getchangesresponse.md: id: 43b14acf1292 last_write_checksum: sha1:80a14a45e7b3f7eb4e00d33340704664cf11b8d1 @@ -2008,6 +2024,10 @@ trackedFiles: id: 198690eb4bcf last_write_checksum: sha1:47f0296004f69fe630dfe71d827d386d21247ce2 pristine_git_object: 98a2e95056b1a714ba56edafd98972cf8592c3fa + docs/models/operations/groupqueueupdateresponse.md: + id: fe6e01cb4c83 + last_write_checksum: sha1:914fc264213bb8008f4e9714d9e7a8ba31be31e2 + pristine_git_object: 0a82d6c41fa989c965197e6f3663ae68a054aa07 docs/models/operations/groupsearchrequest.md: id: d30a77e06a13 last_write_checksum: sha1:10d3b64cccfdb5044fafb4d5e6b7d428805be128 @@ -2028,6 +2048,10 @@ trackedFiles: id: 791d56fab641 last_write_checksum: sha1:d89c6695c3486939ddc948387560a688a9675864 pristine_git_object: cad0ea238f988af81ea36b7690fa3dd050f6be2b + docs/models/operations/leaderboardgetbucketleadersresponse.md: + id: 2bbe9faded80 + last_write_checksum: sha1:1750505086277b06cf7118cf4b548dcc752a3b95 + pristine_git_object: 469ab37607ca7b65a11fde229407801fcb3d49ba docs/models/operations/leaderboardgetgroupleaderboardresponse.md: id: 529b73fd8aa0 last_write_checksum: sha1:d9f3d785cd2624ca8295299d1190a4c3275eb052 @@ -2142,8 +2166,8 @@ trackedFiles: pristine_git_object: 558fbff6e691304da7c5d5adb04f97d775830aad docs/sdks/account/README.md: id: 2d1d67055b31 - last_write_checksum: sha1:890fa86b7dd4ebbbb48afaa2fb292ee87a6040bf - pristine_git_object: 8ec774f59c5372e38ebb00ba9ba19aaee4193bad + last_write_checksum: sha1:3256b74f2a92e8c7e71766dd8bdd2a4c98546092 + pristine_git_object: 601d654d06c729c6efb22c6a027e45b9b0835822 docs/sdks/activity/README.md: id: f6e8241fca80 last_write_checksum: sha1:4add3b91fe2b970bf906ea4ec5c69429faeb9e0a @@ -2158,8 +2182,8 @@ trackedFiles: pristine_git_object: 110f1b6e64a59c180dc781826a2336bc8f887280 docs/sdks/app/README.md: id: 2b997ad6a1a7 - last_write_checksum: sha1:fe310e4184d52856e9535e9d277af75ed1c8791c - pristine_git_object: e8bd5774d4814d997e6c4ac95a1a385da9fd0a63 + last_write_checksum: sha1:f576c89c70fe23eca74f6fdcaa0ec7c3f960c90e + pristine_git_object: bdd44dd7ecf980bf683220bc780028c82e24731c docs/sdks/apps/README.md: id: 9c9c1a6527a3 last_write_checksum: sha1:4204b215770dde6eb5ea7fefc609287d4101e25d @@ -2186,16 +2210,16 @@ trackedFiles: pristine_git_object: dc095cb2200834645f2c955ccd0f6e356a5cc1cd docs/sdks/group/README.md: id: dd48bfd789de - last_write_checksum: sha1:2b618b98f043aed891f34a963c184fef4ea400ff - pristine_git_object: e0f1b1928730659c93ac6cc9c5da3ad69f185699 + last_write_checksum: sha1:ba427e726531efba538247c0f2c3d8b567e05a48 + pristine_git_object: e562628d0f82e7b005002173f0a12120e9d81233 docs/sdks/item/README.md: id: 9d916768f505 last_write_checksum: sha1:7a1e03bc7ff3d7dccc87c0922a3184eed977ca39 pristine_git_object: 4cfa3c98dbd364d66396f27999eabad0b282f156 docs/sdks/leaderboard/README.md: id: 68c49c913694 - last_write_checksum: sha1:ae9a3754ee8993c7f6bc26ec3c88cbf365f1c59e - pristine_git_object: 6ff52da8b655e53672c92e3df009292a3a469cde + last_write_checksum: sha1:42f56b3d2c1aa9dcfe08bc4e5898fb000db294e9 + pristine_git_object: 15787f69f2b10e33336aba952eea11b53d740824 docs/sdks/leaderboards/README.md: id: 9358d8ddb8d9 last_write_checksum: sha1:68d54f832b98c0c9e87447be6ce63f0bd2a25e32 @@ -2258,12 +2282,12 @@ trackedFiles: pristine_git_object: 61d9c4b7a11fb38946490af37be9bace8300506a jsr.json: id: 7f6ab7767282 - last_write_checksum: sha1:6cca13bd6ef310685f25b0d71ddb37d5e7a70633 - pristine_git_object: d06555bef7533b5ff022b5beea2b1388d43fcec9 + last_write_checksum: sha1:a3dffb91e978a2a8faa42939e400f1979500153c + pristine_git_object: b5dd3c124c7b606759bfc96b5a0d0ed50a928425 package.json: id: 7030d0b2f71b - last_write_checksum: sha1:0765e9ca1bc54e9654c7ebc0dbd0d54a93f63e17 - pristine_git_object: bdddf62f6cd5a385fab6c22792f44d90f38a5281 + last_write_checksum: sha1:14a9c27cefe7f1ef5eff44596115696489a7e063 + pristine_git_object: 7537eaa23fa4ab5eda50b3971d4b87826162c3c0 src/core.ts: id: f431fdbcd144 last_write_checksum: sha1:ee8e3cd72c5f196ebbca1bb6704a8e9e89261594 @@ -2384,6 +2408,10 @@ trackedFiles: id: fc7d30daec2a last_write_checksum: sha1:ed1ce7c08f1de814108ec59d52744e515511ec1e pristine_git_object: 300fa4ea31f9283c9c08b5eabf145ec9d980759f + src/funcs/accountQueueInventoryRefresh.ts: + id: 30c0f68ebd05 + last_write_checksum: sha1:7c26a9d3596de43f06be62a5dea3179314ddb1a3 + pristine_git_object: 0b13d6dce87a7f01ec89f247f8f20b6b6c17f799 src/funcs/accountQueueUpdate.ts: id: 531572aa2cf4 last_write_checksum: sha1:06a42b7dd65f17555aec69dc83be93e4918bb27c @@ -2592,6 +2620,10 @@ trackedFiles: id: d9e287a2eb3f last_write_checksum: sha1:7deeed6ad0b6aaac79377bb252cd9056c37e20e9 pristine_git_object: 65b5ae12a580ac6427281b01bc54ef6f9a65f716 + src/funcs/appQueueUpdate.ts: + id: 1dddf49e49b5 + last_write_checksum: sha1:ca1408d8da3085d123dec74e7c646e7422a17f46 + pristine_git_object: ab85082e77000ec76029b98579583ab42c571de3 src/funcs/appSearch.ts: id: 2de13dd98d09 last_write_checksum: sha1:7a5bc33ea2d1663d555ee7b612d2c7b8a235ec15 @@ -2640,6 +2672,10 @@ trackedFiles: id: 825aa9bfdb33 last_write_checksum: sha1:9d000799a0f73a1dc31fc5eb7dec6befaf6e155a pristine_git_object: cf050b68454f3a0b262432759cd6c51c8bd5c3e1 + src/funcs/groupQueueUpdate.ts: + id: ce258e94568e + last_write_checksum: sha1:bde3667d79201367a30e579032d0c2f47a7117c4 + pristine_git_object: 0ede217628dc4e20882a75e6c9ced2d0ee08d14a src/funcs/groupSearch.ts: id: 09b9fc4bb231 last_write_checksum: sha1:22589b6b165a2accb7fa1b61d10658a85019bc60 @@ -2658,8 +2694,8 @@ trackedFiles: pristine_git_object: c0f8562c03a8b3caacacbe16244bc9b35670e7a0 src/funcs/leaderboardGetBucketLeaders.ts: id: 16e16d9d3258 - last_write_checksum: sha1:ced4210b037b0a74defba67d3d7f28b1d792752c - pristine_git_object: bd9250499bf08a9957acda730e1b40c6cc05c550 + last_write_checksum: sha1:1d38dbf9d3711606cab312a674fe9a2517578955 + pristine_git_object: e4055f7ada6ffecdf78843bde8f6c2b847e10a2c src/funcs/leaderboardGetChanges.ts: id: 0235c5165dd2 last_write_checksum: sha1:21cd66e28c54c69f0aa80b1daff0cd56a189d5a5 @@ -2742,8 +2778,8 @@ trackedFiles: pristine_git_object: 0aebd8b0a4867e35cb3348fc52921c3c0b4725b7 src/lib/config.ts: id: 320761608fb3 - last_write_checksum: sha1:c1a0cf946b21f50344474a724f3657159a56fc2e - pristine_git_object: 2acfb284e9975ec2dfd0bc72855f42e9bfc5ddc9 + last_write_checksum: sha1:445edfa03a113ebf83119d64ca727d8a648f8e3e + pristine_git_object: 4af36ccbf7ed04842d2bf1de0db09d78611623f3 src/lib/dlv.ts: id: b1988214835a last_write_checksum: sha1:1dd3e3fbb4550c4bf31f5ef997faff355d6f3250 @@ -3030,8 +3066,8 @@ trackedFiles: pristine_git_object: b6844735608e06ecf969827be6f07913cd28fb09 src/models/components/bucketleader.ts: id: 4d8be6d405a1 - last_write_checksum: sha1:c53d893a5a12aa3bf24ee5a02f2d32197d7a054a - pristine_git_object: a763e5bf68073b609f1cf63b5466f2b6e5248c3d + last_write_checksum: sha1:7da8373bd58be1ba37192516c1c328db7d3788b1 + pristine_git_object: c89a23835a131ec7ed7fe52abca4e73fb81677a7 src/models/components/card.ts: id: 455be431f130 last_write_checksum: sha1:733f4b3462ea9f8dcb1b0025fde2a4937bfe6fe4 @@ -3194,8 +3230,8 @@ trackedFiles: pristine_git_object: bcc260e64316f70c9d3c24b90d3cb348c29dd944 src/models/components/index.ts: id: 0aa842dce54d - last_write_checksum: sha1:9535e864bf8e28f80d49a60f75df2b57c7d4bf92 - pristine_git_object: 984717879b0fe3a594691b5bac4e80a1fcb65495 + last_write_checksum: sha1:e2296eae44d984f88f917d9e6efa8a11387d0d58 + pristine_git_object: 3d00a0451d800f313d76a9c7d0ff9a88d6a87784 src/models/components/inventoryset.ts: id: 63bc725be780 last_write_checksum: sha1:162d4e9dbd16d85446665538e8aafaa5090b70ae @@ -3576,6 +3612,10 @@ trackedFiles: id: e9718ff13beb last_write_checksum: sha1:40ab83abbaf239458552d9662ff6f99bd8d7bbb5 pristine_git_object: cd7b7285bf55d579aeb0f9099590b5c9bc60ef03 + src/models/components/v1accountqueueinventoryrefreshrequestbody.ts: + id: 4db36b9ef65a + last_write_checksum: sha1:9d2514ac0c53150655dbd400fc38f1fe0a10a975 + pristine_git_object: 4e179349cf826dc81ead940c90da7d96bf9b2d65 src/models/components/v1accountqueueupdaterequestbody.ts: id: ba932eb388da last_write_checksum: sha1:e49a45332b26fa5e4d6ed6f762a36ef474dcd420 @@ -3816,6 +3856,10 @@ trackedFiles: id: 3a1ac0d99095 last_write_checksum: sha1:102a55278d68aaa52b98bad554786419019f9d13 pristine_git_object: ece8e8fb2802b0da10538006fca54524f6613da5 + src/models/components/v1appqueueupdaterequestbody.ts: + id: a3a29f450678 + last_write_checksum: sha1:c3d57cdbc9f0f6a2c87a8afbe96e6c84bc9c974e + pristine_git_object: 78a57fb0337daff457b8eb89e1690fa0dfe1f3c2 src/models/components/v1badgefilters.ts: id: 7703473b7b08 last_write_checksum: sha1:b4232c20ea02a8369035595c14c2b92e68a039f5 @@ -3872,6 +3916,10 @@ trackedFiles: id: 1357ba2bc11f last_write_checksum: sha1:4ae6aa2b36efaa34be40726d34282c3503dc7902 pristine_git_object: 78eff92b7670c49d2040873fef8a38fc4f47999b + src/models/components/v1groupqueueupdaterequestbody.ts: + id: f638cb5243a5 + last_write_checksum: sha1:cd59fe4dcfc13ac18c31fbee83613e5b72fa7491 + pristine_git_object: 95251bb967b34122ab65facb48220e9951370b37 src/models/components/v1leaderboardappinfo.ts: id: fb2686ee3335 last_write_checksum: sha1:e5756c4b9f985fe46546ea5864bdfdbf04cc7788 @@ -4096,6 +4144,10 @@ trackedFiles: id: d42743d15f63 last_write_checksum: sha1:67fcbbacaedd3580a0fd2df1794243c7bf014062 pristine_git_object: 96d654be58be7ce07c2f4c636fbf56b419f77b3a + src/models/operations/accountqueueinventoryrefresh.ts: + id: 9a3078967a92 + last_write_checksum: sha1:c2f8d1aedddc6a0180b328caf1fc6d0f86ee7f58 + pristine_git_object: d6f0ff3e425ee76941fc660277d6e24c37d2ae18 src/models/operations/accountqueueupdate.ts: id: 75cf43dfe633 last_write_checksum: sha1:fb62008e32bfb9ebf2d39b9955e3cd8b7e09991e @@ -4248,6 +4300,10 @@ trackedFiles: id: f343e48e78e8 last_write_checksum: sha1:fa3ff60651cd0a416bce6f2b8f19974056e99dc8 pristine_git_object: 9e36ebf77998bffbfa8d6329be76675c608c76ec + src/models/operations/appqueueupdate.ts: + id: d36438d40a15 + last_write_checksum: sha1:2e25ae06c91ae370eadc3e41a4b12a3ee7d2b5f1 + pristine_git_object: 9a3a696e2d265580a7b2289171180dcfc12192ea src/models/operations/appsearch.ts: id: 31cc402b184d last_write_checksum: sha1:6457952ece9536c93acdbd8154b9c5011a5e7677 @@ -4336,10 +4392,6 @@ trackedFiles: id: f6b8adf9bedc last_write_checksum: sha1:33402f971cdd9c66dacb513e0f930f5873c86114 pristine_git_object: 499fcac95468a74d9ebc0db385df5c55a3ff11b5 - src/models/operations/getbucketleaders.ts: - id: f5e67a06ff8a - last_write_checksum: sha1:b1ca5c88c9c942c3a074eb8dd48383b66dd8054c - pristine_git_object: 53d24d3814d1c44366fdd0182ad86c9e935698d7 src/models/operations/getchanges.ts: id: 8a560e451ccc last_write_checksum: sha1:3f908fb87a715652255b81ab696c40dd7dac1f9a @@ -4348,14 +4400,18 @@ trackedFiles: id: 5d47a27450af last_write_checksum: sha1:7a5049353ad4c930b7c768aceec74b2f62af737c pristine_git_object: f3d59d864cce59dc8b1ecaa57dbe276df31e8d0f + src/models/operations/groupqueueupdate.ts: + id: 5d4ae07e6303 + last_write_checksum: sha1:30901b381f0fa8b3215f6795b90872ee6c57565f + pristine_git_object: e28f392798cb876e15b621a3588a7121fc74d6a1 src/models/operations/groupsearch.ts: id: ff29444c06dd last_write_checksum: sha1:a0b08c0234068bc85e81584ed3ac0e76e45adb11 pristine_git_object: cdd87e282392cea5dcc1b77fb2acda0f454146ee src/models/operations/index.ts: id: 0d9ffaf774d2 - last_write_checksum: sha1:34c424abf25aa5b7d7a85bc1980a69998eeb68b1 - pristine_git_object: e73f5530aa69f72cfb8ab2a8cd1be312837363c7 + last_write_checksum: sha1:041ae2b93e33fdf3eeec9168ffb10501e4989c60 + pristine_git_object: 22b74e73cfc1ca1da598a2cf2a99088c9f4f4593 src/models/operations/itemfindowners.ts: id: 964d639ab7b0 last_write_checksum: sha1:b9e0bdc1000aeb39213fc7c8cac90d4532ee5968 @@ -4368,6 +4424,10 @@ trackedFiles: id: ab5d2510d8bf last_write_checksum: sha1:488dc70b4ec3e0ac6001add4f435a7e1bf56b547 pristine_git_object: 80de4cc849862c8ad5e748a25c0dce7ca4ff2d26 + src/models/operations/leaderboardgetbucketleaders.ts: + id: b4e520a5977a + last_write_checksum: sha1:b2946f3c74b483dc0e2c5ebad82a39ea507e5eb9 + pristine_git_object: 7da8f527f205b8f21363c73cdad3df9c7a13f818 src/models/operations/leaderboardgetgroupleaderboard.ts: id: 7ae1e5623e97 last_write_checksum: sha1:6b4063c838cfb2e642aa64f48ce2f6e4c99c2eee @@ -4446,8 +4506,8 @@ trackedFiles: pristine_git_object: ccd2d95c603dd6a79224102ecba32b018ead3410 src/sdk/account.ts: id: 2589b1a639bd - last_write_checksum: sha1:4e5fa3cae39dc83b9c493bcf5fdf227e35d01a9f - pristine_git_object: fcf00e35f07652ecc43beec3cc389186c4f1fda6 + last_write_checksum: sha1:f3f926fcf705eee6b938b69ac43d4b233d9fadec + pristine_git_object: b44a70fbaacf5640704ce3fffb7ad4737a8d77b4 src/sdk/activity.ts: id: 87dddbbca815 last_write_checksum: sha1:77900b3669e53d741e4f078bf65f8207967d1fe8 @@ -4462,8 +4522,8 @@ trackedFiles: pristine_git_object: f7873744fc10555844fab1ca69cfe679a874e856 src/sdk/app.ts: id: 8fa80bd6c817 - last_write_checksum: sha1:4767e02ffcd18a08028ef30779c45fae0bd55d25 - pristine_git_object: 74a15df3bad7edd0c6f414e6ec90821904759e81 + last_write_checksum: sha1:e2ec701329010172b2791b81694429bcac2e9997 + pristine_git_object: d3a5113eea6e1e96e4532bf2f75c4cac56823e24 src/sdk/apps.ts: id: a40cb2e73373 last_write_checksum: sha1:db9f1a1df791481268ebe24a59d997f7a1267127 @@ -4490,8 +4550,8 @@ trackedFiles: pristine_git_object: 0b0e58cfb185fd6727b9c5e7740ee3c46eb660d1 src/sdk/group.ts: id: a1d7e88c1813 - last_write_checksum: sha1:688b4ad8f82ee848804867eac839a70383975946 - pristine_git_object: a9f8f3ddd857a682986871ece137cdc56c5df7da + last_write_checksum: sha1:0ace8b1d56ae488d47b304a2566f53caf8785839 + pristine_git_object: 26c0af2d2df33376b91289b8027e94931d4f61b0 src/sdk/index.ts: id: a857902a703f last_write_checksum: sha1:ed6d64f2a6135349aa8498b8d8cff9ba85c7fb8f @@ -4502,8 +4562,8 @@ trackedFiles: pristine_git_object: 470f24fded00d7514cbcf70f418845a505136ca2 src/sdk/leaderboard.ts: id: 8c564633ffe7 - last_write_checksum: sha1:46d34d16728e42854d6201f5d2e7e896aa9d51c6 - pristine_git_object: f54c54c333e8c4409f1512bc77d87976a6e9b8c6 + last_write_checksum: sha1:485d34ba303a0a91cebafbd5bd8b343c42ffc6ef + pristine_git_object: 87f0fc3999624157e1bd1165a06deb57c3f22cc7 src/sdk/leaderboards.ts: id: 345662fffcfc last_write_checksum: sha1:b47fd7447092c32278816bfcee05754ffba3ee24 @@ -5572,7 +5632,7 @@ examples: application/json: {"bucketSize": 10, "leaderboard": "xp"} responses: "200": - application/json: [{"account": {"animatedAvatar": "", "appCost": 123456, "apps": 123456, "avatar": "f1a1d2c3d0c9d1e1f2f3f4f5f6f7f8f9", "avatarFrame": "", "awardsGiven": 123456, "awardsReceived": 123456, "background": "", "badges": 123456, "bans": 307553, "city": null, "country": {"code": "DE", "name": "Germany"}, "createdAt": "2023-01-01T00:00:00Z", "donated": 123456, "economyBan": "steam", "foilBadgeCost": 123456, "foilBadges": 123456, "friends": 123456, "gameBans": 115490, "images": [{"active": true, "fileName": "avatar.png", "imageId": "img_wasd123", "imageType": "avatar"}], "level": 123456, "miniBackground": "", "name": "steamsets", "normalBadgeCost": 123456, "normalBadges": 123456, "playtime": 123456, "pointsGiven": 123456, "pointsReceived": 123456, "privacy": "public", "region": {"name": "Europe"}, "roles": [{"extras": {"key": "", "key1": ""}, "rating": 82126, "role": "nitro_booster"}], "state": {"name": "Baden-Wurttemberg"}, "steamId": "76561198842603734", "steamSetsScore": 588113, "steamSetsVanity": "steamsets", "steamVanity": "steamsets", "vacBans": 918623, "xp": 123456}, "accountId": 76561198000000000, "empty": false, "fromLevel": 10, "fromXp": 5500, "rank": 312, "score": 6342, "toLevel": 19, "toXp": 7499}] + application/json: [{"account": {"animatedAvatar": "", "appCost": 123456, "apps": 123456, "avatar": "f1a1d2c3d0c9d1e1f2f3f4f5f6f7f8f9", "avatarFrame": "", "awardsGiven": 123456, "awardsReceived": 123456, "background": "", "badges": 123456, "bans": 307553, "city": null, "country": {"code": "DE", "name": "Germany"}, "createdAt": "2023-01-01T00:00:00Z", "donated": 123456, "economyBan": "steam", "foilBadgeCost": 123456, "foilBadges": 123456, "friends": 123456, "gameBans": 115490, "images": [{"active": true, "fileName": "avatar.png", "imageId": "img_wasd123", "imageType": "avatar"}], "level": 123456, "miniBackground": "", "name": "steamsets", "normalBadgeCost": 123456, "normalBadges": 123456, "playtime": 123456, "pointsGiven": 123456, "pointsReceived": 123456, "privacy": "public", "region": {"name": "Europe"}, "roles": [{"extras": {"key": "", "key1": ""}, "rating": 82126, "role": "nitro_booster"}], "state": {"name": "Baden-Wurttemberg"}, "steamId": "76561198842603734", "steamSetsScore": 588113, "steamSetsVanity": "steamsets", "steamVanity": "steamsets", "vacBans": 918623, "xp": 123456}, "empty": false, "from": 10, "open": false, "rank": 312, "score": 6342, "to": 19}] "400": application/problem+json: {"$schema": "https://api.steamsets.com/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"} "500": @@ -5930,9 +5990,41 @@ examples: application/problem+json: {"$schema": "https://api.steamsets.com/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"} "500": application/problem+json: {"$schema": "https://api.steamsets.com/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"} + account.queueInventoryRefresh: + speakeasy-default-account-queue-inventory-refresh: + requestBody: + application/json: {"accountIds": [783569, 506104, 211266]} + responses: + "400": + application/problem+json: {"$schema": "https://api.steamsets.com/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"} + "500": + application/problem+json: {"$schema": "https://api.steamsets.com/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"} + app.queueUpdate: + speakeasy-default-app-queue-update: + requestBody: + application/json: {"appIds": []} + responses: + "400": + application/problem+json: {"$schema": "https://api.steamsets.com/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"} + "500": + application/problem+json: {"$schema": "https://api.steamsets.com/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"} + group.queueUpdate: + speakeasy-default-group-queue-update: + requestBody: + application/json: {"groupIds": [148]} + responses: + "400": + application/problem+json: {"$schema": "https://api.steamsets.com/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"} + "500": + application/problem+json: {"$schema": "https://api.steamsets.com/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"} examplesVersion: 1.0.2 generatedTests: {} -releaseNotes: "## Typescript SDK Changes:\n* `steamsets.badge.search()`: \n * `request` **Changed** (Breaking ⚠️)\n * `response` **Changed** (Breaking ⚠️)\n* `steamsets.account.search()`: **Added**\n* `steamsets.app.search()`: **Added**\n* `steamsets.badgePricing.search()`: **Added**\n* `steamsets.group.search()`: **Added**\n* `steamsets.location.search()`: **Added**\n* `steamsets.tradingItem.search()`: **Added**\n" +releaseNotes: | + ## Typescript SDK Changes: + * `steamsets.leaderboard.getBucketLeaders()`: `response.[]` **Changed** (Breaking ⚠️) + * `steamsets.account.queueInventoryRefresh()`: **Added** + * `steamsets.app.queueUpdate()`: **Added** + * `steamsets.group.queueUpdate()`: **Added** generatedFiles: - .devcontainer/README.md - .devcontainer/devcontainer.json diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index c3ac7b7f..ec759984 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -56,7 +56,7 @@ go: packageName: openapi responseFormat: envelope-http typescript: - version: 0.34.9 + version: 0.35.0 acceptHeaderEnum: true additionalDependencies: dependencies: {} @@ -105,6 +105,7 @@ typescript: packageName: '@steamsets/client-ts' preApplyUnionDiscriminators: true preserveModelFieldNames: false + privateIdentifierPrefix: '#' responseFormat: envelope-http sseFlatResponse: false templateVersion: v2 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 45abe54c..5642e5af 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.764.1 +speakeasyVersion: 1.768.2 sources: API: sourceNamespace: api - sourceRevisionDigest: sha256:15f16ef17527d7b21d170aa5ddf1b0d0b524fc0606f49d34b0b5c34173573a43 - sourceBlobDigest: sha256:1f1abf6de9d489583441db98d2388c9e17810dce048caf596795ef6e04be5228 + sourceRevisionDigest: sha256:88985018502eec5072eec8e4c1bc23ec7fb015f5f6d79fbf68503144ce5a4ffa + sourceBlobDigest: sha256:3b6593e5423a873c8b533a27b5f805b1eb1e56ead95ea978b5adb4d22f411217 tags: - latest - 1.0.0 @@ -18,10 +18,10 @@ targets: steam-sets: source: API sourceNamespace: api - sourceRevisionDigest: sha256:15f16ef17527d7b21d170aa5ddf1b0d0b524fc0606f49d34b0b5c34173573a43 - sourceBlobDigest: sha256:1f1abf6de9d489583441db98d2388c9e17810dce048caf596795ef6e04be5228 + sourceRevisionDigest: sha256:88985018502eec5072eec8e4c1bc23ec7fb015f5f6d79fbf68503144ce5a4ffa + sourceBlobDigest: sha256:3b6593e5423a873c8b533a27b5f805b1eb1e56ead95ea978b5adb4d22f411217 codeSamplesNamespace: api-typescript-code-samples - codeSamplesRevisionDigest: sha256:a67906e1149f1c61aa1865344c389b5f1665ce041718259bc5ca7a96a9e55fc1 + codeSamplesRevisionDigest: sha256:19f05d1d693b82dd7d3cbae95ecb779cbbb55895b35f62a60e3c5397cd383191 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index f2f3782e..71b93cd8 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,7 @@ run(); * [accountListOwnedGroups](docs/sdks/account/README.md#accountlistownedgroups) - List groups owned by account * [login](docs/sdks/account/README.md#login) - Login with Steam * [logout](docs/sdks/account/README.md#logout) - Logout from session +* [queueInventoryRefresh](docs/sdks/account/README.md#queueinventoryrefresh) - Queue inventory refresh * [queueUpdate](docs/sdks/account/README.md#queueupdate) - Queue account update * [reconnectConnection](docs/sdks/account/README.md#reconnectconnection) - Reconnect OAuth connection * [refreshInventory](docs/sdks/account/README.md#refreshinventory) - Refresh inventory @@ -173,6 +174,7 @@ run(); ### [App](docs/sdks/app/README.md) +* [queueUpdate](docs/sdks/app/README.md#queueupdate) - Queue app update * [search](docs/sdks/app/README.md#search) - Search apps ### [Apps](docs/sdks/apps/README.md) @@ -206,6 +208,7 @@ run(); ### [Group](docs/sdks/group/README.md) +* [queueUpdate](docs/sdks/group/README.md#queueupdate) - Queue group update * [search](docs/sdks/group/README.md#search) - Search groups ### [Item](docs/sdks/item/README.md) @@ -708,6 +711,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`accountListOwnedBadges`](docs/sdks/account/README.md#listownedbadges) - List owned badges - [`accountLogin`](docs/sdks/account/README.md#login) - Login with Steam - [`accountLogout`](docs/sdks/account/README.md#logout) - Logout from session +- [`accountQueueInventoryRefresh`](docs/sdks/account/README.md#queueinventoryrefresh) - Queue inventory refresh - [`accountQueueUpdate`](docs/sdks/account/README.md#queueupdate) - Queue account update - [`accountReconnectConnection`](docs/sdks/account/README.md#reconnectconnection) - Reconnect OAuth connection - [`accountRefreshInventory`](docs/sdks/account/README.md#refreshinventory) - Refresh inventory @@ -760,6 +764,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`analyticsGetTrend`](docs/sdks/analytics/README.md#gettrend) - Daily quantiles over a window for a metric in a scope - [`analyticsListMetrics`](docs/sdks/analytics/README.md#listmetrics) - List every analytics domain, metric, and scope the data-library can serve - [`analyticsTrackEvent`](docs/sdks/analytics/README.md#trackevent) - Track a frontend-only analytics event (profile view, search). Frontend API key + logged-in users only. +- [`appQueueUpdate`](docs/sdks/app/README.md#queueupdate) - Queue app update - [`appSearch`](docs/sdks/app/README.md#search) - Search apps - [`appsListBadges`](docs/sdks/apps/README.md#listbadges) - List app badges - [`badgePricingSearch`](docs/sdks/badgepricing/README.md#search) - Search the badge-pricing catalog @@ -772,6 +777,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`donationsClaim`](docs/sdks/donations/README.md#claim) - Claim a crypto donation by tx hash + signed message - [`donationsGetAddresses`](docs/sdks/donations/README.md#getaddresses) - Get the treasury addresses to send crypto donations to - [`donationsListSupportedCurrencies`](docs/sdks/donations/README.md#listsupportedcurrencies) - List cryptocurrencies accepted for donations (DB-backed; admin-managed) +- [`groupQueueUpdate`](docs/sdks/group/README.md#queueupdate) - Queue group update - [`groupSearch`](docs/sdks/group/README.md#search) - Search groups - [`itemFindOwners`](docs/sdks/item/README.md#findowners) - Find owners of one or more trading cards or booster packs. Friend paths from the requester are included for logged-in callers. - [`leaderboardGetAccount`](docs/sdks/leaderboard/README.md#getaccount) - Get account leaderboard diff --git a/RELEASES.md b/RELEASES.md index 5b56a0fd..2b7f9201 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1948,4 +1948,14 @@ Based on: ### Generated - [typescript v0.34.9] . ### Releases -- [NPM v0.34.9] https://www.npmjs.com/package/@steamsets/client-ts/v/0.34.9 - . \ No newline at end of file +- [NPM v0.34.9] https://www.npmjs.com/package/@steamsets/client-ts/v/0.34.9 - . + +## 2026-05-30 19:33:36 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.768.2 (2.889.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.35.0] . +### Releases +- [NPM v0.35.0] https://www.npmjs.com/package/@steamsets/client-ts/v/0.35.0 - . \ No newline at end of file diff --git a/docs/models/components/bucketleader.md b/docs/models/components/bucketleader.md index 0455a804..98d95db2 100644 --- a/docs/models/components/bucketleader.md +++ b/docs/models/components/bucketleader.md @@ -70,9 +70,9 @@ let value: BucketLeader = { vacBans: 122687, xp: 123456, }, - accountId: 76561198000000000, empty: false, from: 10, + open: false, rank: 312, score: 6342, to: 19, @@ -84,9 +84,9 @@ let value: BucketLeader = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | | `account` | [components.LeaderboardAccount](../../models/components/leaderboardaccount.md) | :heavy_minus_sign: | N/A | | -| `accountId` | *number* | :heavy_minus_sign: | N/A | 76561198000000000 | | `empty` | *boolean* | :heavy_check_mark: | No account in this bucket within the scope | false | | `from` | *number* | :heavy_check_mark: | Inclusive bucket lower bound in the leaderboard's native unit (level for xp, game count for apps) | 10 | +| `open` | *boolean* | :heavy_check_mark: | True when the bucket has no upper bound (e.g. the top apps tier); render as 'from+'. | false | | `rank` | *number* | :heavy_minus_sign: | N/A | 312 | | `score` | *number* | :heavy_minus_sign: | N/A | 6342 | -| `to` | *number* | :heavy_check_mark: | Inclusive bucket upper bound in the leaderboard's native unit | 19 | \ No newline at end of file +| `to` | *number* | :heavy_check_mark: | Inclusive bucket upper bound in the leaderboard's native unit. Ignore when open=true. | 19 | \ No newline at end of file diff --git a/docs/models/components/v1accountqueueinventoryrefreshrequestbody.md b/docs/models/components/v1accountqueueinventoryrefreshrequestbody.md new file mode 100644 index 00000000..bdde0e4c --- /dev/null +++ b/docs/models/components/v1accountqueueinventoryrefreshrequestbody.md @@ -0,0 +1,17 @@ +# V1AccountQueueInventoryRefreshRequestBody + +## Example Usage + +```typescript +import { V1AccountQueueInventoryRefreshRequestBody } from "@steamsets/client-ts/models/components"; + +let value: V1AccountQueueInventoryRefreshRequestBody = { + accountIds: null, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `accountIds` | *number*[] | :heavy_check_mark: | Account ids to refresh inventory for | \ No newline at end of file diff --git a/docs/models/components/v1appqueueupdaterequestbody.md b/docs/models/components/v1appqueueupdaterequestbody.md new file mode 100644 index 00000000..c7b655a6 --- /dev/null +++ b/docs/models/components/v1appqueueupdaterequestbody.md @@ -0,0 +1,21 @@ +# V1AppQueueUpdateRequestBody + +## Example Usage + +```typescript +import { V1AppQueueUpdateRequestBody } from "@steamsets/client-ts/models/components"; + +let value: V1AppQueueUpdateRequestBody = { + appIds: [ + 148441, + 833885, + 738852, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `appIds` | *number*[] | :heavy_check_mark: | App ids to requeue | \ No newline at end of file diff --git a/docs/models/components/v1groupqueueupdaterequestbody.md b/docs/models/components/v1groupqueueupdaterequestbody.md new file mode 100644 index 00000000..f2d62a91 --- /dev/null +++ b/docs/models/components/v1groupqueueupdaterequestbody.md @@ -0,0 +1,17 @@ +# V1GroupQueueUpdateRequestBody + +## Example Usage + +```typescript +import { V1GroupQueueUpdateRequestBody } from "@steamsets/client-ts/models/components"; + +let value: V1GroupQueueUpdateRequestBody = { + groupIds: [], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `groupIds` | *number*[] | :heavy_check_mark: | Group ids to requeue | \ No newline at end of file diff --git a/docs/models/operations/accountqueueinventoryrefreshresponse.md b/docs/models/operations/accountqueueinventoryrefreshresponse.md new file mode 100644 index 00000000..d0cb5cf0 --- /dev/null +++ b/docs/models/operations/accountqueueinventoryrefreshresponse.md @@ -0,0 +1,15 @@ +# AccountQueueInventoryRefreshResponse + +## Example Usage + +```typescript +import { AccountQueueInventoryRefreshResponse } from "@steamsets/client-ts/models/operations"; + +let value: AccountQueueInventoryRefreshResponse = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/appqueueupdateresponse.md b/docs/models/operations/appqueueupdateresponse.md new file mode 100644 index 00000000..fae9b46c --- /dev/null +++ b/docs/models/operations/appqueueupdateresponse.md @@ -0,0 +1,15 @@ +# AppQueueUpdateResponse + +## Example Usage + +```typescript +import { AppQueueUpdateResponse } from "@steamsets/client-ts/models/operations"; + +let value: AppQueueUpdateResponse = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/groupqueueupdateresponse.md b/docs/models/operations/groupqueueupdateresponse.md new file mode 100644 index 00000000..0a82d6c4 --- /dev/null +++ b/docs/models/operations/groupqueueupdateresponse.md @@ -0,0 +1,15 @@ +# GroupQueueUpdateResponse + +## Example Usage + +```typescript +import { GroupQueueUpdateResponse } from "@steamsets/client-ts/models/operations"; + +let value: GroupQueueUpdateResponse = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getbucketleadersresponse.md b/docs/models/operations/leaderboardgetbucketleadersresponse.md similarity index 86% rename from docs/models/operations/getbucketleadersresponse.md rename to docs/models/operations/leaderboardgetbucketleadersresponse.md index ed5fb1b7..469ab376 100644 --- a/docs/models/operations/getbucketleadersresponse.md +++ b/docs/models/operations/leaderboardgetbucketleadersresponse.md @@ -1,11 +1,11 @@ -# GetBucketLeadersResponse +# LeaderboardGetBucketLeadersResponse ## Example Usage ```typescript -import { GetBucketLeadersResponse } from "@steamsets/client-ts/models/operations"; +import { LeaderboardGetBucketLeadersResponse } from "@steamsets/client-ts/models/operations"; -let value: GetBucketLeadersResponse = {}; +let value: LeaderboardGetBucketLeadersResponse = {}; ``` ## Fields diff --git a/docs/sdks/account/README.md b/docs/sdks/account/README.md index 8ec774f5..601d654d 100644 --- a/docs/sdks/account/README.md +++ b/docs/sdks/account/README.md @@ -35,6 +35,7 @@ All Requests related to account(s) are grouped here. * [accountListOwnedGroups](#accountlistownedgroups) - List groups owned by account * [login](#login) - Login with Steam * [logout](#logout) - Logout from session +* [queueInventoryRefresh](#queueinventoryrefresh) - Queue inventory refresh * [queueUpdate](#queueupdate) - Queue account update * [reconnectConnection](#reconnectconnection) - Reconnect OAuth connection * [refreshInventory](#refreshinventory) - Refresh inventory @@ -2199,6 +2200,89 @@ run(); | errors.ErrorModel | 500 | application/problem+json | | errors.SDKError | 4XX, 5XX | \*/\* | +## queueInventoryRefresh + +Queue inventory refresh + +### Example Usage + + +```typescript +import { SteamSets } from "@steamsets/client-ts"; + +const steamSets = new SteamSets({ + token: "", +}); + +async function run() { + const result = await steamSets.account.queueInventoryRefresh({ + accountIds: [ + 783569, + 506104, + 211266, + ], + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { SteamSetsCore } from "@steamsets/client-ts/core.js"; +import { accountQueueInventoryRefresh } from "@steamsets/client-ts/funcs/accountQueueInventoryRefresh.js"; + +// Use `SteamSetsCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const steamSets = new SteamSetsCore({ + token: "", +}); + +async function run() { + const res = await accountQueueInventoryRefresh(steamSets, { + accountIds: [ + 783569, + 506104, + 211266, + ], + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("accountQueueInventoryRefresh failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [components.V1AccountQueueInventoryRefreshRequestBody](../../models/components/v1accountqueueinventoryrefreshrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.AccountQueueInventoryRefreshResponse](../../models/operations/accountqueueinventoryrefreshresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------ | ------------------------ | ------------------------ | +| errors.ErrorModel | 400, 401, 403, 422 | application/problem+json | +| errors.ErrorModel | 500 | application/problem+json | +| errors.SDKError | 4XX, 5XX | \*/\* | + ## queueUpdate Queue account update diff --git a/docs/sdks/app/README.md b/docs/sdks/app/README.md index e8bd5774..bdd44dd7 100644 --- a/docs/sdks/app/README.md +++ b/docs/sdks/app/README.md @@ -6,8 +6,84 @@ Steam app (game) metadata and badges. ### Available Operations +* [queueUpdate](#queueupdate) - Queue app update * [search](#search) - Search apps +## queueUpdate + +Queue app update + +### Example Usage + + +```typescript +import { SteamSets } from "@steamsets/client-ts"; + +const steamSets = new SteamSets({ + token: "", +}); + +async function run() { + const result = await steamSets.app.queueUpdate({ + appIds: [], + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { SteamSetsCore } from "@steamsets/client-ts/core.js"; +import { appQueueUpdate } from "@steamsets/client-ts/funcs/appQueueUpdate.js"; + +// Use `SteamSetsCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const steamSets = new SteamSetsCore({ + token: "", +}); + +async function run() { + const res = await appQueueUpdate(steamSets, { + appIds: [], + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("appQueueUpdate failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [components.V1AppQueueUpdateRequestBody](../../models/components/v1appqueueupdaterequestbody.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.AppQueueUpdateResponse](../../models/operations/appqueueupdateresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------ | ------------------------ | ------------------------ | +| errors.ErrorModel | 400, 401, 403, 422 | application/problem+json | +| errors.ErrorModel | 500 | application/problem+json | +| errors.SDKError | 4XX, 5XX | \*/\* | + ## search Search apps diff --git a/docs/sdks/group/README.md b/docs/sdks/group/README.md index e0f1b192..e562628d 100644 --- a/docs/sdks/group/README.md +++ b/docs/sdks/group/README.md @@ -4,8 +4,88 @@ ### Available Operations +* [queueUpdate](#queueupdate) - Queue group update * [search](#search) - Search groups +## queueUpdate + +Queue group update + +### Example Usage + + +```typescript +import { SteamSets } from "@steamsets/client-ts"; + +const steamSets = new SteamSets({ + token: "", +}); + +async function run() { + const result = await steamSets.group.queueUpdate({ + groupIds: [ + 148, + ], + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { SteamSetsCore } from "@steamsets/client-ts/core.js"; +import { groupQueueUpdate } from "@steamsets/client-ts/funcs/groupQueueUpdate.js"; + +// Use `SteamSetsCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const steamSets = new SteamSetsCore({ + token: "", +}); + +async function run() { + const res = await groupQueueUpdate(steamSets, { + groupIds: [ + 148, + ], + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("groupQueueUpdate failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [components.V1GroupQueueUpdateRequestBody](../../models/components/v1groupqueueupdaterequestbody.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.GroupQueueUpdateResponse](../../models/operations/groupqueueupdateresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------ | ------------------------ | ------------------------ | +| errors.ErrorModel | 400, 401, 403, 422 | application/problem+json | +| errors.ErrorModel | 500 | application/problem+json | +| errors.SDKError | 4XX, 5XX | \*/\* | + ## search Search groups diff --git a/docs/sdks/leaderboard/README.md b/docs/sdks/leaderboard/README.md index 6ff52da8..15787f69 100644 --- a/docs/sdks/leaderboard/README.md +++ b/docs/sdks/leaderboard/README.md @@ -227,7 +227,7 @@ Get the top account in each value bucket ### Example Usage - + ```typescript import { SteamSets } from "@steamsets/client-ts"; @@ -288,7 +288,7 @@ run(); ### Response -**Promise\<[operations.GetBucketLeadersResponse](../../models/operations/getbucketleadersresponse.md)\>** +**Promise\<[operations.LeaderboardGetBucketLeadersResponse](../../models/operations/leaderboardgetbucketleadersresponse.md)\>** ### Errors diff --git a/examples/package-lock.json b/examples/package-lock.json index ad2f2dba..5eebafdd 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,7 +18,7 @@ }, "..": { "name": "@steamsets/client-ts", - "version": "0.34.9", + "version": "0.35.0", "dependencies": { "zod": "^3.25.0 || ^4.0.0" }, diff --git a/jsr.json b/jsr.json index d06555be..b5dd3c12 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@steamsets/client-ts", - "version": "0.34.9", + "version": "0.35.0", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index b1027ce3..35dca050 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@steamsets/client-ts", - "version": "0.34.9", + "version": "0.35.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@steamsets/client-ts", - "version": "0.34.9", + "version": "0.35.0", "dependencies": { "zod": "^3.25.0 || ^4.0.0" }, diff --git a/package.json b/package.json index bdddf62f..7537eaa2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@steamsets/client-ts", - "version": "0.34.9", + "version": "0.35.0", "author": "Speakeasy", "main": "./index.js", "sideEffects": false, diff --git a/src/funcs/accountQueueInventoryRefresh.ts b/src/funcs/accountQueueInventoryRefresh.ts new file mode 100644 index 00000000..0b13d6dc --- /dev/null +++ b/src/funcs/accountQueueInventoryRefresh.ts @@ -0,0 +1,188 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { SteamSetsCore } from "../core.js"; +import { encodeJSON } from "../lib/encodings.js"; +import { matchStatusCode } from "../lib/http.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { + 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 { SteamSetsError } from "../models/errors/steamsetserror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Queue inventory refresh + */ +export function accountQueueInventoryRefresh( + client: SteamSetsCore, + request: components.V1AccountQueueInventoryRefreshRequestBody, + options?: RequestOptions, +): APIPromise< + Result< + operations.AccountQueueInventoryRefreshResponse, + | errors.ErrorModel + | SteamSetsError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: SteamSetsCore, + request: components.V1AccountQueueInventoryRefreshRequestBody, + options?: RequestOptions, +): Promise< + [ + Result< + operations.AccountQueueInventoryRefreshResponse, + | errors.ErrorModel + | SteamSetsError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + components.V1AccountQueueInventoryRefreshRequestBody$outboundSchema.parse( + value, + ), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload, { explode: true }); + + const path = pathToFunc("/v1/account.queueInventoryRefresh")(); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/problem+json", + })); + + const secConfig = await extractSecurity(client._options.token); + const securityInput = secConfig == null ? {} : { token: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "account.queueInventoryRefresh", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.token, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 500, + maxInterval: 5000, + exponent: 1.5, + maxElapsedTime: 60000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["501", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + uaHeader: "x-speakeasy-user-agent", + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + isErrorStatusCode: (statusCode: number) => + matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + operations.AccountQueueInventoryRefreshResponse, + | errors.ErrorModel + | SteamSetsError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(204, operations.AccountQueueInventoryRefreshResponse$inboundSchema), + M.jsonErr([400, 401, 403, 422], errors.ErrorModel$inboundSchema, { + ctype: "application/problem+json", + }), + M.jsonErr(500, errors.ErrorModel$inboundSchema, { + ctype: "application/problem+json", + }), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/appQueueUpdate.ts b/src/funcs/appQueueUpdate.ts new file mode 100644 index 00000000..ab85082e --- /dev/null +++ b/src/funcs/appQueueUpdate.ts @@ -0,0 +1,186 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { SteamSetsCore } from "../core.js"; +import { encodeJSON } from "../lib/encodings.js"; +import { matchStatusCode } from "../lib/http.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { + 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 { SteamSetsError } from "../models/errors/steamsetserror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Queue app update + */ +export function appQueueUpdate( + client: SteamSetsCore, + request: components.V1AppQueueUpdateRequestBody, + options?: RequestOptions, +): APIPromise< + Result< + operations.AppQueueUpdateResponse, + | errors.ErrorModel + | SteamSetsError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: SteamSetsCore, + request: components.V1AppQueueUpdateRequestBody, + options?: RequestOptions, +): Promise< + [ + Result< + operations.AppQueueUpdateResponse, + | errors.ErrorModel + | SteamSetsError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + components.V1AppQueueUpdateRequestBody$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload, { explode: true }); + + const path = pathToFunc("/v1/app.queueUpdate")(); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/problem+json", + })); + + const secConfig = await extractSecurity(client._options.token); + const securityInput = secConfig == null ? {} : { token: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "app.queueUpdate", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.token, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 500, + maxInterval: 5000, + exponent: 1.5, + maxElapsedTime: 60000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["501", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + uaHeader: "x-speakeasy-user-agent", + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + isErrorStatusCode: (statusCode: number) => + matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + operations.AppQueueUpdateResponse, + | errors.ErrorModel + | SteamSetsError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(204, operations.AppQueueUpdateResponse$inboundSchema), + M.jsonErr([400, 401, 403, 422], errors.ErrorModel$inboundSchema, { + ctype: "application/problem+json", + }), + M.jsonErr(500, errors.ErrorModel$inboundSchema, { + ctype: "application/problem+json", + }), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/groupQueueUpdate.ts b/src/funcs/groupQueueUpdate.ts new file mode 100644 index 00000000..0ede2176 --- /dev/null +++ b/src/funcs/groupQueueUpdate.ts @@ -0,0 +1,186 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { SteamSetsCore } from "../core.js"; +import { encodeJSON } from "../lib/encodings.js"; +import { matchStatusCode } from "../lib/http.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { + 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 { SteamSetsError } from "../models/errors/steamsetserror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Queue group update + */ +export function groupQueueUpdate( + client: SteamSetsCore, + request: components.V1GroupQueueUpdateRequestBody, + options?: RequestOptions, +): APIPromise< + Result< + operations.GroupQueueUpdateResponse, + | errors.ErrorModel + | SteamSetsError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: SteamSetsCore, + request: components.V1GroupQueueUpdateRequestBody, + options?: RequestOptions, +): Promise< + [ + Result< + operations.GroupQueueUpdateResponse, + | errors.ErrorModel + | SteamSetsError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + components.V1GroupQueueUpdateRequestBody$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload, { explode: true }); + + const path = pathToFunc("/v1/group.queueUpdate")(); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/problem+json", + })); + + const secConfig = await extractSecurity(client._options.token); + const securityInput = secConfig == null ? {} : { token: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "group.queueUpdate", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.token, + retryConfig: options?.retries + || client._options.retryConfig + || { + strategy: "backoff", + backoff: { + initialInterval: 500, + maxInterval: 5000, + exponent: 1.5, + maxElapsedTime: 60000, + }, + retryConnectionErrors: true, + } + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["501", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + uaHeader: "x-speakeasy-user-agent", + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + isErrorStatusCode: (statusCode: number) => + matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + operations.GroupQueueUpdateResponse, + | errors.ErrorModel + | SteamSetsError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(204, operations.GroupQueueUpdateResponse$inboundSchema), + M.jsonErr([400, 401, 403, 422], errors.ErrorModel$inboundSchema, { + ctype: "application/problem+json", + }), + M.jsonErr(500, errors.ErrorModel$inboundSchema, { + ctype: "application/problem+json", + }), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/leaderboardGetBucketLeaders.ts b/src/funcs/leaderboardGetBucketLeaders.ts index bd925049..e4055f7a 100644 --- a/src/funcs/leaderboardGetBucketLeaders.ts +++ b/src/funcs/leaderboardGetBucketLeaders.ts @@ -36,7 +36,7 @@ export function leaderboardGetBucketLeaders( options?: RequestOptions, ): APIPromise< Result< - operations.GetBucketLeadersResponse, + operations.LeaderboardGetBucketLeadersResponse, | errors.ErrorModel | SteamSetsError | ResponseValidationError @@ -62,7 +62,7 @@ async function $do( ): Promise< [ Result< - operations.GetBucketLeadersResponse, + operations.LeaderboardGetBucketLeadersResponse, | errors.ErrorModel | SteamSetsError | ResponseValidationError @@ -104,7 +104,7 @@ async function $do( const context = { options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "getBucketLeaders", + operationID: "leaderboard.getBucketLeaders", oAuth2Scopes: null, resolvedSecurity: requestSecurity, @@ -159,7 +159,7 @@ async function $do( }; const [result] = await M.match< - operations.GetBucketLeadersResponse, + operations.LeaderboardGetBucketLeadersResponse, | errors.ErrorModel | SteamSetsError | ResponseValidationError @@ -170,7 +170,7 @@ async function $do( | UnexpectedClientError | SDKValidationError >( - M.json(200, operations.GetBucketLeadersResponse$inboundSchema, { + M.json(200, operations.LeaderboardGetBucketLeadersResponse$inboundSchema, { key: "BucketLeaders", }), M.jsonErr([400, 401, 422], errors.ErrorModel$inboundSchema, { diff --git a/src/lib/config.ts b/src/lib/config.ts index 2acfb284..4af36ccb 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -59,8 +59,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "1.0.0", - sdkVersion: "0.34.9", - genVersion: "2.885.1", + sdkVersion: "0.35.0", + genVersion: "2.889.1", userAgent: - "speakeasy-sdk/typescript 0.34.9 2.885.1 1.0.0 @steamsets/client-ts", + "speakeasy-sdk/typescript 0.35.0 2.889.1 1.0.0 @steamsets/client-ts", } as const; diff --git a/src/models/components/bucketleader.ts b/src/models/components/bucketleader.ts index a763e5bf..c89a2383 100644 --- a/src/models/components/bucketleader.ts +++ b/src/models/components/bucketleader.ts @@ -13,7 +13,6 @@ import { export type BucketLeader = { account?: LeaderboardAccount | null | undefined; - accountId?: number | undefined; /** * No account in this bucket within the scope */ @@ -22,10 +21,14 @@ export type BucketLeader = { * Inclusive bucket lower bound in the leaderboard's native unit (level for xp, game count for apps) */ from: number; + /** + * True when the bucket has no upper bound (e.g. the top apps tier); render as 'from+'. + */ + open: boolean; rank?: number | undefined; score?: number | undefined; /** - * Inclusive bucket upper bound in the leaderboard's native unit + * Inclusive bucket upper bound in the leaderboard's native unit. Ignore when open=true. */ to: number; }; @@ -37,9 +40,9 @@ export const BucketLeader$inboundSchema: z.ZodType< unknown > = z.object({ account: z.nullable(LeaderboardAccount$inboundSchema).optional(), - accountId: z.number().int().optional(), empty: z.boolean(), from: z.number().int(), + open: z.boolean(), rank: z.number().int().optional(), score: z.number().int().optional(), to: z.number().int(), diff --git a/src/models/components/index.ts b/src/models/components/index.ts index 98471787..3d00a045 100644 --- a/src/models/components/index.ts +++ b/src/models/components/index.ts @@ -195,6 +195,7 @@ export * from "./v1accountlocationupdate.js"; export * from "./v1accountloginresponsebody.js"; export * from "./v1accountnameupdate.js"; export * from "./v1accountplaytimedatapoint.js"; +export * from "./v1accountqueueinventoryrefreshrequestbody.js"; export * from "./v1accountqueueupdaterequestbody.js"; export * from "./v1accountreconnectrequestbody.js"; export * from "./v1accountreconnectresponsebody.js"; @@ -255,6 +256,7 @@ export * from "./v1appfilters.js"; export * from "./v1applistbadgesrequestbody.js"; export * from "./v1applistbadgesresponsebody.js"; export * from "./v1apporder.js"; +export * from "./v1appqueueupdaterequestbody.js"; export * from "./v1badgefilters.js"; export * from "./v1badgelisttagsresponsebody.js"; export * from "./v1badgeorder.js"; @@ -269,6 +271,7 @@ export * from "./v1donationsclaimresponsebody.js"; export * from "./v1donationsgetaddressesresponsebody.js"; export * from "./v1donationslistcurrenciesresponsebody.js"; export * from "./v1groupleaderboardgroup.js"; +export * from "./v1groupqueueupdaterequestbody.js"; export * from "./v1leaderboardappinfo.js"; export * from "./v1leaderboardbadge.js"; export * from "./v1leaderboardbadgeinfo.js"; diff --git a/src/models/components/v1accountqueueinventoryrefreshrequestbody.ts b/src/models/components/v1accountqueueinventoryrefreshrequestbody.ts new file mode 100644 index 00000000..4e179349 --- /dev/null +++ b/src/models/components/v1accountqueueinventoryrefreshrequestbody.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +export type V1AccountQueueInventoryRefreshRequestBody = { + /** + * Account ids to refresh inventory for + */ + accountIds: Array | null; +}; + +/** @internal */ +export type V1AccountQueueInventoryRefreshRequestBody$Outbound = { + accountIds: Array | null; +}; + +/** @internal */ +export const V1AccountQueueInventoryRefreshRequestBody$outboundSchema: + z.ZodType< + V1AccountQueueInventoryRefreshRequestBody$Outbound, + z.ZodTypeDef, + V1AccountQueueInventoryRefreshRequestBody + > = z.object({ + accountIds: z.nullable(z.array(z.number().int())), + }); + +export function v1AccountQueueInventoryRefreshRequestBodyToJSON( + v1AccountQueueInventoryRefreshRequestBody: + V1AccountQueueInventoryRefreshRequestBody, +): string { + return JSON.stringify( + V1AccountQueueInventoryRefreshRequestBody$outboundSchema.parse( + v1AccountQueueInventoryRefreshRequestBody, + ), + ); +} diff --git a/src/models/components/v1appqueueupdaterequestbody.ts b/src/models/components/v1appqueueupdaterequestbody.ts new file mode 100644 index 00000000..78a57fb0 --- /dev/null +++ b/src/models/components/v1appqueueupdaterequestbody.ts @@ -0,0 +1,36 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +export type V1AppQueueUpdateRequestBody = { + /** + * App ids to requeue + */ + appIds: Array | null; +}; + +/** @internal */ +export type V1AppQueueUpdateRequestBody$Outbound = { + appIds: Array | null; +}; + +/** @internal */ +export const V1AppQueueUpdateRequestBody$outboundSchema: z.ZodType< + V1AppQueueUpdateRequestBody$Outbound, + z.ZodTypeDef, + V1AppQueueUpdateRequestBody +> = z.object({ + appIds: z.nullable(z.array(z.number().int())), +}); + +export function v1AppQueueUpdateRequestBodyToJSON( + v1AppQueueUpdateRequestBody: V1AppQueueUpdateRequestBody, +): string { + return JSON.stringify( + V1AppQueueUpdateRequestBody$outboundSchema.parse( + v1AppQueueUpdateRequestBody, + ), + ); +} diff --git a/src/models/components/v1groupqueueupdaterequestbody.ts b/src/models/components/v1groupqueueupdaterequestbody.ts new file mode 100644 index 00000000..95251bb9 --- /dev/null +++ b/src/models/components/v1groupqueueupdaterequestbody.ts @@ -0,0 +1,36 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; + +export type V1GroupQueueUpdateRequestBody = { + /** + * Group ids to requeue + */ + groupIds: Array | null; +}; + +/** @internal */ +export type V1GroupQueueUpdateRequestBody$Outbound = { + groupIds: Array | null; +}; + +/** @internal */ +export const V1GroupQueueUpdateRequestBody$outboundSchema: z.ZodType< + V1GroupQueueUpdateRequestBody$Outbound, + z.ZodTypeDef, + V1GroupQueueUpdateRequestBody +> = z.object({ + groupIds: z.nullable(z.array(z.number().int())), +}); + +export function v1GroupQueueUpdateRequestBodyToJSON( + v1GroupQueueUpdateRequestBody: V1GroupQueueUpdateRequestBody, +): string { + return JSON.stringify( + V1GroupQueueUpdateRequestBody$outboundSchema.parse( + v1GroupQueueUpdateRequestBody, + ), + ); +} diff --git a/src/models/operations/accountqueueinventoryrefresh.ts b/src/models/operations/accountqueueinventoryrefresh.ts new file mode 100644 index 00000000..d6f0ff3e --- /dev/null +++ b/src/models/operations/accountqueueinventoryrefresh.ts @@ -0,0 +1,38 @@ +/* + * 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 { 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 AccountQueueInventoryRefreshResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export const AccountQueueInventoryRefreshResponse$inboundSchema: z.ZodType< + AccountQueueInventoryRefreshResponse, + z.ZodTypeDef, + unknown +> = z.object({ + HttpMeta: components.HTTPMetadata$inboundSchema, +}).transform((v) => { + return remap$(v, { + "HttpMeta": "httpMeta", + }); +}); + +export function accountQueueInventoryRefreshResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + AccountQueueInventoryRefreshResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AccountQueueInventoryRefreshResponse' from JSON`, + ); +} diff --git a/src/models/operations/appqueueupdate.ts b/src/models/operations/appqueueupdate.ts new file mode 100644 index 00000000..9a3a696e --- /dev/null +++ b/src/models/operations/appqueueupdate.ts @@ -0,0 +1,37 @@ +/* + * 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 { 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 AppQueueUpdateResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export const AppQueueUpdateResponse$inboundSchema: z.ZodType< + AppQueueUpdateResponse, + z.ZodTypeDef, + unknown +> = z.object({ + HttpMeta: components.HTTPMetadata$inboundSchema, +}).transform((v) => { + return remap$(v, { + "HttpMeta": "httpMeta", + }); +}); + +export function appQueueUpdateResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AppQueueUpdateResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AppQueueUpdateResponse' from JSON`, + ); +} diff --git a/src/models/operations/groupqueueupdate.ts b/src/models/operations/groupqueueupdate.ts new file mode 100644 index 00000000..e28f3927 --- /dev/null +++ b/src/models/operations/groupqueueupdate.ts @@ -0,0 +1,37 @@ +/* + * 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 { 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 GroupQueueUpdateResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export const GroupQueueUpdateResponse$inboundSchema: z.ZodType< + GroupQueueUpdateResponse, + z.ZodTypeDef, + unknown +> = z.object({ + HttpMeta: components.HTTPMetadata$inboundSchema, +}).transform((v) => { + return remap$(v, { + "HttpMeta": "httpMeta", + }); +}); + +export function groupQueueUpdateResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GroupQueueUpdateResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GroupQueueUpdateResponse' from JSON`, + ); +} diff --git a/src/models/operations/index.ts b/src/models/operations/index.ts index e73f5530..22b74e73 100644 --- a/src/models/operations/index.ts +++ b/src/models/operations/index.ts @@ -29,6 +29,7 @@ export * from "./accountlistownedbadges.js"; export * from "./accountlistownedgroups.js"; export * from "./accountlogin.js"; export * from "./accountlogout.js"; +export * from "./accountqueueinventoryrefresh.js"; export * from "./accountqueueupdate.js"; export * from "./accountreconnectconnection.js"; export * from "./accountrefreshinventory.js"; @@ -67,6 +68,7 @@ export * from "./analyticsgetmypercentiles.js"; export * from "./analyticsgettrend.js"; export * from "./analyticslistmetrics.js"; export * from "./applistbadges.js"; +export * from "./appqueueupdate.js"; export * from "./appsearch.js"; export * from "./badgelisttags.js"; export * from "./badgepricingsearch.js"; @@ -89,13 +91,14 @@ export * from "./comparebadges.js"; export * from "./donationsclaim.js"; export * from "./donationsgetaddresses.js"; export * from "./donationslistsupportedcurrencies.js"; -export * from "./getbucketleaders.js"; export * from "./getchanges.js"; export * from "./getviewstats.js"; +export * from "./groupqueueupdate.js"; export * from "./groupsearch.js"; export * from "./itemfindowners.js"; export * from "./leaderboardgetaccountleaderboard.js"; export * from "./leaderboardgetaccountsmeta.js"; +export * from "./leaderboardgetbucketleaders.js"; export * from "./leaderboardgetgroupleaderboard.js"; export * from "./leaderboardgetgroupsmeta.js"; export * from "./leaderboardgetlowestranks.js"; diff --git a/src/models/operations/getbucketleaders.ts b/src/models/operations/leaderboardgetbucketleaders.ts similarity index 66% rename from src/models/operations/getbucketleaders.ts rename to src/models/operations/leaderboardgetbucketleaders.ts index 53d24d38..7da8f527 100644 --- a/src/models/operations/getbucketleaders.ts +++ b/src/models/operations/leaderboardgetbucketleaders.ts @@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -export type GetBucketLeadersResponse = { +export type LeaderboardGetBucketLeadersResponse = { httpMeta: components.HTTPMetadata; /** * OK @@ -18,8 +18,8 @@ export type GetBucketLeadersResponse = { }; /** @internal */ -export const GetBucketLeadersResponse$inboundSchema: z.ZodType< - GetBucketLeadersResponse, +export const LeaderboardGetBucketLeadersResponse$inboundSchema: z.ZodType< + LeaderboardGetBucketLeadersResponse, z.ZodTypeDef, unknown > = z.object({ @@ -33,12 +33,13 @@ export const GetBucketLeadersResponse$inboundSchema: z.ZodType< }); }); -export function getBucketLeadersResponseFromJSON( +export function leaderboardGetBucketLeadersResponseFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => GetBucketLeadersResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetBucketLeadersResponse' from JSON`, + (x) => + LeaderboardGetBucketLeadersResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LeaderboardGetBucketLeadersResponse' from JSON`, ); } diff --git a/src/sdk/account.ts b/src/sdk/account.ts index fcf00e35..b44a70fb 100644 --- a/src/sdk/account.ts +++ b/src/sdk/account.ts @@ -31,6 +31,7 @@ import { accountListLeaderboardHistory } from "../funcs/accountListLeaderboardHi import { accountListOwnedBadges } from "../funcs/accountListOwnedBadges.js"; import { accountLogin } from "../funcs/accountLogin.js"; import { accountLogout } from "../funcs/accountLogout.js"; +import { accountQueueInventoryRefresh } from "../funcs/accountQueueInventoryRefresh.js"; import { accountQueueUpdate } from "../funcs/accountQueueUpdate.js"; import { accountReconnectConnection } from "../funcs/accountReconnectConnection.js"; import { accountRefreshInventory } from "../funcs/accountRefreshInventory.js"; @@ -449,6 +450,20 @@ export class Account extends ClientSDK { )); } + /** + * Queue inventory refresh + */ + async queueInventoryRefresh( + request: components.V1AccountQueueInventoryRefreshRequestBody, + options?: RequestOptions, + ): Promise { + return unwrapAsync(accountQueueInventoryRefresh( + this, + request, + options, + )); + } + /** * Queue account update */ diff --git a/src/sdk/app.ts b/src/sdk/app.ts index 74a15df3..d3a5113e 100644 --- a/src/sdk/app.ts +++ b/src/sdk/app.ts @@ -2,12 +2,28 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ +import { appQueueUpdate } from "../funcs/appQueueUpdate.js"; import { appSearch } from "../funcs/appSearch.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class App extends ClientSDK { + /** + * Queue app update + */ + async queueUpdate( + request: components.V1AppQueueUpdateRequestBody, + options?: RequestOptions, + ): Promise { + return unwrapAsync(appQueueUpdate( + this, + request, + options, + )); + } + /** * Search apps */ diff --git a/src/sdk/group.ts b/src/sdk/group.ts index a9f8f3dd..26c0af2d 100644 --- a/src/sdk/group.ts +++ b/src/sdk/group.ts @@ -2,12 +2,28 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ +import { groupQueueUpdate } from "../funcs/groupQueueUpdate.js"; import { groupSearch } from "../funcs/groupSearch.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Group extends ClientSDK { + /** + * Queue group update + */ + async queueUpdate( + request: components.V1GroupQueueUpdateRequestBody, + options?: RequestOptions, + ): Promise { + return unwrapAsync(groupQueueUpdate( + this, + request, + options, + )); + } + /** * Search groups */ diff --git a/src/sdk/leaderboard.ts b/src/sdk/leaderboard.ts index f54c54c3..87f0fc39 100644 --- a/src/sdk/leaderboard.ts +++ b/src/sdk/leaderboard.ts @@ -50,7 +50,7 @@ export class Leaderboard extends ClientSDK { async getBucketLeaders( request: components.V1LeaderboardGetBucketLeadersRequestBody, options?: RequestOptions, - ): Promise { + ): Promise { return unwrapAsync(leaderboardGetBucketLeaders( this, request, From ed6641e062d2e03be4c03454744068e29b7ecf3d Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Sat, 30 May 2026 19:34:57 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow