Skip to content

Commit

Permalink
remove fund
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-agarwal-coinbase committed Nov 20, 2024
1 parent 10e81ee commit 1e67c0d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 74 deletions.
1 change: 0 additions & 1 deletion src/client/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6523,7 +6523,6 @@ export interface FundApiInterface {
* @memberof FundApiInterface
*/
listFundOperations(walletId: string, addressId: string, limit?: number, page?: string, options?: RawAxiosRequestConfig): AxiosPromise<FundOperationList>;

}

/**
Expand Down
73 changes: 0 additions & 73 deletions src/coinbase/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,11 @@ import {
SmartContractList,
CreateSmartContractRequest,
SmartContract as SmartContractModel,
FundOperation as FundOperationModel,
FundQuote as FundQuoteModel,
DeploySmartContractRequest,
WebhookEventTypeFilter,
CreateWalletWebhookRequest,
ReadContractRequest,
SolidityValue,
FundOperationList,
CreateFundOperationRequest,
CreateFundQuoteRequest,
} from "./../client/api";
import { Address } from "./address";
import { Wallet } from "./wallet";
Expand Down Expand Up @@ -1394,74 +1389,6 @@ export interface SmartContractAPIClient {
): AxiosPromise<SolidityValue>;
}

export interface FundOperationApiClient {
/**
* List fund operations
*
* @param walletId - The ID of the wallet the address belongs to.
* @param addressId - The ID of the address to list fund operations for.
* @param limit - A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
* @param page - A cursor for pagination across multiple pages of results. Don\&#39;t include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
* @param options - Axios request options
* @throws {APIError} If the request fails
*/
listFundOperations(
walletId: string,
addressId: string,
limit?: number,
page?: string,
options?: RawAxiosRequestConfig,
): AxiosPromise<FundOperationList>;

/**
* Get a fund operation
*
* @param walletId - The ID of the wallet the address belongs to.
* @param addressId - The ID of the address the fund operation belongs to.
* @param fundOperationId - The ID of the fund operation to retrieve
* @param options - Axios request options
* @throws {APIError} If the request fails
*/
getFundOperation(
walletId: string,
addressId: string,
fundOperationId: string,
options?: RawAxiosRequestConfig,
): AxiosPromise<FundOperationModel>;

/**
* Create a fund operation
*
* @param walletId - The ID of the wallet to create the fund operation for
* @param addressId - The ID of the address to create the fund operation for
* @param createFundOperationRequest - The request body containing the fund operation details
* @param options - Axios request options
* @throws {APIError} If the request fails
*/
createFundOperation(
walletId: string,
addressId: string,
createFundOperationRequest: CreateFundOperationRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<FundOperationModel>;

/**
* Create a fund operation quote
*
* @param walletId - The ID of the wallet the address belongs to.
* @param addressId - The ID of the address to create the fund operation quote for.
* @param createFundQuoteRequest - The request body containing the fund operation quote details.
* @param options - Axios request options.
* @throws {APIError} If the request fails.
*/
createFundQuote(
walletId: string,
addressId: string,
createFundQuoteRequest: CreateFundQuoteRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<FundQuoteModel>;
}

/**
* Options for pagination on list methods.
*/
Expand Down

0 comments on commit 1e67c0d

Please sign in to comment.