Skip to content

Commit

Permalink
Merge pull request #23 from fireblocks/fireblocks-api-spec/generated/…
Browse files Browse the repository at this point in the history
…9815

Generated SDK for version master
  • Loading branch information
SCFireblocks authored Nov 8, 2023
2 parents b9bcf82 + f0ffad0 commit c9b2672
Show file tree
Hide file tree
Showing 23 changed files with 166 additions and 166 deletions.
2 changes: 1 addition & 1 deletion api/audit-logs-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const AuditLogsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getAudits(timePeriod: 'DAY' | 'WEEK', requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
async getAudits(timePeriod: 'DAY' | 'WEEK', requestOptions?: RequestOptions): Promise<void> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getAudits(timePeriod, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand Down
2 changes: 1 addition & 1 deletion api/blockchains-assets-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const BlockchainsAssetsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getSupportedAssets( requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AssetTypeResponse>>> {
async getSupportedAssets( requestOptions?: RequestOptions): Promise<Array<AssetTypeResponse>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getSupportedAssets(requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand Down
14 changes: 7 additions & 7 deletions api/contracts-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ export const ContractsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async addAssetToContract(contractId: string, assetId: string, addAssetToContractRequest?: AddAssetToContractRequest, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExternalWalletAsset>> {
async addAssetToContract(contractId: string, assetId: string, addAssetToContractRequest?: AddAssetToContractRequest, requestOptions?: RequestOptions): Promise<ExternalWalletAsset> {
const localVarAxiosArgs = await localVarAxiosParamCreator.addAssetToContract(contractId, assetId, addAssetToContractRequest, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -338,7 +338,7 @@ export const ContractsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async createContract(createContractRequest?: CreateContractRequest, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnmanagedWallet>> {
async createContract(createContractRequest?: CreateContractRequest, requestOptions?: RequestOptions): Promise<UnmanagedWallet> {
const localVarAxiosArgs = await localVarAxiosParamCreator.createContract(createContractRequest, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -349,7 +349,7 @@ export const ContractsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async deleteContract(contractId: string, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
async deleteContract(contractId: string, requestOptions?: RequestOptions): Promise<void> {
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteContract(contractId, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -361,7 +361,7 @@ export const ContractsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getAssetInContract(contractId: string, assetId: string, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExternalWalletAsset>> {
async getAssetInContract(contractId: string, assetId: string, requestOptions?: RequestOptions): Promise<ExternalWalletAsset> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetInContract(contractId, assetId, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -372,7 +372,7 @@ export const ContractsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getContractById(contractId: string, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnmanagedWallet>> {
async getContractById(contractId: string, requestOptions?: RequestOptions): Promise<UnmanagedWallet> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getContractById(contractId, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -382,7 +382,7 @@ export const ContractsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getContracts( requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UnmanagedWallet>>> {
async getContracts( requestOptions?: RequestOptions): Promise<Array<UnmanagedWallet>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getContracts(requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -394,7 +394,7 @@ export const ContractsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async removeAssetFromContract(contractId: string, assetId: string, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
async removeAssetFromContract(contractId: string, assetId: string, requestOptions?: RequestOptions): Promise<void> {
const localVarAxiosArgs = await localVarAxiosParamCreator.removeAssetFromContract(contractId, assetId, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand Down
10 changes: 5 additions & 5 deletions api/exchange-accounts-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export const ExchangeAccountsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async convertAssets(exchangeAccountId: string, convertAssetsRequest?: ConvertAssetsRequest, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
async convertAssets(exchangeAccountId: string, convertAssetsRequest?: ConvertAssetsRequest, requestOptions?: RequestOptions): Promise<void> {
const localVarAxiosArgs = await localVarAxiosParamCreator.convertAssets(exchangeAccountId, convertAssetsRequest, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -262,7 +262,7 @@ export const ExchangeAccountsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getExchangeAccountAsset(exchangeAccountId: string, assetId: string, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExchangeAsset>> {
async getExchangeAccountAsset(exchangeAccountId: string, assetId: string, requestOptions?: RequestOptions): Promise<ExchangeAsset> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getExchangeAccountAsset(exchangeAccountId, assetId, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -273,7 +273,7 @@ export const ExchangeAccountsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getExchangeAccountById(exchangeAccountId: string, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExchangeAccount>> {
async getExchangeAccountById(exchangeAccountId: string, requestOptions?: RequestOptions): Promise<ExchangeAccount> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getExchangeAccountById(exchangeAccountId, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -283,7 +283,7 @@ export const ExchangeAccountsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getExchangeAccounts( requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExchangeAccount>>> {
async getExchangeAccounts( requestOptions?: RequestOptions): Promise<Array<ExchangeAccount>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getExchangeAccounts(requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -295,7 +295,7 @@ export const ExchangeAccountsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async internalTransfer(exchangeAccountId: string, createInternalTransferRequest?: CreateInternalTransferRequest, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
async internalTransfer(exchangeAccountId: string, createInternalTransferRequest?: CreateInternalTransferRequest, requestOptions?: RequestOptions): Promise<void> {
const localVarAxiosArgs = await localVarAxiosParamCreator.internalTransfer(exchangeAccountId, createInternalTransferRequest, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand Down
16 changes: 8 additions & 8 deletions api/external-wallets-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export const ExternalWalletsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async addAssetToExternalWallet(walletId: string, assetId: string, addAssetToExternalWalletRequest?: AddAssetToExternalWalletRequest, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExternalWalletAsset>> {
async addAssetToExternalWallet(walletId: string, assetId: string, addAssetToExternalWalletRequest?: AddAssetToExternalWalletRequest, requestOptions?: RequestOptions): Promise<ExternalWalletAsset> {
const localVarAxiosArgs = await localVarAxiosParamCreator.addAssetToExternalWallet(walletId, assetId, addAssetToExternalWalletRequest, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -382,7 +382,7 @@ export const ExternalWalletsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async createExternalWallet(createInternalWalletRequest?: CreateInternalWalletRequest, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnmanagedWallet>> {
async createExternalWallet(createInternalWalletRequest?: CreateInternalWalletRequest, requestOptions?: RequestOptions): Promise<UnmanagedWallet> {
const localVarAxiosArgs = await localVarAxiosParamCreator.createExternalWallet(createInternalWalletRequest, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -393,7 +393,7 @@ export const ExternalWalletsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async deleteExternalWallet(walletId: string, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
async deleteExternalWallet(walletId: string, requestOptions?: RequestOptions): Promise<void> {
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteExternalWallet(walletId, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -405,7 +405,7 @@ export const ExternalWalletsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getAssetInExternalWallet(walletId: string, assetId: string, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExternalWalletAsset>> {
async getAssetInExternalWallet(walletId: string, assetId: string, requestOptions?: RequestOptions): Promise<ExternalWalletAsset> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetInExternalWallet(walletId, assetId, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -416,7 +416,7 @@ export const ExternalWalletsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getExternalWalletById(walletId: string, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnmanagedWallet>> {
async getExternalWalletById(walletId: string, requestOptions?: RequestOptions): Promise<UnmanagedWallet> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getExternalWalletById(walletId, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -426,7 +426,7 @@ export const ExternalWalletsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getExternalWallets( requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UnmanagedWallet>>> {
async getExternalWallets( requestOptions?: RequestOptions): Promise<Array<UnmanagedWallet>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getExternalWallets(requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -438,7 +438,7 @@ export const ExternalWalletsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async removeAssetFromExternalWallet(walletId: string, assetId: string, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
async removeAssetFromExternalWallet(walletId: string, assetId: string, requestOptions?: RequestOptions): Promise<void> {
const localVarAxiosArgs = await localVarAxiosParamCreator.removeAssetFromExternalWallet(walletId, assetId, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -450,7 +450,7 @@ export const ExternalWalletsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async setCustomerRefIdForExternalWallet(setCustomerRefIdForVaultAccountRequest: SetCustomerRefIdForVaultAccountRequest, walletId: string, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
async setCustomerRefIdForExternalWallet(setCustomerRefIdForVaultAccountRequest: SetCustomerRefIdForVaultAccountRequest, walletId: string, requestOptions?: RequestOptions): Promise<void> {
const localVarAxiosArgs = await localVarAxiosParamCreator.setCustomerRefIdForExternalWallet(setCustomerRefIdForVaultAccountRequest, walletId, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand Down
8 changes: 4 additions & 4 deletions api/fiat-accounts-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export const FiatAccountsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async depositFundsFromLinkedDDA(accountId: string, redeemFundsToLinkedDDARequest?: RedeemFundsToLinkedDDARequest, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
async depositFundsFromLinkedDDA(accountId: string, redeemFundsToLinkedDDARequest?: RedeemFundsToLinkedDDARequest, requestOptions?: RequestOptions): Promise<void> {
const localVarAxiosArgs = await localVarAxiosParamCreator.depositFundsFromLinkedDDA(accountId, redeemFundsToLinkedDDARequest, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -217,7 +217,7 @@ export const FiatAccountsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getFiatAccountById(accountId: string, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FiatAccount>> {
async getFiatAccountById(accountId: string, requestOptions?: RequestOptions): Promise<FiatAccount> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getFiatAccountById(accountId, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -227,7 +227,7 @@ export const FiatAccountsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getFiatAccounts( requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FiatAccount>>> {
async getFiatAccounts( requestOptions?: RequestOptions): Promise<Array<FiatAccount>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getFiatAccounts(requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand All @@ -239,7 +239,7 @@ export const FiatAccountsApiFp = function(httpClient: HttpClient) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async redeemFundsToLinkedDDA(accountId: string, redeemFundsToLinkedDDARequest?: RedeemFundsToLinkedDDARequest, requestOptions?: RequestOptions): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
async redeemFundsToLinkedDDA(accountId: string, redeemFundsToLinkedDDARequest?: RedeemFundsToLinkedDDARequest, requestOptions?: RequestOptions): Promise<void> {
const localVarAxiosArgs = await localVarAxiosParamCreator.redeemFundsToLinkedDDA(accountId, redeemFundsToLinkedDDARequest, requestOptions);
return httpClient.request(localVarAxiosArgs);
},
Expand Down
Loading

0 comments on commit c9b2672

Please sign in to comment.