@onbeam/player-api-client
Advanced tools
Comparing version 1.2.12 to 1.2.13
@@ -553,5 +553,5 @@ type ApiRequestOptions = { | ||
policyId?: string | null; | ||
chainId?: number; | ||
operationProcessing?: CancelAssetOfferRequestInput.operationProcessing; | ||
operationId?: string | null; | ||
chainId?: number; | ||
}; | ||
@@ -662,2 +662,13 @@ declare namespace CancelAssetOfferRequestInput { | ||
type RefreshContractRequestBody = { | ||
assetAddress: string; | ||
chainId?: number; | ||
}; | ||
type RefreshTokenRequestBody = { | ||
assetAddress: string; | ||
tokenId: string; | ||
chainId?: number; | ||
}; | ||
type SellAssetRequestInput = { | ||
@@ -813,2 +824,16 @@ assetAddress: string; | ||
getChainCurrencies(chainId: number): CancelablePromise<GetChainCurrenciesResponse>; | ||
/** | ||
* Schedule a token refresh in the indexer | ||
* @param requestBody | ||
* @returns any | ||
* @throws ApiError | ||
*/ | ||
refreshToken(requestBody: RefreshTokenRequestBody): CancelablePromise<any>; | ||
/** | ||
* Schedule a contract refresh in the indexer | ||
* @param requestBody | ||
* @returns any | ||
* @throws ApiError | ||
*/ | ||
refreshContract(requestBody: RefreshContractRequestBody): CancelablePromise<any>; | ||
} | ||
@@ -1238,2 +1263,2 @@ | ||
export { AcceptAssetOfferRequestInput, Beam, BuyAssetRequestInput, CancelAssetListingRequestInput, CancelAssetOfferRequestInput, CommonOperationResponse, 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 GetChainCurrenciesResponse, GetConnectionRequestResponse, GetListedAssetsBodyInput, type GetQuoteResponse, GetSessionRequestResponse, type GetTransactionResponse, type GetTransactionsResponse, type GetUserCurrenciesResponse, type GetUserNativeCurrencyResponse, type GetUserResponse, RevokeSessionRequestInput, SellAssetRequestInput, TransferAssetRequestInput, TransferNativeTokenRequestInput, TransferTokenRequestInput, Beam as default }; | ||
export { AcceptAssetOfferRequestInput, Beam, BuyAssetRequestInput, CancelAssetListingRequestInput, CancelAssetOfferRequestInput, CommonOperationResponse, 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 GetChainCurrenciesResponse, GetConnectionRequestResponse, GetListedAssetsBodyInput, type GetQuoteResponse, GetSessionRequestResponse, type GetTransactionResponse, type GetTransactionsResponse, type GetUserCurrenciesResponse, type GetUserNativeCurrencyResponse, type GetUserResponse, type RefreshContractRequestBody, type RefreshTokenRequestBody, RevokeSessionRequestInput, SellAssetRequestInput, TransferAssetRequestInput, TransferNativeTokenRequestInput, TransferTokenRequestInput, Beam as default }; |
@@ -939,2 +939,30 @@ var __accessCheck = (obj, member, msg) => { | ||
} | ||
/** | ||
* Schedule a token refresh in the indexer | ||
* @param requestBody | ||
* @returns any | ||
* @throws ApiError | ||
*/ | ||
refreshToken(requestBody) { | ||
return this.httpRequest.request({ | ||
method: "POST", | ||
url: "/v1/player/marketplace/refresh/token", | ||
body: requestBody, | ||
mediaType: "application/json" | ||
}); | ||
} | ||
/** | ||
* Schedule a contract refresh in the indexer | ||
* @param requestBody | ||
* @returns any | ||
* @throws ApiError | ||
*/ | ||
refreshContract(requestBody) { | ||
return this.httpRequest.request({ | ||
method: "POST", | ||
url: "/v1/player/marketplace/refresh/contract", | ||
body: requestBody, | ||
mediaType: "application/json" | ||
}); | ||
} | ||
}; | ||
@@ -941,0 +969,0 @@ |
@@ -26,3 +26,3 @@ { | ||
}, | ||
"version": "1.2.12", | ||
"version": "1.2.13", | ||
"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
735612
20409
2