Skip to content

Commit

Permalink
[chore] Update generated OpenAPI client (#183)
Browse files Browse the repository at this point in the history
### What changed? Why?

- Adding arbitrum-mainnet
- Updating to 7.8.0 of OpenAPI generator

#### Qualified Impact
<!-- Please evaluate what components could be affected and what the
impact would be if there was an
error. How would this error be resolved, e.g. rollback a deploy, push a
new fix, disable a feature
flag, etc... -->
  • Loading branch information
jazz-cb authored Sep 11, 2024
1 parent 7abcd0a commit 33c9f50
Show file tree
Hide file tree
Showing 105 changed files with 244 additions and 509 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Added
- Add support for Arbitrum-Mainnet

## [0.3.0] - 2024-09-05

### Added
Expand Down
4 changes: 1 addition & 3 deletions lib/coinbase/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.0.1-alpha
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -89,7 +89,6 @@
Coinbase::Client.autoload :Transfer, 'coinbase/client/models/transfer'
Coinbase::Client.autoload :TransferList, 'coinbase/client/models/transfer_list'
Coinbase::Client.autoload :UpdateWebhookRequest, 'coinbase/client/models/update_webhook_request'
Coinbase::Client.autoload :User, 'coinbase/client/models/user'
Coinbase::Client.autoload :Validator, 'coinbase/client/models/validator'
Coinbase::Client.autoload :ValidatorDetails, 'coinbase/client/models/validator_details'
Coinbase::Client.autoload :ValidatorList, 'coinbase/client/models/validator_list'
Expand All @@ -113,7 +112,6 @@
Coinbase::Client.autoload :StakeApi, 'coinbase/client/api/stake_api'
Coinbase::Client.autoload :TradesApi, 'coinbase/client/api/trades_api'
Coinbase::Client.autoload :TransfersApi, 'coinbase/client/api/transfers_api'
Coinbase::Client.autoload :UsersApi, 'coinbase/client/api/users_api'
Coinbase::Client.autoload :ValidatorsApi, 'coinbase/client/api/validators_api'
Coinbase::Client.autoload :WalletStakeApi, 'coinbase/client/api/wallet_stake_api'
Coinbase::Client.autoload :WalletsApi, 'coinbase/client/api/wallets_api'
Expand Down
20 changes: 10 additions & 10 deletions lib/coinbase/client/api/addresses_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.0.1-alpha
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -53,7 +53,7 @@ def create_address_with_http_info(wallet_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down Expand Up @@ -129,7 +129,7 @@ def create_payload_signature_with_http_info(wallet_id, address_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down Expand Up @@ -203,7 +203,7 @@ def get_address_with_http_info(wallet_id, address_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -278,7 +278,7 @@ def get_address_balance_with_http_info(wallet_id, address_id, asset_id, opts = {
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -353,7 +353,7 @@ def get_payload_signature_with_http_info(wallet_id, address_id, payload_signatur
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -429,7 +429,7 @@ def list_address_balances_with_http_info(wallet_id, address_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -502,7 +502,7 @@ def list_addresses_with_http_info(wallet_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -581,7 +581,7 @@ def list_payload_signatures_with_http_info(wallet_id, address_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -653,7 +653,7 @@ def request_faucet_funds_with_http_info(wallet_id, address_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down
4 changes: 2 additions & 2 deletions lib/coinbase/client/api/assets_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.0.1-alpha
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -57,7 +57,7 @@ def get_asset_with_http_info(network_id, asset_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down
4 changes: 2 additions & 2 deletions lib/coinbase/client/api/balance_history_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.0.1-alpha
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -73,7 +73,7 @@ def list_address_historical_balance_with_http_info(network_id, address_id, asset
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down
4 changes: 2 additions & 2 deletions lib/coinbase/client/api/contract_events_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.0.1-alpha
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -95,7 +95,7 @@ def list_contract_events_with_http_info(network_id, protocol_name, contract_addr
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down
10 changes: 5 additions & 5 deletions lib/coinbase/client/api/contract_invocations_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.0.1-alpha
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -69,7 +69,7 @@ def broadcast_contract_invocation_with_http_info(wallet_id, address_id, contract
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down Expand Up @@ -149,7 +149,7 @@ def create_contract_invocation_with_http_info(wallet_id, address_id, create_cont
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down Expand Up @@ -229,7 +229,7 @@ def get_contract_invocation_with_http_info(wallet_id, address_id, contract_invoc
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -308,7 +308,7 @@ def list_contract_invocations_with_http_info(wallet_id, address_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down
10 changes: 5 additions & 5 deletions lib/coinbase/client/api/external_addresses_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.0.1-alpha
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -63,7 +63,7 @@ def get_external_address_balance_with_http_info(network_id, address_id, asset_id
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -142,7 +142,7 @@ def list_address_transactions_with_http_info(network_id, address_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -218,7 +218,7 @@ def list_external_address_balances_with_http_info(network_id, address_id, opts =
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -290,7 +290,7 @@ def request_external_faucet_funds_with_http_info(network_id, address_id, opts =
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down
4 changes: 2 additions & 2 deletions lib/coinbase/client/api/networks_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.0.1-alpha
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -51,7 +51,7 @@ def get_network_with_http_info(network_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down
14 changes: 7 additions & 7 deletions lib/coinbase/client/api/server_signers_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.0.1-alpha
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -47,7 +47,7 @@ def create_server_signer_with_http_info(opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down Expand Up @@ -115,7 +115,7 @@ def get_server_signer_with_http_info(server_signer_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -188,7 +188,7 @@ def list_server_signer_events_with_http_info(server_signer_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -255,7 +255,7 @@ def list_server_signers_with_http_info(opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -320,7 +320,7 @@ def submit_server_signer_seed_event_result_with_http_info(server_signer_id, opts
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down Expand Up @@ -390,7 +390,7 @@ def submit_server_signer_signature_event_result_with_http_info(server_signer_id,
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down
Loading

0 comments on commit 33c9f50

Please sign in to comment.