Skip to content

Commit

Permalink
Merge pull request #17 from coinbase/marcin/regenerate-files
Browse files Browse the repository at this point in the history
Regenerate files for API client
  • Loading branch information
marcin-cb authored Aug 23, 2024
2 parents 3b959ee + eaa7f72 commit 3dd3244
Show file tree
Hide file tree
Showing 89 changed files with 657 additions and 537 deletions.
4 changes: 4 additions & 0 deletions gen/client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ api_trades.go
api_transfers.go
api_users.go
api_validators.go
api_wallet_stake.go
api_wallets.go
api_webhooks.go
client.go
Expand Down Expand Up @@ -88,9 +89,11 @@ docs/UsersAPI.md
docs/Validator.md
docs/ValidatorDetails.md
docs/ValidatorList.md
docs/ValidatorStatus.md
docs/ValidatorsAPI.md
docs/Wallet.md
docs/WalletList.md
docs/WalletStakeAPI.md
docs/WalletsAPI.md
docs/Webhook.md
docs/WebhookEventFilter.md
Expand Down Expand Up @@ -159,6 +162,7 @@ model_user.go
model_validator.go
model_validator_details.go
model_validator_list.go
model_validator_status.go
model_wallet.go
model_wallet_list.go
model_webhook.go
Expand Down
9 changes: 5 additions & 4 deletions gen/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,11 @@ Class | Method | HTTP request | Description
*ServerSignersAPI* | [**ListServerSigners**](docs/ServerSignersAPI.md#listserversigners) | **Get** /v1/server_signers | List server signers for the current project
*ServerSignersAPI* | [**SubmitServerSignerSeedEventResult**](docs/ServerSignersAPI.md#submitserversignerseedeventresult) | **Post** /v1/server_signers/{server_signer_id}/seed_event_result | Submit the result of a server signer event
*ServerSignersAPI* | [**SubmitServerSignerSignatureEventResult**](docs/ServerSignersAPI.md#submitserversignersignatureeventresult) | **Post** /v1/server_signers/{server_signer_id}/signature_event_result | Submit the result of a server signer event
*StakeAPI* | [**BroadcastStakingOperation**](docs/StakeAPI.md#broadcaststakingoperation) | **Post** /v1/wallets/{wallet_id}/addresses/{address_id}/staking_operations/{staking_operation_id}/broadcast | Broadcast a staking operation
*StakeAPI* | [**BuildStakingOperation**](docs/StakeAPI.md#buildstakingoperation) | **Post** /v1/stake/build | Build a new staking operation
*StakeAPI* | [**CreateStakingOperation**](docs/StakeAPI.md#createstakingoperation) | **Post** /v1/wallets/{wallet_id}/addresses/{address_id}/staking_operations | Create a new staking operation for an address
*StakeAPI* | [**FetchHistoricalStakingBalances**](docs/StakeAPI.md#fetchhistoricalstakingbalances) | **Get** /v1/networks/{network_id}/addresses/{address_id}/stake/balances | Fetch historical staking balances
*StakeAPI* | [**FetchStakingRewards**](docs/StakeAPI.md#fetchstakingrewards) | **Post** /v1/stake/rewards/search | Fetch staking rewards
*StakeAPI* | [**GetExternalStakingOperation**](docs/StakeAPI.md#getexternalstakingoperation) | **Get** /v1/networks/{network_id}/addresses/{address_id}/staking_operations/{staking_operation_id} | Get the latest state of a staking operation
*StakeAPI* | [**GetStakingContext**](docs/StakeAPI.md#getstakingcontext) | **Post** /v1/stake/context | Get staking context
*StakeAPI* | [**GetStakingOperation**](docs/StakeAPI.md#getstakingoperation) | **Get** /v1/wallets/{wallet_id}/addresses/{address_id}/staking_operations/{staking_operation_id} | Get the latest state of a staking operation
*TradesAPI* | [**BroadcastTrade**](docs/TradesAPI.md#broadcasttrade) | **Post** /v1/wallets/{wallet_id}/addresses/{address_id}/trades/{trade_id}/broadcast | Broadcast a trade
*TradesAPI* | [**CreateTrade**](docs/TradesAPI.md#createtrade) | **Post** /v1/wallets/{wallet_id}/addresses/{address_id}/trades | Create a new trade for an address
*TradesAPI* | [**GetTrade**](docs/TradesAPI.md#gettrade) | **Get** /v1/wallets/{wallet_id}/addresses/{address_id}/trades/{trade_id} | Get a trade by ID
Expand All @@ -116,6 +113,9 @@ Class | Method | HTTP request | Description
*UsersAPI* | [**GetCurrentUser**](docs/UsersAPI.md#getcurrentuser) | **Get** /v1/users/me | Get current user
*ValidatorsAPI* | [**GetValidator**](docs/ValidatorsAPI.md#getvalidator) | **Get** /v1/networks/{network_id}/assets/{asset_id}/validators/{validator_id} | Get a validator belonging to the CDP project
*ValidatorsAPI* | [**ListValidators**](docs/ValidatorsAPI.md#listvalidators) | **Get** /v1/networks/{network_id}/assets/{asset_id}/validators | List validators belonging to the CDP project
*WalletStakeAPI* | [**BroadcastStakingOperation**](docs/WalletStakeAPI.md#broadcaststakingoperation) | **Post** /v1/wallets/{wallet_id}/addresses/{address_id}/staking_operations/{staking_operation_id}/broadcast | Broadcast a staking operation
*WalletStakeAPI* | [**CreateStakingOperation**](docs/WalletStakeAPI.md#createstakingoperation) | **Post** /v1/wallets/{wallet_id}/addresses/{address_id}/staking_operations | Create a new staking operation for an address
*WalletStakeAPI* | [**GetStakingOperation**](docs/WalletStakeAPI.md#getstakingoperation) | **Get** /v1/wallets/{wallet_id}/addresses/{address_id}/staking_operations/{staking_operation_id} | Get the latest state of a staking operation
*WalletsAPI* | [**CreateWallet**](docs/WalletsAPI.md#createwallet) | **Post** /v1/wallets | Create a new wallet
*WalletsAPI* | [**GetWallet**](docs/WalletsAPI.md#getwallet) | **Get** /v1/wallets/{wallet_id} | Get wallet by ID
*WalletsAPI* | [**GetWalletBalance**](docs/WalletsAPI.md#getwalletbalance) | **Get** /v1/wallets/{wallet_id}/balances/{asset_id} | Get the balance of an asset in the wallet
Expand Down Expand Up @@ -190,6 +190,7 @@ Class | Method | HTTP request | Description
- [Validator](docs/Validator.md)
- [ValidatorDetails](docs/ValidatorDetails.md)
- [ValidatorList](docs/ValidatorList.md)
- [ValidatorStatus](docs/ValidatorStatus.md)
- [Wallet](docs/Wallet.md)
- [WalletList](docs/WalletList.md)
- [Webhook](docs/Webhook.md)
Expand Down Expand Up @@ -221,5 +222,5 @@ Each of these functions takes a value of the given basic type and returns a poin

## Author

[email protected]


1 change: 0 additions & 1 deletion gen/client/api_addresses.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion gen/client/api_assets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion gen/client/api_contract_events.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion gen/client/api_external_addresses.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion gen/client/api_networks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion gen/client/api_server_signers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3dd3244

Please sign in to comment.