@steamsets/client-ts 0.17.6 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -4
- package/docs/sdks/app/README.md +84 -0
- package/docs/sdks/badge/README.md +77 -0
- package/docs/sdks/badges/README.md +4 -4
- package/docs/sdks/external/README.md +77 -0
- package/funcs/accountAccountV1GetMeta.d.ts +2 -1
- package/funcs/accountAccountV1GetMeta.d.ts.map +1 -1
- package/funcs/accountAccountV1GetMeta.js +10 -6
- package/funcs/accountAccountV1GetMeta.js.map +1 -1
- package/funcs/accountCreateDeveloperApp.d.ts +2 -1
- package/funcs/accountCreateDeveloperApp.d.ts.map +1 -1
- package/funcs/accountCreateDeveloperApp.js +10 -6
- package/funcs/accountCreateDeveloperApp.js.map +1 -1
- package/funcs/accountDeleteDeveloperApp.d.ts +2 -1
- package/funcs/accountDeleteDeveloperApp.d.ts.map +1 -1
- package/funcs/accountDeleteDeveloperApp.js +10 -6
- package/funcs/accountDeleteDeveloperApp.js.map +1 -1
- package/funcs/accountDeleteImages.d.ts +2 -1
- package/funcs/accountDeleteImages.d.ts.map +1 -1
- package/funcs/accountDeleteImages.js +10 -6
- package/funcs/accountDeleteImages.js.map +1 -1
- package/funcs/accountGetAccount.d.ts +2 -1
- package/funcs/accountGetAccount.d.ts.map +1 -1
- package/funcs/accountGetAccount.js +10 -6
- package/funcs/accountGetAccount.js.map +1 -1
- package/funcs/accountGetApps.d.ts +2 -1
- package/funcs/accountGetApps.d.ts.map +1 -1
- package/funcs/accountGetApps.js +10 -6
- package/funcs/accountGetApps.js.map +1 -1
- package/funcs/accountGetBadges.d.ts +2 -1
- package/funcs/accountGetBadges.d.ts.map +1 -1
- package/funcs/accountGetBadges.js +10 -6
- package/funcs/accountGetBadges.js.map +1 -1
- package/funcs/accountGetDataPoints.d.ts +2 -1
- package/funcs/accountGetDataPoints.d.ts.map +1 -1
- package/funcs/accountGetDataPoints.js +10 -6
- package/funcs/accountGetDataPoints.js.map +1 -1
- package/funcs/accountGetFriends.d.ts +2 -1
- package/funcs/accountGetFriends.d.ts.map +1 -1
- package/funcs/accountGetFriends.js +10 -6
- package/funcs/accountGetFriends.js.map +1 -1
- package/funcs/accountGetInfo.d.ts +2 -1
- package/funcs/accountGetInfo.d.ts.map +1 -1
- package/funcs/accountGetInfo.js +10 -6
- package/funcs/accountGetInfo.js.map +1 -1
- package/funcs/accountGetLeaderboardHistory.d.ts +2 -1
- package/funcs/accountGetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/accountGetLeaderboardHistory.js +10 -6
- package/funcs/accountGetLeaderboardHistory.js.map +1 -1
- package/funcs/accountGetStaff.d.ts +2 -1
- package/funcs/accountGetStaff.d.ts.map +1 -1
- package/funcs/accountGetStaff.js +9 -5
- package/funcs/accountGetStaff.js.map +1 -1
- package/funcs/accountLeaderboardV1GetAccountMeta.d.ts +2 -1
- package/funcs/accountLeaderboardV1GetAccountMeta.d.ts.map +1 -1
- package/funcs/accountLeaderboardV1GetAccountMeta.js +10 -6
- package/funcs/accountLeaderboardV1GetAccountMeta.js.map +1 -1
- package/funcs/accountUpdateApp.d.ts +2 -1
- package/funcs/accountUpdateApp.d.ts.map +1 -1
- package/funcs/accountUpdateApp.js +10 -6
- package/funcs/accountUpdateApp.js.map +1 -1
- package/funcs/accountUploadImages.d.ts +2 -1
- package/funcs/accountUploadImages.d.ts.map +1 -1
- package/funcs/accountUploadImages.js +10 -6
- package/funcs/accountUploadImages.js.map +1 -1
- package/funcs/accountsQueue.d.ts +2 -1
- package/funcs/accountsQueue.d.ts.map +1 -1
- package/funcs/accountsQueue.js +10 -6
- package/funcs/accountsQueue.js.map +1 -1
- package/funcs/adminGetAccount.d.ts +2 -1
- package/funcs/adminGetAccount.d.ts.map +1 -1
- package/funcs/adminGetAccount.js +10 -6
- package/funcs/adminGetAccount.js.map +1 -1
- package/funcs/adminUpdateResources.d.ts +2 -1
- package/funcs/adminUpdateResources.d.ts.map +1 -1
- package/funcs/adminUpdateResources.js +10 -6
- package/funcs/adminUpdateResources.js.map +1 -1
- package/funcs/adminUpdateRoles.d.ts +2 -1
- package/funcs/adminUpdateRoles.d.ts.map +1 -1
- package/funcs/adminUpdateRoles.js +10 -6
- package/funcs/adminUpdateRoles.js.map +1 -1
- package/funcs/appAppV1ListBadges.d.ts +12 -0
- package/funcs/appAppV1ListBadges.d.ts.map +1 -0
- package/funcs/appAppV1ListBadges.js +118 -0
- package/funcs/appAppV1ListBadges.js.map +1 -0
- package/funcs/badgeAppV1ListBadges.d.ts +12 -0
- package/funcs/badgeAppV1ListBadges.d.ts.map +1 -0
- package/funcs/badgeAppV1ListBadges.js +118 -0
- package/funcs/badgeAppV1ListBadges.js.map +1 -0
- package/funcs/badgeGetTags.d.ts +2 -1
- package/funcs/badgeGetTags.d.ts.map +1 -1
- package/funcs/badgeGetTags.js +9 -5
- package/funcs/badgeGetTags.js.map +1 -1
- package/funcs/badgesBookmark.d.ts +2 -1
- package/funcs/badgesBookmark.d.ts.map +1 -1
- package/funcs/badgesBookmark.js +10 -6
- package/funcs/badgesBookmark.js.map +1 -1
- package/funcs/badgesGetBookmarks.d.ts +2 -1
- package/funcs/badgesGetBookmarks.d.ts.map +1 -1
- package/funcs/badgesGetBookmarks.js +9 -5
- package/funcs/badgesGetBookmarks.js.map +1 -1
- package/funcs/badgesGetOwned.d.ts +2 -1
- package/funcs/badgesGetOwned.d.ts.map +1 -1
- package/funcs/badgesGetOwned.js +9 -5
- package/funcs/badgesGetOwned.js.map +1 -1
- package/funcs/badgesSearch.d.ts +2 -1
- package/funcs/badgesSearch.d.ts.map +1 -1
- package/funcs/badgesSearch.js +10 -6
- package/funcs/badgesSearch.js.map +1 -1
- package/funcs/badgesTag.d.ts +2 -1
- package/funcs/badgesTag.d.ts.map +1 -1
- package/funcs/badgesTag.js +10 -6
- package/funcs/badgesTag.js.map +1 -1
- package/funcs/connectionDelete.d.ts +2 -1
- package/funcs/connectionDelete.d.ts.map +1 -1
- package/funcs/connectionDelete.js +10 -6
- package/funcs/connectionDelete.js.map +1 -1
- package/funcs/connectionReconnect.d.ts +2 -1
- package/funcs/connectionReconnect.d.ts.map +1 -1
- package/funcs/connectionReconnect.js +10 -6
- package/funcs/connectionReconnect.js.map +1 -1
- package/funcs/connectionUpdate.d.ts +2 -1
- package/funcs/connectionUpdate.d.ts.map +1 -1
- package/funcs/connectionUpdate.js +10 -6
- package/funcs/connectionUpdate.js.map +1 -1
- package/funcs/connectionVerify.d.ts +2 -1
- package/funcs/connectionVerify.d.ts.map +1 -1
- package/funcs/connectionVerify.js +10 -6
- package/funcs/connectionVerify.js.map +1 -1
- package/funcs/connectionsConnect.d.ts +2 -1
- package/funcs/connectionsConnect.d.ts.map +1 -1
- package/funcs/connectionsConnect.js +10 -6
- package/funcs/connectionsConnect.js.map +1 -1
- package/funcs/dataAccountV1GetMeta.d.ts +2 -1
- package/funcs/dataAccountV1GetMeta.d.ts.map +1 -1
- package/funcs/dataAccountV1GetMeta.js +10 -6
- package/funcs/dataAccountV1GetMeta.js.map +1 -1
- package/funcs/dataGetApps.d.ts +2 -1
- package/funcs/dataGetApps.d.ts.map +1 -1
- package/funcs/dataGetApps.js +10 -6
- package/funcs/dataGetApps.js.map +1 -1
- package/funcs/dataGetBadges.d.ts +2 -1
- package/funcs/dataGetBadges.d.ts.map +1 -1
- package/funcs/dataGetBadges.js +10 -6
- package/funcs/dataGetBadges.js.map +1 -1
- package/funcs/dataGetDataPoints.d.ts +2 -1
- package/funcs/dataGetDataPoints.d.ts.map +1 -1
- package/funcs/dataGetDataPoints.js +10 -6
- package/funcs/dataGetDataPoints.js.map +1 -1
- package/funcs/dataGetFriends.d.ts +2 -1
- package/funcs/dataGetFriends.d.ts.map +1 -1
- package/funcs/dataGetFriends.js +10 -6
- package/funcs/dataGetFriends.js.map +1 -1
- package/funcs/dataGetInfo.d.ts +2 -1
- package/funcs/dataGetInfo.d.ts.map +1 -1
- package/funcs/dataGetInfo.js +10 -6
- package/funcs/dataGetInfo.js.map +1 -1
- package/funcs/dataGetLeaderboardHistory.d.ts +2 -1
- package/funcs/dataGetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/dataGetLeaderboardHistory.js +10 -6
- package/funcs/dataGetLeaderboardHistory.js.map +1 -1
- package/funcs/developerCreateDeveloperApp.d.ts +2 -1
- package/funcs/developerCreateDeveloperApp.d.ts.map +1 -1
- package/funcs/developerCreateDeveloperApp.js +10 -6
- package/funcs/developerCreateDeveloperApp.js.map +1 -1
- package/funcs/developerDeleteDeveloperApp.d.ts +2 -1
- package/funcs/developerDeleteDeveloperApp.d.ts.map +1 -1
- package/funcs/developerDeleteDeveloperApp.js +10 -6
- package/funcs/developerDeleteDeveloperApp.js.map +1 -1
- package/funcs/developerUpdateApp.d.ts +2 -1
- package/funcs/developerUpdateApp.d.ts.map +1 -1
- package/funcs/developerUpdateApp.js +10 -6
- package/funcs/developerUpdateApp.js.map +1 -1
- package/funcs/eventsGet.d.ts +2 -1
- package/funcs/eventsGet.d.ts.map +1 -1
- package/funcs/eventsGet.js +9 -5
- package/funcs/eventsGet.js.map +1 -1
- package/funcs/eventsUpdate.d.ts +2 -1
- package/funcs/eventsUpdate.d.ts.map +1 -1
- package/funcs/eventsUpdate.js +10 -6
- package/funcs/eventsUpdate.js.map +1 -1
- package/funcs/externalAppV1ListBadges.d.ts +12 -0
- package/funcs/externalAppV1ListBadges.d.ts.map +1 -0
- package/funcs/externalAppV1ListBadges.js +118 -0
- package/funcs/externalAppV1ListBadges.js.map +1 -0
- package/funcs/externalGet.d.ts +2 -1
- package/funcs/externalGet.d.ts.map +1 -1
- package/funcs/externalGet.js +9 -5
- package/funcs/externalGet.js.map +1 -1
- package/funcs/externalGetApps.d.ts +2 -1
- package/funcs/externalGetApps.d.ts.map +1 -1
- package/funcs/externalGetApps.js +10 -6
- package/funcs/externalGetApps.js.map +1 -1
- package/funcs/externalGetBadges.d.ts +2 -1
- package/funcs/externalGetBadges.d.ts.map +1 -1
- package/funcs/externalGetBadges.js +10 -6
- package/funcs/externalGetBadges.js.map +1 -1
- package/funcs/externalGetDataPoints.d.ts +2 -1
- package/funcs/externalGetDataPoints.d.ts.map +1 -1
- package/funcs/externalGetDataPoints.js +10 -6
- package/funcs/externalGetDataPoints.js.map +1 -1
- package/funcs/externalGetFriends.d.ts +2 -1
- package/funcs/externalGetFriends.d.ts.map +1 -1
- package/funcs/externalGetFriends.js +10 -6
- package/funcs/externalGetFriends.js.map +1 -1
- package/funcs/externalGetInfo.d.ts +2 -1
- package/funcs/externalGetInfo.d.ts.map +1 -1
- package/funcs/externalGetInfo.js +10 -6
- package/funcs/externalGetInfo.js.map +1 -1
- package/funcs/externalGetLeaderboardHistory.d.ts +2 -1
- package/funcs/externalGetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/externalGetLeaderboardHistory.js +10 -6
- package/funcs/externalGetLeaderboardHistory.js.map +1 -1
- package/funcs/imagesDeleteImages.d.ts +2 -1
- package/funcs/imagesDeleteImages.d.ts.map +1 -1
- package/funcs/imagesDeleteImages.js +10 -6
- package/funcs/imagesDeleteImages.js.map +1 -1
- package/funcs/imagesGet.d.ts +2 -1
- package/funcs/imagesGet.d.ts.map +1 -1
- package/funcs/imagesGet.js +9 -5
- package/funcs/imagesGet.js.map +1 -1
- package/funcs/imagesUpdate.d.ts +2 -1
- package/funcs/imagesUpdate.d.ts.map +1 -1
- package/funcs/imagesUpdate.js +10 -6
- package/funcs/imagesUpdate.js.map +1 -1
- package/funcs/imagesUploadImages.d.ts +2 -1
- package/funcs/imagesUploadImages.d.ts.map +1 -1
- package/funcs/imagesUploadImages.js +10 -6
- package/funcs/imagesUploadImages.js.map +1 -1
- package/funcs/internalAccountV1GetMeta.d.ts +2 -1
- package/funcs/internalAccountV1GetMeta.d.ts.map +1 -1
- package/funcs/internalAccountV1GetMeta.js +10 -6
- package/funcs/internalAccountV1GetMeta.js.map +1 -1
- package/funcs/internalCheck.d.ts +2 -1
- package/funcs/internalCheck.d.ts.map +1 -1
- package/funcs/internalCheck.js +9 -5
- package/funcs/internalCheck.js.map +1 -1
- package/funcs/internalCreateDeveloperApp.d.ts +2 -1
- package/funcs/internalCreateDeveloperApp.d.ts.map +1 -1
- package/funcs/internalCreateDeveloperApp.js +10 -6
- package/funcs/internalCreateDeveloperApp.js.map +1 -1
- package/funcs/internalDeleteDeveloperApp.d.ts +2 -1
- package/funcs/internalDeleteDeveloperApp.d.ts.map +1 -1
- package/funcs/internalDeleteDeveloperApp.js +10 -6
- package/funcs/internalDeleteDeveloperApp.js.map +1 -1
- package/funcs/internalDeleteImages.d.ts +2 -1
- package/funcs/internalDeleteImages.d.ts.map +1 -1
- package/funcs/internalDeleteImages.js +10 -6
- package/funcs/internalDeleteImages.js.map +1 -1
- package/funcs/internalGetAccount.d.ts +2 -1
- package/funcs/internalGetAccount.d.ts.map +1 -1
- package/funcs/internalGetAccount.js +10 -6
- package/funcs/internalGetAccount.js.map +1 -1
- package/funcs/internalGetStaff.d.ts +2 -1
- package/funcs/internalGetStaff.d.ts.map +1 -1
- package/funcs/internalGetStaff.js +9 -5
- package/funcs/internalGetStaff.js.map +1 -1
- package/funcs/internalGetTags.d.ts +2 -1
- package/funcs/internalGetTags.d.ts.map +1 -1
- package/funcs/internalGetTags.js +9 -5
- package/funcs/internalGetTags.js.map +1 -1
- package/funcs/internalLeaderboardV1GetAccountMeta.d.ts +2 -1
- package/funcs/internalLeaderboardV1GetAccountMeta.d.ts.map +1 -1
- package/funcs/internalLeaderboardV1GetAccountMeta.js +10 -6
- package/funcs/internalLeaderboardV1GetAccountMeta.js.map +1 -1
- package/funcs/internalUpdateApp.d.ts +2 -1
- package/funcs/internalUpdateApp.d.ts.map +1 -1
- package/funcs/internalUpdateApp.js +10 -6
- package/funcs/internalUpdateApp.js.map +1 -1
- package/funcs/internalUploadImages.d.ts +2 -1
- package/funcs/internalUploadImages.d.ts.map +1 -1
- package/funcs/internalUploadImages.js +10 -6
- package/funcs/internalUploadImages.js.map +1 -1
- package/funcs/leaderboardGetAccount.d.ts +2 -1
- package/funcs/leaderboardGetAccount.d.ts.map +1 -1
- package/funcs/leaderboardGetAccount.js +10 -6
- package/funcs/leaderboardGetAccount.js.map +1 -1
- package/funcs/leaderboardGetBadges.d.ts +2 -1
- package/funcs/leaderboardGetBadges.d.ts.map +1 -1
- package/funcs/leaderboardGetBadges.js +9 -5
- package/funcs/leaderboardGetBadges.js.map +1 -1
- package/funcs/leaderboardGetGroup.d.ts +2 -1
- package/funcs/leaderboardGetGroup.d.ts.map +1 -1
- package/funcs/leaderboardGetGroup.js +10 -6
- package/funcs/leaderboardGetGroup.js.map +1 -1
- package/funcs/leaderboardLeaderboardV1GetAccountMeta.d.ts +2 -1
- package/funcs/leaderboardLeaderboardV1GetAccountMeta.d.ts.map +1 -1
- package/funcs/leaderboardLeaderboardV1GetAccountMeta.js +10 -6
- package/funcs/leaderboardLeaderboardV1GetAccountMeta.js.map +1 -1
- package/funcs/livenessCheck.d.ts +2 -1
- package/funcs/livenessCheck.d.ts.map +1 -1
- package/funcs/livenessCheck.js +9 -5
- package/funcs/livenessCheck.js.map +1 -1
- package/funcs/locationsGet.d.ts +2 -1
- package/funcs/locationsGet.d.ts.map +1 -1
- package/funcs/locationsGet.js +9 -5
- package/funcs/locationsGet.js.map +1 -1
- package/funcs/sessionCreate.d.ts +2 -1
- package/funcs/sessionCreate.d.ts.map +1 -1
- package/funcs/sessionCreate.js +10 -6
- package/funcs/sessionCreate.js.map +1 -1
- package/funcs/sessionLogin.d.ts +2 -1
- package/funcs/sessionLogin.d.ts.map +1 -1
- package/funcs/sessionLogin.js +10 -6
- package/funcs/sessionLogin.js.map +1 -1
- package/funcs/sessionsDelete.d.ts +2 -1
- package/funcs/sessionsDelete.d.ts.map +1 -1
- package/funcs/sessionsDelete.js +10 -6
- package/funcs/sessionsDelete.js.map +1 -1
- package/funcs/sessionsGet.d.ts +2 -1
- package/funcs/sessionsGet.d.ts.map +1 -1
- package/funcs/sessionsGet.js +9 -5
- package/funcs/sessionsGet.js.map +1 -1
- package/funcs/settingsGet.d.ts +2 -1
- package/funcs/settingsGet.d.ts.map +1 -1
- package/funcs/settingsGet.js +9 -5
- package/funcs/settingsGet.js.map +1 -1
- package/funcs/settingsSendVerification.d.ts +2 -1
- package/funcs/settingsSendVerification.d.ts.map +1 -1
- package/funcs/settingsSendVerification.js +10 -6
- package/funcs/settingsSendVerification.js.map +1 -1
- package/funcs/settingsSubscribeEmail.d.ts +2 -1
- package/funcs/settingsSubscribeEmail.d.ts.map +1 -1
- package/funcs/settingsSubscribeEmail.js +10 -6
- package/funcs/settingsSubscribeEmail.js.map +1 -1
- package/funcs/settingsUpdate.d.ts +2 -1
- package/funcs/settingsUpdate.d.ts.map +1 -1
- package/funcs/settingsUpdate.js +10 -6
- package/funcs/settingsUpdate.js.map +1 -1
- package/funcs/settingsUpdateRole.d.ts +2 -1
- package/funcs/settingsUpdateRole.d.ts.map +1 -1
- package/funcs/settingsUpdateRole.js +10 -6
- package/funcs/settingsUpdateRole.js.map +1 -1
- package/funcs/settingsVerifyEmail.d.ts +2 -1
- package/funcs/settingsVerifyEmail.d.ts.map +1 -1
- package/funcs/settingsVerifyEmail.js +10 -6
- package/funcs/settingsVerifyEmail.js.map +1 -1
- package/funcs/statsGet.d.ts +2 -1
- package/funcs/statsGet.d.ts.map +1 -1
- package/funcs/statsGet.js +9 -5
- package/funcs/statsGet.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/v1appbadgelistrequestbody.d.ts +32 -0
- package/models/components/v1appbadgelistrequestbody.d.ts.map +1 -0
- package/models/components/v1appbadgelistrequestbody.js +59 -0
- package/models/components/v1appbadgelistrequestbody.js.map +1 -0
- package/models/components/v1appbadgelistresponsebody.d.ts +38 -0
- package/models/components/v1appbadgelistresponsebody.d.ts.map +1 -0
- package/models/components/v1appbadgelistresponsebody.js +71 -0
- package/models/components/v1appbadgelistresponsebody.js.map +1 -0
- package/models/operations/appv1listbadges.d.ts +35 -0
- package/models/operations/appv1listbadges.d.ts.map +1 -0
- package/models/operations/appv1listbadges.js +75 -0
- package/models/operations/appv1listbadges.js.map +1 -0
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/app.d.ts +7 -0
- package/sdk/app.d.ts.map +1 -0
- package/sdk/app.js +16 -0
- package/sdk/app.js.map +1 -0
- package/sdk/badge.d.ts +2 -0
- package/sdk/badge.d.ts.map +1 -1
- package/sdk/badge.js +4 -0
- package/sdk/badge.js.map +1 -1
- package/sdk/external.d.ts +1 -0
- package/sdk/external.d.ts.map +1 -1
- package/sdk/external.js +4 -0
- package/sdk/external.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/accountAccountV1GetMeta.ts +36 -7
- package/src/funcs/accountCreateDeveloperApp.ts +36 -7
- package/src/funcs/accountDeleteDeveloperApp.ts +36 -7
- package/src/funcs/accountDeleteImages.ts +36 -7
- package/src/funcs/accountGetAccount.ts +36 -7
- package/src/funcs/accountGetApps.ts +36 -7
- package/src/funcs/accountGetBadges.ts +36 -7
- package/src/funcs/accountGetDataPoints.ts +36 -7
- package/src/funcs/accountGetFriends.ts +36 -7
- package/src/funcs/accountGetInfo.ts +36 -7
- package/src/funcs/accountGetLeaderboardHistory.ts +36 -7
- package/src/funcs/accountGetStaff.ts +33 -6
- package/src/funcs/accountLeaderboardV1GetAccountMeta.ts +36 -7
- package/src/funcs/accountUpdateApp.ts +36 -7
- package/src/funcs/accountUploadImages.ts +36 -7
- package/src/funcs/accountsQueue.ts +36 -7
- package/src/funcs/adminGetAccount.ts +36 -7
- package/src/funcs/adminUpdateResources.ts +36 -7
- package/src/funcs/adminUpdateRoles.ts +36 -7
- package/src/funcs/appAppV1ListBadges.ts +179 -0
- package/src/funcs/badgeAppV1ListBadges.ts +179 -0
- package/src/funcs/badgeGetTags.ts +33 -6
- package/src/funcs/badgesBookmark.ts +36 -7
- package/src/funcs/badgesGetBookmarks.ts +33 -6
- package/src/funcs/badgesGetOwned.ts +33 -6
- package/src/funcs/badgesSearch.ts +36 -7
- package/src/funcs/badgesTag.ts +36 -7
- package/src/funcs/connectionDelete.ts +36 -7
- package/src/funcs/connectionReconnect.ts +36 -7
- package/src/funcs/connectionUpdate.ts +36 -7
- package/src/funcs/connectionVerify.ts +36 -7
- package/src/funcs/connectionsConnect.ts +36 -7
- package/src/funcs/dataAccountV1GetMeta.ts +36 -7
- package/src/funcs/dataGetApps.ts +36 -7
- package/src/funcs/dataGetBadges.ts +36 -7
- package/src/funcs/dataGetDataPoints.ts +36 -7
- package/src/funcs/dataGetFriends.ts +36 -7
- package/src/funcs/dataGetInfo.ts +36 -7
- package/src/funcs/dataGetLeaderboardHistory.ts +36 -7
- package/src/funcs/developerCreateDeveloperApp.ts +36 -7
- package/src/funcs/developerDeleteDeveloperApp.ts +36 -7
- package/src/funcs/developerUpdateApp.ts +36 -7
- package/src/funcs/eventsGet.ts +33 -6
- package/src/funcs/eventsUpdate.ts +36 -7
- package/src/funcs/externalAppV1ListBadges.ts +179 -0
- package/src/funcs/externalGet.ts +33 -6
- package/src/funcs/externalGetApps.ts +36 -7
- package/src/funcs/externalGetBadges.ts +36 -7
- package/src/funcs/externalGetDataPoints.ts +36 -7
- package/src/funcs/externalGetFriends.ts +36 -7
- package/src/funcs/externalGetInfo.ts +36 -7
- package/src/funcs/externalGetLeaderboardHistory.ts +36 -7
- package/src/funcs/imagesDeleteImages.ts +36 -7
- package/src/funcs/imagesGet.ts +32 -6
- package/src/funcs/imagesUpdate.ts +36 -7
- package/src/funcs/imagesUploadImages.ts +36 -7
- package/src/funcs/internalAccountV1GetMeta.ts +36 -7
- package/src/funcs/internalCheck.ts +32 -6
- package/src/funcs/internalCreateDeveloperApp.ts +36 -7
- package/src/funcs/internalDeleteDeveloperApp.ts +36 -7
- package/src/funcs/internalDeleteImages.ts +36 -7
- package/src/funcs/internalGetAccount.ts +36 -7
- package/src/funcs/internalGetStaff.ts +33 -6
- package/src/funcs/internalGetTags.ts +33 -6
- package/src/funcs/internalLeaderboardV1GetAccountMeta.ts +36 -7
- package/src/funcs/internalUpdateApp.ts +36 -7
- package/src/funcs/internalUploadImages.ts +36 -7
- package/src/funcs/leaderboardGetAccount.ts +36 -7
- package/src/funcs/leaderboardGetBadges.ts +33 -6
- package/src/funcs/leaderboardGetGroup.ts +36 -7
- package/src/funcs/leaderboardLeaderboardV1GetAccountMeta.ts +36 -7
- package/src/funcs/livenessCheck.ts +32 -6
- package/src/funcs/locationsGet.ts +33 -6
- package/src/funcs/sessionCreate.ts +36 -7
- package/src/funcs/sessionLogin.ts +36 -7
- package/src/funcs/sessionsDelete.ts +36 -7
- package/src/funcs/sessionsGet.ts +32 -6
- package/src/funcs/settingsGet.ts +32 -6
- package/src/funcs/settingsSendVerification.ts +36 -7
- package/src/funcs/settingsSubscribeEmail.ts +36 -7
- package/src/funcs/settingsUpdate.ts +36 -7
- package/src/funcs/settingsUpdateRole.ts +36 -7
- package/src/funcs/settingsVerifyEmail.ts +36 -7
- package/src/funcs/statsGet.ts +33 -6
- package/src/lib/config.ts +3 -3
- package/src/models/components/index.ts +2 -0
- package/src/models/components/v1appbadgelistrequestbody.ts +69 -0
- package/src/models/components/v1appbadgelistresponsebody.ts +91 -0
- package/src/models/operations/appv1listbadges.ts +91 -0
- package/src/models/operations/index.ts +1 -0
- package/src/sdk/app.ts +22 -0
- package/src/sdk/badge.ts +13 -0
- package/src/sdk/external.ts +12 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/types/async.ts +68 -0
- package/types/async.d.ts +23 -0
- package/types/async.d.ts.map +1 -0
- package/types/async.js +44 -0
- package/types/async.js.map +1 -0
|
@@ -22,13 +22,14 @@ import * as errors from "../models/errors/index.js";
|
|
|
22
22
|
import { SDKError } from "../models/errors/sdkerror.js";
|
|
23
23
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
24
|
import * as operations from "../models/operations/index.js";
|
|
25
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
25
26
|
import { Result } from "../types/fp.js";
|
|
26
27
|
|
|
27
|
-
export
|
|
28
|
+
export function externalGetLeaderboardHistory(
|
|
28
29
|
client: SteamSetsCore,
|
|
29
30
|
request: components.AccountSearch,
|
|
30
31
|
options?: RequestOptions,
|
|
31
|
-
):
|
|
32
|
+
): APIPromise<
|
|
32
33
|
Result<
|
|
33
34
|
operations.AccountV1GetLeaderboardHistoryResponse,
|
|
34
35
|
| errors.ErrorModel
|
|
@@ -41,6 +42,34 @@ export async function externalGetLeaderboardHistory(
|
|
|
41
42
|
| RequestTimeoutError
|
|
42
43
|
| ConnectionError
|
|
43
44
|
>
|
|
45
|
+
> {
|
|
46
|
+
return new APIPromise($do(
|
|
47
|
+
client,
|
|
48
|
+
request,
|
|
49
|
+
options,
|
|
50
|
+
));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
async function $do(
|
|
54
|
+
client: SteamSetsCore,
|
|
55
|
+
request: components.AccountSearch,
|
|
56
|
+
options?: RequestOptions,
|
|
57
|
+
): Promise<
|
|
58
|
+
[
|
|
59
|
+
Result<
|
|
60
|
+
operations.AccountV1GetLeaderboardHistoryResponse,
|
|
61
|
+
| errors.ErrorModel
|
|
62
|
+
| errors.ErrorModel
|
|
63
|
+
| SDKError
|
|
64
|
+
| SDKValidationError
|
|
65
|
+
| UnexpectedClientError
|
|
66
|
+
| InvalidRequestError
|
|
67
|
+
| RequestAbortedError
|
|
68
|
+
| RequestTimeoutError
|
|
69
|
+
| ConnectionError
|
|
70
|
+
>,
|
|
71
|
+
APICall,
|
|
72
|
+
]
|
|
44
73
|
> {
|
|
45
74
|
const parsed = safeParse(
|
|
46
75
|
request,
|
|
@@ -48,7 +77,7 @@ export async function externalGetLeaderboardHistory(
|
|
|
48
77
|
"Input validation failed",
|
|
49
78
|
);
|
|
50
79
|
if (!parsed.ok) {
|
|
51
|
-
return parsed;
|
|
80
|
+
return [parsed, { status: "invalid" }];
|
|
52
81
|
}
|
|
53
82
|
const payload = parsed.value;
|
|
54
83
|
const body = encodeJSON("body", payload, { explode: true });
|
|
@@ -99,7 +128,7 @@ export async function externalGetLeaderboardHistory(
|
|
|
99
128
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
100
129
|
}, options);
|
|
101
130
|
if (!requestRes.ok) {
|
|
102
|
-
return requestRes;
|
|
131
|
+
return [requestRes, { status: "invalid" }];
|
|
103
132
|
}
|
|
104
133
|
const req = requestRes.value;
|
|
105
134
|
|
|
@@ -110,7 +139,7 @@ export async function externalGetLeaderboardHistory(
|
|
|
110
139
|
retryCodes: context.retryCodes,
|
|
111
140
|
});
|
|
112
141
|
if (!doResult.ok) {
|
|
113
|
-
return doResult;
|
|
142
|
+
return [doResult, { status: "request-error", request: req }];
|
|
114
143
|
}
|
|
115
144
|
const response = doResult.value;
|
|
116
145
|
|
|
@@ -145,8 +174,8 @@ export async function externalGetLeaderboardHistory(
|
|
|
145
174
|
M.fail("5XX"),
|
|
146
175
|
)(response, req, { extraFields: responseFields });
|
|
147
176
|
if (!result.ok) {
|
|
148
|
-
return result;
|
|
177
|
+
return [result, { status: "complete", request: req, response }];
|
|
149
178
|
}
|
|
150
179
|
|
|
151
|
-
return result;
|
|
180
|
+
return [result, { status: "complete", request: req, response }];
|
|
152
181
|
}
|
|
@@ -22,13 +22,14 @@ import * as errors from "../models/errors/index.js";
|
|
|
22
22
|
import { SDKError } from "../models/errors/sdkerror.js";
|
|
23
23
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
24
|
import * as operations from "../models/operations/index.js";
|
|
25
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
25
26
|
import { Result } from "../types/fp.js";
|
|
26
27
|
|
|
27
|
-
export
|
|
28
|
+
export function imagesDeleteImages(
|
|
28
29
|
client: SteamSetsCore,
|
|
29
30
|
request: components.V1DeleteImagesRequestBody,
|
|
30
31
|
options?: RequestOptions,
|
|
31
|
-
):
|
|
32
|
+
): APIPromise<
|
|
32
33
|
Result<
|
|
33
34
|
operations.AccountV1ImagesDeleteResponse,
|
|
34
35
|
| errors.ErrorModel
|
|
@@ -41,6 +42,34 @@ export async function imagesDeleteImages(
|
|
|
41
42
|
| RequestTimeoutError
|
|
42
43
|
| ConnectionError
|
|
43
44
|
>
|
|
45
|
+
> {
|
|
46
|
+
return new APIPromise($do(
|
|
47
|
+
client,
|
|
48
|
+
request,
|
|
49
|
+
options,
|
|
50
|
+
));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
async function $do(
|
|
54
|
+
client: SteamSetsCore,
|
|
55
|
+
request: components.V1DeleteImagesRequestBody,
|
|
56
|
+
options?: RequestOptions,
|
|
57
|
+
): Promise<
|
|
58
|
+
[
|
|
59
|
+
Result<
|
|
60
|
+
operations.AccountV1ImagesDeleteResponse,
|
|
61
|
+
| errors.ErrorModel
|
|
62
|
+
| errors.ErrorModel
|
|
63
|
+
| SDKError
|
|
64
|
+
| SDKValidationError
|
|
65
|
+
| UnexpectedClientError
|
|
66
|
+
| InvalidRequestError
|
|
67
|
+
| RequestAbortedError
|
|
68
|
+
| RequestTimeoutError
|
|
69
|
+
| ConnectionError
|
|
70
|
+
>,
|
|
71
|
+
APICall,
|
|
72
|
+
]
|
|
44
73
|
> {
|
|
45
74
|
const parsed = safeParse(
|
|
46
75
|
request,
|
|
@@ -48,7 +77,7 @@ export async function imagesDeleteImages(
|
|
|
48
77
|
"Input validation failed",
|
|
49
78
|
);
|
|
50
79
|
if (!parsed.ok) {
|
|
51
|
-
return parsed;
|
|
80
|
+
return [parsed, { status: "invalid" }];
|
|
52
81
|
}
|
|
53
82
|
const payload = parsed.value;
|
|
54
83
|
const body = encodeJSON("body", payload, { explode: true });
|
|
@@ -99,7 +128,7 @@ export async function imagesDeleteImages(
|
|
|
99
128
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
100
129
|
}, options);
|
|
101
130
|
if (!requestRes.ok) {
|
|
102
|
-
return requestRes;
|
|
131
|
+
return [requestRes, { status: "invalid" }];
|
|
103
132
|
}
|
|
104
133
|
const req = requestRes.value;
|
|
105
134
|
|
|
@@ -110,7 +139,7 @@ export async function imagesDeleteImages(
|
|
|
110
139
|
retryCodes: context.retryCodes,
|
|
111
140
|
});
|
|
112
141
|
if (!doResult.ok) {
|
|
113
|
-
return doResult;
|
|
142
|
+
return [doResult, { status: "request-error", request: req }];
|
|
114
143
|
}
|
|
115
144
|
const response = doResult.value;
|
|
116
145
|
|
|
@@ -143,8 +172,8 @@ export async function imagesDeleteImages(
|
|
|
143
172
|
M.fail("5XX"),
|
|
144
173
|
)(response, req, { extraFields: responseFields });
|
|
145
174
|
if (!result.ok) {
|
|
146
|
-
return result;
|
|
175
|
+
return [result, { status: "complete", request: req, response }];
|
|
147
176
|
}
|
|
148
177
|
|
|
149
|
-
return result;
|
|
178
|
+
return [result, { status: "complete", request: req, response }];
|
|
150
179
|
}
|
package/src/funcs/imagesGet.ts
CHANGED
|
@@ -19,12 +19,13 @@ import * as errors from "../models/errors/index.js";
|
|
|
19
19
|
import { SDKError } from "../models/errors/sdkerror.js";
|
|
20
20
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
21
21
|
import * as operations from "../models/operations/index.js";
|
|
22
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
22
23
|
import { Result } from "../types/fp.js";
|
|
23
24
|
|
|
24
|
-
export
|
|
25
|
+
export function imagesGet(
|
|
25
26
|
client: SteamSetsCore,
|
|
26
27
|
options?: RequestOptions,
|
|
27
|
-
):
|
|
28
|
+
): APIPromise<
|
|
28
29
|
Result<
|
|
29
30
|
operations.AccountV1ImagesGetResponse,
|
|
30
31
|
| errors.ErrorModel
|
|
@@ -36,6 +37,31 @@ export async function imagesGet(
|
|
|
36
37
|
| RequestTimeoutError
|
|
37
38
|
| ConnectionError
|
|
38
39
|
>
|
|
40
|
+
> {
|
|
41
|
+
return new APIPromise($do(
|
|
42
|
+
client,
|
|
43
|
+
options,
|
|
44
|
+
));
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
async function $do(
|
|
48
|
+
client: SteamSetsCore,
|
|
49
|
+
options?: RequestOptions,
|
|
50
|
+
): Promise<
|
|
51
|
+
[
|
|
52
|
+
Result<
|
|
53
|
+
operations.AccountV1ImagesGetResponse,
|
|
54
|
+
| errors.ErrorModel
|
|
55
|
+
| SDKError
|
|
56
|
+
| SDKValidationError
|
|
57
|
+
| UnexpectedClientError
|
|
58
|
+
| InvalidRequestError
|
|
59
|
+
| RequestAbortedError
|
|
60
|
+
| RequestTimeoutError
|
|
61
|
+
| ConnectionError
|
|
62
|
+
>,
|
|
63
|
+
APICall,
|
|
64
|
+
]
|
|
39
65
|
> {
|
|
40
66
|
const path = pathToFunc("/account.v1.AccountService/GetImages")();
|
|
41
67
|
|
|
@@ -81,7 +107,7 @@ export async function imagesGet(
|
|
|
81
107
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
82
108
|
}, options);
|
|
83
109
|
if (!requestRes.ok) {
|
|
84
|
-
return requestRes;
|
|
110
|
+
return [requestRes, { status: "invalid" }];
|
|
85
111
|
}
|
|
86
112
|
const req = requestRes.value;
|
|
87
113
|
|
|
@@ -92,7 +118,7 @@ export async function imagesGet(
|
|
|
92
118
|
retryCodes: context.retryCodes,
|
|
93
119
|
});
|
|
94
120
|
if (!doResult.ok) {
|
|
95
|
-
return doResult;
|
|
121
|
+
return [doResult, { status: "request-error", request: req }];
|
|
96
122
|
}
|
|
97
123
|
const response = doResult.value;
|
|
98
124
|
|
|
@@ -121,8 +147,8 @@ export async function imagesGet(
|
|
|
121
147
|
M.fail("5XX"),
|
|
122
148
|
)(response, req, { extraFields: responseFields });
|
|
123
149
|
if (!result.ok) {
|
|
124
|
-
return result;
|
|
150
|
+
return [result, { status: "complete", request: req, response }];
|
|
125
151
|
}
|
|
126
152
|
|
|
127
|
-
return result;
|
|
153
|
+
return [result, { status: "complete", request: req, response }];
|
|
128
154
|
}
|
|
@@ -22,13 +22,14 @@ import * as errors from "../models/errors/index.js";
|
|
|
22
22
|
import { SDKError } from "../models/errors/sdkerror.js";
|
|
23
23
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
24
|
import * as operations from "../models/operations/index.js";
|
|
25
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
25
26
|
import { Result } from "../types/fp.js";
|
|
26
27
|
|
|
27
|
-
export
|
|
28
|
+
export function imagesUpdate(
|
|
28
29
|
client: SteamSetsCore,
|
|
29
30
|
request: components.V1UpdateImageRequestBody,
|
|
30
31
|
options?: RequestOptions,
|
|
31
|
-
):
|
|
32
|
+
): APIPromise<
|
|
32
33
|
Result<
|
|
33
34
|
operations.AccountV1ImagesUpdateResponse,
|
|
34
35
|
| errors.ErrorModel
|
|
@@ -41,6 +42,34 @@ export async function imagesUpdate(
|
|
|
41
42
|
| RequestTimeoutError
|
|
42
43
|
| ConnectionError
|
|
43
44
|
>
|
|
45
|
+
> {
|
|
46
|
+
return new APIPromise($do(
|
|
47
|
+
client,
|
|
48
|
+
request,
|
|
49
|
+
options,
|
|
50
|
+
));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
async function $do(
|
|
54
|
+
client: SteamSetsCore,
|
|
55
|
+
request: components.V1UpdateImageRequestBody,
|
|
56
|
+
options?: RequestOptions,
|
|
57
|
+
): Promise<
|
|
58
|
+
[
|
|
59
|
+
Result<
|
|
60
|
+
operations.AccountV1ImagesUpdateResponse,
|
|
61
|
+
| errors.ErrorModel
|
|
62
|
+
| errors.ErrorModel
|
|
63
|
+
| SDKError
|
|
64
|
+
| SDKValidationError
|
|
65
|
+
| UnexpectedClientError
|
|
66
|
+
| InvalidRequestError
|
|
67
|
+
| RequestAbortedError
|
|
68
|
+
| RequestTimeoutError
|
|
69
|
+
| ConnectionError
|
|
70
|
+
>,
|
|
71
|
+
APICall,
|
|
72
|
+
]
|
|
44
73
|
> {
|
|
45
74
|
const parsed = safeParse(
|
|
46
75
|
request,
|
|
@@ -48,7 +77,7 @@ export async function imagesUpdate(
|
|
|
48
77
|
"Input validation failed",
|
|
49
78
|
);
|
|
50
79
|
if (!parsed.ok) {
|
|
51
|
-
return parsed;
|
|
80
|
+
return [parsed, { status: "invalid" }];
|
|
52
81
|
}
|
|
53
82
|
const payload = parsed.value;
|
|
54
83
|
const body = encodeJSON("body", payload, { explode: true });
|
|
@@ -99,7 +128,7 @@ export async function imagesUpdate(
|
|
|
99
128
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
100
129
|
}, options);
|
|
101
130
|
if (!requestRes.ok) {
|
|
102
|
-
return requestRes;
|
|
131
|
+
return [requestRes, { status: "invalid" }];
|
|
103
132
|
}
|
|
104
133
|
const req = requestRes.value;
|
|
105
134
|
|
|
@@ -110,7 +139,7 @@ export async function imagesUpdate(
|
|
|
110
139
|
retryCodes: context.retryCodes,
|
|
111
140
|
});
|
|
112
141
|
if (!doResult.ok) {
|
|
113
|
-
return doResult;
|
|
142
|
+
return [doResult, { status: "request-error", request: req }];
|
|
114
143
|
}
|
|
115
144
|
const response = doResult.value;
|
|
116
145
|
|
|
@@ -143,8 +172,8 @@ export async function imagesUpdate(
|
|
|
143
172
|
M.fail("5XX"),
|
|
144
173
|
)(response, req, { extraFields: responseFields });
|
|
145
174
|
if (!result.ok) {
|
|
146
|
-
return result;
|
|
175
|
+
return [result, { status: "complete", request: req, response }];
|
|
147
176
|
}
|
|
148
177
|
|
|
149
|
-
return result;
|
|
178
|
+
return [result, { status: "complete", request: req, response }];
|
|
150
179
|
}
|
|
@@ -22,13 +22,14 @@ import * as errors from "../models/errors/index.js";
|
|
|
22
22
|
import { SDKError } from "../models/errors/sdkerror.js";
|
|
23
23
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
24
|
import * as operations from "../models/operations/index.js";
|
|
25
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
25
26
|
import { Result } from "../types/fp.js";
|
|
26
27
|
|
|
27
|
-
export
|
|
28
|
+
export function imagesUploadImages(
|
|
28
29
|
client: SteamSetsCore,
|
|
29
30
|
request: components.V1UploadImagesRequestBody,
|
|
30
31
|
options?: RequestOptions,
|
|
31
|
-
):
|
|
32
|
+
): APIPromise<
|
|
32
33
|
Result<
|
|
33
34
|
operations.AccountV1ImagesUploadResponse,
|
|
34
35
|
| errors.ErrorModel
|
|
@@ -41,6 +42,34 @@ export async function imagesUploadImages(
|
|
|
41
42
|
| RequestTimeoutError
|
|
42
43
|
| ConnectionError
|
|
43
44
|
>
|
|
45
|
+
> {
|
|
46
|
+
return new APIPromise($do(
|
|
47
|
+
client,
|
|
48
|
+
request,
|
|
49
|
+
options,
|
|
50
|
+
));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
async function $do(
|
|
54
|
+
client: SteamSetsCore,
|
|
55
|
+
request: components.V1UploadImagesRequestBody,
|
|
56
|
+
options?: RequestOptions,
|
|
57
|
+
): Promise<
|
|
58
|
+
[
|
|
59
|
+
Result<
|
|
60
|
+
operations.AccountV1ImagesUploadResponse,
|
|
61
|
+
| errors.ErrorModel
|
|
62
|
+
| errors.ErrorModel
|
|
63
|
+
| SDKError
|
|
64
|
+
| SDKValidationError
|
|
65
|
+
| UnexpectedClientError
|
|
66
|
+
| InvalidRequestError
|
|
67
|
+
| RequestAbortedError
|
|
68
|
+
| RequestTimeoutError
|
|
69
|
+
| ConnectionError
|
|
70
|
+
>,
|
|
71
|
+
APICall,
|
|
72
|
+
]
|
|
44
73
|
> {
|
|
45
74
|
const parsed = safeParse(
|
|
46
75
|
request,
|
|
@@ -48,7 +77,7 @@ export async function imagesUploadImages(
|
|
|
48
77
|
"Input validation failed",
|
|
49
78
|
);
|
|
50
79
|
if (!parsed.ok) {
|
|
51
|
-
return parsed;
|
|
80
|
+
return [parsed, { status: "invalid" }];
|
|
52
81
|
}
|
|
53
82
|
const payload = parsed.value;
|
|
54
83
|
const body = encodeJSON("body", payload, { explode: true });
|
|
@@ -99,7 +128,7 @@ export async function imagesUploadImages(
|
|
|
99
128
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
100
129
|
}, options);
|
|
101
130
|
if (!requestRes.ok) {
|
|
102
|
-
return requestRes;
|
|
131
|
+
return [requestRes, { status: "invalid" }];
|
|
103
132
|
}
|
|
104
133
|
const req = requestRes.value;
|
|
105
134
|
|
|
@@ -110,7 +139,7 @@ export async function imagesUploadImages(
|
|
|
110
139
|
retryCodes: context.retryCodes,
|
|
111
140
|
});
|
|
112
141
|
if (!doResult.ok) {
|
|
113
|
-
return doResult;
|
|
142
|
+
return [doResult, { status: "request-error", request: req }];
|
|
114
143
|
}
|
|
115
144
|
const response = doResult.value;
|
|
116
145
|
|
|
@@ -143,8 +172,8 @@ export async function imagesUploadImages(
|
|
|
143
172
|
M.fail("5XX"),
|
|
144
173
|
)(response, req, { extraFields: responseFields });
|
|
145
174
|
if (!result.ok) {
|
|
146
|
-
return result;
|
|
175
|
+
return [result, { status: "complete", request: req, response }];
|
|
147
176
|
}
|
|
148
177
|
|
|
149
|
-
return result;
|
|
178
|
+
return [result, { status: "complete", request: req, response }];
|
|
150
179
|
}
|
|
@@ -22,13 +22,14 @@ import * as errors from "../models/errors/index.js";
|
|
|
22
22
|
import { SDKError } from "../models/errors/sdkerror.js";
|
|
23
23
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
24
|
import * as operations from "../models/operations/index.js";
|
|
25
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
25
26
|
import { Result } from "../types/fp.js";
|
|
26
27
|
|
|
27
|
-
export
|
|
28
|
+
export function internalAccountV1GetMeta(
|
|
28
29
|
client: SteamSetsCore,
|
|
29
30
|
request: components.AccountSearch,
|
|
30
31
|
options?: RequestOptions,
|
|
31
|
-
):
|
|
32
|
+
): APIPromise<
|
|
32
33
|
Result<
|
|
33
34
|
operations.AccountV1GetMetaResponse,
|
|
34
35
|
| errors.ErrorModel
|
|
@@ -41,6 +42,34 @@ export async function internalAccountV1GetMeta(
|
|
|
41
42
|
| RequestTimeoutError
|
|
42
43
|
| ConnectionError
|
|
43
44
|
>
|
|
45
|
+
> {
|
|
46
|
+
return new APIPromise($do(
|
|
47
|
+
client,
|
|
48
|
+
request,
|
|
49
|
+
options,
|
|
50
|
+
));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
async function $do(
|
|
54
|
+
client: SteamSetsCore,
|
|
55
|
+
request: components.AccountSearch,
|
|
56
|
+
options?: RequestOptions,
|
|
57
|
+
): Promise<
|
|
58
|
+
[
|
|
59
|
+
Result<
|
|
60
|
+
operations.AccountV1GetMetaResponse,
|
|
61
|
+
| errors.ErrorModel
|
|
62
|
+
| errors.ErrorModel
|
|
63
|
+
| SDKError
|
|
64
|
+
| SDKValidationError
|
|
65
|
+
| UnexpectedClientError
|
|
66
|
+
| InvalidRequestError
|
|
67
|
+
| RequestAbortedError
|
|
68
|
+
| RequestTimeoutError
|
|
69
|
+
| ConnectionError
|
|
70
|
+
>,
|
|
71
|
+
APICall,
|
|
72
|
+
]
|
|
44
73
|
> {
|
|
45
74
|
const parsed = safeParse(
|
|
46
75
|
request,
|
|
@@ -48,7 +77,7 @@ export async function internalAccountV1GetMeta(
|
|
|
48
77
|
"Input validation failed",
|
|
49
78
|
);
|
|
50
79
|
if (!parsed.ok) {
|
|
51
|
-
return parsed;
|
|
80
|
+
return [parsed, { status: "invalid" }];
|
|
52
81
|
}
|
|
53
82
|
const payload = parsed.value;
|
|
54
83
|
const body = encodeJSON("body", payload, { explode: true });
|
|
@@ -99,7 +128,7 @@ export async function internalAccountV1GetMeta(
|
|
|
99
128
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
100
129
|
}, options);
|
|
101
130
|
if (!requestRes.ok) {
|
|
102
|
-
return requestRes;
|
|
131
|
+
return [requestRes, { status: "invalid" }];
|
|
103
132
|
}
|
|
104
133
|
const req = requestRes.value;
|
|
105
134
|
|
|
@@ -110,7 +139,7 @@ export async function internalAccountV1GetMeta(
|
|
|
110
139
|
retryCodes: context.retryCodes,
|
|
111
140
|
});
|
|
112
141
|
if (!doResult.ok) {
|
|
113
|
-
return doResult;
|
|
142
|
+
return [doResult, { status: "request-error", request: req }];
|
|
114
143
|
}
|
|
115
144
|
const response = doResult.value;
|
|
116
145
|
|
|
@@ -143,8 +172,8 @@ export async function internalAccountV1GetMeta(
|
|
|
143
172
|
M.fail("5XX"),
|
|
144
173
|
)(response, req, { extraFields: responseFields });
|
|
145
174
|
if (!result.ok) {
|
|
146
|
-
return result;
|
|
175
|
+
return [result, { status: "complete", request: req, response }];
|
|
147
176
|
}
|
|
148
177
|
|
|
149
|
-
return result;
|
|
178
|
+
return [result, { status: "complete", request: req, response }];
|
|
150
179
|
}
|
|
@@ -19,6 +19,7 @@ import * as errors from "../models/errors/index.js";
|
|
|
19
19
|
import { SDKError } from "../models/errors/sdkerror.js";
|
|
20
20
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
21
21
|
import * as operations from "../models/operations/index.js";
|
|
22
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
22
23
|
import { Result } from "../types/fp.js";
|
|
23
24
|
|
|
24
25
|
/**
|
|
@@ -27,10 +28,10 @@ import { Result } from "../types/fp.js";
|
|
|
27
28
|
* @remarks
|
|
28
29
|
* This endpoint checks if the service is alive.
|
|
29
30
|
*/
|
|
30
|
-
export
|
|
31
|
+
export function internalCheck(
|
|
31
32
|
client: SteamSetsCore,
|
|
32
33
|
options?: RequestOptions,
|
|
33
|
-
):
|
|
34
|
+
): APIPromise<
|
|
34
35
|
Result<
|
|
35
36
|
operations.LivenessResponse,
|
|
36
37
|
| errors.ErrorModel
|
|
@@ -42,6 +43,31 @@ export async function internalCheck(
|
|
|
42
43
|
| RequestTimeoutError
|
|
43
44
|
| ConnectionError
|
|
44
45
|
>
|
|
46
|
+
> {
|
|
47
|
+
return new APIPromise($do(
|
|
48
|
+
client,
|
|
49
|
+
options,
|
|
50
|
+
));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
async function $do(
|
|
54
|
+
client: SteamSetsCore,
|
|
55
|
+
options?: RequestOptions,
|
|
56
|
+
): Promise<
|
|
57
|
+
[
|
|
58
|
+
Result<
|
|
59
|
+
operations.LivenessResponse,
|
|
60
|
+
| errors.ErrorModel
|
|
61
|
+
| SDKError
|
|
62
|
+
| SDKValidationError
|
|
63
|
+
| UnexpectedClientError
|
|
64
|
+
| InvalidRequestError
|
|
65
|
+
| RequestAbortedError
|
|
66
|
+
| RequestTimeoutError
|
|
67
|
+
| ConnectionError
|
|
68
|
+
>,
|
|
69
|
+
APICall,
|
|
70
|
+
]
|
|
45
71
|
> {
|
|
46
72
|
const path = pathToFunc("/v1/liveness")();
|
|
47
73
|
|
|
@@ -87,7 +113,7 @@ export async function internalCheck(
|
|
|
87
113
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
88
114
|
}, options);
|
|
89
115
|
if (!requestRes.ok) {
|
|
90
|
-
return requestRes;
|
|
116
|
+
return [requestRes, { status: "invalid" }];
|
|
91
117
|
}
|
|
92
118
|
const req = requestRes.value;
|
|
93
119
|
|
|
@@ -98,7 +124,7 @@ export async function internalCheck(
|
|
|
98
124
|
retryCodes: context.retryCodes,
|
|
99
125
|
});
|
|
100
126
|
if (!doResult.ok) {
|
|
101
|
-
return doResult;
|
|
127
|
+
return [doResult, { status: "request-error", request: req }];
|
|
102
128
|
}
|
|
103
129
|
const response = doResult.value;
|
|
104
130
|
|
|
@@ -127,8 +153,8 @@ export async function internalCheck(
|
|
|
127
153
|
M.fail("5XX"),
|
|
128
154
|
)(response, req, { extraFields: responseFields });
|
|
129
155
|
if (!result.ok) {
|
|
130
|
-
return result;
|
|
156
|
+
return [result, { status: "complete", request: req, response }];
|
|
131
157
|
}
|
|
132
158
|
|
|
133
|
-
return result;
|
|
159
|
+
return [result, { status: "complete", request: req, response }];
|
|
134
160
|
}
|
|
@@ -22,13 +22,14 @@ import * as errors from "../models/errors/index.js";
|
|
|
22
22
|
import { SDKError } from "../models/errors/sdkerror.js";
|
|
23
23
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
24
|
import * as operations from "../models/operations/index.js";
|
|
25
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
25
26
|
import { Result } from "../types/fp.js";
|
|
26
27
|
|
|
27
|
-
export
|
|
28
|
+
export function internalCreateDeveloperApp(
|
|
28
29
|
client: SteamSetsCore,
|
|
29
30
|
request: components.V1DeveloperAppCreateRequestBody,
|
|
30
31
|
options?: RequestOptions,
|
|
31
|
-
):
|
|
32
|
+
): APIPromise<
|
|
32
33
|
Result<
|
|
33
34
|
operations.AccountV1SettingsDeveloperAppCreateResponse,
|
|
34
35
|
| errors.ErrorModel
|
|
@@ -41,6 +42,34 @@ export async function internalCreateDeveloperApp(
|
|
|
41
42
|
| RequestTimeoutError
|
|
42
43
|
| ConnectionError
|
|
43
44
|
>
|
|
45
|
+
> {
|
|
46
|
+
return new APIPromise($do(
|
|
47
|
+
client,
|
|
48
|
+
request,
|
|
49
|
+
options,
|
|
50
|
+
));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
async function $do(
|
|
54
|
+
client: SteamSetsCore,
|
|
55
|
+
request: components.V1DeveloperAppCreateRequestBody,
|
|
56
|
+
options?: RequestOptions,
|
|
57
|
+
): Promise<
|
|
58
|
+
[
|
|
59
|
+
Result<
|
|
60
|
+
operations.AccountV1SettingsDeveloperAppCreateResponse,
|
|
61
|
+
| errors.ErrorModel
|
|
62
|
+
| errors.ErrorModel
|
|
63
|
+
| SDKError
|
|
64
|
+
| SDKValidationError
|
|
65
|
+
| UnexpectedClientError
|
|
66
|
+
| InvalidRequestError
|
|
67
|
+
| RequestAbortedError
|
|
68
|
+
| RequestTimeoutError
|
|
69
|
+
| ConnectionError
|
|
70
|
+
>,
|
|
71
|
+
APICall,
|
|
72
|
+
]
|
|
44
73
|
> {
|
|
45
74
|
const parsed = safeParse(
|
|
46
75
|
request,
|
|
@@ -49,7 +78,7 @@ export async function internalCreateDeveloperApp(
|
|
|
49
78
|
"Input validation failed",
|
|
50
79
|
);
|
|
51
80
|
if (!parsed.ok) {
|
|
52
|
-
return parsed;
|
|
81
|
+
return [parsed, { status: "invalid" }];
|
|
53
82
|
}
|
|
54
83
|
const payload = parsed.value;
|
|
55
84
|
const body = encodeJSON("body", payload, { explode: true });
|
|
@@ -100,7 +129,7 @@ export async function internalCreateDeveloperApp(
|
|
|
100
129
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
101
130
|
}, options);
|
|
102
131
|
if (!requestRes.ok) {
|
|
103
|
-
return requestRes;
|
|
132
|
+
return [requestRes, { status: "invalid" }];
|
|
104
133
|
}
|
|
105
134
|
const req = requestRes.value;
|
|
106
135
|
|
|
@@ -111,7 +140,7 @@ export async function internalCreateDeveloperApp(
|
|
|
111
140
|
retryCodes: context.retryCodes,
|
|
112
141
|
});
|
|
113
142
|
if (!doResult.ok) {
|
|
114
|
-
return doResult;
|
|
143
|
+
return [doResult, { status: "request-error", request: req }];
|
|
115
144
|
}
|
|
116
145
|
const response = doResult.value;
|
|
117
146
|
|
|
@@ -146,8 +175,8 @@ export async function internalCreateDeveloperApp(
|
|
|
146
175
|
M.fail("5XX"),
|
|
147
176
|
)(response, req, { extraFields: responseFields });
|
|
148
177
|
if (!result.ok) {
|
|
149
|
-
return result;
|
|
178
|
+
return [result, { status: "complete", request: req, response }];
|
|
150
179
|
}
|
|
151
180
|
|
|
152
|
-
return result;
|
|
181
|
+
return [result, { status: "complete", request: req, response }];
|
|
153
182
|
}
|