transferzero-sdk 1.35.0 → 1.35.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7334adfcfd069c3f05de653eff883cb675ffaf93cae0c3eb6290956760a1c3ca
4
- data.tar.gz: f6013fa65b0675b61e0aced9f06f8ea0723c44016923c0a7f7b1f2e8ddf7c973
3
+ metadata.gz: 9325cf27cd8b84af44655b395aa19f264148c14fc04756d6be5f5b9119e28374
4
+ data.tar.gz: 0d4e429d2ab8df96b7f07ba78096d87e1aed21f686190be2013eb51c0444ff3f
5
5
  SHA512:
6
- metadata.gz: a1ffa70928cba9a010f69160463e699af653d6c67f93e88f664e31071c59ffbd11d176adbf969f20c13d24b9290f27a8a11b3a334a587ce9abd7c5cd5edb7fc8
7
- data.tar.gz: bb17982f4d19244e8574584f889754dacd8329ebd9f7eb6e5c0fa4b2f2e009cfbb90660a2f9da32353cf2b92656336c13a24051bd50045ebff9ccf7fb20c2a39
6
+ metadata.gz: 20693a4129df2922d9004dbd324d949205d1f6bf85f02397c0dfd355207cc687d0a2ac7581f9629f66448259b5a51a3152496ee42805484f78fab0371a6c9f30
7
+ data.tar.gz: e44728844ae4767a31e7b6baf6eca789c1e62054fc1ddcd2ee999f2636fb2f241d5e3321af5f836738c51d0ff32a6317d023bcf63933f223dc594079bde9c090
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- transferzero-sdk (1.35.0)
4
+ transferzero-sdk (1.35.1)
5
5
  activesupport (>= 4)
6
6
  faraday (~> 1.0, >= 1.0.1)
7
7
  json (>= 1.4)
@@ -10,7 +10,7 @@ GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
12
  ZenTest (4.12.1)
13
- activesupport (7.1.3.2)
13
+ activesupport (7.1.3.3)
14
14
  base64
15
15
  bigdecimal
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -55,7 +55,7 @@ GEM
55
55
  concurrent-ruby (~> 1.0)
56
56
  json (2.7.2)
57
57
  method_source (1.1.0)
58
- minitest (5.22.3)
58
+ minitest (5.23.0)
59
59
  multipart-post (2.4.1)
60
60
  mutex_m (0.2.0)
61
61
  pry (0.14.2)
data/README.md CHANGED
@@ -7,7 +7,7 @@ Reference documentation for the TransferZero API V1
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0
10
- - Package version: 1.35.0
10
+ - Package version: 1.35.1
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  For more information, please visit:
@@ -31,15 +31,15 @@ gem build transferzero-sdk.gemspec
31
31
  Then either install the gem locally:
32
32
 
33
33
  ```shell
34
- gem install ./transferzero-sdk-1.35.0.gem
34
+ gem install ./transferzero-sdk-1.35.1.gem
35
35
  ```
36
- (for development, run `gem install --dev ./transferzero-sdk-1.35.0.gem` to install the development dependencies)
36
+ (for development, run `gem install --dev ./transferzero-sdk-1.35.1.gem` to install the development dependencies)
37
37
 
38
38
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
39
39
 
40
40
  Finally add this to the Gemfile:
41
41
 
42
- gem 'transferzero-sdk', '~> 1.35.0'
42
+ gem 'transferzero-sdk', '~> 1.35.1'
43
43
 
44
44
  ### Install from Git
45
45
 
@@ -36,7 +36,7 @@ module TransferZero
36
36
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
37
37
  def initialize(config = Configuration.default)
38
38
  @config = config
