diff --git a/.travis.yml b/.travis.yml index 4a3c212..a5ac736 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,4 +6,4 @@ script: - bundle install --path vendor/bundle - bundle exec rspec - gem build transferzero-sdk.gemspec - - gem install ./transferzero-sdk-1.34.0.gem + - gem install ./transferzero-sdk-1.34.1.gem diff --git a/README.md b/README.md index 12aa4ae..934a95c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Reference documentation for the TransferZero API V1 This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.0 -- Package version: 1.34.0 +- Package version: 1.34.1 - Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit: @@ -31,15 +31,15 @@ gem build transferzero-sdk.gemspec Then either install the gem locally: ```shell -gem install ./transferzero-sdk-1.34.0.gem +gem install ./transferzero-sdk-1.34.1.gem ``` -(for development, run `gem install --dev ./transferzero-sdk-1.34.0.gem` to install the development dependencies) +(for development, run `gem install --dev ./transferzero-sdk-1.34.1.gem` to install the development dependencies) or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/). Finally add this to the Gemfile: - gem 'transferzero-sdk', '~> 1.34.0' + gem 'transferzero-sdk', '~> 1.34.1' ### Install from Git diff --git a/lib/transferzero-sdk/api_client.rb b/lib/transferzero-sdk/api_client.rb index d4d5898..6ef7cfd 100644 --- a/lib/transferzero-sdk/api_client.rb +++ b/lib/transferzero-sdk/api_client.rb @@ -36,7 +36,7 @@ class ApiClient # @option config [Configuration] Configuration for initializing the object, default to Configuration.default def initialize(config = Configuration.default) @config = config - @user_agent = "TransferZero-SDK/Ruby/1.34.0" + @user_agent = "TransferZero-SDK/Ruby/1.34.1" @default_headers = { 'Content-Type' => 'application/json', 'User-Agent' => @user_agent diff --git a/lib/transferzero-sdk/models/payout_method_details_kes_bank.rb b/lib/transferzero-sdk/models/payout_method_details_kes_bank.rb index 2c68e53..9c3b106 100644 --- a/lib/transferzero-sdk/models/payout_method_details_kes_bank.rb +++ b/lib/transferzero-sdk/models/payout_method_details_kes_bank.rb @@ -13,7 +13,7 @@ require 'date' module TransferZero -# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"street\": \"Main Street\", \"city\": \"Nairobi\", \"bank_code\": \"68\", \"bank_account\": \"12345678\", \"transfer_reason\": \"personal_account\", // New transfer reason field \"identity_card_type\": \"ID\", // refers to the recipient's ID details; Values: \"PP\": Passport, \"ID\": National ID or \"O\": Other \"identity_card_id\": \"AB12345678\", // refers to the recipient's ID details \"relationship_to_sender\": \"Relative\" // Optional } ``` The valid bank_code values are: - Absa Bank: 03 - African Banking Corporation: 35 - Bank of Africa Kenya: 19 - Citibank: 16 - Co-operative Bank of Kenya: 11 - Consolidated Bank of Kenya: 23 - Credit Bank Ltd: 25 - Diamond Trust Bank: 63 - DIB Bank: 75 - ECO Bank Kenya: 43 - Equity Bank Limited: 68 - Family Bank: 70 - First Community Bank: 74 - Guaranty Trust Bank Kenya: 53 - Guardian Bank: 55 - Gulf African Bank : 72 - Housing Finance Co. Kenya: 61 - I&M Bank: 57 - Kingdom Bank: 51 - Kenya Commercial Bank: 01 - KWFT Bank: 78 - Mayfair Bank: 65 - M-Oriental Commercial Bank Limited: 14 - Middle East Bank: 18 - National Bank of Kenya: 12 - NCBA Bank: 07 - Paramount Universal Bank Limited: 50 - Prime Bank: 10 - Sidian Bank: 66 - Stanbic Bank Kenya: 31 - Standard Chartered Bank: 02 - UBA Kenya Bank Ltd: 76 - Victoria Bank Limited: 54 See [KES Bank](https://docs.transferzero.com/docs/payout-details/#kesbank) documentation for the transfer_reason list +# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"street\": \"Main Street\", \"city\": \"Nairobi\", \"bank_code\": \"68\", \"bank_account\": \"12345678\", \"transfer_reason\": \"personal_account\", // New transfer reason field \"identity_card_type\": \"ID\", // refers to the recipient's ID details; Values: \"PP\": Passport, \"ID\": National ID or \"O\": Other \"identity_card_id\": \"AB12345678\", // refers to the recipient's ID details \"relationship_to_sender\": \"Relative\" // Optional } ``` See [KES Bank](https://docs.transferzero.com/docs/payout-details/#kesbank) documentation for the `bank_code` and `transfer_reason` lists class PayoutMethodDetailsKESBank attr_accessor :first_name diff --git a/lib/transferzero-sdk/version.rb b/lib/transferzero-sdk/version.rb index 428c610..6b4d3b2 100644 --- a/lib/transferzero-sdk/version.rb +++ b/lib/transferzero-sdk/version.rb @@ -11,5 +11,5 @@ =end module TransferZero - VERSION = '1.34.0' + VERSION = '1.34.1' end