@steamsets/client-ts 0.19.5 → 0.22.2
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/FUNCTIONS.md +2 -2
- package/README.md +95 -104
- package/docs/sdks/account/README.md +1355 -117
- package/docs/sdks/admin/README.md +94 -5
- package/docs/sdks/app/README.md +5 -5
- package/docs/sdks/badge/README.md +226 -10
- package/docs/sdks/badges/README.md +8 -375
- package/docs/sdks/connection/README.md +4 -239
- package/docs/sdks/{sessions → developerapps}/README.md +28 -16
- package/docs/sdks/events/README.md +4 -93
- package/docs/sdks/leaderboard/README.md +5 -77
- package/docs/sdks/liveness/README.md +5 -5
- package/docs/sdks/{locations → location}/README.md +7 -5
- package/docs/sdks/{accounts → roles}/README.md +10 -14
- package/docs/sdks/session/README.md +11 -106
- package/funcs/{locationsGet.d.ts → accountBookmarkBadge.d.ts} +3 -2
- package/funcs/accountBookmarkBadge.d.ts.map +1 -0
- package/funcs/{badgesBookmark.js → accountBookmarkBadge.js} +3 -3
- package/funcs/accountBookmarkBadge.js.map +1 -0
- package/funcs/{eventsUpdate.d.ts → accountConnect.d.ts} +2 -2
- package/funcs/{badgesBookmark.d.ts.map → accountConnect.d.ts.map} +1 -1
- package/funcs/{connectionsConnect.js → accountConnect.js} +3 -3
- package/funcs/{sessionsDelete.js.map → accountConnect.js.map} +1 -1
- package/funcs/{accountUpdateApp.d.ts → accountConnectionUpdate.d.ts} +2 -2
- package/funcs/{badgeBadgeV1TagsSuggest.d.ts.map → accountConnectionUpdate.d.ts.map} +1 -1
- package/funcs/{connectionUpdate.js → accountConnectionUpdate.js} +3 -3
- package/funcs/{badgeBadgeV1TagsSuggest.js.map → accountConnectionUpdate.js.map} +1 -1
- package/funcs/{settingsVerifyEmail.d.ts → accountCreateSession.d.ts} +2 -3
- package/funcs/accountCreateSession.d.ts.map +1 -0
- package/funcs/{sessionCreate.js → accountCreateSession.js} +3 -3
- package/funcs/accountCreateSession.js.map +1 -0
- package/funcs/accountDeleteConnection.d.ts +12 -0
- package/funcs/{accountAccountV1GetMeta.d.ts.map → accountDeleteConnection.d.ts.map} +1 -1
- package/funcs/{connectionDelete.js → accountDeleteConnection.js} +3 -3
- package/funcs/{accountAccountV1GetMeta.js.map → accountDeleteConnection.js.map} +1 -1
- package/funcs/accountDeveloperAppsDelete.d.ts +12 -0
- package/funcs/accountDeveloperAppsDelete.d.ts.map +1 -0
- package/funcs/{accountDeleteDeveloperApp.js → accountDeveloperAppsDelete.js} +3 -3
- package/funcs/accountDeveloperAppsDelete.js.map +1 -0
- package/funcs/accountDeveloperAppsUpdate.d.ts +12 -0
- package/funcs/accountDeveloperAppsUpdate.d.ts.map +1 -0
- package/funcs/{accountUpdateApp.js → accountDeveloperAppsUpdate.js} +3 -3
- package/funcs/accountDeveloperAppsUpdate.js.map +1 -0
- package/funcs/accountEmailSendVerification.d.ts +11 -0
- package/funcs/accountEmailSendVerification.d.ts.map +1 -0
- package/funcs/{settingsSendVerification.js → accountEmailSendVerification.js} +3 -3
- package/funcs/accountEmailSendVerification.js.map +1 -0
- package/funcs/accountEmailSubscription.d.ts +11 -0
- package/funcs/{settingsSendVerification.d.ts.map → accountEmailSubscription.d.ts.map} +1 -1
- package/funcs/{settingsSubscribeEmail.js → accountEmailSubscription.js} +3 -3
- package/funcs/accountEmailSubscription.js.map +1 -0
- package/funcs/{badgeBadgeV1TagsSuggest.d.ts → accountEmailVerify.d.ts} +2 -2
- package/funcs/{appAppV1ListBadges.d.ts.map → accountEmailVerify.d.ts.map} +1 -1
- package/funcs/{settingsVerifyEmail.js → accountEmailVerify.js} +3 -3
- package/funcs/{appAppV1ListBadges.js.map → accountEmailVerify.js.map} +1 -1
- package/funcs/accountGetBadgeBookmarks.d.ts +11 -0
- package/funcs/accountGetBadgeBookmarks.d.ts.map +1 -0
- package/funcs/{badgesGetBookmarks.js → accountGetBadgeBookmarks.js} +3 -3
- package/funcs/accountGetBadgeBookmarks.js.map +1 -0
- package/funcs/{adminAdminV1RemoveVanity.d.ts → accountGetImages.d.ts} +2 -3
- package/funcs/accountGetImages.d.ts.map +1 -0
- package/funcs/{imagesGet.js → accountGetImages.js} +3 -3
- package/funcs/accountGetImages.js.map +1 -0
- package/funcs/{settingsSendVerification.d.ts → accountGetMeta.d.ts} +3 -2
- package/funcs/{sessionsDelete.d.ts.map → accountGetMeta.d.ts.map} +1 -1
- package/funcs/{accountAccountV1GetMeta.js → accountGetMeta.js} +3 -3
- package/funcs/{badgesBookmark.js.map → accountGetMeta.js.map} +1 -1
- package/funcs/{badgesGetBookmarks.d.ts → accountGetOwnedBadges.d.ts} +2 -2
- package/funcs/accountGetOwnedBadges.d.ts.map +1 -0
- package/funcs/{badgesGetOwned.js → accountGetOwnedBadges.js} +3 -3
- package/funcs/accountGetOwnedBadges.js.map +1 -0
- package/funcs/{appAppV1ListBadges.d.ts → accountGetSession.d.ts} +2 -3
- package/funcs/accountGetSession.d.ts.map +1 -0
- package/funcs/{sessionsGet.js → accountGetSession.js} +3 -3
- package/funcs/{livenessCheck.js.map → accountGetSession.js.map} +1 -1
- package/funcs/{settingsSubscribeEmail.d.ts → accountGetSettings.d.ts} +2 -2
- package/funcs/{badgesGetBookmarks.d.ts.map → accountGetSettings.d.ts.map} +1 -1
- package/funcs/{settingsGet.js → accountGetSettings.js} +3 -3
- package/funcs/accountGetSettings.js.map +1 -0
- package/funcs/{sessionLogin.d.ts → accountLogin.d.ts} +2 -2
- package/funcs/{sessionLogin.d.ts.map → accountLogin.d.ts.map} +1 -1
- package/funcs/{sessionLogin.js → accountLogin.js} +3 -3
- package/funcs/{sessionLogin.js.map → accountLogin.js.map} +1 -1
- package/funcs/{accountsQueue.d.ts → accountQueue.d.ts} +2 -2
- package/funcs/{eventsUpdate.d.ts.map → accountQueue.d.ts.map} +1 -1
- package/funcs/{accountsQueue.js → accountQueue.js} +3 -3
- package/funcs/{imagesUpdate.js.map → accountQueue.js.map} +1 -1
- package/funcs/accountReconnect.d.ts +12 -0
- package/funcs/{accountUpdateApp.d.ts.map → accountReconnect.d.ts.map} +1 -1
- package/funcs/{connectionReconnect.js → accountReconnect.js} +3 -3
- package/funcs/{connectionVerify.js.map → accountReconnect.js.map} +1 -1
- package/funcs/{settingsUpdateRole.d.ts → accountRolesUpdate.d.ts} +2 -2
- package/funcs/{settingsUpdateRole.d.ts.map → accountRolesUpdate.d.ts.map} +1 -1
- package/funcs/{settingsUpdateRole.js → accountRolesUpdate.js} +3 -3
- package/funcs/{settingsUpdateRole.js.map → accountRolesUpdate.js.map} +1 -1
- package/funcs/accountSessionDelete.d.ts +12 -0
- package/funcs/accountSessionDelete.d.ts.map +1 -0
- package/funcs/{sessionsDelete.js → accountSessionDelete.js} +3 -3
- package/funcs/accountSessionDelete.js.map +1 -0
- package/funcs/{sessionCreate.d.ts → accountUpdateImages.d.ts} +3 -2
- package/funcs/{settingsVerifyEmail.d.ts.map → accountUpdateImages.d.ts.map} +1 -1
- package/funcs/{imagesUpdate.js → accountUpdateImages.js} +3 -3
- package/funcs/{connectionReconnect.js.map → accountUpdateImages.js.map} +1 -1
- package/funcs/accountUpdateSettings.d.ts +11 -0
- package/funcs/accountUpdateSettings.d.ts.map +1 -0
- package/funcs/{settingsUpdate.js → accountUpdateSettings.js} +3 -3
- package/funcs/accountUpdateSettings.js.map +1 -0
- package/funcs/accountVerifyConnection.d.ts +12 -0
- package/funcs/accountVerifyConnection.d.ts.map +1 -0
- package/funcs/{connectionVerify.js → accountVerifyConnection.js} +3 -3
- package/funcs/accountVerifyConnection.js.map +1 -0
- package/funcs/{sessionsGet.d.ts → adminEventsGet.d.ts} +2 -2
- package/funcs/{badgesGetOwned.d.ts.map → adminEventsGet.d.ts.map} +1 -1
- package/funcs/{eventsGet.js → adminEventsGet.js} +3 -3
- package/funcs/{badgesGetOwned.js.map → adminEventsGet.js.map} +1 -1
- package/funcs/{imagesGet.d.ts → adminRemoveVanity.d.ts} +3 -2
- package/funcs/adminRemoveVanity.d.ts.map +1 -0
- package/funcs/{adminAdminV1RemoveVanity.js → adminRemoveVanity.js} +3 -3
- package/funcs/adminRemoveVanity.js.map +1 -0
- package/funcs/{accountAccountV1GetMeta.d.ts → adminUpdateEvent.d.ts} +2 -2
- package/funcs/{connectionDelete.d.ts.map → adminUpdateEvent.d.ts.map} +1 -1
- package/funcs/{eventsUpdate.js → adminUpdateEvent.js} +3 -3
- package/funcs/{connectionDelete.js.map → adminUpdateEvent.js.map} +1 -1
- package/funcs/{settingsGet.d.ts → appListBadges.d.ts} +3 -2
- package/funcs/{accountsQueue.d.ts.map → appListBadges.d.ts.map} +1 -1
- package/funcs/{appAppV1ListBadges.js → appListBadges.js} +3 -3
- package/funcs/{accountsQueue.js.map → appListBadges.js.map} +1 -1
- package/funcs/{badgesSearch.d.ts → badgeSearch.d.ts} +2 -2
- package/funcs/badgeSearch.d.ts.map +1 -0
- package/funcs/{badgesSearch.js → badgeSearch.js} +3 -3
- package/funcs/badgeSearch.js.map +1 -0
- package/funcs/{connectionsConnect.d.ts → badgeSuggest.d.ts} +2 -2
- package/funcs/{imagesUpdate.d.ts.map → badgeSuggest.d.ts.map} +1 -1
- package/funcs/{badgeBadgeV1SearchSuggest.js → badgeSuggest.js} +3 -3
- package/funcs/{badgesSearch.js.map → badgeSuggest.js.map} +1 -1
- package/funcs/badgeSuggestTags.d.ts +12 -0
- package/funcs/{connectionUpdate.d.ts.map → badgeSuggestTags.d.ts.map} +1 -1
- package/funcs/{badgeBadgeV1TagsSuggest.js → badgeSuggestTags.js} +3 -3
- package/funcs/{connectionUpdate.js.map → badgeSuggestTags.js.map} +1 -1
- package/funcs/{badgesTag.d.ts → badgeTag.d.ts} +2 -2
- package/funcs/badgeTag.d.ts.map +1 -0
- package/funcs/{badgesTag.js → badgeTag.js} +3 -3
- package/funcs/badgeTag.js.map +1 -0
- package/funcs/{badgesGetOwned.d.ts → leaderboardBadgesGetList.d.ts} +2 -2
- package/funcs/leaderboardBadgesGetList.d.ts.map +1 -0
- package/funcs/{leaderboardGetBadges.js → leaderboardBadgesGetList.js} +3 -3
- package/funcs/leaderboardBadgesGetList.js.map +1 -0
- package/funcs/{accountDeleteDeveloperApp.d.ts → leaderboardGetAccountMeta.d.ts} +2 -2
- package/funcs/{accountDeleteDeveloperApp.d.ts.map → leaderboardGetAccountMeta.d.ts.map} +1 -1
- package/funcs/{leaderboardLeaderboardV1GetLeaderboardAccountMeta.js → leaderboardGetAccountMeta.js} +3 -3
- package/funcs/leaderboardGetAccountMeta.js.map +1 -0
- package/funcs/{livenessCheck.d.ts → livenessGet.d.ts} +2 -2
- package/funcs/livenessGet.d.ts.map +1 -0
- package/funcs/{livenessCheck.js → livenessGet.js} +3 -3
- package/funcs/livenessGet.js.map +1 -0
- package/funcs/{eventsGet.d.ts → locationGet.d.ts} +2 -2
- package/funcs/{sessionsGet.d.ts.map → locationGet.d.ts.map} +1 -1
- package/funcs/{locationsGet.js → locationGet.js} +3 -3
- package/funcs/locationGet.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/package.json +1 -1
- package/sdk/account.d.ts +31 -3
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +89 -9
- package/sdk/account.js.map +1 -1
- package/sdk/admin.d.ts +5 -1
- package/sdk/admin.d.ts.map +1 -1
- package/sdk/admin.js +11 -3
- package/sdk/admin.js.map +1 -1
- package/sdk/app.d.ts +1 -1
- package/sdk/app.d.ts.map +1 -1
- package/sdk/app.js +3 -3
- package/sdk/app.js.map +1 -1
- package/sdk/badge.d.ts +4 -2
- package/sdk/badge.d.ts.map +1 -1
- package/sdk/badge.js +14 -6
- package/sdk/badge.js.map +1 -1
- package/sdk/badges.d.ts +1 -6
- package/sdk/badges.d.ts.map +1 -1
- package/sdk/badges.js +3 -19
- package/sdk/badges.js.map +1 -1
- package/sdk/connection.d.ts +0 -3
- package/sdk/connection.d.ts.map +1 -1
- package/sdk/connection.js +2 -14
- package/sdk/connection.js.map +1 -1
- package/sdk/developerapps.d.ts +8 -0
- package/sdk/developerapps.d.ts.map +1 -0
- package/sdk/developerapps.js +20 -0
- package/sdk/developerapps.js.map +1 -0
- package/sdk/events.d.ts +0 -2
- package/sdk/events.d.ts.map +1 -1
- package/sdk/events.js +2 -6
- package/sdk/events.js.map +1 -1
- package/sdk/leaderboard.d.ts +4 -2
- package/sdk/leaderboard.d.ts.map +1 -1
- package/sdk/leaderboard.js +7 -7
- package/sdk/leaderboard.js.map +1 -1
- package/sdk/liveness.d.ts +1 -1
- package/sdk/liveness.d.ts.map +1 -1
- package/sdk/liveness.js +3 -3
- package/sdk/liveness.js.map +1 -1
- package/sdk/{locations.d.ts → location.d.ts} +2 -2
- package/sdk/location.d.ts.map +1 -0
- package/sdk/location.js +16 -0
- package/sdk/location.js.map +1 -0
- package/sdk/roles.d.ts +7 -0
- package/sdk/roles.d.ts.map +1 -0
- package/sdk/roles.js +16 -0
- package/sdk/roles.js.map +1 -0
- package/sdk/sdk.d.ts +3 -30
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -39
- package/sdk/sdk.js.map +1 -1
- package/sdk/session.d.ts +2 -2
- package/sdk/session.d.ts.map +1 -1
- package/sdk/session.js +3 -7
- package/sdk/session.js.map +1 -1
- package/src/funcs/{badgesBookmark.ts → accountBookmarkBadge.ts} +1 -1
- package/src/funcs/{connectionsConnect.ts → accountConnect.ts} +1 -1
- package/src/funcs/{connectionUpdate.ts → accountConnectionUpdate.ts} +1 -1
- package/src/funcs/{sessionCreate.ts → accountCreateSession.ts} +1 -1
- package/src/funcs/{connectionDelete.ts → accountDeleteConnection.ts} +1 -1
- package/src/funcs/{accountDeleteDeveloperApp.ts → accountDeveloperAppsDelete.ts} +1 -1
- package/src/funcs/{accountUpdateApp.ts → accountDeveloperAppsUpdate.ts} +1 -1
- package/src/funcs/{settingsSendVerification.ts → accountEmailSendVerification.ts} +1 -1
- package/src/funcs/{settingsSubscribeEmail.ts → accountEmailSubscription.ts} +1 -1
- package/src/funcs/{settingsVerifyEmail.ts → accountEmailVerify.ts} +1 -1
- package/src/funcs/{badgesGetBookmarks.ts → accountGetBadgeBookmarks.ts} +1 -1
- package/src/funcs/{imagesGet.ts → accountGetImages.ts} +1 -1
- package/src/funcs/{accountAccountV1GetMeta.ts → accountGetMeta.ts} +1 -1
- package/src/funcs/{badgesGetOwned.ts → accountGetOwnedBadges.ts} +1 -1
- package/src/funcs/{sessionsGet.ts → accountGetSession.ts} +1 -1
- package/src/funcs/{settingsGet.ts → accountGetSettings.ts} +1 -1
- package/src/funcs/{sessionLogin.ts → accountLogin.ts} +1 -1
- package/src/funcs/{accountsQueue.ts → accountQueue.ts} +1 -1
- package/src/funcs/{connectionReconnect.ts → accountReconnect.ts} +1 -1
- package/src/funcs/{settingsUpdateRole.ts → accountRolesUpdate.ts} +1 -1
- package/src/funcs/{sessionsDelete.ts → accountSessionDelete.ts} +1 -1
- package/src/funcs/{imagesUpdate.ts → accountUpdateImages.ts} +1 -1
- package/src/funcs/{settingsUpdate.ts → accountUpdateSettings.ts} +1 -1
- package/src/funcs/{connectionVerify.ts → accountVerifyConnection.ts} +1 -1
- package/src/funcs/{eventsGet.ts → adminEventsGet.ts} +1 -1
- package/src/funcs/{adminAdminV1RemoveVanity.ts → adminRemoveVanity.ts} +1 -1
- package/src/funcs/{eventsUpdate.ts → adminUpdateEvent.ts} +1 -1
- package/src/funcs/{appAppV1ListBadges.ts → appListBadges.ts} +1 -1
- package/src/funcs/{badgesSearch.ts → badgeSearch.ts} +1 -1
- package/src/funcs/{badgeBadgeV1SearchSuggest.ts → badgeSuggest.ts} +1 -1
- package/src/funcs/{badgeBadgeV1TagsSuggest.ts → badgeSuggestTags.ts} +1 -1
- package/src/funcs/{badgesTag.ts → badgeTag.ts} +1 -1
- package/src/funcs/{leaderboardGetBadges.ts → leaderboardBadgesGetList.ts} +1 -1
- package/src/funcs/{leaderboardLeaderboardV1GetLeaderboardAccountMeta.ts → leaderboardGetAccountMeta.ts} +1 -1
- package/src/funcs/{livenessCheck.ts → livenessGet.ts} +1 -1
- package/src/funcs/{locationsGet.ts → locationGet.ts} +1 -1
- package/src/lib/config.ts +2 -2
- package/src/sdk/account.ts +219 -13
- package/src/sdk/admin.ts +21 -3
- package/src/sdk/app.ts +3 -3
- package/src/sdk/badge.ts +30 -6
- package/src/sdk/badges.ts +4 -51
- package/src/sdk/connection.ts +2 -38
- package/src/sdk/developerapps.ts +34 -0
- package/src/sdk/events.ts +2 -15
- package/src/sdk/leaderboard.ts +9 -13
- package/src/sdk/liveness.ts +3 -3
- package/src/sdk/{locations.ts → location.ts} +3 -3
- package/src/sdk/{connections.ts → roles.ts} +6 -6
- package/src/sdk/sdk.ts +4 -58
- package/src/sdk/session.ts +6 -17
- package/docs/sdks/connections/README.md +0 -86
- package/docs/sdks/images/README.md +0 -159
- package/docs/sdks/settings/README.md +0 -471
- package/funcs/accountDeleteDeveloperApp.js.map +0 -1
- package/funcs/accountUpdateApp.js.map +0 -1
- package/funcs/adminAdminV1RemoveVanity.d.ts.map +0 -1
- package/funcs/adminAdminV1RemoveVanity.js.map +0 -1
- package/funcs/badgeBadgeV1SearchSuggest.d.ts +0 -12
- package/funcs/badgeBadgeV1SearchSuggest.d.ts.map +0 -1
- package/funcs/badgeBadgeV1SearchSuggest.js.map +0 -1
- package/funcs/badgesBookmark.d.ts +0 -12
- package/funcs/badgesGetBookmarks.js.map +0 -1
- package/funcs/badgesSearch.d.ts.map +0 -1
- package/funcs/badgesTag.d.ts.map +0 -1
- package/funcs/badgesTag.js.map +0 -1
- package/funcs/connectionDelete.d.ts +0 -12
- package/funcs/connectionReconnect.d.ts +0 -12
- package/funcs/connectionReconnect.d.ts.map +0 -1
- package/funcs/connectionUpdate.d.ts +0 -12
- package/funcs/connectionVerify.d.ts +0 -12
- package/funcs/connectionVerify.d.ts.map +0 -1
- package/funcs/connectionsConnect.d.ts.map +0 -1
- package/funcs/connectionsConnect.js.map +0 -1
- package/funcs/eventsGet.d.ts.map +0 -1
- package/funcs/eventsGet.js.map +0 -1
- package/funcs/eventsUpdate.js.map +0 -1
- package/funcs/imagesGet.d.ts.map +0 -1
- package/funcs/imagesGet.js.map +0 -1
- package/funcs/imagesUpdate.d.ts +0 -12
- package/funcs/leaderboardGetBadges.d.ts +0 -11
- package/funcs/leaderboardGetBadges.d.ts.map +0 -1
- package/funcs/leaderboardGetBadges.js.map +0 -1
- package/funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.d.ts +0 -12
- package/funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.d.ts.map +0 -1
- package/funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.js.map +0 -1
- package/funcs/livenessCheck.d.ts.map +0 -1
- package/funcs/locationsGet.d.ts.map +0 -1
- package/funcs/locationsGet.js.map +0 -1
- package/funcs/sessionCreate.d.ts.map +0 -1
- package/funcs/sessionCreate.js.map +0 -1
- package/funcs/sessionsDelete.d.ts +0 -12
- package/funcs/sessionsGet.js.map +0 -1
- package/funcs/settingsGet.d.ts.map +0 -1
- package/funcs/settingsGet.js.map +0 -1
- package/funcs/settingsSendVerification.js.map +0 -1
- package/funcs/settingsSubscribeEmail.d.ts.map +0 -1
- package/funcs/settingsSubscribeEmail.js.map +0 -1
- package/funcs/settingsUpdate.d.ts +0 -11
- package/funcs/settingsUpdate.d.ts.map +0 -1
- package/funcs/settingsUpdate.js.map +0 -1
- package/funcs/settingsVerifyEmail.js.map +0 -1
- package/sdk/accounts.d.ts +0 -7
- package/sdk/accounts.d.ts.map +0 -1
- package/sdk/accounts.js +0 -16
- package/sdk/accounts.js.map +0 -1
- package/sdk/connections.d.ts +0 -7
- package/sdk/connections.d.ts.map +0 -1
- package/sdk/connections.js +0 -16
- package/sdk/connections.js.map +0 -1
- package/sdk/images.d.ts +0 -8
- package/sdk/images.d.ts.map +0 -1
- package/sdk/images.js +0 -20
- package/sdk/images.js.map +0 -1
- package/sdk/locations.d.ts.map +0 -1
- package/sdk/locations.js +0 -16
- package/sdk/locations.js.map +0 -1
- package/sdk/sessions.d.ts +0 -8
- package/sdk/sessions.d.ts.map +0 -1
- package/sdk/sessions.js +0 -20
- package/sdk/sessions.js.map +0 -1
- package/sdk/settings.d.ts +0 -12
- package/sdk/settings.d.ts.map +0 -1
- package/sdk/settings.js +0 -36
- package/sdk/settings.js.map +0 -1
- package/src/sdk/accounts.ts +0 -22
- package/src/sdk/images.ts +0 -32
- package/src/sdk/sessions.ts +0 -32
- package/src/sdk/settings.ts +0 -80
package/src/sdk/account.ts
CHANGED
|
@@ -2,25 +2,87 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { accountBookmarkBadge } from "../funcs/accountBookmarkBadge.js";
|
|
6
|
+
import { accountConnect } from "../funcs/accountConnect.js";
|
|
6
7
|
import { accountCreateDeveloperApp } from "../funcs/accountCreateDeveloperApp.js";
|
|
7
|
-
import {
|
|
8
|
+
import { accountCreateSession } from "../funcs/accountCreateSession.js";
|
|
9
|
+
import { accountDeleteConnection } from "../funcs/accountDeleteConnection.js";
|
|
8
10
|
import { accountDeleteImages } from "../funcs/accountDeleteImages.js";
|
|
11
|
+
import { accountEmailSendVerification } from "../funcs/accountEmailSendVerification.js";
|
|
12
|
+
import { accountEmailSubscription } from "../funcs/accountEmailSubscription.js";
|
|
13
|
+
import { accountEmailVerify } from "../funcs/accountEmailVerify.js";
|
|
9
14
|
import { accountGetApps } from "../funcs/accountGetApps.js";
|
|
15
|
+
import { accountGetBadgeBookmarks } from "../funcs/accountGetBadgeBookmarks.js";
|
|
10
16
|
import { accountGetBadges } from "../funcs/accountGetBadges.js";
|
|
11
17
|
import { accountGetDataPoints } from "../funcs/accountGetDataPoints.js";
|
|
12
18
|
import { accountGetFriends } from "../funcs/accountGetFriends.js";
|
|
19
|
+
import { accountGetImages } from "../funcs/accountGetImages.js";
|
|
13
20
|
import { accountGetInfo } from "../funcs/accountGetInfo.js";
|
|
14
21
|
import { accountGetLeaderboardHistory } from "../funcs/accountGetLeaderboardHistory.js";
|
|
22
|
+
import { accountGetMeta } from "../funcs/accountGetMeta.js";
|
|
23
|
+
import { accountGetOwnedBadges } from "../funcs/accountGetOwnedBadges.js";
|
|
24
|
+
import { accountGetSession } from "../funcs/accountGetSession.js";
|
|
25
|
+
import { accountGetSettings } from "../funcs/accountGetSettings.js";
|
|
15
26
|
import { accountGetStaff } from "../funcs/accountGetStaff.js";
|
|
16
|
-
import {
|
|
27
|
+
import { accountLogin } from "../funcs/accountLogin.js";
|
|
28
|
+
import { accountQueue } from "../funcs/accountQueue.js";
|
|
29
|
+
import { accountReconnect } from "../funcs/accountReconnect.js";
|
|
30
|
+
import { accountUpdateImages } from "../funcs/accountUpdateImages.js";
|
|
31
|
+
import { accountUpdateSettings } from "../funcs/accountUpdateSettings.js";
|
|
17
32
|
import { accountUploadImages } from "../funcs/accountUploadImages.js";
|
|
33
|
+
import { accountVerifyConnection } from "../funcs/accountVerifyConnection.js";
|
|
18
34
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
19
35
|
import * as components from "../models/components/index.js";
|
|
20
36
|
import * as operations from "../models/operations/index.js";
|
|
21
37
|
import { unwrapAsync } from "../types/fp.js";
|
|
38
|
+
import { Connection } from "./connection.js";
|
|
39
|
+
import { DeveloperApps } from "./developerapps.js";
|
|
40
|
+
import { Roles } from "./roles.js";
|
|
41
|
+
import { Session } from "./session.js";
|
|
22
42
|
|
|
23
43
|
export class Account extends ClientSDK {
|
|
44
|
+
private _developerApps?: DeveloperApps;
|
|
45
|
+
get developerApps(): DeveloperApps {
|
|
46
|
+
return (this._developerApps ??= new DeveloperApps(this._options));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
private _session?: Session;
|
|
50
|
+
get session(): Session {
|
|
51
|
+
return (this._session ??= new Session(this._options));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
private _connection?: Connection;
|
|
55
|
+
get connection(): Connection {
|
|
56
|
+
return (this._connection ??= new Connection(this._options));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
private _roles?: Roles;
|
|
60
|
+
get roles(): Roles {
|
|
61
|
+
return (this._roles ??= new Roles(this._options));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
async bookmarkBadge(
|
|
65
|
+
request: components.V1AccountBadgeBookmarkRequestBody,
|
|
66
|
+
options?: RequestOptions,
|
|
67
|
+
): Promise<operations.AccountV1BookmarkBadgeResponse> {
|
|
68
|
+
return unwrapAsync(accountBookmarkBadge(
|
|
69
|
+
this,
|
|
70
|
+
request,
|
|
71
|
+
options,
|
|
72
|
+
));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
async connect(
|
|
76
|
+
request: components.V1ConnectRequestBody,
|
|
77
|
+
options?: RequestOptions,
|
|
78
|
+
): Promise<operations.AccountV1ConnectionConnectResponse> {
|
|
79
|
+
return unwrapAsync(accountConnect(
|
|
80
|
+
this,
|
|
81
|
+
request,
|
|
82
|
+
options,
|
|
83
|
+
));
|
|
84
|
+
}
|
|
85
|
+
|
|
24
86
|
async createDeveloperApp(
|
|
25
87
|
request: components.V1DeveloperAppCreateRequestBody,
|
|
26
88
|
options?: RequestOptions,
|
|
@@ -32,11 +94,22 @@ export class Account extends ClientSDK {
|
|
|
32
94
|
));
|
|
33
95
|
}
|
|
34
96
|
|
|
35
|
-
async
|
|
36
|
-
request:
|
|
97
|
+
async createSession(
|
|
98
|
+
request: operations.AccountV1SessionCreateRequest,
|
|
99
|
+
options?: RequestOptions,
|
|
100
|
+
): Promise<operations.AccountV1SessionCreateResponse> {
|
|
101
|
+
return unwrapAsync(accountCreateSession(
|
|
102
|
+
this,
|
|
103
|
+
request,
|
|
104
|
+
options,
|
|
105
|
+
));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
async deleteConnection(
|
|
109
|
+
request: components.V1DeleteConnectionRequestBody,
|
|
37
110
|
options?: RequestOptions,
|
|
38
|
-
): Promise<operations.
|
|
39
|
-
return unwrapAsync(
|
|
111
|
+
): Promise<operations.AccountV1ConnectionDeleteConnectionResponse> {
|
|
112
|
+
return unwrapAsync(accountDeleteConnection(
|
|
40
113
|
this,
|
|
41
114
|
request,
|
|
42
115
|
options,
|
|
@@ -54,11 +127,33 @@ export class Account extends ClientSDK {
|
|
|
54
127
|
));
|
|
55
128
|
}
|
|
56
129
|
|
|
57
|
-
async
|
|
58
|
-
request:
|
|
130
|
+
async emailSendVerification(
|
|
131
|
+
request: operations.AccountV1SettingsEmailSendVerificationRequest,
|
|
59
132
|
options?: RequestOptions,
|
|
60
|
-
): Promise<operations.
|
|
61
|
-
return unwrapAsync(
|
|
133
|
+
): Promise<operations.AccountV1SettingsEmailSendVerificationResponse> {
|
|
134
|
+
return unwrapAsync(accountEmailSendVerification(
|
|
135
|
+
this,
|
|
136
|
+
request,
|
|
137
|
+
options,
|
|
138
|
+
));
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
async emailSubscription(
|
|
142
|
+
request: operations.AccountV1SettingsEmailSubscribeRequest,
|
|
143
|
+
options?: RequestOptions,
|
|
144
|
+
): Promise<operations.AccountV1SettingsEmailSubscribeResponse> {
|
|
145
|
+
return unwrapAsync(accountEmailSubscription(
|
|
146
|
+
this,
|
|
147
|
+
request,
|
|
148
|
+
options,
|
|
149
|
+
));
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
async emailVerify(
|
|
153
|
+
request: components.V1VerifyEmailRequestBody,
|
|
154
|
+
options?: RequestOptions,
|
|
155
|
+
): Promise<operations.AccountV1SettingsEmailVerifyResponse> {
|
|
156
|
+
return unwrapAsync(accountEmailVerify(
|
|
62
157
|
this,
|
|
63
158
|
request,
|
|
64
159
|
options,
|
|
@@ -76,6 +171,15 @@ export class Account extends ClientSDK {
|
|
|
76
171
|
));
|
|
77
172
|
}
|
|
78
173
|
|
|
174
|
+
async getBadgeBookmarks(
|
|
175
|
+
options?: RequestOptions,
|
|
176
|
+
): Promise<operations.AccountV1GetBadgeBookmarksResponse> {
|
|
177
|
+
return unwrapAsync(accountGetBadgeBookmarks(
|
|
178
|
+
this,
|
|
179
|
+
options,
|
|
180
|
+
));
|
|
181
|
+
}
|
|
182
|
+
|
|
79
183
|
async getBadges(
|
|
80
184
|
request: components.V1BadgesRequestBody,
|
|
81
185
|
options?: RequestOptions,
|
|
@@ -109,6 +213,15 @@ export class Account extends ClientSDK {
|
|
|
109
213
|
));
|
|
110
214
|
}
|
|
111
215
|
|
|
216
|
+
async getImages(
|
|
217
|
+
options?: RequestOptions,
|
|
218
|
+
): Promise<operations.AccountV1ImagesGetResponse> {
|
|
219
|
+
return unwrapAsync(accountGetImages(
|
|
220
|
+
this,
|
|
221
|
+
options,
|
|
222
|
+
));
|
|
223
|
+
}
|
|
224
|
+
|
|
112
225
|
async getInfo(
|
|
113
226
|
request: components.AccountSearch,
|
|
114
227
|
options?: RequestOptions,
|
|
@@ -131,17 +244,44 @@ export class Account extends ClientSDK {
|
|
|
131
244
|
));
|
|
132
245
|
}
|
|
133
246
|
|
|
134
|
-
async
|
|
247
|
+
async getMeta(
|
|
135
248
|
request: components.AccountSearch,
|
|
136
249
|
options?: RequestOptions,
|
|
137
250
|
): Promise<operations.AccountV1GetMetaResponse> {
|
|
138
|
-
return unwrapAsync(
|
|
251
|
+
return unwrapAsync(accountGetMeta(
|
|
139
252
|
this,
|
|
140
253
|
request,
|
|
141
254
|
options,
|
|
142
255
|
));
|
|
143
256
|
}
|
|
144
257
|
|
|
258
|
+
async getOwnedBadges(
|
|
259
|
+
options?: RequestOptions,
|
|
260
|
+
): Promise<operations.AccountV1GetOwnedBadgesResponse> {
|
|
261
|
+
return unwrapAsync(accountGetOwnedBadges(
|
|
262
|
+
this,
|
|
263
|
+
options,
|
|
264
|
+
));
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
async getSession(
|
|
268
|
+
options?: RequestOptions,
|
|
269
|
+
): Promise<operations.AccountV1SessionGetResponse> {
|
|
270
|
+
return unwrapAsync(accountGetSession(
|
|
271
|
+
this,
|
|
272
|
+
options,
|
|
273
|
+
));
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
async getSettings(
|
|
277
|
+
options?: RequestOptions,
|
|
278
|
+
): Promise<operations.AccountV1SettingsGetResponse> {
|
|
279
|
+
return unwrapAsync(accountGetSettings(
|
|
280
|
+
this,
|
|
281
|
+
options,
|
|
282
|
+
));
|
|
283
|
+
}
|
|
284
|
+
|
|
145
285
|
async getStaff(
|
|
146
286
|
options?: RequestOptions,
|
|
147
287
|
): Promise<operations.AccountV1GetStaffResponse> {
|
|
@@ -151,6 +291,61 @@ export class Account extends ClientSDK {
|
|
|
151
291
|
));
|
|
152
292
|
}
|
|
153
293
|
|
|
294
|
+
async login(
|
|
295
|
+
request: operations.AccountV1SessionLoginRequest,
|
|
296
|
+
options?: RequestOptions,
|
|
297
|
+
): Promise<operations.AccountV1SessionLoginResponse> {
|
|
298
|
+
return unwrapAsync(accountLogin(
|
|
299
|
+
this,
|
|
300
|
+
request,
|
|
301
|
+
options,
|
|
302
|
+
));
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
async queue(
|
|
306
|
+
request: components.V1AccountQueueRequestBody,
|
|
307
|
+
options?: RequestOptions,
|
|
308
|
+
): Promise<operations.AccountV1QueueResponse> {
|
|
309
|
+
return unwrapAsync(accountQueue(
|
|
310
|
+
this,
|
|
311
|
+
request,
|
|
312
|
+
options,
|
|
313
|
+
));
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
async reconnect(
|
|
317
|
+
request: components.V1ReconnectRequestBody,
|
|
318
|
+
options?: RequestOptions,
|
|
319
|
+
): Promise<operations.AccountV1ConnectionReconnectResponse> {
|
|
320
|
+
return unwrapAsync(accountReconnect(
|
|
321
|
+
this,
|
|
322
|
+
request,
|
|
323
|
+
options,
|
|
324
|
+
));
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
async updateImages(
|
|
328
|
+
request: components.V1UpdateImageRequestBody,
|
|
329
|
+
options?: RequestOptions,
|
|
330
|
+
): Promise<operations.AccountV1ImagesUpdateResponse> {
|
|
331
|
+
return unwrapAsync(accountUpdateImages(
|
|
332
|
+
this,
|
|
333
|
+
request,
|
|
334
|
+
options,
|
|
335
|
+
));
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
async updateSettings(
|
|
339
|
+
request: operations.AccountV1SettingsUpdateRequest,
|
|
340
|
+
options?: RequestOptions,
|
|
341
|
+
): Promise<operations.AccountV1SettingsUpdateResponse> {
|
|
342
|
+
return unwrapAsync(accountUpdateSettings(
|
|
343
|
+
this,
|
|
344
|
+
request,
|
|
345
|
+
options,
|
|
346
|
+
));
|
|
347
|
+
}
|
|
348
|
+
|
|
154
349
|
async uploadImages(
|
|
155
350
|
request: components.V1UploadImagesRequestBody,
|
|
156
351
|
options?: RequestOptions,
|
|
@@ -161,4 +356,15 @@ export class Account extends ClientSDK {
|
|
|
161
356
|
options,
|
|
162
357
|
));
|
|
163
358
|
}
|
|
359
|
+
|
|
360
|
+
async verifyConnection(
|
|
361
|
+
request: components.V1VerifyConnectionRequestBody,
|
|
362
|
+
options?: RequestOptions,
|
|
363
|
+
): Promise<operations.AccountV1ConnectionVerifyConnectionResponse> {
|
|
364
|
+
return unwrapAsync(accountVerifyConnection(
|
|
365
|
+
this,
|
|
366
|
+
request,
|
|
367
|
+
options,
|
|
368
|
+
));
|
|
369
|
+
}
|
|
164
370
|
}
|
package/src/sdk/admin.ts
CHANGED
|
@@ -2,16 +2,23 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { adminAdminV1RemoveVanity } from "../funcs/adminAdminV1RemoveVanity.js";
|
|
6
5
|
import { adminGetAccount } from "../funcs/adminGetAccount.js";
|
|
6
|
+
import { adminRemoveVanity } from "../funcs/adminRemoveVanity.js";
|
|
7
|
+
import { adminUpdateEvent } from "../funcs/adminUpdateEvent.js";
|
|
7
8
|
import { adminUpdateResources } from "../funcs/adminUpdateResources.js";
|
|
8
9
|
import { adminUpdateRoles } from "../funcs/adminUpdateRoles.js";
|
|
9
10
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import * as components from "../models/components/index.js";
|
|
11
12
|
import * as operations from "../models/operations/index.js";
|
|
12
13
|
import { unwrapAsync } from "../types/fp.js";
|
|
14
|
+
import { Events } from "./events.js";
|
|
13
15
|
|
|
14
16
|
export class Admin extends ClientSDK {
|
|
17
|
+
private _events?: Events;
|
|
18
|
+
get events(): Events {
|
|
19
|
+
return (this._events ??= new Events(this._options));
|
|
20
|
+
}
|
|
21
|
+
|
|
15
22
|
async getAccount(
|
|
16
23
|
request: components.AccountSearch,
|
|
17
24
|
options?: RequestOptions,
|
|
@@ -23,11 +30,22 @@ export class Admin extends ClientSDK {
|
|
|
23
30
|
));
|
|
24
31
|
}
|
|
25
32
|
|
|
26
|
-
async
|
|
33
|
+
async removeVanity(
|
|
27
34
|
request: components.AccountSearch,
|
|
28
35
|
options?: RequestOptions,
|
|
29
36
|
): Promise<operations.AdminV1RemoveVanityResponse> {
|
|
30
|
-
return unwrapAsync(
|
|
37
|
+
return unwrapAsync(adminRemoveVanity(
|
|
38
|
+
this,
|
|
39
|
+
request,
|
|
40
|
+
options,
|
|
41
|
+
));
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
async updateEvent(
|
|
45
|
+
request: components.V1AdminUpdateEventRequestBody,
|
|
46
|
+
options?: RequestOptions,
|
|
47
|
+
): Promise<operations.AdminV1UpdateEventResponse> {
|
|
48
|
+
return unwrapAsync(adminUpdateEvent(
|
|
31
49
|
this,
|
|
32
50
|
request,
|
|
33
51
|
options,
|
package/src/sdk/app.ts
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { appListBadges } from "../funcs/appListBadges.js";
|
|
6
6
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
7
|
import * as components from "../models/components/index.js";
|
|
8
8
|
import * as operations from "../models/operations/index.js";
|
|
9
9
|
import { unwrapAsync } from "../types/fp.js";
|
|
10
10
|
|
|
11
11
|
export class App extends ClientSDK {
|
|
12
|
-
async
|
|
12
|
+
async listBadges(
|
|
13
13
|
request: components.V1AppBadgeListRequestBody,
|
|
14
14
|
options?: RequestOptions,
|
|
15
15
|
): Promise<operations.AppV1ListBadgesResponse> {
|
|
16
|
-
return unwrapAsync(
|
|
16
|
+
return unwrapAsync(appListBadges(
|
|
17
17
|
this,
|
|
18
18
|
request,
|
|
19
19
|
options,
|
package/src/sdk/badge.ts
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { badgeBadgeV1SearchSuggest } from "../funcs/badgeBadgeV1SearchSuggest.js";
|
|
6
|
-
import { badgeBadgeV1TagsSuggest } from "../funcs/badgeBadgeV1TagsSuggest.js";
|
|
7
5
|
import { badgeGetTags } from "../funcs/badgeGetTags.js";
|
|
6
|
+
import { badgeSearch } from "../funcs/badgeSearch.js";
|
|
7
|
+
import { badgeSuggest } from "../funcs/badgeSuggest.js";
|
|
8
|
+
import { badgeSuggestTags } from "../funcs/badgeSuggestTags.js";
|
|
9
|
+
import { badgeTag } from "../funcs/badgeTag.js";
|
|
8
10
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
9
11
|
import * as components from "../models/components/index.js";
|
|
10
12
|
import * as operations from "../models/operations/index.js";
|
|
@@ -20,22 +22,44 @@ export class Badge extends ClientSDK {
|
|
|
20
22
|
));
|
|
21
23
|
}
|
|
22
24
|
|
|
23
|
-
async
|
|
25
|
+
async search(
|
|
26
|
+
request: components.V1SearchRequest,
|
|
27
|
+
options?: RequestOptions,
|
|
28
|
+
): Promise<operations.BadgeV1SearchResponse> {
|
|
29
|
+
return unwrapAsync(badgeSearch(
|
|
30
|
+
this,
|
|
31
|
+
request,
|
|
32
|
+
options,
|
|
33
|
+
));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
async suggest(
|
|
24
37
|
request: components.V1BadgeSearchSuggesttRequestBody,
|
|
25
38
|
options?: RequestOptions,
|
|
26
39
|
): Promise<operations.BadgeV1SearchSuggestResponse> {
|
|
27
|
-
return unwrapAsync(
|
|
40
|
+
return unwrapAsync(badgeSuggest(
|
|
28
41
|
this,
|
|
29
42
|
request,
|
|
30
43
|
options,
|
|
31
44
|
));
|
|
32
45
|
}
|
|
33
46
|
|
|
34
|
-
async
|
|
47
|
+
async suggestTags(
|
|
35
48
|
request: components.V1BadgeTagsSuggestRequestBody,
|
|
36
49
|
options?: RequestOptions,
|
|
37
50
|
): Promise<operations.BadgeV1TagsSuggestResponse> {
|
|
38
|
-
return unwrapAsync(
|
|
51
|
+
return unwrapAsync(badgeSuggestTags(
|
|
52
|
+
this,
|
|
53
|
+
request,
|
|
54
|
+
options,
|
|
55
|
+
));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
async tag(
|
|
59
|
+
request: components.V1BadgeTagRequestBody,
|
|
60
|
+
options?: RequestOptions,
|
|
61
|
+
): Promise<operations.BadgeV1TagResponse> {
|
|
62
|
+
return unwrapAsync(badgeTag(
|
|
39
63
|
this,
|
|
40
64
|
request,
|
|
41
65
|
options,
|
package/src/sdk/badges.ts
CHANGED
|
@@ -2,64 +2,17 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import { badgesGetBookmarks } from "../funcs/badgesGetBookmarks.js";
|
|
7
|
-
import { badgesGetOwned } from "../funcs/badgesGetOwned.js";
|
|
8
|
-
import { badgesSearch } from "../funcs/badgesSearch.js";
|
|
9
|
-
import { badgesTag } from "../funcs/badgesTag.js";
|
|
5
|
+
import { leaderboardBadgesGetList } from "../funcs/leaderboardBadgesGetList.js";
|
|
10
6
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
|
-
import * as components from "../models/components/index.js";
|
|
12
7
|
import * as operations from "../models/operations/index.js";
|
|
13
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
14
9
|
|
|
15
10
|
export class Badges extends ClientSDK {
|
|
16
|
-
async
|
|
17
|
-
request: components.V1AccountBadgeBookmarkRequestBody,
|
|
11
|
+
async getList(
|
|
18
12
|
options?: RequestOptions,
|
|
19
|
-
): Promise<operations.
|
|
20
|
-
return unwrapAsync(
|
|
13
|
+
): Promise<operations.LeaderboardV1GetBadgesResponse> {
|
|
14
|
+
return unwrapAsync(leaderboardBadgesGetList(
|
|
21
15
|
this,
|
|
22
|
-
request,
|
|
23
|
-
options,
|
|
24
|
-
));
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
async getBookmarks(
|
|
28
|
-
options?: RequestOptions,
|
|
29
|
-
): Promise<operations.AccountV1GetBadgeBookmarksResponse> {
|
|
30
|
-
return unwrapAsync(badgesGetBookmarks(
|
|
31
|
-
this,
|
|
32
|
-
options,
|
|
33
|
-
));
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
async getOwned(
|
|
37
|
-
options?: RequestOptions,
|
|
38
|
-
): Promise<operations.AccountV1GetOwnedBadgesResponse> {
|
|
39
|
-
return unwrapAsync(badgesGetOwned(
|
|
40
|
-
this,
|
|
41
|
-
options,
|
|
42
|
-
));
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
async search(
|
|
46
|
-
request: components.V1SearchRequest,
|
|
47
|
-
options?: RequestOptions,
|
|
48
|
-
): Promise<operations.BadgeV1SearchResponse> {
|
|
49
|
-
return unwrapAsync(badgesSearch(
|
|
50
|
-
this,
|
|
51
|
-
request,
|
|
52
|
-
options,
|
|
53
|
-
));
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
async tag(
|
|
57
|
-
request: components.V1BadgeTagRequestBody,
|
|
58
|
-
options?: RequestOptions,
|
|
59
|
-
): Promise<operations.BadgeV1TagResponse> {
|
|
60
|
-
return unwrapAsync(badgesTag(
|
|
61
|
-
this,
|
|
62
|
-
request,
|
|
63
16
|
options,
|
|
64
17
|
));
|
|
65
18
|
}
|
package/src/sdk/connection.ts
CHANGED
|
@@ -2,54 +2,18 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import { connectionReconnect } from "../funcs/connectionReconnect.js";
|
|
7
|
-
import { connectionUpdate } from "../funcs/connectionUpdate.js";
|
|
8
|
-
import { connectionVerify } from "../funcs/connectionVerify.js";
|
|
5
|
+
import { accountConnectionUpdate } from "../funcs/accountConnectionUpdate.js";
|
|
9
6
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
10
7
|
import * as components from "../models/components/index.js";
|
|
11
8
|
import * as operations from "../models/operations/index.js";
|
|
12
9
|
import { unwrapAsync } from "../types/fp.js";
|
|
13
10
|
|
|
14
11
|
export class Connection extends ClientSDK {
|
|
15
|
-
async delete(
|
|
16
|
-
request: components.V1DeleteConnectionRequestBody,
|
|
17
|
-
options?: RequestOptions,
|
|
18
|
-
): Promise<operations.AccountV1ConnectionDeleteConnectionResponse> {
|
|
19
|
-
return unwrapAsync(connectionDelete(
|
|
20
|
-
this,
|
|
21
|
-
request,
|
|
22
|
-
options,
|
|
23
|
-
));
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
async reconnect(
|
|
27
|
-
request: components.V1ReconnectRequestBody,
|
|
28
|
-
options?: RequestOptions,
|
|
29
|
-
): Promise<operations.AccountV1ConnectionReconnectResponse> {
|
|
30
|
-
return unwrapAsync(connectionReconnect(
|
|
31
|
-
this,
|
|
32
|
-
request,
|
|
33
|
-
options,
|
|
34
|
-
));
|
|
35
|
-
}
|
|
36
|
-
|
|
37
12
|
async update(
|
|
38
13
|
request: components.V1UpdateConnectionRequestBody,
|
|
39
14
|
options?: RequestOptions,
|
|
40
15
|
): Promise<operations.AccountV1ConnectionUpdateConnectionResponse> {
|
|
41
|
-
return unwrapAsync(
|
|
42
|
-
this,
|
|
43
|
-
request,
|
|
44
|
-
options,
|
|
45
|
-
));
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
async verify(
|
|
49
|
-
request: components.V1VerifyConnectionRequestBody,
|
|
50
|
-
options?: RequestOptions,
|
|
51
|
-
): Promise<operations.AccountV1ConnectionVerifyConnectionResponse> {
|
|
52
|
-
return unwrapAsync(connectionVerify(
|
|
16
|
+
return unwrapAsync(accountConnectionUpdate(
|
|
53
17
|
this,
|
|
54
18
|
request,
|
|
55
19
|
options,
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { accountDeveloperAppsDelete } from "../funcs/accountDeveloperAppsDelete.js";
|
|
6
|
+
import { accountDeveloperAppsUpdate } from "../funcs/accountDeveloperAppsUpdate.js";
|
|
7
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
|
+
import * as components from "../models/components/index.js";
|
|
9
|
+
import * as operations from "../models/operations/index.js";
|
|
10
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
11
|
+
|
|
12
|
+
export class DeveloperApps extends ClientSDK {
|
|
13
|
+
async delete(
|
|
14
|
+
request: components.V1AccountDeveloperAppDeleteRequestBody,
|
|
15
|
+
options?: RequestOptions,
|
|
16
|
+
): Promise<operations.AccountV1SettingsDeveloperAppDeleteResponse> {
|
|
17
|
+
return unwrapAsync(accountDeveloperAppsDelete(
|
|
18
|
+
this,
|
|
19
|
+
request,
|
|
20
|
+
options,
|
|
21
|
+
));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
async update(
|
|
25
|
+
request: components.V1AccountDeveloperAppUpdateRequestBody,
|
|
26
|
+
options?: RequestOptions,
|
|
27
|
+
): Promise<operations.AccountV1SettingsDeveloperAppUpdateResponse> {
|
|
28
|
+
return unwrapAsync(accountDeveloperAppsUpdate(
|
|
29
|
+
this,
|
|
30
|
+
request,
|
|
31
|
+
options,
|
|
32
|
+
));
|
|
33
|
+
}
|
|
34
|
+
}
|
package/src/sdk/events.ts
CHANGED
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import { eventsUpdate } from "../funcs/eventsUpdate.js";
|
|
5
|
+
import { adminEventsGet } from "../funcs/adminEventsGet.js";
|
|
7
6
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
|
-
import * as components from "../models/components/index.js";
|
|
9
7
|
import * as operations from "../models/operations/index.js";
|
|
10
8
|
import { unwrapAsync } from "../types/fp.js";
|
|
11
9
|
|
|
@@ -13,20 +11,9 @@ export class Events extends ClientSDK {
|
|
|
13
11
|
async get(
|
|
14
12
|
options?: RequestOptions,
|
|
15
13
|
): Promise<operations.AdminV1GetEventsResponse> {
|
|
16
|
-
return unwrapAsync(
|
|
14
|
+
return unwrapAsync(adminEventsGet(
|
|
17
15
|
this,
|
|
18
16
|
options,
|
|
19
17
|
));
|
|
20
18
|
}
|
|
21
|
-
|
|
22
|
-
async update(
|
|
23
|
-
request: components.V1AdminUpdateEventRequestBody,
|
|
24
|
-
options?: RequestOptions,
|
|
25
|
-
): Promise<operations.AdminV1UpdateEventResponse> {
|
|
26
|
-
return unwrapAsync(eventsUpdate(
|
|
27
|
-
this,
|
|
28
|
-
request,
|
|
29
|
-
options,
|
|
30
|
-
));
|
|
31
|
-
}
|
|
32
19
|
}
|
package/src/sdk/leaderboard.ts
CHANGED
|
@@ -3,15 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { leaderboardGetAccount } from "../funcs/leaderboardGetAccount.js";
|
|
6
|
-
import {
|
|
6
|
+
import { leaderboardGetAccountMeta } from "../funcs/leaderboardGetAccountMeta.js";
|
|
7
7
|
import { leaderboardGetGroup } from "../funcs/leaderboardGetGroup.js";
|
|
8
|
-
import { leaderboardLeaderboardV1GetLeaderboardAccountMeta } from "../funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.js";
|
|
9
8
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
10
9
|
import * as components from "../models/components/index.js";
|
|
11
10
|
import * as operations from "../models/operations/index.js";
|
|
12
11
|
import { unwrapAsync } from "../types/fp.js";
|
|
12
|
+
import { Badges } from "./badges.js";
|
|
13
13
|
|
|
14
14
|
export class Leaderboard extends ClientSDK {
|
|
15
|
+
private _badges?: Badges;
|
|
16
|
+
get badges(): Badges {
|
|
17
|
+
return (this._badges ??= new Badges(this._options));
|
|
18
|
+
}
|
|
19
|
+
|
|
15
20
|
async getAccount(
|
|
16
21
|
request: components.V1AccountLeaderboardRequestBody,
|
|
17
22
|
options?: RequestOptions,
|
|
@@ -23,26 +28,17 @@ export class Leaderboard extends ClientSDK {
|
|
|
23
28
|
));
|
|
24
29
|
}
|
|
25
30
|
|
|
26
|
-
async
|
|
31
|
+
async getAccountMeta(
|
|
27
32
|
request: components.V1LeaderboardAccountMetaRequestBody,
|
|
28
33
|
options?: RequestOptions,
|
|
29
34
|
): Promise<operations.LeaderboardV1GetLeaderboardAccountMetaResponse> {
|
|
30
|
-
return unwrapAsync(
|
|
35
|
+
return unwrapAsync(leaderboardGetAccountMeta(
|
|
31
36
|
this,
|
|
32
37
|
request,
|
|
33
38
|
options,
|
|
34
39
|
));
|
|
35
40
|
}
|
|
36
41
|
|
|
37
|
-
async getBadges(
|
|
38
|
-
options?: RequestOptions,
|
|
39
|
-
): Promise<operations.LeaderboardV1GetBadgesResponse> {
|
|
40
|
-
return unwrapAsync(leaderboardGetBadges(
|
|
41
|
-
this,
|
|
42
|
-
options,
|
|
43
|
-
));
|
|
44
|
-
}
|
|
45
|
-
|
|
46
42
|
async getGroup(
|
|
47
43
|
request: components.V1GroupLeaderboardRequestBody,
|
|
48
44
|
options?: RequestOptions,
|