@steamsets/client-ts 0.27.8 → 0.27.10
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 +116 -116
- package/docs/sdks/account/README.md +118 -40
- package/docs/sdks/admin/README.md +12 -4
- package/docs/sdks/apps/README.md +3 -1
- package/docs/sdks/badge/README.md +28 -18
- package/docs/sdks/badges/README.md +6 -2
- package/docs/sdks/leaderboard/README.md +18 -6
- package/docs/sdks/leaderboards/README.md +3 -1
- package/docs/sdks/liveness/README.md +21 -2
- package/docs/sdks/location/README.md +3 -1
- package/docs/sdks/staff/README.md +3 -1
- package/docs/sdks/stats/README.md +3 -1
- package/examples/package-lock.json +1 -1
- package/funcs/accountBookmarkBadge.d.ts +3 -0
- package/funcs/accountBookmarkBadge.d.ts.map +1 -1
- package/funcs/accountBookmarkBadge.js +3 -0
- package/funcs/accountBookmarkBadge.js.map +1 -1
- package/funcs/accountCompareBadges.d.ts +3 -0
- package/funcs/accountCompareBadges.d.ts.map +1 -1
- package/funcs/accountCompareBadges.js +3 -0
- package/funcs/accountCompareBadges.js.map +1 -1
- package/funcs/accountCreateConnection.d.ts +3 -0
- package/funcs/accountCreateConnection.d.ts.map +1 -1
- package/funcs/accountCreateConnection.js +3 -0
- package/funcs/accountCreateConnection.js.map +1 -1
- package/funcs/accountCreateDeveloperApp.d.ts +3 -0
- package/funcs/accountCreateDeveloperApp.d.ts.map +1 -1
- package/funcs/accountCreateDeveloperApp.js +3 -0
- package/funcs/accountCreateDeveloperApp.js.map +1 -1
- package/funcs/accountDeleteConnection.d.ts +3 -0
- package/funcs/accountDeleteConnection.d.ts.map +1 -1
- package/funcs/accountDeleteConnection.js +3 -0
- package/funcs/accountDeleteConnection.js.map +1 -1
- package/funcs/accountDeleteDeveloperApp.d.ts +3 -0
- package/funcs/accountDeleteDeveloperApp.d.ts.map +1 -1
- package/funcs/accountDeleteDeveloperApp.js +3 -0
- package/funcs/accountDeleteDeveloperApp.js.map +1 -1
- package/funcs/accountDeleteImages.d.ts +3 -0
- package/funcs/accountDeleteImages.d.ts.map +1 -1
- package/funcs/accountDeleteImages.js +3 -0
- package/funcs/accountDeleteImages.js.map +1 -1
- package/funcs/accountDeleteSession.d.ts +3 -0
- package/funcs/accountDeleteSession.d.ts.map +1 -1
- package/funcs/accountDeleteSession.js +3 -0
- package/funcs/accountDeleteSession.js.map +1 -1
- package/funcs/accountGetBadgeStats.d.ts +3 -0
- package/funcs/accountGetBadgeStats.d.ts.map +1 -1
- package/funcs/accountGetBadgeStats.js +3 -0
- package/funcs/accountGetBadgeStats.js.map +1 -1
- package/funcs/accountGetDataPoints.d.ts +3 -0
- package/funcs/accountGetDataPoints.d.ts.map +1 -1
- package/funcs/accountGetDataPoints.js +3 -0
- package/funcs/accountGetDataPoints.js.map +1 -1
- package/funcs/accountGetInfo.d.ts +3 -0
- package/funcs/accountGetInfo.d.ts.map +1 -1
- package/funcs/accountGetInfo.js +3 -0
- package/funcs/accountGetInfo.js.map +1 -1
- package/funcs/accountGetMeta.d.ts +3 -0
- package/funcs/accountGetMeta.d.ts.map +1 -1
- package/funcs/accountGetMeta.js +3 -0
- package/funcs/accountGetMeta.js.map +1 -1
- package/funcs/accountGetSession.d.ts +3 -0
- package/funcs/accountGetSession.d.ts.map +1 -1
- package/funcs/accountGetSession.js +3 -0
- package/funcs/accountGetSession.js.map +1 -1
- package/funcs/accountGetSettings.d.ts +3 -0
- package/funcs/accountGetSettings.d.ts.map +1 -1
- package/funcs/accountGetSettings.js +3 -0
- package/funcs/accountGetSettings.js.map +1 -1
- package/funcs/accountListApps.d.ts +3 -0
- package/funcs/accountListApps.d.ts.map +1 -1
- package/funcs/accountListApps.js +3 -0
- package/funcs/accountListApps.js.map +1 -1
- package/funcs/accountListBadgeBookmarks.d.ts +3 -0
- package/funcs/accountListBadgeBookmarks.d.ts.map +1 -1
- package/funcs/accountListBadgeBookmarks.js +3 -0
- package/funcs/accountListBadgeBookmarks.js.map +1 -1
- package/funcs/accountListBadges.d.ts +3 -0
- package/funcs/accountListBadges.d.ts.map +1 -1
- package/funcs/accountListBadges.js +3 -0
- package/funcs/accountListBadges.js.map +1 -1
- package/funcs/accountListFriends.d.ts +3 -0
- package/funcs/accountListFriends.d.ts.map +1 -1
- package/funcs/accountListFriends.js +3 -0
- package/funcs/accountListFriends.js.map +1 -1
- package/funcs/accountListImages.d.ts +3 -0
- package/funcs/accountListImages.d.ts.map +1 -1
- package/funcs/accountListImages.js +3 -0
- package/funcs/accountListImages.js.map +1 -1
- package/funcs/accountListLeaderboardHistory.d.ts +3 -0
- package/funcs/accountListLeaderboardHistory.d.ts.map +1 -1
- package/funcs/accountListLeaderboardHistory.js +3 -0
- package/funcs/accountListLeaderboardHistory.js.map +1 -1
- package/funcs/accountListOwnedBadges.d.ts +3 -0
- package/funcs/accountListOwnedBadges.d.ts.map +1 -1
- package/funcs/accountListOwnedBadges.js +3 -0
- package/funcs/accountListOwnedBadges.js.map +1 -1
- package/funcs/accountLogin.d.ts +3 -0
- package/funcs/accountLogin.d.ts.map +1 -1
- package/funcs/accountLogin.js +3 -0
- package/funcs/accountLogin.js.map +1 -1
- package/funcs/accountLogout.d.ts +3 -0
- package/funcs/accountLogout.d.ts.map +1 -1
- package/funcs/accountLogout.js +3 -0
- package/funcs/accountLogout.js.map +1 -1
- package/funcs/accountQueueUpdate.d.ts +4 -2
- package/funcs/accountQueueUpdate.d.ts.map +1 -1
- package/funcs/accountQueueUpdate.js +8 -3
- package/funcs/accountQueueUpdate.js.map +1 -1
- package/funcs/accountReconnectConnection.d.ts +3 -0
- package/funcs/accountReconnectConnection.d.ts.map +1 -1
- package/funcs/accountReconnectConnection.js +3 -0
- package/funcs/accountReconnectConnection.js.map +1 -1
- package/funcs/accountRefreshSession.d.ts +3 -0
- package/funcs/accountRefreshSession.d.ts.map +1 -1
- package/funcs/accountRefreshSession.js +3 -0
- package/funcs/accountRefreshSession.js.map +1 -1
- package/funcs/accountSendEmailVerification.d.ts +3 -0
- package/funcs/accountSendEmailVerification.d.ts.map +1 -1
- package/funcs/accountSendEmailVerification.js +3 -0
- package/funcs/accountSendEmailVerification.js.map +1 -1
- package/funcs/accountSubscribeEmail.d.ts +3 -0
- package/funcs/accountSubscribeEmail.d.ts.map +1 -1
- package/funcs/accountSubscribeEmail.js +3 -0
- package/funcs/accountSubscribeEmail.js.map +1 -1
- package/funcs/accountUpdateConnection.d.ts +3 -0
- package/funcs/accountUpdateConnection.d.ts.map +1 -1
- package/funcs/accountUpdateConnection.js +3 -0
- package/funcs/accountUpdateConnection.js.map +1 -1
- package/funcs/accountUpdateDeveloperApp.d.ts +3 -0
- package/funcs/accountUpdateDeveloperApp.d.ts.map +1 -1
- package/funcs/accountUpdateDeveloperApp.js +3 -0
- package/funcs/accountUpdateDeveloperApp.js.map +1 -1
- package/funcs/accountUpdateImages.d.ts +3 -0
- package/funcs/accountUpdateImages.d.ts.map +1 -1
- package/funcs/accountUpdateImages.js +3 -0
- package/funcs/accountUpdateImages.js.map +1 -1
- package/funcs/accountUpdateRole.d.ts +3 -0
- package/funcs/accountUpdateRole.d.ts.map +1 -1
- package/funcs/accountUpdateRole.js +3 -0
- package/funcs/accountUpdateRole.js.map +1 -1
- package/funcs/accountUpdateSettings.d.ts +3 -0
- package/funcs/accountUpdateSettings.d.ts.map +1 -1
- package/funcs/accountUpdateSettings.js +3 -0
- package/funcs/accountUpdateSettings.js.map +1 -1
- package/funcs/accountUpdateVanity.d.ts +3 -0
- package/funcs/accountUpdateVanity.d.ts.map +1 -1
- package/funcs/accountUpdateVanity.js +3 -0
- package/funcs/accountUpdateVanity.js.map +1 -1
- package/funcs/accountUploadImages.d.ts +3 -0
- package/funcs/accountUploadImages.d.ts.map +1 -1
- package/funcs/accountUploadImages.js +3 -0
- package/funcs/accountUploadImages.js.map +1 -1
- package/funcs/accountVerifyConnection.d.ts +3 -0
- package/funcs/accountVerifyConnection.d.ts.map +1 -1
- package/funcs/accountVerifyConnection.js +3 -0
- package/funcs/accountVerifyConnection.js.map +1 -1
- package/funcs/accountVerifyEmail.d.ts +3 -0
- package/funcs/accountVerifyEmail.d.ts.map +1 -1
- package/funcs/accountVerifyEmail.js +3 -0
- package/funcs/accountVerifyEmail.js.map +1 -1
- package/funcs/adminGetAccount.d.ts +3 -0
- package/funcs/adminGetAccount.d.ts.map +1 -1
- package/funcs/adminGetAccount.js +3 -0
- package/funcs/adminGetAccount.js.map +1 -1
- package/funcs/adminRemoveVanity.d.ts +3 -0
- package/funcs/adminRemoveVanity.d.ts.map +1 -1
- package/funcs/adminRemoveVanity.js +3 -0
- package/funcs/adminRemoveVanity.js.map +1 -1
- package/funcs/adminUpdateResources.d.ts +3 -0
- package/funcs/adminUpdateResources.d.ts.map +1 -1
- package/funcs/adminUpdateResources.js +3 -0
- package/funcs/adminUpdateResources.js.map +1 -1
- package/funcs/adminUpdateRoles.d.ts +3 -0
- package/funcs/adminUpdateRoles.d.ts.map +1 -1
- package/funcs/adminUpdateRoles.js +3 -0
- package/funcs/adminUpdateRoles.js.map +1 -1
- package/funcs/appsListBadges.d.ts +3 -0
- package/funcs/appsListBadges.d.ts.map +1 -1
- package/funcs/appsListBadges.js +3 -0
- package/funcs/appsListBadges.js.map +1 -1
- package/funcs/badgeBadgeListAccounts.d.ts +3 -0
- package/funcs/badgeBadgeListAccounts.d.ts.map +1 -1
- package/funcs/badgeBadgeListAccounts.js +3 -0
- package/funcs/badgeBadgeListAccounts.js.map +1 -1
- package/funcs/badgeSearch.d.ts +4 -2
- package/funcs/badgeSearch.d.ts.map +1 -1
- package/funcs/badgeSearch.js +6 -3
- package/funcs/badgeSearch.js.map +1 -1
- package/funcs/badgeSuggestTags.d.ts +3 -0
- package/funcs/badgeSuggestTags.d.ts.map +1 -1
- package/funcs/badgeSuggestTags.js +3 -0
- package/funcs/badgeSuggestTags.js.map +1 -1
- package/funcs/badgesListTags.d.ts +3 -0
- package/funcs/badgesListTags.d.ts.map +1 -1
- package/funcs/badgesListTags.js +3 -0
- package/funcs/badgesListTags.js.map +1 -1
- package/funcs/badgesTag.d.ts +3 -0
- package/funcs/badgesTag.d.ts.map +1 -1
- package/funcs/badgesTag.js +3 -0
- package/funcs/badgesTag.js.map +1 -1
- package/funcs/leaderboardGetAccount.d.ts +3 -0
- package/funcs/leaderboardGetAccount.d.ts.map +1 -1
- package/funcs/leaderboardGetAccount.js +3 -0
- package/funcs/leaderboardGetAccount.js.map +1 -1
- package/funcs/leaderboardGetAccountsMeta.d.ts +3 -0
- package/funcs/leaderboardGetAccountsMeta.d.ts.map +1 -1
- package/funcs/leaderboardGetAccountsMeta.js +3 -0
- package/funcs/leaderboardGetAccountsMeta.js.map +1 -1
- package/funcs/leaderboardGetGroup.d.ts +3 -0
- package/funcs/leaderboardGetGroup.d.ts.map +1 -1
- package/funcs/leaderboardGetGroup.js +3 -0
- package/funcs/leaderboardGetGroup.js.map +1 -1
- package/funcs/leaderboardGetGroupsMeta.d.ts +3 -0
- package/funcs/leaderboardGetGroupsMeta.d.ts.map +1 -1
- package/funcs/leaderboardGetGroupsMeta.js +3 -0
- package/funcs/leaderboardGetGroupsMeta.js.map +1 -1
- package/funcs/leaderboardGetLowestRanks.d.ts +3 -0
- package/funcs/leaderboardGetLowestRanks.d.ts.map +1 -1
- package/funcs/leaderboardGetLowestRanks.js +3 -0
- package/funcs/leaderboardGetLowestRanks.js.map +1 -1
- package/funcs/leaderboardPreviewAccountRank.d.ts +3 -0
- package/funcs/leaderboardPreviewAccountRank.d.ts.map +1 -1
- package/funcs/leaderboardPreviewAccountRank.js +3 -0
- package/funcs/leaderboardPreviewAccountRank.js.map +1 -1
- package/funcs/leaderboardsList.d.ts +3 -0
- package/funcs/leaderboardsList.d.ts.map +1 -1
- package/funcs/leaderboardsList.js +3 -0
- package/funcs/leaderboardsList.js.map +1 -1
- package/funcs/livenessCheck.d.ts +21 -2
- package/funcs/livenessCheck.d.ts.map +1 -1
- package/funcs/livenessCheck.js +21 -2
- package/funcs/livenessCheck.js.map +1 -1
- package/funcs/locationGet.d.ts +3 -0
- package/funcs/locationGet.d.ts.map +1 -1
- package/funcs/locationGet.js +3 -0
- package/funcs/locationGet.js.map +1 -1
- package/funcs/staffList.d.ts +3 -0
- package/funcs/staffList.d.ts.map +1 -1
- package/funcs/staffList.js +3 -0
- package/funcs/staffList.js.map +1 -1
- package/funcs/statsGet.d.ts +3 -0
- package/funcs/statsGet.d.ts.map +1 -1
- package/funcs/statsGet.js +3 -0
- 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/lib/config.js.map +1 -1
- package/models/components/accountsearch.d.ts +6 -6
- package/models/components/accountsearch.d.ts.map +1 -1
- package/models/components/accountsearch.js +6 -6
- package/models/components/accountsearch.js.map +1 -1
- package/models/components/idsearch.d.ts +37 -0
- package/models/components/{idstruct.d.ts.map → idsearch.d.ts.map} +1 -1
- package/models/components/{idstruct.js → idsearch.js} +17 -17
- package/models/components/{idstruct.js.map → idsearch.js.map} +1 -1
- package/models/components/index.d.ts +2 -4
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -4
- package/models/components/index.js.map +1 -1
- package/models/components/v1accountlistappsrequestbody.d.ts +6 -6
- package/models/components/v1accountlistappsrequestbody.js +6 -6
- package/models/components/v1accountlistbadgesrequestbody.d.ts +6 -6
- package/models/components/v1accountlistbadgesrequestbody.js +6 -6
- package/models/components/v1accountqueueupdaterequestbody.d.ts +6 -6
- package/models/components/v1accountqueueupdaterequestbody.js +6 -6
- package/models/components/v1adminupdateresourcesrequestbody.d.ts +6 -6
- package/models/components/v1adminupdateresourcesrequestbody.js +6 -6
- package/models/components/v1adminupdaterolesrequestbody.d.ts +6 -6
- package/models/components/v1adminupdaterolesrequestbody.js +6 -6
- package/models/components/v1leaderboardpreviewaccountrankrequestbody.d.ts +6 -6
- package/models/components/v1leaderboardpreviewaccountrankrequestbody.js +6 -6
- package/models/components/{accountsearchvanitystruct.d.ts → vanitysearch.d.ts} +14 -14
- package/models/components/vanitysearch.d.ts.map +1 -0
- package/models/components/{accountsearchvanitystruct.js → vanitysearch.js} +17 -17
- package/models/components/vanitysearch.js.map +1 -0
- package/models/operations/accountqueueupdate.d.ts +27 -0
- package/models/operations/accountqueueupdate.d.ts.map +1 -1
- package/models/operations/accountqueueupdate.js +40 -1
- package/models/operations/accountqueueupdate.js.map +1 -1
- package/models/operations/badgesearchbadges.d.ts +27 -0
- package/models/operations/badgesearchbadges.d.ts.map +1 -1
- package/models/operations/badgesearchbadges.js +40 -1
- package/models/operations/badgesearchbadges.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +112 -1
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +111 -0
- package/sdk/account.js.map +1 -1
- package/sdk/admin.d.ts +12 -0
- package/sdk/admin.d.ts.map +1 -1
- package/sdk/admin.js +12 -0
- package/sdk/admin.js.map +1 -1
- package/sdk/apps.d.ts +3 -0
- package/sdk/apps.d.ts.map +1 -1
- package/sdk/apps.js +3 -0
- package/sdk/apps.js.map +1 -1
- package/sdk/badge.d.ts +10 -1
- package/sdk/badge.d.ts.map +1 -1
- package/sdk/badge.js +9 -0
- package/sdk/badge.js.map +1 -1
- package/sdk/badges.d.ts +6 -0
- package/sdk/badges.d.ts.map +1 -1
- package/sdk/badges.js +6 -0
- package/sdk/badges.js.map +1 -1
- package/sdk/leaderboard.d.ts +18 -0
- package/sdk/leaderboard.d.ts.map +1 -1
- package/sdk/leaderboard.js +18 -0
- package/sdk/leaderboard.js.map +1 -1
- package/sdk/leaderboards.d.ts +3 -0
- package/sdk/leaderboards.d.ts.map +1 -1
- package/sdk/leaderboards.js +3 -0
- package/sdk/leaderboards.js.map +1 -1
- package/sdk/liveness.d.ts +21 -2
- package/sdk/liveness.d.ts.map +1 -1
- package/sdk/liveness.js +21 -2
- package/sdk/liveness.js.map +1 -1
- package/sdk/location.d.ts +3 -0
- package/sdk/location.d.ts.map +1 -1
- package/sdk/location.js +3 -0
- package/sdk/location.js.map +1 -1
- package/sdk/staff.d.ts +3 -0
- package/sdk/staff.d.ts.map +1 -1
- package/sdk/staff.js +3 -0
- package/sdk/staff.js.map +1 -1
- package/sdk/stats.d.ts +3 -0
- package/sdk/stats.d.ts.map +1 -1
- package/sdk/stats.js +3 -0
- package/sdk/stats.js.map +1 -1
- package/src/funcs/accountBookmarkBadge.ts +3 -0
- package/src/funcs/accountCompareBadges.ts +3 -0
- package/src/funcs/accountCreateConnection.ts +3 -0
- package/src/funcs/accountCreateDeveloperApp.ts +3 -0
- package/src/funcs/accountDeleteConnection.ts +3 -0
- package/src/funcs/accountDeleteDeveloperApp.ts +3 -0
- package/src/funcs/accountDeleteImages.ts +3 -0
- package/src/funcs/accountDeleteSession.ts +3 -0
- package/src/funcs/accountGetBadgeStats.ts +3 -0
- package/src/funcs/accountGetDataPoints.ts +3 -0
- package/src/funcs/accountGetInfo.ts +3 -0
- package/src/funcs/accountGetMeta.ts +3 -0
- package/src/funcs/accountGetSession.ts +3 -0
- package/src/funcs/accountGetSettings.ts +3 -0
- package/src/funcs/accountListApps.ts +3 -0
- package/src/funcs/accountListBadgeBookmarks.ts +3 -0
- package/src/funcs/accountListBadges.ts +3 -0
- package/src/funcs/accountListFriends.ts +3 -0
- package/src/funcs/accountListImages.ts +3 -0
- package/src/funcs/accountListLeaderboardHistory.ts +3 -0
- package/src/funcs/accountListOwnedBadges.ts +3 -0
- package/src/funcs/accountLogin.ts +3 -0
- package/src/funcs/accountLogout.ts +3 -0
- package/src/funcs/accountQueueUpdate.ts +15 -7
- package/src/funcs/accountReconnectConnection.ts +3 -0
- package/src/funcs/accountRefreshSession.ts +3 -0
- package/src/funcs/accountSendEmailVerification.ts +3 -0
- package/src/funcs/accountSubscribeEmail.ts +3 -0
- package/src/funcs/accountUpdateConnection.ts +3 -0
- package/src/funcs/accountUpdateDeveloperApp.ts +3 -0
- package/src/funcs/accountUpdateImages.ts +3 -0
- package/src/funcs/accountUpdateRole.ts +3 -0
- package/src/funcs/accountUpdateSettings.ts +3 -0
- package/src/funcs/accountUpdateVanity.ts +3 -0
- package/src/funcs/accountUploadImages.ts +3 -0
- package/src/funcs/accountVerifyConnection.ts +3 -0
- package/src/funcs/accountVerifyEmail.ts +3 -0
- package/src/funcs/adminGetAccount.ts +3 -0
- package/src/funcs/adminRemoveVanity.ts +3 -0
- package/src/funcs/adminUpdateResources.ts +3 -0
- package/src/funcs/adminUpdateRoles.ts +3 -0
- package/src/funcs/appsListBadges.ts +3 -0
- package/src/funcs/badgeBadgeListAccounts.ts +3 -0
- package/src/funcs/badgeSearch.ts +13 -6
- package/src/funcs/badgeSuggestTags.ts +3 -0
- package/src/funcs/badgesListTags.ts +3 -0
- package/src/funcs/badgesTag.ts +3 -0
- package/src/funcs/leaderboardGetAccount.ts +3 -0
- package/src/funcs/leaderboardGetAccountsMeta.ts +3 -0
- package/src/funcs/leaderboardGetGroup.ts +3 -0
- package/src/funcs/leaderboardGetGroupsMeta.ts +3 -0
- package/src/funcs/leaderboardGetLowestRanks.ts +3 -0
- package/src/funcs/leaderboardPreviewAccountRank.ts +3 -0
- package/src/funcs/leaderboardsList.ts +3 -0
- package/src/funcs/livenessCheck.ts +21 -2
- package/src/funcs/locationGet.ts +3 -0
- package/src/funcs/staffList.ts +3 -0
- package/src/funcs/statsGet.ts +3 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/accountsearch.ts +18 -18
- package/src/models/components/{idstruct.ts → idsearch.ts} +20 -20
- package/src/models/components/index.ts +2 -4
- package/src/models/components/v1accountlistappsrequestbody.ts +18 -18
- package/src/models/components/v1accountlistbadgesrequestbody.ts +18 -18
- package/src/models/components/v1accountqueueupdaterequestbody.ts +18 -18
- package/src/models/components/v1adminupdateresourcesrequestbody.ts +18 -18
- package/src/models/components/v1adminupdaterolesrequestbody.ts +18 -18
- package/src/models/components/v1leaderboardpreviewaccountrankrequestbody.ts +18 -18
- package/src/models/components/{accountsearchvanitystruct.ts → vanitysearch.ts} +20 -24
- package/src/models/operations/accountqueueupdate.ts +75 -0
- package/src/models/operations/badgesearchbadges.ts +72 -0
- package/src/sdk/account.ts +112 -1
- package/src/sdk/admin.ts +12 -0
- package/src/sdk/apps.ts +3 -0
- package/src/sdk/badge.ts +10 -1
- package/src/sdk/badges.ts +6 -0
- package/src/sdk/leaderboard.ts +18 -0
- package/src/sdk/leaderboards.ts +3 -0
- package/src/sdk/liveness.ts +21 -2
- package/src/sdk/location.ts +3 -0
- package/src/sdk/staff.ts +3 -0
- package/src/sdk/stats.ts +3 -0
- package/models/components/accountsearchidstruct.d.ts +0 -37
- package/models/components/accountsearchidstruct.d.ts.map +0 -1
- package/models/components/accountsearchidstruct.js +0 -71
- package/models/components/accountsearchidstruct.js.map +0 -1
- package/models/components/accountsearchvanitystruct.d.ts.map +0 -1
- package/models/components/accountsearchvanitystruct.js.map +0 -1
- package/models/components/idstruct.d.ts +0 -37
- package/models/components/vanitystruct.d.ts +0 -69
- package/models/components/vanitystruct.d.ts.map +0 -1
- package/models/components/vanitystruct.js +0 -93
- package/models/components/vanitystruct.js.map +0 -1
- package/src/models/components/accountsearchidstruct.ts +0 -76
- package/src/models/components/vanitystruct.ts +0 -106
package/src/sdk/liveness.ts
CHANGED
|
@@ -9,10 +9,29 @@ import { unwrapAsync } from "../types/fp.js";
|
|
|
9
9
|
|
|
10
10
|
export class Liveness extends ClientSDK {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Service Health Check
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* This endpoint
|
|
15
|
+
* This endpoint provides a simple health check to verify that the Steamsets API is operational and ready to serve requests.
|
|
16
|
+
*
|
|
17
|
+
* <Info>
|
|
18
|
+
* This endpoint is commonly used by load balancers, monitoring systems, and container orchestrators to check service availability.
|
|
19
|
+
* </Info>
|
|
20
|
+
*
|
|
21
|
+
* <Tip>
|
|
22
|
+
* Use this endpoint for automated health monitoring - it has minimal overhead and responds quickly.
|
|
23
|
+
* </Tip>
|
|
24
|
+
*
|
|
25
|
+
* ## Use Cases
|
|
26
|
+
*
|
|
27
|
+
* - **Load Balancer Health Checks**: Configure your load balancer to ping this endpoint
|
|
28
|
+
* - **Monitoring Systems**: Set up alerts when this endpoint becomes unavailable
|
|
29
|
+
* - **Container Health Checks**: Use in Docker/Kubernetes health check configurations
|
|
30
|
+
* - **API Status Verification**: Quick way to verify the service is responding
|
|
31
|
+
*
|
|
32
|
+
* ## Response Format
|
|
33
|
+
*
|
|
34
|
+
* The endpoint returns a simple JSON object with a status message confirming the service is alive and operational.
|
|
16
35
|
*/
|
|
17
36
|
async check(
|
|
18
37
|
options?: RequestOptions,
|
package/src/sdk/location.ts
CHANGED
|
@@ -8,6 +8,9 @@ import * as operations from "../models/operations/index.js";
|
|
|
8
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
9
|
|
|
10
10
|
export class Location extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* List available locations
|
|
13
|
+
*/
|
|
11
14
|
async get(
|
|
12
15
|
options?: RequestOptions,
|
|
13
16
|
): Promise<operations.LocationGetLocationsResponse> {
|
package/src/sdk/staff.ts
CHANGED
|
@@ -8,6 +8,9 @@ import * as operations from "../models/operations/index.js";
|
|
|
8
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
9
|
|
|
10
10
|
export class Staff extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* List staff members
|
|
13
|
+
*/
|
|
11
14
|
async list(
|
|
12
15
|
options?: RequestOptions,
|
|
13
16
|
): Promise<operations.StaffListStaffResponse> {
|
package/src/sdk/stats.ts
CHANGED
|
@@ -8,6 +8,9 @@ import * as operations from "../models/operations/index.js";
|
|
|
8
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
9
|
|
|
10
10
|
export class Stats extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Get platform statistics
|
|
13
|
+
*/
|
|
11
14
|
async get(
|
|
12
15
|
options?: RequestOptions,
|
|
13
16
|
): Promise<operations.StatsGetStatsResponse> {
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type AccountSearchIDStruct = {
|
|
5
|
-
/**
|
|
6
|
-
* Account ID to search for
|
|
7
|
-
*/
|
|
8
|
-
accountId?: number | undefined;
|
|
9
|
-
/**
|
|
10
|
-
* SteamID64 to search for
|
|
11
|
-
*/
|
|
12
|
-
steamId64?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
/** @internal */
|
|
15
|
-
export declare const AccountSearchIDStruct$inboundSchema: z.ZodType<AccountSearchIDStruct, z.ZodTypeDef, unknown>;
|
|
16
|
-
/** @internal */
|
|
17
|
-
export type AccountSearchIDStruct$Outbound = {
|
|
18
|
-
accountId?: number | undefined;
|
|
19
|
-
steamId64?: string | undefined;
|
|
20
|
-
};
|
|
21
|
-
/** @internal */
|
|
22
|
-
export declare const AccountSearchIDStruct$outboundSchema: z.ZodType<AccountSearchIDStruct$Outbound, z.ZodTypeDef, AccountSearchIDStruct>;
|
|
23
|
-
/**
|
|
24
|
-
* @internal
|
|
25
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
26
|
-
*/
|
|
27
|
-
export declare namespace AccountSearchIDStruct$ {
|
|
28
|
-
/** @deprecated use `AccountSearchIDStruct$inboundSchema` instead. */
|
|
29
|
-
const inboundSchema: z.ZodType<AccountSearchIDStruct, z.ZodTypeDef, unknown>;
|
|
30
|
-
/** @deprecated use `AccountSearchIDStruct$outboundSchema` instead. */
|
|
31
|
-
const outboundSchema: z.ZodType<AccountSearchIDStruct$Outbound, z.ZodTypeDef, AccountSearchIDStruct>;
|
|
32
|
-
/** @deprecated use `AccountSearchIDStruct$Outbound` instead. */
|
|
33
|
-
type Outbound = AccountSearchIDStruct$Outbound;
|
|
34
|
-
}
|
|
35
|
-
export declare function accountSearchIDStructToJSON(accountSearchIDStruct: AccountSearchIDStruct): string;
|
|
36
|
-
export declare function accountSearchIDStructFromJSON(jsonString: string): SafeParseResult<AccountSearchIDStruct, SDKValidationError>;
|
|
37
|
-
//# sourceMappingURL=accountsearchidstruct.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accountsearchidstruct.d.ts","sourceRoot":"","sources":["../../src/models/components/accountsearchidstruct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAIrB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.AccountSearchIDStruct$ = exports.AccountSearchIDStruct$outboundSchema = exports.AccountSearchIDStruct$inboundSchema = void 0;
|
|
40
|
-
exports.accountSearchIDStructToJSON = accountSearchIDStructToJSON;
|
|
41
|
-
exports.accountSearchIDStructFromJSON = accountSearchIDStructFromJSON;
|
|
42
|
-
const z = __importStar(require("zod"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
/** @internal */
|
|
45
|
-
exports.AccountSearchIDStruct$inboundSchema = z.object({
|
|
46
|
-
accountId: z.number().int().optional(),
|
|
47
|
-
steamId64: z.string().optional(),
|
|
48
|
-
});
|
|
49
|
-
/** @internal */
|
|
50
|
-
exports.AccountSearchIDStruct$outboundSchema = z.object({
|
|
51
|
-
accountId: z.number().int().optional(),
|
|
52
|
-
steamId64: z.string().optional(),
|
|
53
|
-
});
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
-
*/
|
|
58
|
-
var AccountSearchIDStruct$;
|
|
59
|
-
(function (AccountSearchIDStruct$) {
|
|
60
|
-
/** @deprecated use `AccountSearchIDStruct$inboundSchema` instead. */
|
|
61
|
-
AccountSearchIDStruct$.inboundSchema = exports.AccountSearchIDStruct$inboundSchema;
|
|
62
|
-
/** @deprecated use `AccountSearchIDStruct$outboundSchema` instead. */
|
|
63
|
-
AccountSearchIDStruct$.outboundSchema = exports.AccountSearchIDStruct$outboundSchema;
|
|
64
|
-
})(AccountSearchIDStruct$ || (exports.AccountSearchIDStruct$ = AccountSearchIDStruct$ = {}));
|
|
65
|
-
function accountSearchIDStructToJSON(accountSearchIDStruct) {
|
|
66
|
-
return JSON.stringify(exports.AccountSearchIDStruct$outboundSchema.parse(accountSearchIDStruct));
|
|
67
|
-
}
|
|
68
|
-
function accountSearchIDStructFromJSON(jsonString) {
|
|
69
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountSearchIDStruct$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountSearchIDStruct' from JSON`);
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=accountsearchidstruct.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accountsearchidstruct.js","sourceRoot":"","sources":["../../src/models/components/accountsearchidstruct.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDH,kEAMC;AAED,sEAQC;AAvED,uCAAyB;AACzB,qDAAiD;AAejD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accountsearchvanitystruct.d.ts","sourceRoot":"","sources":["../../src/models/components/accountsearchvanitystruct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,IAAI;;;CAGP,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AAE3C,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,IAAI,CAE3D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,IAAI,CACzC,CAAC;AAErB;;;GAGG;AACH,yBAAiB,KAAK,CAAC;IACrB,oDAAoD;IAC7C,MAAM,aAAa;;;MAAqB,CAAC;IAChD,qDAAqD;IAC9C,MAAM,cAAc;;;MAAsB,CAAC;CACnD;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAIzB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accountsearchvanitystruct.js","sourceRoot":"","sources":["../../src/models/components/accountsearchvanitystruct.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0FH,0EAMC;AAED,8EAQC;AAxGD,uCAAyB;AACzB,qDAAiD;AAKjD;;GAEG;AACU,QAAA,IAAI,GAAG;IAClB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACZ,CAAC;AAiBX,gBAAgB;AACH,QAAA,kBAAkB,GAAiC,CAAC,CAAC,UAAU,CAC1E,YAAI,CACL,CAAC;AAEF,gBAAgB;AACH,QAAA,mBAAmB,GAC9B,0BAAkB,CAAC;AAErB;;;GAGG;AACH,IAAiB,KAAK,CAKrB;AALD,WAAiB,KAAK;IACpB,oDAAoD;IACvC,mBAAa,GAAG,0BAAkB,CAAC;IAChD,qDAAqD;IACxC,oBAAc,GAAG,2BAAmB,CAAC;AACpD,CAAC,EALgB,KAAK,qBAAL,KAAK,QAKrB;AAED,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,0BAAkB;IACxB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,2BAAmB;IACzB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAGzE,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C;AAED,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type IDStruct = {
|
|
5
|
-
/**
|
|
6
|
-
* Account ID to search for
|
|
7
|
-
*/
|
|
8
|
-
accountId?: number | undefined;
|
|
9
|
-
/**
|
|
10
|
-
* SteamID64 to search for
|
|
11
|
-
*/
|
|
12
|
-
steamId64?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
/** @internal */
|
|
15
|
-
export declare const IDStruct$inboundSchema: z.ZodType<IDStruct, z.ZodTypeDef, unknown>;
|
|
16
|
-
/** @internal */
|
|
17
|
-
export type IDStruct$Outbound = {
|
|
18
|
-
accountId?: number | undefined;
|
|
19
|
-
steamId64?: string | undefined;
|
|
20
|
-
};
|
|
21
|
-
/** @internal */
|
|
22
|
-
export declare const IDStruct$outboundSchema: z.ZodType<IDStruct$Outbound, z.ZodTypeDef, IDStruct>;
|
|
23
|
-
/**
|
|
24
|
-
* @internal
|
|
25
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
26
|
-
*/
|
|
27
|
-
export declare namespace IDStruct$ {
|
|
28
|
-
/** @deprecated use `IDStruct$inboundSchema` instead. */
|
|
29
|
-
const inboundSchema: z.ZodType<IDStruct, z.ZodTypeDef, unknown>;
|
|
30
|
-
/** @deprecated use `IDStruct$outboundSchema` instead. */
|
|
31
|
-
const outboundSchema: z.ZodType<IDStruct$Outbound, z.ZodTypeDef, IDStruct>;
|
|
32
|
-
/** @deprecated use `IDStruct$Outbound` instead. */
|
|
33
|
-
type Outbound = IDStruct$Outbound;
|
|
34
|
-
}
|
|
35
|
-
export declare function idStructToJSON(idStruct: IDStruct): string;
|
|
36
|
-
export declare function idStructFromJSON(jsonString: string): SafeParseResult<IDStruct, SDKValidationError>;
|
|
37
|
-
//# sourceMappingURL=idstruct.d.ts.map
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
/**
|
|
6
|
-
* Which type of vanity to search for
|
|
7
|
-
*/
|
|
8
|
-
export declare const VanityStructType: {
|
|
9
|
-
readonly Steam: "steam";
|
|
10
|
-
readonly Internal: "internal";
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Which type of vanity to search for
|
|
14
|
-
*/
|
|
15
|
-
export type VanityStructType = ClosedEnum<typeof VanityStructType>;
|
|
16
|
-
export type VanityStruct = {
|
|
17
|
-
/**
|
|
18
|
-
* Which type of vanity to search for
|
|
19
|
-
*/
|
|
20
|
-
type: VanityStructType;
|
|
21
|
-
/**
|
|
22
|
-
* Vanity to search for
|
|
23
|
-
*/
|
|
24
|
-
value: string;
|
|
25
|
-
};
|
|
26
|
-
/** @internal */
|
|
27
|
-
export declare const VanityStructType$inboundSchema: z.ZodNativeEnum<typeof VanityStructType>;
|
|
28
|
-
/** @internal */
|
|
29
|
-
export declare const VanityStructType$outboundSchema: z.ZodNativeEnum<typeof VanityStructType>;
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
-
*/
|
|
34
|
-
export declare namespace VanityStructType$ {
|
|
35
|
-
/** @deprecated use `VanityStructType$inboundSchema` instead. */
|
|
36
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
37
|
-
readonly Steam: "steam";
|
|
38
|
-
readonly Internal: "internal";
|
|
39
|
-
}>;
|
|
40
|
-
/** @deprecated use `VanityStructType$outboundSchema` instead. */
|
|
41
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
42
|
-
readonly Steam: "steam";
|
|
43
|
-
readonly Internal: "internal";
|
|
44
|
-
}>;
|
|
45
|
-
}
|
|
46
|
-
/** @internal */
|
|
47
|
-
export declare const VanityStruct$inboundSchema: z.ZodType<VanityStruct, z.ZodTypeDef, unknown>;
|
|
48
|
-
/** @internal */
|
|
49
|
-
export type VanityStruct$Outbound = {
|
|
50
|
-
type: string;
|
|
51
|
-
value: string;
|
|
52
|
-
};
|
|
53
|
-
/** @internal */
|
|
54
|
-
export declare const VanityStruct$outboundSchema: z.ZodType<VanityStruct$Outbound, z.ZodTypeDef, VanityStruct>;
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
-
*/
|
|
59
|
-
export declare namespace VanityStruct$ {
|
|
60
|
-
/** @deprecated use `VanityStruct$inboundSchema` instead. */
|
|
61
|
-
const inboundSchema: z.ZodType<VanityStruct, z.ZodTypeDef, unknown>;
|
|
62
|
-
/** @deprecated use `VanityStruct$outboundSchema` instead. */
|
|
63
|
-
const outboundSchema: z.ZodType<VanityStruct$Outbound, z.ZodTypeDef, VanityStruct>;
|
|
64
|
-
/** @deprecated use `VanityStruct$Outbound` instead. */
|
|
65
|
-
type Outbound = VanityStruct$Outbound;
|
|
66
|
-
}
|
|
67
|
-
export declare function vanityStructToJSON(vanityStruct: VanityStruct): string;
|
|
68
|
-
export declare function vanityStructFromJSON(jsonString: string): SafeParseResult<VanityStruct, SDKValidationError>;
|
|
69
|
-
//# sourceMappingURL=vanitystruct.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vanitystruct.d.ts","sourceRoot":"","sources":["../../src/models/components/vanitystruct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,gBAAgB,CACS,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,gBAAgB,CACS,CAAC;AAEnC;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa;;;MAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc;;;MAAkC,CAAC;CAC/D;AAED,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CAIZ,CAAC;AAEH;;;GAGG;AACH,yBAAiB,aAAa,CAAC;IAC7B,4DAA4D;IACrD,MAAM,aAAa,gDAA6B,CAAC;IACxD,6DAA6D;IACtD,MAAM,cAAc,8DAA8B,CAAC;IAC1D,uDAAuD;IACvD,KAAY,QAAQ,GAAG,qBAAqB,CAAC;CAC9C;AAED,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAErE;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.VanityStruct$ = exports.VanityStruct$outboundSchema = exports.VanityStruct$inboundSchema = exports.VanityStructType$ = exports.VanityStructType$outboundSchema = exports.VanityStructType$inboundSchema = exports.VanityStructType = void 0;
|
|
40
|
-
exports.vanityStructToJSON = vanityStructToJSON;
|
|
41
|
-
exports.vanityStructFromJSON = vanityStructFromJSON;
|
|
42
|
-
const z = __importStar(require("zod"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
/**
|
|
45
|
-
* Which type of vanity to search for
|
|
46
|
-
*/
|
|
47
|
-
exports.VanityStructType = {
|
|
48
|
-
Steam: "steam",
|
|
49
|
-
Internal: "internal",
|
|
50
|
-
};
|
|
51
|
-
/** @internal */
|
|
52
|
-
exports.VanityStructType$inboundSchema = z.nativeEnum(exports.VanityStructType);
|
|
53
|
-
/** @internal */
|
|
54
|
-
exports.VanityStructType$outboundSchema = exports.VanityStructType$inboundSchema;
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
-
*/
|
|
59
|
-
var VanityStructType$;
|
|
60
|
-
(function (VanityStructType$) {
|
|
61
|
-
/** @deprecated use `VanityStructType$inboundSchema` instead. */
|
|
62
|
-
VanityStructType$.inboundSchema = exports.VanityStructType$inboundSchema;
|
|
63
|
-
/** @deprecated use `VanityStructType$outboundSchema` instead. */
|
|
64
|
-
VanityStructType$.outboundSchema = exports.VanityStructType$outboundSchema;
|
|
65
|
-
})(VanityStructType$ || (exports.VanityStructType$ = VanityStructType$ = {}));
|
|
66
|
-
/** @internal */
|
|
67
|
-
exports.VanityStruct$inboundSchema = z.object({
|
|
68
|
-
type: exports.VanityStructType$inboundSchema,
|
|
69
|
-
value: z.string(),
|
|
70
|
-
});
|
|
71
|
-
/** @internal */
|
|
72
|
-
exports.VanityStruct$outboundSchema = z.object({
|
|
73
|
-
type: exports.VanityStructType$outboundSchema,
|
|
74
|
-
value: z.string(),
|
|
75
|
-
});
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
79
|
-
*/
|
|
80
|
-
var VanityStruct$;
|
|
81
|
-
(function (VanityStruct$) {
|
|
82
|
-
/** @deprecated use `VanityStruct$inboundSchema` instead. */
|
|
83
|
-
VanityStruct$.inboundSchema = exports.VanityStruct$inboundSchema;
|
|
84
|
-
/** @deprecated use `VanityStruct$outboundSchema` instead. */
|
|
85
|
-
VanityStruct$.outboundSchema = exports.VanityStruct$outboundSchema;
|
|
86
|
-
})(VanityStruct$ || (exports.VanityStruct$ = VanityStruct$ = {}));
|
|
87
|
-
function vanityStructToJSON(vanityStruct) {
|
|
88
|
-
return JSON.stringify(exports.VanityStruct$outboundSchema.parse(vanityStruct));
|
|
89
|
-
}
|
|
90
|
-
function vanityStructFromJSON(jsonString) {
|
|
91
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.VanityStruct$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VanityStruct' from JSON`);
|
|
92
|
-
}
|
|
93
|
-
//# sourceMappingURL=vanitystruct.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vanitystruct.js","sourceRoot":"","sources":["../../src/models/components/vanitystruct.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2FH,gDAEC;AAED,oDAQC;AArGD,uCAAyB;AACzB,qDAAiD;AAKjD;;GAEG;AACU,QAAA,gBAAgB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACZ,CAAC;AAiBX,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,CAAC,CAAC,UAAU,CAAC,wBAAgB,CAAC,CAAC;AAEnC,gBAAgB;AACH,QAAA,+BAA+B,GAExC,sCAA8B,CAAC;AAEnC;;;GAGG;AACH,IAAiB,iBAAiB,CAKjC;AALD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAChE,CAAC,EALgB,iBAAiB,iCAAjB,iBAAiB,QAKjC;AAED,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,sCAA8B;IACpC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,uCAA+B;IACrC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,aAAa,CAO7B;AAPD,WAAiB,aAAa;IAC5B,4DAA4D;IAC/C,2BAAa,GAAG,kCAA0B,CAAC;IACxD,6DAA6D;IAChD,4BAAc,GAAG,mCAA2B,CAAC;AAG5D,CAAC,EAPgB,aAAa,6BAAb,aAAa,QAO7B;AAED,SAAgB,kBAAkB,CAAC,YAA0B;IAC3D,OAAO,IAAI,CAAC,SAAS,CAAC,mCAA2B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,oBAAoB,CAClC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,0CAA0C,CAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
export type AccountSearchIDStruct = {
|
|
11
|
-
/**
|
|
12
|
-
* Account ID to search for
|
|
13
|
-
*/
|
|
14
|
-
accountId?: number | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* SteamID64 to search for
|
|
17
|
-
*/
|
|
18
|
-
steamId64?: string | undefined;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
/** @internal */
|
|
22
|
-
export const AccountSearchIDStruct$inboundSchema: z.ZodType<
|
|
23
|
-
AccountSearchIDStruct,
|
|
24
|
-
z.ZodTypeDef,
|
|
25
|
-
unknown
|
|
26
|
-
> = z.object({
|
|
27
|
-
accountId: z.number().int().optional(),
|
|
28
|
-
steamId64: z.string().optional(),
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
/** @internal */
|
|
32
|
-
export type AccountSearchIDStruct$Outbound = {
|
|
33
|
-
accountId?: number | undefined;
|
|
34
|
-
steamId64?: string | undefined;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
/** @internal */
|
|
38
|
-
export const AccountSearchIDStruct$outboundSchema: z.ZodType<
|
|
39
|
-
AccountSearchIDStruct$Outbound,
|
|
40
|
-
z.ZodTypeDef,
|
|
41
|
-
AccountSearchIDStruct
|
|
42
|
-
> = z.object({
|
|
43
|
-
accountId: z.number().int().optional(),
|
|
44
|
-
steamId64: z.string().optional(),
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
50
|
-
*/
|
|
51
|
-
export namespace AccountSearchIDStruct$ {
|
|
52
|
-
/** @deprecated use `AccountSearchIDStruct$inboundSchema` instead. */
|
|
53
|
-
export const inboundSchema = AccountSearchIDStruct$inboundSchema;
|
|
54
|
-
/** @deprecated use `AccountSearchIDStruct$outboundSchema` instead. */
|
|
55
|
-
export const outboundSchema = AccountSearchIDStruct$outboundSchema;
|
|
56
|
-
/** @deprecated use `AccountSearchIDStruct$Outbound` instead. */
|
|
57
|
-
export type Outbound = AccountSearchIDStruct$Outbound;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function accountSearchIDStructToJSON(
|
|
61
|
-
accountSearchIDStruct: AccountSearchIDStruct,
|
|
62
|
-
): string {
|
|
63
|
-
return JSON.stringify(
|
|
64
|
-
AccountSearchIDStruct$outboundSchema.parse(accountSearchIDStruct),
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function accountSearchIDStructFromJSON(
|
|
69
|
-
jsonString: string,
|
|
70
|
-
): SafeParseResult<AccountSearchIDStruct, SDKValidationError> {
|
|
71
|
-
return safeParse(
|
|
72
|
-
jsonString,
|
|
73
|
-
(x) => AccountSearchIDStruct$inboundSchema.parse(JSON.parse(x)),
|
|
74
|
-
`Failed to parse 'AccountSearchIDStruct' from JSON`,
|
|
75
|
-
);
|
|
76
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Which type of vanity to search for
|
|
13
|
-
*/
|
|
14
|
-
export const VanityStructType = {
|
|
15
|
-
Steam: "steam",
|
|
16
|
-
Internal: "internal",
|
|
17
|
-
} as const;
|
|
18
|
-
/**
|
|
19
|
-
* Which type of vanity to search for
|
|
20
|
-
*/
|
|
21
|
-
export type VanityStructType = ClosedEnum<typeof VanityStructType>;
|
|
22
|
-
|
|
23
|
-
export type VanityStruct = {
|
|
24
|
-
/**
|
|
25
|
-
* Which type of vanity to search for
|
|
26
|
-
*/
|
|
27
|
-
type: VanityStructType;
|
|
28
|
-
/**
|
|
29
|
-
* Vanity to search for
|
|
30
|
-
*/
|
|
31
|
-
value: string;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
/** @internal */
|
|
35
|
-
export const VanityStructType$inboundSchema: z.ZodNativeEnum<
|
|
36
|
-
typeof VanityStructType
|
|
37
|
-
> = z.nativeEnum(VanityStructType);
|
|
38
|
-
|
|
39
|
-
/** @internal */
|
|
40
|
-
export const VanityStructType$outboundSchema: z.ZodNativeEnum<
|
|
41
|
-
typeof VanityStructType
|
|
42
|
-
> = VanityStructType$inboundSchema;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
-
*/
|
|
48
|
-
export namespace VanityStructType$ {
|
|
49
|
-
/** @deprecated use `VanityStructType$inboundSchema` instead. */
|
|
50
|
-
export const inboundSchema = VanityStructType$inboundSchema;
|
|
51
|
-
/** @deprecated use `VanityStructType$outboundSchema` instead. */
|
|
52
|
-
export const outboundSchema = VanityStructType$outboundSchema;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/** @internal */
|
|
56
|
-
export const VanityStruct$inboundSchema: z.ZodType<
|
|
57
|
-
VanityStruct,
|
|
58
|
-
z.ZodTypeDef,
|
|
59
|
-
unknown
|
|
60
|
-
> = z.object({
|
|
61
|
-
type: VanityStructType$inboundSchema,
|
|
62
|
-
value: z.string(),
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
/** @internal */
|
|
66
|
-
export type VanityStruct$Outbound = {
|
|
67
|
-
type: string;
|
|
68
|
-
value: string;
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
/** @internal */
|
|
72
|
-
export const VanityStruct$outboundSchema: z.ZodType<
|
|
73
|
-
VanityStruct$Outbound,
|
|
74
|
-
z.ZodTypeDef,
|
|
75
|
-
VanityStruct
|
|
76
|
-
> = z.object({
|
|
77
|
-
type: VanityStructType$outboundSchema,
|
|
78
|
-
value: z.string(),
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
84
|
-
*/
|
|
85
|
-
export namespace VanityStruct$ {
|
|
86
|
-
/** @deprecated use `VanityStruct$inboundSchema` instead. */
|
|
87
|
-
export const inboundSchema = VanityStruct$inboundSchema;
|
|
88
|
-
/** @deprecated use `VanityStruct$outboundSchema` instead. */
|
|
89
|
-
export const outboundSchema = VanityStruct$outboundSchema;
|
|
90
|
-
/** @deprecated use `VanityStruct$Outbound` instead. */
|
|
91
|
-
export type Outbound = VanityStruct$Outbound;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export function vanityStructToJSON(vanityStruct: VanityStruct): string {
|
|
95
|
-
return JSON.stringify(VanityStruct$outboundSchema.parse(vanityStruct));
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export function vanityStructFromJSON(
|
|
99
|
-
jsonString: string,
|
|
100
|
-
): SafeParseResult<VanityStruct, SDKValidationError> {
|
|
101
|
-
return safeParse(
|
|
102
|
-
jsonString,
|
|
103
|
-
(x) => VanityStruct$inboundSchema.parse(JSON.parse(x)),
|
|
104
|
-
`Failed to parse 'VanityStruct' from JSON`,
|
|
105
|
-
);
|
|
106
|
-
}
|