@onbeam/player-api-client
Advanced tools
Comparing version 1.2.6 to 1.2.7
@@ -368,2 +368,22 @@ type ApiRequestOptions = { | ||
type GenerateLoginRequestInput = { | ||
message: string; | ||
chainId?: number; | ||
}; | ||
type GenerateLoginRequestResponse = { | ||
url: string; | ||
}; | ||
declare class ConnectorService { | ||
readonly httpRequest: BaseHttpRequest; | ||
constructor(httpRequest: BaseHttpRequest); | ||
/** | ||
* @param requestBody | ||
* @returns GenerateLoginRequestResponse | ||
* @throws ApiError | ||
*/ | ||
createConnectionRequest(requestBody: GenerateLoginRequestInput): CancelablePromise<GenerateLoginRequestResponse>; | ||
} | ||
type ConvertTokenRequestInput = { | ||
@@ -1125,2 +1145,3 @@ tokenIn: string; | ||
readonly assets: AssetsService; | ||
readonly connector: ConnectorService; | ||
readonly exchange: ExchangeService; | ||
@@ -1143,2 +1164,2 @@ readonly health: HealthService; | ||
export { AcceptAssetOfferRequestInput, Beam, BuyAssetRequestInput, CancelAssetListingRequestInput, CancelAssetOfferRequestInput, CommonOperationResponse, ConfirmOperationRequest, ConvertTokenRequestInput, CreateAssetOfferRequestInput, CreateOperationRequestInput, CreateTransactionRequestInput, GenerateSessionRequestResponse, type GenerateSessionUrlRequestInput, type GetActiveSessionResponse, type GetAllUsersResponse, type GetAssetListingsResponse, GetAssetResponse, GetAssetsForContractBodyInput, type GetAssetsForContractResponse, GetAssetsForUserBodyInput, type GetAssetsForUserResponse, type GetChainCurrenciesResponse, GetListedAssetsBodyInput, type GetQuoteResponse, GetSessionRequestResponse, type GetTransactionResponse, type GetTransactionsResponse, type GetUserCurrenciesResponse, type GetUserNativeCurrencyResponse, type GetUserResponse, SellAssetRequestInput, TransferAssetRequestInput, TransferNativeTokenRequestInput, TransferTokenRequestInput, Beam as default }; | ||
export { AcceptAssetOfferRequestInput, Beam, BuyAssetRequestInput, CancelAssetListingRequestInput, CancelAssetOfferRequestInput, CommonOperationResponse, ConfirmOperationRequest, ConvertTokenRequestInput, CreateAssetOfferRequestInput, CreateOperationRequestInput, CreateTransactionRequestInput, type GenerateLoginRequestInput, type GenerateLoginRequestResponse, GenerateSessionRequestResponse, type GenerateSessionUrlRequestInput, type GetActiveSessionResponse, type GetAllUsersResponse, type GetAssetListingsResponse, GetAssetResponse, GetAssetsForContractBodyInput, type GetAssetsForContractResponse, GetAssetsForUserBodyInput, type GetAssetsForUserResponse, type GetChainCurrenciesResponse, GetListedAssetsBodyInput, type GetQuoteResponse, GetSessionRequestResponse, type GetTransactionResponse, type GetTransactionsResponse, type GetUserCurrenciesResponse, type GetUserNativeCurrencyResponse, type GetUserResponse, SellAssetRequestInput, TransferAssetRequestInput, TransferNativeTokenRequestInput, TransferTokenRequestInput, Beam as default }; |
@@ -559,2 +559,22 @@ var __accessCheck = (obj, member, msg) => { | ||
// src/generated/services/ConnectorService.ts | ||
var ConnectorService = class { | ||
constructor(httpRequest) { | ||
this.httpRequest = httpRequest; | ||
} | ||
/** | ||
* @param requestBody | ||
* @returns GenerateLoginRequestResponse | ||
* @throws ApiError | ||
*/ | ||
createConnectionRequest(requestBody) { | ||
return this.httpRequest.request({ | ||
method: "POST", | ||
url: "/v1/player/connector", | ||
body: requestBody, | ||
mediaType: "application/json" | ||
}); | ||
} | ||
}; | ||
// src/generated/services/ExchangeService.ts | ||
@@ -1167,2 +1187,3 @@ var ExchangeService = class { | ||
this.assets = new AssetsService(this.request); | ||
this.connector = new ConnectorService(this.request); | ||
this.exchange = new ExchangeService(this.request); | ||
@@ -1169,0 +1190,0 @@ this.health = new HealthService(this.request); |
@@ -26,3 +26,3 @@ { | ||
}, | ||
"version": "1.2.6", | ||
"version": "1.2.7", | ||
"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
724336
20084