@onbeam/player-api-client
Advanced tools
Comparing version 2.0.11 to 2.0.12
@@ -790,4 +790,3 @@ type ApiRequestOptions = { | ||
WBEAM = "WBEAM", | ||
USDC = "USDC", | ||
USDT = "USDT" | ||
USDC = "USDC" | ||
} | ||
@@ -812,3 +811,3 @@ enum operationProcessing { | ||
address: string; | ||
symbol?: 'BEAM' | 'WBEAM' | 'USDC' | 'USDT' | 'IMX' | 'WIMX' | null; | ||
symbol?: 'BEAM' | 'WBEAM' | 'USDC' | 'IMX' | 'WIMX' | null; | ||
decimals: number; | ||
@@ -843,3 +842,3 @@ } | null; | ||
decimals: number; | ||
symbol: 'BEAM' | 'WBEAM' | 'USDC' | 'USDT' | 'IMX' | 'WIMX'; | ||
symbol: 'BEAM' | 'WBEAM' | 'USDC' | 'IMX' | 'WIMX'; | ||
address: string; | ||
@@ -918,3 +917,2 @@ }>; | ||
USDC = "USDC", | ||
USDT = "USDT", | ||
IMX = "IMX", | ||
@@ -1481,2 +1479,6 @@ WIMX = "WIMX" | ||
type UpdateUserRequest = { | ||
newEntityId: string; | ||
}; | ||
declare class UsersService { | ||
@@ -1501,2 +1503,10 @@ readonly httpRequest: BaseHttpRequest; | ||
/** | ||
* Updates entityId for the user | ||
* @param entityId | ||
* @param requestBody | ||
* @returns GetUserResponse | ||
* @throws ApiError | ||
*/ | ||
updateUser(entityId: string, requestBody: UpdateUserRequest): CancelablePromise<GetUserResponse>; | ||
/** | ||
* Unlinks an entity ID from a user | ||
@@ -1533,2 +1543,2 @@ * @param entityId | ||
export { AcceptAssetOfferRequestInput, Beam, BuyAssetRequestInput, CancelAssetListingRequestInput, CancelAssetOfferRequestInput, type CommonActivityResponse, type CommonAssetActivityRequestInput, type CommonContractActivityRequestInput, CommonOperationResponse, type CommonStatsRequestInput, type CommonStatsResponse, type CommonUserActivityRequestInput, ConfirmOperationRequest, ConvertTokenRequestInput, CreateAssetOfferRequestInput, type CreateConnectionRequestInput, CreateConnectionRequestResponse, CreateOperationRequestInput, CreateTransactionRequestInput, GenerateSessionRequestResponse, type GenerateSessionUrlRequestInput, type GetActiveSessionResponse, type GetActiveSessionsResponse, type GetAllUsersResponse, type GetAssetListingsResponse, GetAssetResponse, GetAssetsForContractBodyInput, type GetAssetsForContractResponse, GetAssetsForUserBodyInput, type GetAssetsForUserResponse, type GetAttributesResponse, type GetChainCurrenciesResponse, GetConnectionRequestResponse, GetListedAssetsBodyInput, GetOwnerAssetsBodyInput, type GetOwnerAssetsResponse, type GetOwnersResponse, type GetQuoteResponse, GetSessionRequestResponse, type GetTransactionResponse, type GetTransactionsResponse, type GetUserCurrenciesResponse, type GetUserNativeCurrencyResponse, type GetUserResponse, type RefreshContractRequestBody, type RefreshTokenRequestBody, RevokeSessionRequestInput, SellAssetRequestInput, TransferAssetRequestInput, TransferNativeTokenRequestInput, TransferTokenRequestInput, UnwrappingTokenInput, WrappingTokenInput, Beam as default }; | ||
export { AcceptAssetOfferRequestInput, Beam, BuyAssetRequestInput, CancelAssetListingRequestInput, CancelAssetOfferRequestInput, type CommonActivityResponse, type CommonAssetActivityRequestInput, type CommonContractActivityRequestInput, CommonOperationResponse, type CommonStatsRequestInput, type CommonStatsResponse, type CommonUserActivityRequestInput, ConfirmOperationRequest, ConvertTokenRequestInput, CreateAssetOfferRequestInput, type CreateConnectionRequestInput, CreateConnectionRequestResponse, CreateOperationRequestInput, CreateTransactionRequestInput, GenerateSessionRequestResponse, type GenerateSessionUrlRequestInput, type GetActiveSessionResponse, type GetActiveSessionsResponse, type GetAllUsersResponse, type GetAssetListingsResponse, GetAssetResponse, GetAssetsForContractBodyInput, type GetAssetsForContractResponse, GetAssetsForUserBodyInput, type GetAssetsForUserResponse, type GetAttributesResponse, type GetChainCurrenciesResponse, GetConnectionRequestResponse, GetListedAssetsBodyInput, GetOwnerAssetsBodyInput, type GetOwnerAssetsResponse, type GetOwnersResponse, type GetQuoteResponse, GetSessionRequestResponse, type GetTransactionResponse, type GetTransactionsResponse, type GetUserCurrenciesResponse, type GetUserNativeCurrencyResponse, type GetUserResponse, type RefreshContractRequestBody, type RefreshTokenRequestBody, RevokeSessionRequestInput, SellAssetRequestInput, TransferAssetRequestInput, TransferNativeTokenRequestInput, TransferTokenRequestInput, UnwrappingTokenInput, type UpdateUserRequest, WrappingTokenInput, Beam as default }; |
@@ -1465,2 +1465,20 @@ var __accessCheck = (obj, member, msg) => { | ||
/** | ||
* Updates entityId for the user | ||
* @param entityId | ||
* @param requestBody | ||
* @returns GetUserResponse | ||
* @throws ApiError | ||
*/ | ||
updateUser(entityId, requestBody) { | ||
return this.httpRequest.request({ | ||
method: "PATCH", | ||
url: "/v1/player/users/{entityId}", | ||
path: { | ||
"entityId": entityId | ||
}, | ||
body: requestBody, | ||
mediaType: "application/json" | ||
}); | ||
} | ||
/** | ||
* Unlinks an entity ID from a user | ||
@@ -1467,0 +1485,0 @@ * @param entityId |
@@ -26,3 +26,3 @@ { | ||
}, | ||
"version": "2.0.11", | ||
"version": "2.0.12", | ||
"scripts": { | ||
@@ -29,0 +29,0 @@ "generate": "pnpm generate:client && pnpm generate:barrels && pnpm build", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
771284
21425
2