@audius/sdk 15.0.1 → 15.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +8 -9
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +24 -23
- package/.turbo/turbo-typecheck.log +1 -1
- package/CHANGELOG.md +35 -0
- package/package.json +22 -8
- package/rollup.config.ts +23 -3
- package/src/sdk/api/chats/ChatsApi.ts +1 -1
- package/src/sdk/api/comments/CommentsAPI.ts +214 -13
- package/src/sdk/api/comments/types.ts +61 -8
- package/src/sdk/api/developer-apps/types.ts +2 -20
- package/src/sdk/api/events/EventsApi.ts +96 -4
- package/src/sdk/api/events/types.ts +17 -0
- package/src/sdk/api/generated/default/.openapi-generator/FILES +14 -0
- package/src/sdk/api/generated/default/apis/ChallengesApi.ts +10 -6
- package/src/sdk/api/generated/default/apis/CommentsApi.ts +61 -43
- package/src/sdk/api/generated/default/apis/DeveloperAppsApi.ts +7 -5
- package/src/sdk/api/generated/default/apis/EventsApi.ts +451 -9
- package/src/sdk/api/generated/default/apis/ExploreApi.ts +5 -3
- package/src/sdk/api/generated/default/apis/FanClubApi.ts +152 -0
- package/src/sdk/api/generated/default/apis/NotificationsApi.ts +4 -1
- package/src/sdk/api/generated/default/apis/PlaylistsApi.ts +151 -61
- package/src/sdk/api/generated/default/apis/SearchApi.ts +15 -9
- package/src/sdk/api/generated/default/apis/TipsApi.ts +5 -3
- package/src/sdk/api/generated/default/apis/TracksApi.ts +285 -144
- package/src/sdk/api/generated/default/apis/UsersApi.ts +386 -206
- package/src/sdk/api/generated/default/apis/index.ts +1 -0
- package/src/sdk/api/generated/default/models/AnnouncementNotificationActionData.ts +8 -0
- package/src/sdk/api/generated/default/models/Comment.ts +16 -0
- package/src/sdk/api/generated/default/models/CommentEntityType.ts +3 -1
- package/src/sdk/api/generated/default/models/CreateCommentRequestBody.ts +8 -0
- package/src/sdk/api/generated/default/models/EventFollowState.ts +75 -0
- package/src/sdk/api/generated/default/models/EventFollowStateResponse.ts +72 -0
- package/src/sdk/api/generated/default/models/FanClubTextPostNotification.ts +108 -0
- package/src/sdk/api/generated/default/models/FanClubTextPostNotificationAction.ts +100 -0
- package/src/sdk/api/generated/default/models/FanClubTextPostNotificationActionData.ts +75 -0
- package/src/sdk/api/generated/default/models/FanRemixContestSubmissionNotification.ts +108 -0
- package/src/sdk/api/generated/default/models/FanRemixContestSubmissionNotificationAction.ts +100 -0
- package/src/sdk/api/generated/default/models/FanRemixContestSubmissionNotificationActionData.ts +102 -0
- package/src/sdk/api/generated/default/models/Notification.ts +34 -1
- package/src/sdk/api/generated/default/models/RemixContestUpdateNotification.ts +108 -0
- package/src/sdk/api/generated/default/models/RemixContestUpdateNotificationAction.ts +100 -0
- package/src/sdk/api/generated/default/models/RemixContestUpdateNotificationActionData.ts +93 -0
- package/src/sdk/api/generated/default/models/RemixContestsRelated.ts +94 -0
- package/src/sdk/api/generated/default/models/RemixContestsResponse.ts +86 -0
- package/src/sdk/api/generated/default/models/ReplyComment.ts +8 -0
- package/src/sdk/api/generated/default/models/UserCoin.ts +15 -0
- package/src/sdk/api/generated/default/models/index.ts +13 -0
- package/src/sdk/api/generated/default/runtime.ts +2 -2
- package/src/sdk/api/generator/{gen.cjs → gen.js} +1 -0
- package/src/sdk/api/generator/templates/typescript-fetch/apis.mustache +7 -5
- package/src/sdk/api/generator/templates/typescript-fetch/runtime.mustache +2 -2
- package/src/sdk/api/playlists/PlaylistsApi.ts +5 -5
- package/src/sdk/api/tracks/types.ts +1 -0
- package/src/sdk/createSdk.ts +24 -5
- package/src/sdk/createSdkWithServices.ts +39 -9
- package/src/sdk/index.ts +1 -0
- package/src/sdk/middleware/addSolanaWalletSignatureMiddleware.ts +44 -0
- package/src/sdk/middleware/index.ts +1 -0
- package/src/sdk/oauth/OAuth.test.ts +110 -4
- package/src/sdk/oauth/OAuth.ts +51 -12
- package/src/sdk/oauth/TokenStoreAsyncStorage.ts +48 -4
- package/src/sdk/oauth/TokenStoreLocalStorage.ts +48 -1
- package/src/sdk/oauth/TokenStoreMemory.ts +22 -1
- package/src/sdk/oauth/tokenStore.test.ts +32 -3
- package/src/sdk/oauth/tokenStore.ts +10 -1
- package/src/sdk/oauth/tokenStoreAsyncStorage.test.ts +130 -0
- package/src/sdk/oauth/tokenStoreLocalStorage.test.ts +45 -1
- package/src/sdk/scripts/generateServicesConfig.ts +1 -2
- package/src/sdk/services/EntityManager/EntityManagerClient.ts +27 -4
- package/src/sdk/services/EntityManager/types.ts +8 -0
- package/src/sdk/services/Solana/programs/ClaimableTokensClient/ClaimableTokensClient.ts +92 -12
- package/src/sdk/services/Solana/programs/ClaimableTokensClient/types.ts +5 -1
- package/src/sdk/services/Storage/Storage.ts +12 -1
- package/src/sdk/solanaWallet/SolanaWallet.ts +61 -0
- package/src/sdk/solanaWallet/index.ts +8 -0
- package/src/sdk/utils/mergeConfigs.ts +55 -11
- package/src/sdk/utils/objectUtils.ts +30 -0
- package/dist/browser-15461226.js +0 -2732
- package/dist/browser-15461226.js.map +0 -1
- package/dist/index.browser.esm.js +0 -51254
- package/dist/index.browser.esm.js.map +0 -1
- package/dist/index.d.ts +0 -52
- package/dist/index.esm.js +0 -48732
- package/dist/index.esm.js.map +0 -1
- package/dist/index.native.d.ts +0 -15
- package/dist/index.native.js +0 -48803
- package/dist/index.native.js.map +0 -1
- package/dist/sdk/api/ResolveApi.d.ts +0 -24
- package/dist/sdk/api/albums/AlbumsApi.d.ts +0 -71
- package/dist/sdk/api/albums/AlbumsApi.test.d.ts +0 -1
- package/dist/sdk/api/albums/types.d.ts +0 -3109
- package/dist/sdk/api/challenges/types.d.ts +0 -26
- package/dist/sdk/api/chats/ChatsApi.d.ts +0 -233
- package/dist/sdk/api/chats/clientTypes.d.ts +0 -270
- package/dist/sdk/api/chats/serverTypes.d.ts +0 -199
- package/dist/sdk/api/comments/CommentsAPI.d.ts +0 -58
- package/dist/sdk/api/comments/types.d.ts +0 -118
- package/dist/sdk/api/dashboard-wallet-users/DashboardWalletUsersApi.d.ts +0 -19
- package/dist/sdk/api/dashboard-wallet-users/types.d.ts +0 -87
- package/dist/sdk/api/developer-apps/DeveloperAppsApi.d.ts +0 -62
- package/dist/sdk/api/developer-apps/types.d.ts +0 -59
- package/dist/sdk/api/events/EventsApi.d.ts +0 -19
- package/dist/sdk/api/events/types.d.ts +0 -124
- package/dist/sdk/api/generated/default/apis/ChallengesApi.d.ts +0 -64
- package/dist/sdk/api/generated/default/apis/CidDataApi.d.ts +0 -29
- package/dist/sdk/api/generated/default/apis/CoinsApi.d.ts +0 -220
- package/dist/sdk/api/generated/default/apis/CommentsApi.d.ts +0 -162
- package/dist/sdk/api/generated/default/apis/DashboardWalletUsersApi.d.ts +0 -29
- package/dist/sdk/api/generated/default/apis/DeveloperAppsApi.d.ts +0 -130
- package/dist/sdk/api/generated/default/apis/EventsApi.d.ts +0 -112
- package/dist/sdk/api/generated/default/apis/ExploreApi.d.ts +0 -43
- package/dist/sdk/api/generated/default/apis/NotificationsApi.d.ts +0 -94
- package/dist/sdk/api/generated/default/apis/PlaylistsApi.d.ts +0 -296
- package/dist/sdk/api/generated/default/apis/PrizesApi.d.ts +0 -50
- package/dist/sdk/api/generated/default/apis/ReactionsApi.d.ts +0 -30
- package/dist/sdk/api/generated/default/apis/ResolveApi.d.ts +0 -30
- package/dist/sdk/api/generated/default/apis/RewardsApi.d.ts +0 -41
- package/dist/sdk/api/generated/default/apis/SearchApi.d.ts +0 -157
- package/dist/sdk/api/generated/default/apis/TipsApi.d.ts +0 -55
- package/dist/sdk/api/generated/default/apis/TracksApi.d.ts +0 -846
- package/dist/sdk/api/generated/default/apis/TransactionsApi.d.ts +0 -71
- package/dist/sdk/api/generated/default/apis/UsersApi.d.ts +0 -1737
- package/dist/sdk/api/generated/default/apis/WalletApi.d.ts +0 -31
- package/dist/sdk/api/generated/default/apis/index.d.ts +0 -20
- package/dist/sdk/api/generated/default/index.d.ts +0 -3
- package/dist/sdk/api/generated/default/models/Access.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/AccessGate.d.ts +0 -23
- package/dist/sdk/api/generated/default/models/AccessInfoResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/Account.d.ts +0 -51
- package/dist/sdk/api/generated/default/models/AccountCollection.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/AccountCollectionUser.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/Activity.d.ts +0 -56
- package/dist/sdk/api/generated/default/models/AddManagerRequestBody.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/AlbumBacklink.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/AlbumsResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/AnnouncementNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/AnnouncementNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/AnnouncementNotificationActionData.d.ts +0 -54
- package/dist/sdk/api/generated/default/models/ApproveGrantRequestBody.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/ApproveManagerRequestNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/ApproveManagerRequestNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/ApproveManagerRequestNotificationActionData.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/ArtistCoinFees.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/ArtistLocker.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/ArtistRemixContestEndedNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/ArtistRemixContestEndedNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/ArtistRemixContestEndedNotificationActionData.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/ArtistRemixContestEndingSoonNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/ArtistRemixContestEndingSoonNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/ArtistRemixContestEndingSoonNotificationActionData.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/ArtistRemixContestSubmissionsNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/ArtistRemixContestSubmissionsNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/ArtistRemixContestSubmissionsNotificationActionData.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/Attestation.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/AttestationReponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/AuthorizedApp.d.ts +0 -66
- package/dist/sdk/api/generated/default/models/AuthorizedApps.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/BalanceHistoryDataPoint.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/BalanceHistoryResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/BestSellingItem.d.ts +0 -56
- package/dist/sdk/api/generated/default/models/BestSellingResponse.d.ts +0 -81
- package/dist/sdk/api/generated/default/models/BlobInfo.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/BulkSubscribersResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/ChallengeResponse.d.ts +0 -102
- package/dist/sdk/api/generated/default/models/ChallengeRewardNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/ChallengeRewardNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/ChallengeRewardNotificationActionData.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/CidData.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/CidDataResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/ClaimRewardsRequestBody.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/ClaimRewardsResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/ClaimRewardsResponseDataInner.d.ts +0 -54
- package/dist/sdk/api/generated/default/models/ClaimableRewardNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/ClaimableRewardNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/ClaimableRewardNotificationActionData.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/ClaimedPrize.d.ts +0 -78
- package/dist/sdk/api/generated/default/models/ClaimedPrizesResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/Coin.d.ts +0 -232
- package/dist/sdk/api/generated/default/models/CoinInsights.d.ts +0 -352
- package/dist/sdk/api/generated/default/models/CoinInsightsDynamicBondingCurve.d.ts +0 -72
- package/dist/sdk/api/generated/default/models/CoinInsightsExtensions.d.ts +0 -54
- package/dist/sdk/api/generated/default/models/CoinInsightsResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/CoinMember.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/CoinMembersCountResponse.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/CoinMembersResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/CoinResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/CoinsResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/CoinsVolumeLeadersResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/CoinsVolumeLeadersResponseDataInner.d.ts +0 -43
- package/dist/sdk/api/generated/default/models/Collectibles.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/CollectiblesResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/CollectionActivityWithoutTracks.d.ts +0 -45
- package/dist/sdk/api/generated/default/models/CollectionLibraryResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/Comment.d.ts +0 -135
- package/dist/sdk/api/generated/default/models/CommentEntityType.d.ts +0 -21
- package/dist/sdk/api/generated/default/models/CommentMention.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/CommentMentionNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/CommentMentionNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/CommentMentionNotificationActionData.d.ts +0 -63
- package/dist/sdk/api/generated/default/models/CommentNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/CommentNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/CommentNotificationActionData.d.ts +0 -57
- package/dist/sdk/api/generated/default/models/CommentNotificationSetting.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/CommentReactionNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/CommentReactionNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/CommentReactionNotificationActionData.d.ts +0 -63
- package/dist/sdk/api/generated/default/models/CommentRepliesResponse.d.ts +0 -81
- package/dist/sdk/api/generated/default/models/CommentResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/CommentThreadNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/CommentThreadNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/CommentThreadNotificationActionData.d.ts +0 -63
- package/dist/sdk/api/generated/default/models/ConnectedWallets.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/ConnectedWalletsResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/CosignNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/CosignNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/CosignNotificationActionData.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/CoverArt.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/CoverPhoto.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/CreateAccessKeyResponse.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/CreateCoinRequest.d.ts +0 -90
- package/dist/sdk/api/generated/default/models/CreateCoinResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/CreateCoinResponseData.d.ts +0 -102
- package/dist/sdk/api/generated/default/models/CreateCommentRequestBody.d.ts +0 -67
- package/dist/sdk/api/generated/default/models/CreateCommentResponse.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/CreateDeveloperAppRequestBody.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/CreateDeveloperAppResponse.d.ts +0 -60
- package/dist/sdk/api/generated/default/models/CreateGrantRequestBody.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/CreateNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/CreateNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/CreateNotificationActionData.d.ts +0 -21
- package/dist/sdk/api/generated/default/models/CreatePlaylistNotificationActionData.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/CreatePlaylistRequestBody.d.ts +0 -171
- package/dist/sdk/api/generated/default/models/CreatePlaylistRequestBodyCopyrightLine.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/CreatePlaylistRequestBodyProducerCopyrightLine.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/CreatePlaylistResponse.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/CreateRewardCodeRequest.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/CreateRewardCodeResponse.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/CreateTrackNotificationActionData.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/CreateTrackRequestBody.d.ts +0 -292
- package/dist/sdk/api/generated/default/models/CreateTrackResponse.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/CreateUserRequestBody.d.ts +0 -153
- package/dist/sdk/api/generated/default/models/CreateUserResponse.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/DashboardWalletUser.d.ts +0 -37
- package/dist/sdk/api/generated/default/models/DashboardWalletUsersResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/DataAndType.d.ts +0 -37
- package/dist/sdk/api/generated/default/models/DdexCopyright.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/DdexResourceContributor.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/DdexRightsController.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/DeactivateAccessKeyRequestBody.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/DeactivateAccessKeyResponse.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/DecodedUserToken.d.ts +0 -79
- package/dist/sdk/api/generated/default/models/DeveloperApp.d.ts +0 -60
- package/dist/sdk/api/generated/default/models/DeveloperAppResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/DeveloperAppsResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/DynamicBondingCurveInsights.d.ts +0 -72
- package/dist/sdk/api/generated/default/models/EmailAccess.d.ts +0 -72
- package/dist/sdk/api/generated/default/models/EmailAccessResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/Event.d.ts +0 -102
- package/dist/sdk/api/generated/default/models/EventsResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/ExtendedAccessGate.d.ts +0 -23
- package/dist/sdk/api/generated/default/models/ExtendedPaymentSplit.d.ts +0 -54
- package/dist/sdk/api/generated/default/models/ExtendedPurchaseGate.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/ExtendedTokenGate.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/ExtendedUsdcGate.d.ts +0 -37
- package/dist/sdk/api/generated/default/models/FanRemixContestEndedNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/FanRemixContestEndedNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/FanRemixContestEndedNotificationActionData.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/FanRemixContestEndingSoonNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/FanRemixContestEndingSoonNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/FanRemixContestEndingSoonNotificationActionData.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/FanRemixContestStartedNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/FanRemixContestStartedNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/FanRemixContestStartedNotificationActionData.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/FanRemixContestWinnersSelectedNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/FanRemixContestWinnersSelectedNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/FanRemixContestWinnersSelectedNotificationActionData.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/Favorite.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/FavoriteRequestBody.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/FavoritesResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/FieldVisibility.d.ts +0 -60
- package/dist/sdk/api/generated/default/models/FollowGate.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/FollowNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/FollowNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/FollowNotificationActionData.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/FollowersResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/FollowingResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/Genre.d.ts +0 -71
- package/dist/sdk/api/generated/default/models/GetChallenges.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/GetSupportedUsers.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/GetSupporter.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/GetSupporters.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/GetSupporting.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/GetTipsResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/Grant.d.ts +0 -60
- package/dist/sdk/api/generated/default/models/HistoryResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/ListenCount.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/ListenStreakReminderNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/ListenStreakReminderNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/ListenStreakReminderNotificationActionData.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/ManagedUser.d.ts +0 -38
- package/dist/sdk/api/generated/default/models/ManagedUsersResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/ManagersResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/MilestoneNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/MilestoneNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/MilestoneNotificationActionData.d.ts +0 -22
- package/dist/sdk/api/generated/default/models/MonthlyAggregatePlay.d.ts +0 -43
- package/dist/sdk/api/generated/default/models/Mood.d.ts +0 -43
- package/dist/sdk/api/generated/default/models/MutualFollowersResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/NftCollection.d.ts +0 -76
- package/dist/sdk/api/generated/default/models/NftGate.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/Notification.d.ts +0 -141
- package/dist/sdk/api/generated/default/models/Notifications.d.ts +0 -37
- package/dist/sdk/api/generated/default/models/NotificationsResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/PaymentSplit.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/PinCommentRequestBody.d.ts +0 -37
- package/dist/sdk/api/generated/default/models/Playlist.d.ts +0 -272
- package/dist/sdk/api/generated/default/models/PlaylistAddedTimestamp.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/PlaylistArtwork.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/PlaylistFeedItem.d.ts +0 -37
- package/dist/sdk/api/generated/default/models/PlaylistLibrary.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/PlaylistLibraryExplorePlaylistIdentifier.d.ts +0 -43
- package/dist/sdk/api/generated/default/models/PlaylistLibraryFolder.d.ts +0 -56
- package/dist/sdk/api/generated/default/models/PlaylistLibraryPlaylistIdentifier.d.ts +0 -43
- package/dist/sdk/api/generated/default/models/PlaylistMilestoneNotificationActionData.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/PlaylistResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/PlaylistSearchResult.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/PlaylistTracksResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/PlaylistUpdate.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/PlaylistUpdates.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/PlaylistUpdatesResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/PlaylistWithoutTracks.d.ts +0 -272
- package/dist/sdk/api/generated/default/models/PlaylistsResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/PrizeClaimRequestBody.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/PrizeClaimResponse.d.ts +0 -56
- package/dist/sdk/api/generated/default/models/PrizePublic.d.ts +0 -56
- package/dist/sdk/api/generated/default/models/PrizesResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/ProfilePicture.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/Purchase.d.ts +0 -97
- package/dist/sdk/api/generated/default/models/PurchaseGate.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/PurchaseSplit.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/PurchasersCountResponse.d.ts +0 -73
- package/dist/sdk/api/generated/default/models/PurchasersResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/PurchasesCountResponse.d.ts +0 -73
- package/dist/sdk/api/generated/default/models/PurchasesResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/ReactCommentRequestBody.d.ts +0 -37
- package/dist/sdk/api/generated/default/models/Reaction.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/ReactionNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/ReactionNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/ReactionNotificationActionData.d.ts +0 -66
- package/dist/sdk/api/generated/default/models/Reactions.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/ReceiveTipNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/ReceiveTipNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/ReceiveTipNotificationActionData.d.ts +0 -54
- package/dist/sdk/api/generated/default/models/RedeemAmountResponse.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/RegisterApiKeyRequestBody.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/RegisterApiKeyResponse.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/Related.d.ts +0 -45
- package/dist/sdk/api/generated/default/models/RelatedArtistResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/Remix.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/RemixNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/RemixNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/RemixNotificationActionData.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/RemixParent.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/RemixParentWrite.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/RemixablesResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/RemixedTrackAggregate.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/RemixersCountResponse.d.ts +0 -73
- package/dist/sdk/api/generated/default/models/RemixersResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/RemixesResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/RemixesResponseData.d.ts +0 -37
- package/dist/sdk/api/generated/default/models/RemixingResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/ReplyComment.d.ts +0 -110
- package/dist/sdk/api/generated/default/models/Repost.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/RepostNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/RepostNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/RepostNotificationActionData.d.ts +0 -51
- package/dist/sdk/api/generated/default/models/RepostOfRepostNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/RepostOfRepostNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/RepostOfRepostNotificationActionData.d.ts +0 -51
- package/dist/sdk/api/generated/default/models/RepostRequestBody.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/Reposts.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/RequestManagerNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/RequestManagerNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/RequestManagerNotificationActionData.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/RewardCodeErrorResponse.d.ts +0 -38
- package/dist/sdk/api/generated/default/models/RewardCodeResponse.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/RewardPool.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/SaleJson.d.ts +0 -108
- package/dist/sdk/api/generated/default/models/SalesAggregate.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/SalesAggregateResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/SalesJsonContent.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/SalesJsonResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/SaveNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/SaveNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/SaveNotificationActionData.d.ts +0 -51
- package/dist/sdk/api/generated/default/models/SaveOfRepostNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/SaveOfRepostNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/SaveOfRepostNotificationActionData.d.ts +0 -51
- package/dist/sdk/api/generated/default/models/SearchAutocompleteResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/SearchModel.d.ts +0 -75
- package/dist/sdk/api/generated/default/models/SearchPlaylist.d.ts +0 -272
- package/dist/sdk/api/generated/default/models/SearchResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/SearchTrack.d.ts +0 -520
- package/dist/sdk/api/generated/default/models/SendTipNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/SendTipNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/SendTipNotificationActionData.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/Stem.d.ts +0 -66
- package/dist/sdk/api/generated/default/models/StemParent.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/StemsResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/StreamUrlResponse.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/SubscribersResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/Supporter.d.ts +0 -43
- package/dist/sdk/api/generated/default/models/SupporterDethronedNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/SupporterDethronedNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/SupporterDethronedNotificationActionData.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/SupporterRankUpNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/SupporterRankUpNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/SupporterRankUpNotificationActionData.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/SupporterReference.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/Supporting.d.ts +0 -43
- package/dist/sdk/api/generated/default/models/TagsResponse.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/TastemakerNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/TastemakerNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/TastemakerNotificationActionData.d.ts +0 -54
- package/dist/sdk/api/generated/default/models/TierChangeNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/TierChangeNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/TierChangeNotificationActionData.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/Tip.d.ts +0 -68
- package/dist/sdk/api/generated/default/models/TipGate.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/TokenGate.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/TopGenreUsersResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/TopListener.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/TopUsersResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/Track.d.ts +0 -526
- package/dist/sdk/api/generated/default/models/TrackAccessInfo.d.ts +0 -68
- package/dist/sdk/api/generated/default/models/TrackActivity.d.ts +0 -45
- package/dist/sdk/api/generated/default/models/TrackAddedToPlaylistNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/TrackAddedToPlaylistNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/TrackAddedToPlaylistNotificationActionData.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/TrackAddedToPurchasedAlbumNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/TrackAddedToPurchasedAlbumNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/TrackAddedToPurchasedAlbumNotificationActionData.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/TrackArtwork.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/TrackCommentCountResponse.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/TrackCommentNotificationResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/TrackCommentsResponse.d.ts +0 -81
- package/dist/sdk/api/generated/default/models/TrackDownloadCountResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/TrackDownloadCountResponseData.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/TrackDownloadCountsResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/TrackDownloadRequestBody.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/TrackElementWrite.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/TrackFavoritesResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/TrackFeedItem.d.ts +0 -37
- package/dist/sdk/api/generated/default/models/TrackId.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/TrackInspect.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/TrackInspectList.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/TrackLibraryResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/TrackMilestoneNotificationActionData.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/TrackRepostsResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/TrackResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/TrackSearch.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/TrackSegment.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/Tracks.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/TracksCountResponse.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/TracksResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/TransactionDetails.d.ts +0 -72
- package/dist/sdk/api/generated/default/models/TransactionHistoryCountResponse.d.ts +0 -73
- package/dist/sdk/api/generated/default/models/TransactionHistoryResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/TrendingIdsResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/TrendingNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/TrendingNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/TrendingNotificationActionData.d.ts +0 -57
- package/dist/sdk/api/generated/default/models/TrendingPlaylistNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/TrendingPlaylistNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/TrendingPlaylistNotificationActionData.d.ts +0 -57
- package/dist/sdk/api/generated/default/models/TrendingPlaylistsResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/TrendingTimesIds.d.ts +0 -43
- package/dist/sdk/api/generated/default/models/TrendingUndergroundNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/TrendingUndergroundNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/TrendingUndergroundNotificationActionData.d.ts +0 -57
- package/dist/sdk/api/generated/default/models/UnclaimedIdResponse.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/UndisbursedChallenge.d.ts +0 -84
- package/dist/sdk/api/generated/default/models/UndisbursedChallenges.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/UpdateCoinRequest.d.ts +0 -60
- package/dist/sdk/api/generated/default/models/UpdateCoinResponse.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/UpdateCommentRequestBody.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/UpdateDeveloperAppRequestBody.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/UpdatePlaylistRequestBody.d.ts +0 -165
- package/dist/sdk/api/generated/default/models/UpdateTrackRequestBody.d.ts +0 -210
- package/dist/sdk/api/generated/default/models/UpdateUserRequestBody.d.ts +0 -159
- package/dist/sdk/api/generated/default/models/UpdateUserRequestBodyEvents.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/UrlWithMirrors.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/UsdcGate.d.ts +0 -37
- package/dist/sdk/api/generated/default/models/UsdcPurchaseBuyerNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/UsdcPurchaseBuyerNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/UsdcPurchaseBuyerNotificationActionData.d.ts +0 -60
- package/dist/sdk/api/generated/default/models/UsdcPurchaseSellerNotification.d.ts +0 -55
- package/dist/sdk/api/generated/default/models/UsdcPurchaseSellerNotificationAction.d.ts +0 -49
- package/dist/sdk/api/generated/default/models/UsdcPurchaseSellerNotificationActionData.d.ts +0 -60
- package/dist/sdk/api/generated/default/models/User.d.ts +0 -388
- package/dist/sdk/api/generated/default/models/UserAccountResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/UserArtistCoinBadge.d.ts +0 -48
- package/dist/sdk/api/generated/default/models/UserCoin.d.ts +0 -78
- package/dist/sdk/api/generated/default/models/UserCoinAccount.d.ts +0 -54
- package/dist/sdk/api/generated/default/models/UserCoinResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/UserCoinWithAccounts.d.ts +0 -67
- package/dist/sdk/api/generated/default/models/UserCoinsResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/UserCommentsResponse.d.ts +0 -81
- package/dist/sdk/api/generated/default/models/UserFeedItem.d.ts +0 -25
- package/dist/sdk/api/generated/default/models/UserFeedResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/UserIdAddress.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/UserIdsAddressesResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/UserManager.d.ts +0 -38
- package/dist/sdk/api/generated/default/models/UserMilestoneNotificationActionData.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/UserPlaylistLibrary.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/UserPlaylistLibraryContentsInner.d.ts +0 -22
- package/dist/sdk/api/generated/default/models/UserResponse.d.ts +0 -74
- package/dist/sdk/api/generated/default/models/UserResponseSingle.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/UserSearch.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/UserSubscribers.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/UserTrackListenCountsResponse.d.ts +0 -33
- package/dist/sdk/api/generated/default/models/UserTracksDownloadCountResponse.d.ts +0 -30
- package/dist/sdk/api/generated/default/models/UserTracksRemixedResponse.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/VerifyToken.d.ts +0 -31
- package/dist/sdk/api/generated/default/models/VersionMetadata.d.ts +0 -36
- package/dist/sdk/api/generated/default/models/WriteResponse.d.ts +0 -42
- package/dist/sdk/api/generated/default/models/index.d.ts +0 -401
- package/dist/sdk/api/generated/default/runtime.d.ts +0 -172
- package/dist/sdk/api/grants/GrantsApi.d.ts +0 -19
- package/dist/sdk/api/grants/types.d.ts +0 -65
- package/dist/sdk/api/notifications/NotificationsApi.d.ts +0 -14
- package/dist/sdk/api/notifications/NotificationsApi.test.d.ts +0 -1
- package/dist/sdk/api/notifications/types.d.ts +0 -32
- package/dist/sdk/api/playlists/PlaylistsApi.d.ts +0 -106
- package/dist/sdk/api/playlists/PlaylistsApi.test.d.ts +0 -1
- package/dist/sdk/api/playlists/types.d.ts +0 -3942
- package/dist/sdk/api/tracks/TrackUploadHelper.d.ts +0 -133
- package/dist/sdk/api/tracks/TracksApi.d.ts +0 -122
- package/dist/sdk/api/tracks/TracksApi.test.d.ts +0 -1
- package/dist/sdk/api/tracks/constants.d.ts +0 -2
- package/dist/sdk/api/tracks/types.d.ts +0 -4431
- package/dist/sdk/api/uploads/UploadsApi.d.ts +0 -49
- package/dist/sdk/api/uploads/types.d.ts +0 -4
- package/dist/sdk/api/users/UsersApi.d.ts +0 -134
- package/dist/sdk/api/users/UsersApi.test.d.ts +0 -1
- package/dist/sdk/api/users/types.d.ts +0 -1009
- package/dist/sdk/config/development.d.ts +0 -2
- package/dist/sdk/config/production.d.ts +0 -2
- package/dist/sdk/config/types.d.ts +0 -45
- package/dist/sdk/createSdk.d.ts +0 -26
- package/dist/sdk/createSdkWithServices.d.ts +0 -50
- package/dist/sdk/errors.d.ts +0 -3
- package/dist/sdk/index.d.ts +0 -40
- package/dist/sdk/middleware/addAppInfoMiddleware.d.ts +0 -16
- package/dist/sdk/middleware/addRequestSignatureMiddleware.d.ts +0 -12
- package/dist/sdk/middleware/addRequestSignatureMiddleware.test.d.ts +0 -1
- package/dist/sdk/middleware/addTokenRefreshMiddleware.d.ts +0 -16
- package/dist/sdk/middleware/addTokenRefreshMiddleware.test.d.ts +0 -1
- package/dist/sdk/middleware/index.d.ts +0 -3
- package/dist/sdk/oauth/OAuth.d.ts +0 -131
- package/dist/sdk/oauth/OAuth.test.d.ts +0 -1
- package/dist/sdk/oauth/TokenStoreAsyncStorage.d.ts +0 -7
- package/dist/sdk/oauth/TokenStoreLocalStorage.d.ts +0 -11
- package/dist/sdk/oauth/TokenStoreMemory.d.ts +0 -18
- package/dist/sdk/oauth/index.d.ts +0 -3
- package/dist/sdk/oauth/pkce.d.ts +0 -18
- package/dist/sdk/oauth/pkce.test.d.ts +0 -1
- package/dist/sdk/oauth/tokenStore.d.ts +0 -11
- package/dist/sdk/oauth/tokenStore.test.d.ts +0 -1
- package/dist/sdk/oauth/tokenStoreLocalStorage.test.d.ts +0 -1
- package/dist/sdk/oauth/types.d.ts +0 -5
- package/dist/sdk/scripts/generateServicesConfig.d.ts +0 -1
- package/dist/sdk/scripts/manageRewardsLookupTable.d.ts +0 -1
- package/dist/sdk/scripts/verifyUser.d.ts +0 -1
- package/dist/sdk/sdk.d.ts +0 -5
- package/dist/sdk/sdkBrowserDist.d.ts +0 -51
- package/dist/sdk/services/AntiAbuseOracle/AntiAbuseOracle.d.ts +0 -10
- package/dist/sdk/services/AntiAbuseOracle/index.d.ts +0 -2
- package/dist/sdk/services/AntiAbuseOracle/types.d.ts +0 -70
- package/dist/sdk/services/AntiAbuseOracleSelector/AntiAbuseOracleSelector.d.ts +0 -26
- package/dist/sdk/services/AntiAbuseOracleSelector/AntiAbuseOracleSelector.test.d.ts +0 -1
- package/dist/sdk/services/AntiAbuseOracleSelector/getDefaultConfig.d.ts +0 -3
- package/dist/sdk/services/AntiAbuseOracleSelector/index.d.ts +0 -3
- package/dist/sdk/services/AntiAbuseOracleSelector/types.d.ts +0 -37
- package/dist/sdk/services/Archiver/Archiver.d.ts +0 -21
- package/dist/sdk/services/Archiver/index.d.ts +0 -1
- package/dist/sdk/services/AudiusWalletClient/actions/getSharedSecret.d.ts +0 -7
- package/dist/sdk/services/AudiusWalletClient/actions/sign.d.ts +0 -7
- package/dist/sdk/services/AudiusWalletClient/createAppWalletClient.d.ts +0 -5
- package/dist/sdk/services/AudiusWalletClient/createHedgehogWalletClient.d.ts +0 -9
- package/dist/sdk/services/AudiusWalletClient/decorators/audiusWallet.d.ts +0 -184
- package/dist/sdk/services/AudiusWalletClient/index.d.ts +0 -4
- package/dist/sdk/services/AudiusWalletClient/localTransport.d.ts +0 -10
- package/dist/sdk/services/AudiusWalletClient/privateKeyToAudiusAccount.d.ts +0 -6
- package/dist/sdk/services/AudiusWalletClient/types.d.ts +0 -24
- package/dist/sdk/services/AudiusWalletClient/utils.d.ts +0 -7
- package/dist/sdk/services/Encryption/EmailEncryptionService.d.ts +0 -107
- package/dist/sdk/services/Encryption/index.d.ts +0 -2
- package/dist/sdk/services/Encryption/types.d.ts +0 -13
- package/dist/sdk/services/EntityManager/EntityManager.test.d.ts +0 -1
- package/dist/sdk/services/EntityManager/EntityManagerClient.d.ts +0 -48
- package/dist/sdk/services/EntityManager/contract/EntityManagerContract.d.ts +0 -168
- package/dist/sdk/services/EntityManager/contract/abi.d.ts +0 -131
- package/dist/sdk/services/EntityManager/getDefaultConfig.d.ts +0 -3
- package/dist/sdk/services/EntityManager/index.d.ts +0 -5
- package/dist/sdk/services/EntityManager/types.d.ts +0 -131
- package/dist/sdk/services/Ethereum/ethereum.d.ts +0 -86
- package/dist/sdk/services/Ethereum/getDefaultConfig.d.ts +0 -3
- package/dist/sdk/services/Ethereum/index.d.ts +0 -2
- package/dist/sdk/services/Ethereum/types.d.ts +0 -26
- package/dist/sdk/services/Logger/Logger.d.ts +0 -18
- package/dist/sdk/services/Logger/index.d.ts +0 -2
- package/dist/sdk/services/Logger/types.d.ts +0 -7
- package/dist/sdk/services/Solana/SolanaRelay.d.ts +0 -84
- package/dist/sdk/services/Solana/SolanaRelayWalletAdapter.d.ts +0 -42
- package/dist/sdk/services/Solana/constants.d.ts +0 -3
- package/dist/sdk/services/Solana/index.d.ts +0 -7
- package/dist/sdk/services/Solana/programs/ClaimableTokensClient/ClaimableTokensClient.d.ts +0 -77
- package/dist/sdk/services/Solana/programs/ClaimableTokensClient/getDefaultConfig.d.ts +0 -3
- package/dist/sdk/services/Solana/programs/ClaimableTokensClient/index.d.ts +0 -2
- package/dist/sdk/services/Solana/programs/ClaimableTokensClient/types.d.ts +0 -98
- package/dist/sdk/services/Solana/programs/CustomInstructionError.d.ts +0 -7
- package/dist/sdk/services/Solana/programs/PaymentRouterClient/PaymentRouterClient.d.ts +0 -23
- package/dist/sdk/services/Solana/programs/PaymentRouterClient/getDefaultConfig.d.ts +0 -3
- package/dist/sdk/services/Solana/programs/PaymentRouterClient/index.d.ts +0 -3
- package/dist/sdk/services/Solana/programs/PaymentRouterClient/types.d.ts +0 -136
- package/dist/sdk/services/Solana/programs/RewardManagerClient/RewardManagerClient.d.ts +0 -44
- package/dist/sdk/services/Solana/programs/RewardManagerClient/getDefaultConfig.d.ts +0 -3
- package/dist/sdk/services/Solana/programs/RewardManagerClient/index.d.ts +0 -2
- package/dist/sdk/services/Solana/programs/RewardManagerClient/types.d.ts +0 -113
- package/dist/sdk/services/Solana/programs/SolanaClient.d.ts +0 -47
- package/dist/sdk/services/Solana/programs/getDefaultConfig.d.ts +0 -3
- package/dist/sdk/services/Solana/programs/types.d.ts +0 -276
- package/dist/sdk/services/Solana/types.d.ts +0 -208
- package/dist/sdk/services/Storage/Storage.d.ts +0 -42
- package/dist/sdk/services/Storage/getDefaultConfig.d.ts +0 -3
- package/dist/sdk/services/Storage/index.d.ts +0 -3
- package/dist/sdk/services/Storage/types.d.ts +0 -127
- package/dist/sdk/services/StorageNodeSelector/StorageNodeSelector.d.ts +0 -17
- package/dist/sdk/services/StorageNodeSelector/StorageNodeSelector.test.d.ts +0 -1
- package/dist/sdk/services/StorageNodeSelector/getDefaultConfig.d.ts +0 -3
- package/dist/sdk/services/StorageNodeSelector/getNStorageNodes.d.ts +0 -14
- package/dist/sdk/services/StorageNodeSelector/index.d.ts +0 -3
- package/dist/sdk/services/StorageNodeSelector/types.d.ts +0 -30
- package/dist/sdk/services/index.d.ts +0 -11
- package/dist/sdk/types/ChainAddress.d.ts +0 -21
- package/dist/sdk/types/DDEX.d.ts +0 -37
- package/dist/sdk/types/Env.d.ts +0 -1
- package/dist/sdk/types/EthAddress.d.ts +0 -2
- package/dist/sdk/types/File.d.ts +0 -210
- package/dist/sdk/types/Genre.d.ts +0 -54
- package/dist/sdk/types/HashId.d.ts +0 -5
- package/dist/sdk/types/Hex.d.ts +0 -2
- package/dist/sdk/types/Mood.d.ts +0 -25
- package/dist/sdk/types/SolanaAddress.d.ts +0 -2
- package/dist/sdk/types/StemCategory.d.ts +0 -14
- package/dist/sdk/types/Timeout.d.ts +0 -1
- package/dist/sdk/types.d.ts +0 -267
- package/dist/sdk/utils/EventEmitterTarget.d.ts +0 -6
- package/dist/sdk/utils/apiKey.d.ts +0 -1
- package/dist/sdk/utils/cid.d.ts +0 -2
- package/dist/sdk/utils/crypto.d.ts +0 -26
- package/dist/sdk/utils/deepPartial.d.ts +0 -3
- package/dist/sdk/utils/errors.d.ts +0 -8
- package/dist/sdk/utils/fetch.d.ts +0 -16
- package/dist/sdk/utils/getPathFromUrl.d.ts +0 -4
- package/dist/sdk/utils/hashId.d.ts +0 -8
- package/dist/sdk/utils/hashId.test.d.ts +0 -1
- package/dist/sdk/utils/localStorage.d.ts +0 -6
- package/dist/sdk/utils/location.d.ts +0 -16
- package/dist/sdk/utils/mergeConfigs.d.ts +0 -7
- package/dist/sdk/utils/mergeConfigs.test.d.ts +0 -1
- package/dist/sdk/utils/oauthScope.d.ts +0 -1
- package/dist/sdk/utils/object.d.ts +0 -4
- package/dist/sdk/utils/parseMint.d.ts +0 -10
- package/dist/sdk/utils/parseParams.d.ts +0 -13
- package/dist/sdk/utils/preparePaymentSplits.d.ts +0 -19
- package/dist/sdk/utils/prettify.d.ts +0 -3
- package/dist/sdk/utils/promiseAny.d.ts +0 -6
- package/dist/sdk/utils/reactionsMap.d.ts +0 -11
- package/dist/sdk/utils/rendezvous.d.ts +0 -12
- package/dist/sdk/utils/retry.d.ts +0 -4
- package/dist/sdk/utils/signatureSchemas.d.ts +0 -54
- package/dist/sdk/utils/uuid.d.ts +0 -1
- package/dist/sdk/utils/wait.d.ts +0 -1
- package/dist/sdk.browser.esm.html +0 -5000
- package/dist/sdk.min.js +0 -30
- package/dist/sdk.min.js.map +0 -1
|
@@ -328,6 +328,15 @@ export interface GetFollowingRequest {
|
|
|
328
328
|
userId?: string;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
+
export interface GetGranteeUsersRequest {
|
|
332
|
+
address: string;
|
|
333
|
+
offset?: number;
|
|
334
|
+
limit?: number;
|
|
335
|
+
isApproved?: boolean;
|
|
336
|
+
isRevoked?: boolean;
|
|
337
|
+
userId?: string;
|
|
338
|
+
}
|
|
339
|
+
|
|
331
340
|
export interface GetManagedUsersRequest {
|
|
332
341
|
id: string;
|
|
333
342
|
isApproved?: boolean;
|
|
@@ -825,15 +834,17 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
825
834
|
|
|
826
835
|
headerParameters['Content-Type'] = 'application/json';
|
|
827
836
|
|
|
828
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
829
|
-
|
|
830
|
-
|
|
837
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
838
|
+
const token = await this.configuration.accessToken("OAuth2", ["write"]);
|
|
839
|
+
if (token) {
|
|
840
|
+
headerParameters["Authorization"] = token;
|
|
841
|
+
}
|
|
831
842
|
}
|
|
832
843
|
|
|
833
|
-
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
844
|
+
if (!headerParameters["Authorization"] && this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
834
845
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
835
846
|
}
|
|
836
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
847
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
837
848
|
const token = this.configuration.accessToken;
|
|
838
849
|
const tokenString = await token("BearerAuth", []);
|
|
839
850
|
|
|
@@ -879,15 +890,17 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
879
890
|
|
|
880
891
|
headerParameters['Content-Type'] = 'application/json';
|
|
881
892
|
|
|
882
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
883
|
-
|
|
884
|
-
|
|
893
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
894
|
+
const token = await this.configuration.accessToken("OAuth2", ["write"]);
|
|
895
|
+
if (token) {
|
|
896
|
+
headerParameters["Authorization"] = token;
|
|
897
|
+
}
|
|
885
898
|
}
|
|
886
899
|
|
|
887
|
-
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
900
|
+
if (!headerParameters["Authorization"] && this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
888
901
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
889
902
|
}
|
|
890
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
903
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
891
904
|
const token = this.configuration.accessToken;
|
|
892
905
|
const tokenString = await token("BearerAuth", []);
|
|
893
906
|
|
|
@@ -1003,15 +1016,17 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1003
1016
|
|
|
1004
1017
|
headerParameters['Content-Type'] = 'application/json';
|
|
1005
1018
|
|
|
1006
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1007
|
-
|
|
1008
|
-
|
|
1019
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1020
|
+
const token = await this.configuration.accessToken("OAuth2", ["write"]);
|
|
1021
|
+
if (token) {
|
|
1022
|
+
headerParameters["Authorization"] = token;
|
|
1023
|
+
}
|
|
1009
1024
|
}
|
|
1010
1025
|
|
|
1011
|
-
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1026
|
+
if (!headerParameters["Authorization"] && this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1012
1027
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1013
1028
|
}
|
|
1014
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1029
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1015
1030
|
const token = this.configuration.accessToken;
|
|
1016
1031
|
const tokenString = await token("BearerAuth", []);
|
|
1017
1032
|
|
|
@@ -1053,15 +1068,17 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1053
1068
|
|
|
1054
1069
|
headerParameters['Content-Type'] = 'application/json';
|
|
1055
1070
|
|
|
1056
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1057
|
-
|
|
1058
|
-
|
|
1071
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1072
|
+
const token = await this.configuration.accessToken("OAuth2", ["write"]);
|
|
1073
|
+
if (token) {
|
|
1074
|
+
headerParameters["Authorization"] = token;
|
|
1075
|
+
}
|
|
1059
1076
|
}
|
|
1060
1077
|
|
|
1061
|
-
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1078
|
+
if (!headerParameters["Authorization"] && this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1062
1079
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1063
1080
|
}
|
|
1064
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1081
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1065
1082
|
const token = this.configuration.accessToken;
|
|
1066
1083
|
const tokenString = await token("BearerAuth", []);
|
|
1067
1084
|
|
|
@@ -1113,9 +1130,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1113
1130
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
1114
1131
|
}
|
|
1115
1132
|
|
|
1116
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1117
|
-
|
|
1118
|
-
|
|
1133
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1134
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
1135
|
+
if (token) {
|
|
1136
|
+
headerParameters["Authorization"] = token;
|
|
1137
|
+
}
|
|
1119
1138
|
}
|
|
1120
1139
|
|
|
1121
1140
|
const response = await this.request({
|
|
@@ -1160,9 +1179,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1160
1179
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
1161
1180
|
}
|
|
1162
1181
|
|
|
1163
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1164
|
-
|
|
1165
|
-
|
|
1182
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1183
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
1184
|
+
if (token) {
|
|
1185
|
+
headerParameters["Authorization"] = token;
|
|
1186
|
+
}
|
|
1166
1187
|
}
|
|
1167
1188
|
|
|
1168
1189
|
const response = await this.request({
|
|
@@ -1211,9 +1232,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1211
1232
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
1212
1233
|
}
|
|
1213
1234
|
|
|
1214
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1215
|
-
|
|
1216
|
-
|
|
1235
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1236
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
1237
|
+
if (token) {
|
|
1238
|
+
headerParameters["Authorization"] = token;
|
|
1239
|
+
}
|
|
1217
1240
|
}
|
|
1218
1241
|
|
|
1219
1242
|
const response = await this.request({
|
|
@@ -1259,9 +1282,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1259
1282
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
1260
1283
|
}
|
|
1261
1284
|
|
|
1262
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1263
|
-
|
|
1264
|
-
|
|
1285
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1286
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
1287
|
+
if (token) {
|
|
1288
|
+
headerParameters["Authorization"] = token;
|
|
1289
|
+
}
|
|
1265
1290
|
}
|
|
1266
1291
|
|
|
1267
1292
|
const response = await this.request({
|
|
@@ -1302,15 +1327,17 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1302
1327
|
|
|
1303
1328
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1304
1329
|
|
|
1305
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1306
|
-
|
|
1307
|
-
|
|
1330
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1331
|
+
const token = await this.configuration.accessToken("OAuth2", ["write"]);
|
|
1332
|
+
if (token) {
|
|
1333
|
+
headerParameters["Authorization"] = token;
|
|
1334
|
+
}
|
|
1308
1335
|
}
|
|
1309
1336
|
|
|
1310
|
-
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1337
|
+
if (!headerParameters["Authorization"] && this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1311
1338
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1312
1339
|
}
|
|
1313
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1340
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1314
1341
|
const token = this.configuration.accessToken;
|
|
1315
1342
|
const tokenString = await token("BearerAuth", []);
|
|
1316
1343
|
|
|
@@ -1389,9 +1416,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1389
1416
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
1390
1417
|
}
|
|
1391
1418
|
|
|
1392
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1393
|
-
|
|
1394
|
-
|
|
1419
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1420
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
1421
|
+
if (token) {
|
|
1422
|
+
headerParameters["Authorization"] = token;
|
|
1423
|
+
}
|
|
1395
1424
|
}
|
|
1396
1425
|
|
|
1397
1426
|
const response = await this.request({
|
|
@@ -1453,9 +1482,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1453
1482
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
1454
1483
|
}
|
|
1455
1484
|
|
|
1456
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1457
|
-
|
|
1458
|
-
|
|
1485
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1486
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
1487
|
+
if (token) {
|
|
1488
|
+
headerParameters["Authorization"] = token;
|
|
1489
|
+
}
|
|
1459
1490
|
}
|
|
1460
1491
|
|
|
1461
1492
|
const response = await this.request({
|
|
@@ -1618,9 +1649,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1618
1649
|
|
|
1619
1650
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1620
1651
|
|
|
1621
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1622
|
-
|
|
1623
|
-
|
|
1652
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1653
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
1654
|
+
if (token) {
|
|
1655
|
+
headerParameters["Authorization"] = token;
|
|
1656
|
+
}
|
|
1624
1657
|
}
|
|
1625
1658
|
|
|
1626
1659
|
const response = await this.request({
|
|
@@ -1697,9 +1730,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1697
1730
|
|
|
1698
1731
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1699
1732
|
|
|
1700
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1701
|
-
|
|
1702
|
-
|
|
1733
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1734
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
1735
|
+
if (token) {
|
|
1736
|
+
headerParameters["Authorization"] = token;
|
|
1737
|
+
}
|
|
1703
1738
|
}
|
|
1704
1739
|
|
|
1705
1740
|
const response = await this.request({
|
|
@@ -1745,9 +1780,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1745
1780
|
|
|
1746
1781
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1747
1782
|
|
|
1748
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1749
|
-
|
|
1750
|
-
|
|
1783
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1784
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
1785
|
+
if (token) {
|
|
1786
|
+
headerParameters["Authorization"] = token;
|
|
1787
|
+
}
|
|
1751
1788
|
}
|
|
1752
1789
|
|
|
1753
1790
|
const response = await this.request({
|
|
@@ -1768,6 +1805,57 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1768
1805
|
return await response.value();
|
|
1769
1806
|
}
|
|
1770
1807
|
|
|
1808
|
+
/**
|
|
1809
|
+
* @hidden
|
|
1810
|
+
* Get all users who have authorized a particular grantee (developer app) identified by their wallet address. Supports pagination.
|
|
1811
|
+
*/
|
|
1812
|
+
async getGranteeUsersRaw(params: GetGranteeUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FollowersResponse>> {
|
|
1813
|
+
if (params.address === null || params.address === undefined) {
|
|
1814
|
+
throw new runtime.RequiredError('address','Required parameter params.address was null or undefined when calling getGranteeUsers.');
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
const queryParameters: any = {};
|
|
1818
|
+
|
|
1819
|
+
if (params.offset !== undefined) {
|
|
1820
|
+
queryParameters['offset'] = params.offset;
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
if (params.limit !== undefined) {
|
|
1824
|
+
queryParameters['limit'] = params.limit;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
if (params.isApproved !== undefined) {
|
|
1828
|
+
queryParameters['is_approved'] = params.isApproved;
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
if (params.isRevoked !== undefined) {
|
|
1832
|
+
queryParameters['is_revoked'] = params.isRevoked;
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
if (params.userId !== undefined) {
|
|
1836
|
+
queryParameters['user_id'] = params.userId;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1840
|
+
|
|
1841
|
+
const response = await this.request({
|
|
1842
|
+
path: `/grantees/{address}/users`.replace(`{${"address"}}`, encodeURIComponent(String(params.address))),
|
|
1843
|
+
method: 'GET',
|
|
1844
|
+
headers: headerParameters,
|
|
1845
|
+
query: queryParameters,
|
|
1846
|
+
}, initOverrides);
|
|
1847
|
+
|
|
1848
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => FollowersResponseFromJSON(jsonValue));
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
/**
|
|
1852
|
+
* Get all users who have authorized a particular grantee (developer app) identified by their wallet address. Supports pagination.
|
|
1853
|
+
*/
|
|
1854
|
+
async getGranteeUsers(params: GetGranteeUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FollowersResponse> {
|
|
1855
|
+
const response = await this.getGranteeUsersRaw(params, initOverrides);
|
|
1856
|
+
return await response.value();
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1771
1859
|
/**
|
|
1772
1860
|
* @hidden
|
|
1773
1861
|
* Gets a list of users managed by the given user
|
|
@@ -1872,9 +1960,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1872
1960
|
|
|
1873
1961
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1874
1962
|
|
|
1875
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1876
|
-
|
|
1877
|
-
|
|
1963
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
1964
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
1965
|
+
if (token) {
|
|
1966
|
+
headerParameters["Authorization"] = token;
|
|
1967
|
+
}
|
|
1878
1968
|
}
|
|
1879
1969
|
|
|
1880
1970
|
const response = await this.request({
|
|
@@ -1960,9 +2050,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
1960
2050
|
|
|
1961
2051
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1962
2052
|
|
|
1963
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1964
|
-
|
|
1965
|
-
|
|
2053
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2054
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2055
|
+
if (token) {
|
|
2056
|
+
headerParameters["Authorization"] = token;
|
|
2057
|
+
}
|
|
1966
2058
|
}
|
|
1967
2059
|
|
|
1968
2060
|
const response = await this.request({
|
|
@@ -2024,9 +2116,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2024
2116
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
2025
2117
|
}
|
|
2026
2118
|
|
|
2027
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2028
|
-
|
|
2029
|
-
|
|
2119
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2120
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2121
|
+
if (token) {
|
|
2122
|
+
headerParameters["Authorization"] = token;
|
|
2123
|
+
}
|
|
2030
2124
|
}
|
|
2031
2125
|
|
|
2032
2126
|
const response = await this.request({
|
|
@@ -2080,9 +2174,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2080
2174
|
|
|
2081
2175
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2082
2176
|
|
|
2083
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2084
|
-
|
|
2085
|
-
|
|
2177
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2178
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2179
|
+
if (token) {
|
|
2180
|
+
headerParameters["Authorization"] = token;
|
|
2181
|
+
}
|
|
2086
2182
|
}
|
|
2087
2183
|
|
|
2088
2184
|
const response = await this.request({
|
|
@@ -2136,9 +2232,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2136
2232
|
|
|
2137
2233
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2138
2234
|
|
|
2139
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2140
|
-
|
|
2141
|
-
|
|
2235
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2236
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2237
|
+
if (token) {
|
|
2238
|
+
headerParameters["Authorization"] = token;
|
|
2239
|
+
}
|
|
2142
2240
|
}
|
|
2143
2241
|
|
|
2144
2242
|
const response = await this.request({
|
|
@@ -2204,9 +2302,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2204
2302
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
2205
2303
|
}
|
|
2206
2304
|
|
|
2207
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2208
|
-
|
|
2209
|
-
|
|
2305
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2306
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2307
|
+
if (token) {
|
|
2308
|
+
headerParameters["Authorization"] = token;
|
|
2309
|
+
}
|
|
2210
2310
|
}
|
|
2211
2311
|
|
|
2212
2312
|
const response = await this.request({
|
|
@@ -2256,9 +2356,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2256
2356
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
2257
2357
|
}
|
|
2258
2358
|
|
|
2259
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2260
|
-
|
|
2261
|
-
|
|
2359
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2360
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2361
|
+
if (token) {
|
|
2362
|
+
headerParameters["Authorization"] = token;
|
|
2363
|
+
}
|
|
2262
2364
|
}
|
|
2263
2365
|
|
|
2264
2366
|
const response = await this.request({
|
|
@@ -2308,9 +2410,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2308
2410
|
|
|
2309
2411
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2310
2412
|
|
|
2311
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2312
|
-
|
|
2313
|
-
|
|
2413
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2414
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2415
|
+
if (token) {
|
|
2416
|
+
headerParameters["Authorization"] = token;
|
|
2417
|
+
}
|
|
2314
2418
|
}
|
|
2315
2419
|
|
|
2316
2420
|
const response = await this.request({
|
|
@@ -2360,9 +2464,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2360
2464
|
|
|
2361
2465
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2362
2466
|
|
|
2363
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2364
|
-
|
|
2365
|
-
|
|
2467
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2468
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2469
|
+
if (token) {
|
|
2470
|
+
headerParameters["Authorization"] = token;
|
|
2471
|
+
}
|
|
2366
2472
|
}
|
|
2367
2473
|
|
|
2368
2474
|
const response = await this.request({
|
|
@@ -2404,9 +2510,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2404
2510
|
|
|
2405
2511
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2406
2512
|
|
|
2407
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2408
|
-
|
|
2409
|
-
|
|
2513
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2514
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2515
|
+
if (token) {
|
|
2516
|
+
headerParameters["Authorization"] = token;
|
|
2517
|
+
}
|
|
2410
2518
|
}
|
|
2411
2519
|
|
|
2412
2520
|
const response = await this.request({
|
|
@@ -2452,9 +2560,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2452
2560
|
|
|
2453
2561
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2454
2562
|
|
|
2455
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2456
|
-
|
|
2457
|
-
|
|
2563
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2564
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2565
|
+
if (token) {
|
|
2566
|
+
headerParameters["Authorization"] = token;
|
|
2567
|
+
}
|
|
2458
2568
|
}
|
|
2459
2569
|
|
|
2460
2570
|
const response = await this.request({
|
|
@@ -2500,9 +2610,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2500
2610
|
|
|
2501
2611
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2502
2612
|
|
|
2503
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2504
|
-
|
|
2505
|
-
|
|
2613
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2614
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2615
|
+
if (token) {
|
|
2616
|
+
headerParameters["Authorization"] = token;
|
|
2617
|
+
}
|
|
2506
2618
|
}
|
|
2507
2619
|
|
|
2508
2620
|
const response = await this.request({
|
|
@@ -2568,9 +2680,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2568
2680
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
2569
2681
|
}
|
|
2570
2682
|
|
|
2571
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2572
|
-
|
|
2573
|
-
|
|
2683
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2684
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2685
|
+
if (token) {
|
|
2686
|
+
headerParameters["Authorization"] = token;
|
|
2687
|
+
}
|
|
2574
2688
|
}
|
|
2575
2689
|
|
|
2576
2690
|
const response = await this.request({
|
|
@@ -2624,9 +2738,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2624
2738
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
2625
2739
|
}
|
|
2626
2740
|
|
|
2627
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2628
|
-
|
|
2629
|
-
|
|
2741
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2742
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2743
|
+
if (token) {
|
|
2744
|
+
headerParameters["Authorization"] = token;
|
|
2745
|
+
}
|
|
2630
2746
|
}
|
|
2631
2747
|
|
|
2632
2748
|
const response = await this.request({
|
|
@@ -2676,9 +2792,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2676
2792
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
2677
2793
|
}
|
|
2678
2794
|
|
|
2679
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2680
|
-
|
|
2681
|
-
|
|
2795
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2796
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2797
|
+
if (token) {
|
|
2798
|
+
headerParameters["Authorization"] = token;
|
|
2799
|
+
}
|
|
2682
2800
|
}
|
|
2683
2801
|
|
|
2684
2802
|
const response = await this.request({
|
|
@@ -2724,9 +2842,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2724
2842
|
|
|
2725
2843
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2726
2844
|
|
|
2727
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2728
|
-
|
|
2729
|
-
|
|
2845
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2846
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2847
|
+
if (token) {
|
|
2848
|
+
headerParameters["Authorization"] = token;
|
|
2849
|
+
}
|
|
2730
2850
|
}
|
|
2731
2851
|
|
|
2732
2852
|
const response = await this.request({
|
|
@@ -2772,9 +2892,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2772
2892
|
|
|
2773
2893
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2774
2894
|
|
|
2775
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2776
|
-
|
|
2777
|
-
|
|
2895
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2896
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2897
|
+
if (token) {
|
|
2898
|
+
headerParameters["Authorization"] = token;
|
|
2899
|
+
}
|
|
2778
2900
|
}
|
|
2779
2901
|
|
|
2780
2902
|
const response = await this.request({
|
|
@@ -2816,9 +2938,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2816
2938
|
|
|
2817
2939
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2818
2940
|
|
|
2819
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2820
|
-
|
|
2821
|
-
|
|
2941
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2942
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2943
|
+
if (token) {
|
|
2944
|
+
headerParameters["Authorization"] = token;
|
|
2945
|
+
}
|
|
2822
2946
|
}
|
|
2823
2947
|
|
|
2824
2948
|
const response = await this.request({
|
|
@@ -2864,9 +2988,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2864
2988
|
|
|
2865
2989
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2866
2990
|
|
|
2867
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2868
|
-
|
|
2869
|
-
|
|
2991
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
2992
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
2993
|
+
if (token) {
|
|
2994
|
+
headerParameters["Authorization"] = token;
|
|
2995
|
+
}
|
|
2870
2996
|
}
|
|
2871
2997
|
|
|
2872
2998
|
const response = await this.request({
|
|
@@ -2908,9 +3034,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2908
3034
|
|
|
2909
3035
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2910
3036
|
|
|
2911
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2912
|
-
|
|
2913
|
-
|
|
3037
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
3038
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
3039
|
+
if (token) {
|
|
3040
|
+
headerParameters["Authorization"] = token;
|
|
3041
|
+
}
|
|
2914
3042
|
}
|
|
2915
3043
|
|
|
2916
3044
|
const response = await this.request({
|
|
@@ -2953,9 +3081,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2953
3081
|
|
|
2954
3082
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2955
3083
|
|
|
2956
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2957
|
-
|
|
2958
|
-
|
|
3084
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
3085
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
3086
|
+
if (token) {
|
|
3087
|
+
headerParameters["Authorization"] = token;
|
|
3088
|
+
}
|
|
2959
3089
|
}
|
|
2960
3090
|
|
|
2961
3091
|
const response = await this.request({
|
|
@@ -2998,9 +3128,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
2998
3128
|
|
|
2999
3129
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
3000
3130
|
|
|
3001
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3002
|
-
|
|
3003
|
-
|
|
3131
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
3132
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
3133
|
+
if (token) {
|
|
3134
|
+
headerParameters["Authorization"] = token;
|
|
3135
|
+
}
|
|
3004
3136
|
}
|
|
3005
3137
|
|
|
3006
3138
|
const response = await this.request({
|
|
@@ -3117,9 +3249,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
3117
3249
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
3118
3250
|
}
|
|
3119
3251
|
|
|
3120
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3121
|
-
|
|
3122
|
-
|
|
3252
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
3253
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
3254
|
+
if (token) {
|
|
3255
|
+
headerParameters["Authorization"] = token;
|
|
3256
|
+
}
|
|
3123
3257
|
}
|
|
3124
3258
|
|
|
3125
3259
|
const response = await this.request({
|
|
@@ -3193,9 +3327,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
3193
3327
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
3194
3328
|
}
|
|
3195
3329
|
|
|
3196
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3197
|
-
|
|
3198
|
-
|
|
3330
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
3331
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
3332
|
+
if (token) {
|
|
3333
|
+
headerParameters["Authorization"] = token;
|
|
3334
|
+
}
|
|
3199
3335
|
}
|
|
3200
3336
|
|
|
3201
3337
|
const response = await this.request({
|
|
@@ -3249,9 +3385,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
3249
3385
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
3250
3386
|
}
|
|
3251
3387
|
|
|
3252
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3253
|
-
|
|
3254
|
-
|
|
3388
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
3389
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
3390
|
+
if (token) {
|
|
3391
|
+
headerParameters["Authorization"] = token;
|
|
3392
|
+
}
|
|
3255
3393
|
}
|
|
3256
3394
|
|
|
3257
3395
|
const response = await this.request({
|
|
@@ -3407,9 +3545,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
3407
3545
|
|
|
3408
3546
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
3409
3547
|
|
|
3410
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3411
|
-
|
|
3412
|
-
|
|
3548
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
3549
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
3550
|
+
if (token) {
|
|
3551
|
+
headerParameters["Authorization"] = token;
|
|
3552
|
+
}
|
|
3413
3553
|
}
|
|
3414
3554
|
|
|
3415
3555
|
const response = await this.request({
|
|
@@ -3506,9 +3646,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
3506
3646
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
3507
3647
|
}
|
|
3508
3648
|
|
|
3509
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3510
|
-
|
|
3511
|
-
|
|
3649
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
3650
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
3651
|
+
if (token) {
|
|
3652
|
+
headerParameters["Authorization"] = token;
|
|
3653
|
+
}
|
|
3512
3654
|
}
|
|
3513
3655
|
|
|
3514
3656
|
const response = await this.request({
|
|
@@ -3546,9 +3688,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
3546
3688
|
|
|
3547
3689
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
3548
3690
|
|
|
3549
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3550
|
-
|
|
3551
|
-
|
|
3691
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
3692
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
3693
|
+
if (token) {
|
|
3694
|
+
headerParameters["Authorization"] = token;
|
|
3695
|
+
}
|
|
3552
3696
|
}
|
|
3553
3697
|
|
|
3554
3698
|
const response = await this.request({
|
|
@@ -3734,9 +3878,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
3734
3878
|
|
|
3735
3879
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
3736
3880
|
|
|
3737
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3738
|
-
|
|
3739
|
-
|
|
3881
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
3882
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
3883
|
+
if (token) {
|
|
3884
|
+
headerParameters["Authorization"] = token;
|
|
3885
|
+
}
|
|
3740
3886
|
}
|
|
3741
3887
|
|
|
3742
3888
|
const response = await this.request({
|
|
@@ -3829,9 +3975,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
3829
3975
|
|
|
3830
3976
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
3831
3977
|
|
|
3832
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3833
|
-
|
|
3834
|
-
|
|
3978
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
3979
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
3980
|
+
if (token) {
|
|
3981
|
+
headerParameters["Authorization"] = token;
|
|
3982
|
+
}
|
|
3835
3983
|
}
|
|
3836
3984
|
|
|
3837
3985
|
const response = await this.request({
|
|
@@ -3932,9 +4080,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
3932
4080
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
3933
4081
|
}
|
|
3934
4082
|
|
|
3935
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3936
|
-
|
|
3937
|
-
|
|
4083
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4084
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
4085
|
+
if (token) {
|
|
4086
|
+
headerParameters["Authorization"] = token;
|
|
4087
|
+
}
|
|
3938
4088
|
}
|
|
3939
4089
|
|
|
3940
4090
|
const response = await this.request({
|
|
@@ -4040,9 +4190,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4040
4190
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
4041
4191
|
}
|
|
4042
4192
|
|
|
4043
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4044
|
-
|
|
4045
|
-
|
|
4193
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4194
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
4195
|
+
if (token) {
|
|
4196
|
+
headerParameters["Authorization"] = token;
|
|
4197
|
+
}
|
|
4046
4198
|
}
|
|
4047
4199
|
|
|
4048
4200
|
const response = await this.request({
|
|
@@ -4114,9 +4266,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4114
4266
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
4115
4267
|
}
|
|
4116
4268
|
|
|
4117
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4118
|
-
|
|
4119
|
-
|
|
4269
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4270
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
4271
|
+
if (token) {
|
|
4272
|
+
headerParameters["Authorization"] = token;
|
|
4273
|
+
}
|
|
4120
4274
|
}
|
|
4121
4275
|
|
|
4122
4276
|
const response = await this.request({
|
|
@@ -4188,9 +4342,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4188
4342
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
4189
4343
|
}
|
|
4190
4344
|
|
|
4191
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4192
|
-
|
|
4193
|
-
|
|
4345
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4346
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
4347
|
+
if (token) {
|
|
4348
|
+
headerParameters["Authorization"] = token;
|
|
4349
|
+
}
|
|
4194
4350
|
}
|
|
4195
4351
|
|
|
4196
4352
|
const response = await this.request({
|
|
@@ -4288,9 +4444,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4288
4444
|
|
|
4289
4445
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
4290
4446
|
|
|
4291
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4292
|
-
|
|
4293
|
-
|
|
4447
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4448
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
4449
|
+
if (token) {
|
|
4450
|
+
headerParameters["Authorization"] = token;
|
|
4451
|
+
}
|
|
4294
4452
|
}
|
|
4295
4453
|
|
|
4296
4454
|
const response = await this.request({
|
|
@@ -4324,9 +4482,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4324
4482
|
|
|
4325
4483
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
4326
4484
|
|
|
4327
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4328
|
-
|
|
4329
|
-
|
|
4485
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4486
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
4487
|
+
if (token) {
|
|
4488
|
+
headerParameters["Authorization"] = token;
|
|
4489
|
+
}
|
|
4330
4490
|
}
|
|
4331
4491
|
|
|
4332
4492
|
const response = await this.request({
|
|
@@ -4372,9 +4532,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4372
4532
|
|
|
4373
4533
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
4374
4534
|
|
|
4375
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4376
|
-
|
|
4377
|
-
|
|
4535
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4536
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
4537
|
+
if (token) {
|
|
4538
|
+
headerParameters["Authorization"] = token;
|
|
4539
|
+
}
|
|
4378
4540
|
}
|
|
4379
4541
|
|
|
4380
4542
|
const response = await this.request({
|
|
@@ -4440,9 +4602,11 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4440
4602
|
headerParameters['Encoded-Data-Signature'] = String(params.encodedDataSignature);
|
|
4441
4603
|
}
|
|
4442
4604
|
|
|
4443
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4444
|
-
|
|
4445
|
-
|
|
4605
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4606
|
+
const token = await this.configuration.accessToken("OAuth2", ["read"]);
|
|
4607
|
+
if (token) {
|
|
4608
|
+
headerParameters["Authorization"] = token;
|
|
4609
|
+
}
|
|
4446
4610
|
}
|
|
4447
4611
|
|
|
4448
4612
|
const response = await this.request({
|
|
@@ -4484,15 +4648,17 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4484
4648
|
|
|
4485
4649
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
4486
4650
|
|
|
4487
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4488
|
-
|
|
4489
|
-
|
|
4651
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4652
|
+
const token = await this.configuration.accessToken("OAuth2", ["write"]);
|
|
4653
|
+
if (token) {
|
|
4654
|
+
headerParameters["Authorization"] = token;
|
|
4655
|
+
}
|
|
4490
4656
|
}
|
|
4491
4657
|
|
|
4492
|
-
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4658
|
+
if (!headerParameters["Authorization"] && this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4493
4659
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
4494
4660
|
}
|
|
4495
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4661
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4496
4662
|
const token = this.configuration.accessToken;
|
|
4497
4663
|
const tokenString = await token("BearerAuth", []);
|
|
4498
4664
|
|
|
@@ -4535,15 +4701,17 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4535
4701
|
|
|
4536
4702
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
4537
4703
|
|
|
4538
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4539
|
-
|
|
4540
|
-
|
|
4704
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4705
|
+
const token = await this.configuration.accessToken("OAuth2", ["write"]);
|
|
4706
|
+
if (token) {
|
|
4707
|
+
headerParameters["Authorization"] = token;
|
|
4708
|
+
}
|
|
4541
4709
|
}
|
|
4542
4710
|
|
|
4543
|
-
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4711
|
+
if (!headerParameters["Authorization"] && this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4544
4712
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
4545
4713
|
}
|
|
4546
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4714
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4547
4715
|
const token = this.configuration.accessToken;
|
|
4548
4716
|
const tokenString = await token("BearerAuth", []);
|
|
4549
4717
|
|
|
@@ -4586,15 +4754,17 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4586
4754
|
|
|
4587
4755
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
4588
4756
|
|
|
4589
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4590
|
-
|
|
4591
|
-
|
|
4757
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4758
|
+
const token = await this.configuration.accessToken("OAuth2", ["write"]);
|
|
4759
|
+
if (token) {
|
|
4760
|
+
headerParameters["Authorization"] = token;
|
|
4761
|
+
}
|
|
4592
4762
|
}
|
|
4593
4763
|
|
|
4594
|
-
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4764
|
+
if (!headerParameters["Authorization"] && this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4595
4765
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
4596
4766
|
}
|
|
4597
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4767
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4598
4768
|
const token = this.configuration.accessToken;
|
|
4599
4769
|
const tokenString = await token("BearerAuth", []);
|
|
4600
4770
|
|
|
@@ -4692,15 +4862,17 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4692
4862
|
|
|
4693
4863
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
4694
4864
|
|
|
4695
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4696
|
-
|
|
4697
|
-
|
|
4865
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4866
|
+
const token = await this.configuration.accessToken("OAuth2", ["write"]);
|
|
4867
|
+
if (token) {
|
|
4868
|
+
headerParameters["Authorization"] = token;
|
|
4869
|
+
}
|
|
4698
4870
|
}
|
|
4699
4871
|
|
|
4700
|
-
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4872
|
+
if (!headerParameters["Authorization"] && this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4701
4873
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
4702
4874
|
}
|
|
4703
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4875
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4704
4876
|
const token = this.configuration.accessToken;
|
|
4705
4877
|
const tokenString = await token("BearerAuth", []);
|
|
4706
4878
|
|
|
@@ -4747,15 +4919,17 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4747
4919
|
|
|
4748
4920
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
4749
4921
|
|
|
4750
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4751
|
-
|
|
4752
|
-
|
|
4922
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4923
|
+
const token = await this.configuration.accessToken("OAuth2", ["write"]);
|
|
4924
|
+
if (token) {
|
|
4925
|
+
headerParameters["Authorization"] = token;
|
|
4926
|
+
}
|
|
4753
4927
|
}
|
|
4754
4928
|
|
|
4755
|
-
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4929
|
+
if (!headerParameters["Authorization"] && this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4756
4930
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
4757
4931
|
}
|
|
4758
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4932
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4759
4933
|
const token = this.configuration.accessToken;
|
|
4760
4934
|
const tokenString = await token("BearerAuth", []);
|
|
4761
4935
|
|
|
@@ -4802,15 +4976,17 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4802
4976
|
|
|
4803
4977
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
4804
4978
|
|
|
4805
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4806
|
-
|
|
4807
|
-
|
|
4979
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4980
|
+
const token = await this.configuration.accessToken("OAuth2", ["write"]);
|
|
4981
|
+
if (token) {
|
|
4982
|
+
headerParameters["Authorization"] = token;
|
|
4983
|
+
}
|
|
4808
4984
|
}
|
|
4809
4985
|
|
|
4810
|
-
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4986
|
+
if (!headerParameters["Authorization"] && this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4811
4987
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
4812
4988
|
}
|
|
4813
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4989
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4814
4990
|
const token = this.configuration.accessToken;
|
|
4815
4991
|
const tokenString = await token("BearerAuth", []);
|
|
4816
4992
|
|
|
@@ -4857,15 +5033,17 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4857
5033
|
|
|
4858
5034
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
4859
5035
|
|
|
4860
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4861
|
-
|
|
4862
|
-
|
|
5036
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
5037
|
+
const token = await this.configuration.accessToken("OAuth2", ["write"]);
|
|
5038
|
+
if (token) {
|
|
5039
|
+
headerParameters["Authorization"] = token;
|
|
5040
|
+
}
|
|
4863
5041
|
}
|
|
4864
5042
|
|
|
4865
|
-
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
5043
|
+
if (!headerParameters["Authorization"] && this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4866
5044
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
4867
5045
|
}
|
|
4868
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
5046
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4869
5047
|
const token = this.configuration.accessToken;
|
|
4870
5048
|
const tokenString = await token("BearerAuth", []);
|
|
4871
5049
|
|
|
@@ -4918,15 +5096,17 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
4918
5096
|
|
|
4919
5097
|
headerParameters['Content-Type'] = 'application/json';
|
|
4920
5098
|
|
|
4921
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4922
|
-
|
|
4923
|
-
|
|
5099
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
5100
|
+
const token = await this.configuration.accessToken("OAuth2", ["write"]);
|
|
5101
|
+
if (token) {
|
|
5102
|
+
headerParameters["Authorization"] = token;
|
|
5103
|
+
}
|
|
4924
5104
|
}
|
|
4925
5105
|
|
|
4926
|
-
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
5106
|
+
if (!headerParameters["Authorization"] && this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4927
5107
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
4928
5108
|
}
|
|
4929
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
5109
|
+
if (!headerParameters["Authorization"] && this.configuration && this.configuration.accessToken) {
|
|
4930
5110
|
const token = this.configuration.accessToken;
|
|
4931
5111
|
const tokenString = await token("BearerAuth", []);
|
|
4932
5112
|
|