39
- @user_agent = "TransferZero-SDK/Ruby/1.35.0"
39
+ @user_agent = "TransferZero-SDK/Ruby/1.35.1"
40
40
  @default_headers = {
41
41
  'Content-Type' => 'application/json',
42
42
  'User-Agent' => @user_agent
@@ -158,7 +158,7 @@ class AccountValidationRequest
158
158
  # @return true if the model is valid
159
159
  def valid?
160
160
  return false if @country.nil?
161
- country_validator = EnumAttributeValidator.new('String', ["BF", "BJ", "CF", "CG", "CI", "CM", "GA", "GH", "NG", "SN", "TD", "TG", "UG"])
161
+ country_validator = EnumAttributeValidator.new('String', ["BF", "BJ", "CG", "CI", "CM", "GA", "GH", "NG", "SN", "TD", "TG", "UG"])
162
162
  return false unless country_validator.valid?(@country)
163
163
  return false if @currency.nil?
164
164
  currency_validator = EnumAttributeValidator.new('String', ["NGN", "GHS", "XOF", "UGX", "XAF"])
@@ -172,7 +172,7 @@ class AccountValidationRequest
172
172
  # Custom attribute writer method checking allowed values (enum).
173
173
  # @param [Object] country Object to be assigned
174
174
  def country=(country)
175
- validator = EnumAttributeValidator.new('String', ["BF", "BJ", "CF", "CG", "CI", "CM", "GA", "GH", "NG", "SN", "TD", "TG", "UG"])
175
+ validator = EnumAttributeValidator.new('String', ["BF", "BJ", "CG", "CI", "CM", "GA", "GH", "NG", "SN", "TD", "TG", "UG"])
176
176
  unless validator.valid?(country) || country.empty?
177
177
  fail ArgumentError, "invalid value for \"country\", must be one of #{validator.allowable_values}."
178
178
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0-beta3
11
11
  =end
12
12
 
13
13
  module TransferZero
14
- VERSION = '1.35.0'
14
+ VERSION = '1.35.1'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transferzero-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.35.0
4
+ version: 1.35.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-09 00:00:00.000000000 Z
11
+ date: 2024-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -580,157 +580,157 @@ signing_key:
580
580
  specification_version: 4
581
581
  summary: TransferZero API Ruby Gem
582
582
  test_files:
583
- - spec/api/payout_methods_api_spec.rb
584
- - spec/api/account_debits_api_spec.rb
585
- - spec/api/accounts_api_spec.rb
586
- - spec/api/currency_info_api_spec.rb
587
- - spec/api/recipients_api_spec.rb
588
- - spec/api/payment_methods_api_spec.rb
589
- - spec/api/senders_api_spec.rb
583
+ - spec/api/documents_api_spec.rb
590
584
  - spec/api/logs_api_spec.rb
591
585
  - spec/api/payin_methods_api_spec.rb
592
- - spec/api/documents_api_spec.rb
593
- - spec/api/webhooks_api_spec.rb
594
- - spec/api/account_validation_api_spec.rb
586
+ - spec/api/payment_methods_api_spec.rb
595
587
  - spec/api/transactions_api_spec.rb
588
+ - spec/api/currency_info_api_spec.rb
589
+ - spec/api/senders_api_spec.rb
590
+ - spec/api/account_debits_api_spec.rb
591
+ - spec/api/payout_methods_api_spec.rb
592
+ - spec/api/recipients_api_spec.rb
596
593
  - spec/api/api_logs_api_spec.rb
594
+ - spec/api/webhooks_api_spec.rb
595
+ - spec/api/accounts_api_spec.rb
596
+ - spec/api/account_validation_api_spec.rb
597
597
  - spec/configuration_spec.rb
598
- - spec/models/payout_method_details_xof_bank_spec.rb
598
+ - spec/models/webhook_definition_list_response_spec.rb
599
+ - spec/models/currency_exchange_spec.rb
600
+ - spec/models/account_validation_result_spec.rb
601
+ - spec/models/webhook_log_list_response_spec.rb
602
+ - spec/models/account_spec.rb
603
+ - spec/models/webhook_spec.rb
604
+ - spec/models/sender_response_spec.rb
605
+ - spec/models/payout_method_details_cad_bank_spec.rb
606
+ - spec/models/api_log_spec.rb
607
+ - spec/models/payout_method_details_zar_bank_spec.rb
608
+ - spec/models/payout_method_details_bwp_bank_spec.rb
609
+ - spec/models/payout_method_details_mobile_spec.rb
599
610
  - spec/models/account_list_response_spec.rb
600
- - spec/models/error_status_spec.rb
601
- - spec/models/debit_list_response_spec.rb
602
- - spec/models/webhook_log_metadata_response_spec.rb
603
- - spec/models/document_request_spec.rb
604
- - spec/models/transaction_traits_spec.rb
605
- - spec/models/payout_method_webhook_all_of_spec.rb
611
+ - spec/models/recipient_webhook_all_of_spec.rb
612
+ - spec/models/payout_method_webhook_spec.rb
613
+ - spec/models/document_list_response_spec.rb
614
+ - spec/models/webhook_log_metadata_request_spec.rb
615
+ - spec/models/payout_method_details_xaf_mobile_spec.rb
616
+ - spec/models/sender_request_spec.rb
617
+ - spec/models/recipient_list_response_spec.rb
618
+ - spec/models/pagination_spec.rb
606
619
  - spec/models/currency_exchange_list_response_spec.rb
607
- - spec/models/document_response_spec.rb
608
- - spec/models/payout_method_response_spec.rb
609
- - spec/models/payout_method_details_cad_bank_spec.rb
610
- - spec/models/sender_response_existing_spec.rb
620
+ - spec/models/field_select_validation_spec.rb
621
+ - spec/models/recipient_state_reason_details_spec.rb
622
+ - spec/models/recipient_response_spec.rb
623
+ - spec/models/payout_method_spec.rb
624
+ - spec/models/sender_webhook_spec.rb
625
+ - spec/models/recipient_state_spec.rb
626
+ - spec/models/payout_method_details_btc_spec.rb
627
+ - spec/models/sender_spec.rb
628
+ - spec/models/recipient_spec.rb
629
+ - spec/models/field_description_spec.rb
630
+ - spec/models/transaction_state_spec.rb
631
+ - spec/models/webhook_definition_response_spec.rb
632
+ - spec/models/webhook_log_response_spec.rb
633
+ - spec/models/account_meta_spec.rb
634
+ - spec/models/payout_method_details_balance_spec.rb
635
+ - spec/models/currency_opposite_all_of_spec.rb
636
+ - spec/models/payout_method_list_response_spec.rb
637
+ - spec/models/webhook_definition_request_spec.rb
638
+ - spec/models/payout_method_details_ghs_bank_spec.rb
639
+ - spec/models/sender_state_spec.rb
640
+ - spec/models/payout_method_details_ugx_bank_spec.rb
641
+ - spec/models/recipient_webhook_spec.rb
642
+ - spec/models/payout_method_details_nzd_bank_spec.rb
643
+ - spec/models/sender_response_meta_spec.rb
644
+ - spec/models/payout_method_transfer_reason_enum_spec.rb
611
645
  - spec/models/debit_list_request_spec.rb
612
646
  - spec/models/payout_method_details_inr_bank_spec.rb
613
- - spec/models/sender_response_spec.rb
614
- - spec/models/payin_method_details_spec.rb
615
- - spec/models/recipient_list_response_spec.rb
616
- - spec/models/payout_method_details_nzd_bank_spec.rb
617
- - spec/models/recipient_webhook_all_of_spec.rb
618
- - spec/models/sender_list_response_spec.rb
619
- - spec/models/payout_method_details_bwp_bank_spec.rb
620
- - spec/models/currency_exchange_spec.rb
621
- - spec/models/transaction_response_meta_spec.rb
622
- - spec/models/account_response_spec.rb
623
- - spec/models/payout_method_details_spec.rb
624
647
  - spec/models/payout_method_details_xaf_bank_spec.rb
625
- - spec/models/transaction_spec.rb
626
- - spec/models/transaction_state_spec.rb
627
- - spec/models/account_spec.rb
628
- - spec/models/payin_method_ux_flow_spec.rb
629
- - spec/models/payin_method_state_spec.rb
630
- - spec/models/document_list_response_spec.rb
631
- - spec/models/currency_list_response_spec.rb
632
- - spec/models/api_log_spec.rb
633
- - spec/models/debit_response_spec.rb
634
- - spec/models/currency_spec.rb
635
- - spec/models/payout_method_details_iban_spec.rb
636
- - spec/models/transaction_response_spec.rb
648
+ - spec/models/payout_method_details_egp_bank_spec.rb
649
+ - spec/models/payout_method_country_enum_spec.rb
650
+ - spec/models/sender_webhook_all_of_spec.rb
651
+ - spec/models/debit_list_response_spec.rb
652
+ - spec/models/payout_method_webhook_all_of_spec.rb
653
+ - spec/models/payout_method_details_xof_bank_spec.rb
654
+ - spec/models/transaction_request_spec.rb
637
655
  - spec/models/proof_of_payment_spec.rb
638
- - spec/models/payout_method_details_xof_cash_spec.rb
639
- - spec/models/payout_method_details_mad_cash_spec.rb
640
- - spec/models/webhook_definition_request_spec.rb
641
- - spec/models/payout_method_gender_enum_spec.rb
642
- - spec/models/payment_method_opposite_all_of_spec.rb
643
- - spec/models/payin_method_response_spec.rb
644
- - spec/models/payout_method_details_brl_bank_spec.rb
645
- - spec/models/payout_method_details_zmw_bank_spec.rb
646
- - spec/models/payout_method_details_usd_cash_spec.rb
647
- - spec/models/payout_method_details_balance_spec.rb
648
- - spec/models/sender_request_spec.rb
649
- - spec/models/document_webhook_all_of_spec.rb
650
- - spec/models/debit_spec.rb
656
+ - spec/models/currency_spec.rb
657
+ - spec/models/payout_method_details_gnf_mobile_spec.rb
658
+ - spec/models/payout_method_mobile_provider_enum_spec.rb
659
+ - spec/models/webhook_definition_spec.rb
660
+ - spec/models/webhook_definition_event_list_response_spec.rb
651
661
  - spec/models/account_validation_request_spec.rb
652
- - spec/models/payout_method_transfer_reason_enum_spec.rb
662
+ - spec/models/transaction_response_spec.rb
663
+ - spec/models/recipient_request_spec.rb
664
+ - spec/models/account_validation_error_spec.rb
665
+ - spec/models/transaction_response_meta_spec.rb
666
+ - spec/models/payin_method_state_spec.rb
653
667
  - spec/models/payment_method_opposite_spec.rb
654
- - spec/models/webhook_log_metadata_request_spec.rb
655
- - spec/models/payin_method_details_mobile_spec.rb
656
- - spec/models/payout_method_nature_of_business_enum_spec.rb
657
- - spec/models/recipient_response_spec.rb
658
- - spec/models/payout_method_details_ugx_bank_spec.rb
659
- - spec/models/field_description_spec.rb
660
668
  - spec/models/payout_method_details_ngn_bank_spec.rb
661
- - spec/models/payin_method_request_spec.rb
662
- - spec/models/payout_method_country_enum_spec.rb
669
+ - spec/models/webhook_log_metadata_spec.rb
670
+ - spec/models/api_log_list_response_spec.rb
671
+ - spec/models/transaction_response_existing_spec.rb
672
+ - spec/models/payout_method_details_mad_cash_spec.rb
673
+ - spec/models/debit_spec.rb
674
+ - spec/models/payout_method_details_usd_cash_spec.rb
675
+ - spec/models/state_reason_details_spec.rb
676
+ - spec/models/document_request_spec.rb
677
+ - spec/models/payin_method_details_btc_spec.rb
678
+ - spec/models/debit_request_wrapper_spec.rb
663
679
  - spec/models/payout_method_pix_key_type_enum_spec.rb
664
- - spec/models/recipient_state_reason_details_spec.rb
665
- - spec/models/payout_method_details_kes_mobile_spec.rb
666
- - spec/models/sender_webhook_all_of_spec.rb
667
- - spec/models/webhook_definition_list_response_spec.rb
668
- - spec/models/transaction_webhook_all_of_spec.rb
669
- - spec/models/webhook_definition_response_spec.rb
670
- - spec/models/account_validation_response_spec.rb
671
- - spec/models/payout_method_details_xof_mobile_spec.rb
672
- - spec/models/payout_method_details_ghs_bank_spec.rb
673
- - spec/models/payout_method_spec.rb
674
- - spec/models/account_validation_error_spec.rb
675
- - spec/models/payout_method_details_zar_bank_spec.rb
680
+ - spec/models/payout_method_details_spec.rb
681
+ - spec/models/sender_list_response_spec.rb
682
+ - spec/models/field_validation_spec.rb
676
683
  - spec/models/payout_method_details_usd_bank_spec.rb
677
- - spec/models/payout_method_details_xaf_mobile_spec.rb
678
- - spec/models/payin_method_details_btc_spec.rb
679
- - spec/models/payout_method_webhook_spec.rb
680
- - spec/models/payment_method_spec.rb
684
+ - spec/models/webhook_log_metadata_response_spec.rb
685
+ - spec/models/payin_method_response_spec.rb
686
+ - spec/models/transaction_spec.rb
687
+ - spec/models/payin_method_spec.rb
681
688
  - spec/models/validation_error_description_spec.rb
682
- - spec/models/pagination_spec.rb
689
+ - spec/models/payout_method_details_xof_cash_spec.rb
690
+ - spec/models/currency_list_response_spec.rb
691
+ - spec/models/payment_method_opposite_all_of_spec.rb
692
+ - spec/models/payout_method_bank_account_type_enum_spec.rb
693
+ - spec/models/sender_response_existing_spec.rb
694
+ - spec/models/payout_method_identity_card_type_enum_spec.rb
683
695
  - spec/models/transaction_webhook_spec.rb
684
- - spec/models/currency_opposite_spec.rb
685
- - spec/models/recipient_state_spec.rb
686
- - spec/models/payout_method_details_kes_bank_spec.rb
687
- - spec/models/api_log_list_response_spec.rb
688
- - spec/models/recipient_request_spec.rb
689
- - spec/models/webhook_definition_event_list_response_spec.rb
690
- - spec/models/payout_method_cash_provider_enum_spec.rb
691
- - spec/models/currency_exchange_all_of_spec.rb
692
- - spec/models/payout_method_details_egp_bank_spec.rb
693
- - spec/models/document_spec.rb
694
- - spec/models/webhook_log_list_response_spec.rb
695
- - spec/models/payment_method_list_response_spec.rb
696
- - spec/models/payin_method_spec.rb
697
- - spec/models/field_select_validation_spec.rb
698
- - spec/models/payout_method_details_ghs_cash_spec.rb
699
- - spec/models/sender_response_meta_spec.rb
700
- - spec/models/webhook_definition_spec.rb
696
+ - spec/models/payin_method_details_mobile_spec.rb
701
697
  - spec/models/proof_of_payment_list_response_spec.rb
702
698
  - spec/models/payout_method_legal_entity_type_enum_spec.rb
703
- - spec/models/payout_method_details_mobile_spec.rb
704
- - spec/models/webhook_log_metadata_spec.rb
705
- - spec/models/payout_method_details_btc_spec.rb
706
- - spec/models/pagination_meta_spec.rb
707
- - spec/models/payout_method_details_gbp_bank_spec.rb
708
- - spec/models/payout_method_mobile_provider_enum_spec.rb
709
- - spec/models/debit_request_wrapper_spec.rb
710
- - spec/models/webhook_spec.rb
711
- - spec/models/recipient_webhook_spec.rb
712
- - spec/models/payout_method_bank_account_type_enum_spec.rb
699
+ - spec/models/payout_method_response_spec.rb
713
700
  - spec/models/debit_request_spec.rb
714
- - spec/models/account_meta_spec.rb
715
- - spec/models/webhook_log_spec.rb
716
- - spec/models/payout_method_list_response_spec.rb
717
- - spec/models/payout_method_request_spec.rb
718
- - spec/models/account_validation_result_spec.rb
719
- - spec/models/sender_webhook_spec.rb
720
- - spec/models/recipient_spec.rb
721
- - spec/models/payout_method_identity_card_type_enum_spec.rb
722
- - spec/models/sender_spec.rb
701
+ - spec/models/payment_method_spec.rb
702
+ - spec/models/document_spec.rb
703
+ - spec/models/payout_method_cash_provider_enum_spec.rb
723
704
  - spec/models/document_webhook_spec.rb
724
- - spec/models/payout_method_details_gnf_mobile_spec.rb
705
+ - spec/models/payout_method_details_brl_bank_spec.rb
725
706
  - spec/models/api_log_response_spec.rb
726
- - spec/models/webhook_log_response_spec.rb
727
- - spec/models/state_reason_details_spec.rb
728
- - spec/models/sender_state_spec.rb
707
+ - spec/models/payin_method_ux_flow_spec.rb
708
+ - spec/models/transaction_traits_spec.rb
709
+ - spec/models/payout_method_details_ghs_cash_spec.rb
710
+ - spec/models/payout_method_details_kes_bank_spec.rb
711
+ - spec/models/payout_method_details_kes_mobile_spec.rb
712
+ - spec/models/payout_method_gender_enum_spec.rb
713
+ - spec/models/payout_method_details_gbp_bank_spec.rb
714
+ - spec/models/transaction_webhook_all_of_spec.rb
715
+ - spec/models/account_response_spec.rb
716
+ - spec/models/debit_response_spec.rb
717
+ - spec/models/currency_opposite_spec.rb
718
+ - spec/models/payout_method_details_iban_spec.rb
719
+ - spec/models/payin_method_details_spec.rb
729
720
  - spec/models/payin_method_details_ngn_bank_spec.rb
730
- - spec/models/currency_opposite_all_of_spec.rb
721
+ - spec/models/pagination_meta_spec.rb
722
+ - spec/models/payin_method_request_spec.rb
723
+ - spec/models/currency_exchange_all_of_spec.rb
724
+ - spec/models/payout_method_nature_of_business_enum_spec.rb
731
725
  - spec/models/transaction_list_response_spec.rb
732
- - spec/models/transaction_response_existing_spec.rb
726
+ - spec/models/account_validation_response_spec.rb
727
+ - spec/models/payout_method_details_zmw_bank_spec.rb
728
+ - spec/models/payment_method_list_response_spec.rb
733
729
  - spec/models/politically_exposed_person_spec.rb
734
- - spec/models/transaction_request_spec.rb
735
- - spec/models/field_validation_spec.rb
730
+ - spec/models/document_response_spec.rb
731
+ - spec/models/webhook_log_spec.rb
732
+ - spec/models/payout_method_request_spec.rb
733
+ - spec/models/document_webhook_all_of_spec.rb
734
+ - spec/models/error_status_spec.rb
735
+ - spec/models/payout_method_details_xof_mobile_spec.rb
736
736
  - spec/spec_helper.rb