transferzero-sdk 1.36.3 → 1.36.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6ad815d072aa680112b15ebc29147ad53133a1b1cdc6d5360436dd527e1810e
4
- data.tar.gz: f4d8d08383120fa6766223f6cba8177e3f908df7e08ae8992c28cd3222461cc5
3
+ metadata.gz: f85a5061858a3d077dde3ea32adda7f58974f67c0cdd02e86c1e177e55f8c221
4
+ data.tar.gz: 4a58e4b3dcfb3eafa8c390ef8ccec3f647505c30b6389893e22a1a131f27c76d
5
5
  SHA512:
6
- metadata.gz: 569181c0ed11d69b8ef0f6294dcb84ad7e2452624d3bcc1425af766899ce66ed1c417592bafdea22a9991389aecaebe5c82e4dd6d0c6208a8fe20664b67c8e47
7
- data.tar.gz: 550739174e4c90c12057c87d52219664582b9ba2ea42debec2677f497856f5dbddfa1e47f3f486898031151ac09b8a550fda85d0c22b205034600651e7f826a4
6
+ metadata.gz: 315388f7b7a3378d1941f3ae1af3fdf7f887adbebc41b1ff3055c4ceee30c97ac6731905ff63336a1a862fcdc14b0073018d85182d58b0cfbd6f6b2828ced888
7
+ data.tar.gz: 8b4d66fa52600fc76f9630b29a9e20cb3dfad674db7fe75a89ff94fb3261f65cf8ef42cc790a7965a8571ad88ad2989f60e93b680b23ead99dc7a5ad0e26c42e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- transferzero-sdk (1.36.3)
4
+ transferzero-sdk (1.36.4)
5
5
  activesupport (>= 4)
6
6
  faraday (~> 1.0, >= 1.0.1)
7
7
  json (>= 1.4)
@@ -72,7 +72,7 @@ GEM
72
72
  rspec-mocks (~> 3.13.0)
73
73
  rspec-core (3.13.0)
74
74
  rspec-support (~> 3.13.0)
75
- rspec-expectations (3.13.1)
75
+ rspec-expectations (3.13.2)
76
76
  diff-lcs (>= 1.2.0, < 2.0)
77
77
  rspec-support (~> 3.13.0)
78
78
  rspec-mocks (3.13.1)
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.36.3
10
+ - Package version: 1.36.4
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.36.3.gem
34
+ gem install ./transferzero-sdk-1.36.4.gem
35
35
  ```
36
- (for development, run `gem install --dev ./transferzero-sdk-1.36.3.gem` to install the development dependencies)
36
+ (for development, run `gem install --dev ./transferzero-sdk-1.36.4.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.36.3'
42
+ gem 'transferzero-sdk', '~> 1.36.4'
43
43
 
44
44
  ### Install from Git
45
45
 
@@ -43,7 +43,7 @@ Name | Type | Description | Notes
43
43
  **registration_number** | **String** | | [optional]
44
44
  **nature_of_business** | [**PayoutMethodNatureOfBusinessEnum**](PayoutMethodNatureOfBusinessEnum.md) | | [optional]
45
45
  **legal_entity_type** | [**PayoutMethodLegalEntityTypeEnum**](PayoutMethodLegalEntityTypeEnum.md) | | [optional]
46
- **middle_name** | **String** | | [optional]
46
+ **middle_name** | **String** | |
47
47
  **routing_number** | **String** | | [optional]
48
48
  **swift_code** | **String** | | [optional]
49
49
  **relationship_to_sender** | **String** | | [optional]
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **first_name** | **String** | |
8
- **middle_name** | **String** | | [optional]
8
+ **middle_name** | **String** | |
9
9
  **last_name** | **String** | |
10
10
  **phone_number** | **String** | |
11
11
  **street** | **String** | |
@@ -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.36.3"
39
+ @user_agent = "TransferZero-SDK/Ruby/1.36.4"
40
40
  @default_headers = {
41
41
  'Content-Type' => 'application/json',
42
42
  'User-Agent' => @user_agent
@@ -534,6 +534,10 @@ class PayoutMethodDetails
534
534
  invalid_properties.push('invalid value for "branch_code", branch_code cannot be nil.')
535
535
  end
536
536
 
537
+ if @middle_name.nil?
538
+ invalid_properties.push('invalid value for "middle_name", middle_name cannot be nil.')
539
+ end
540
+
537
541
  if @ifsc_code.nil?
538
542
  invalid_properties.push('invalid value for "ifsc_code", ifsc_code cannot be nil.')
539
543
  end
@@ -565,6 +569,7 @@ class PayoutMethodDetails
565
569
  return false if @postal_code.nil?
566
570
  return false if @city.nil?
567
571
  return false if @branch_code.nil?
572
+ return false if @middle_name.nil?
568
573
  return false if @ifsc_code.nil?
569
574
  _one_of_found = false
570
575
  openapi_one_of.each do |_class|
@@ -115,6 +115,10 @@ class PayoutMethodDetailsEGPCash
115
115
  invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
116
116
  end
117
117
 
118
+ if @middle_name.nil?
119
+ invalid_properties.push('invalid value for "middle_name", middle_name cannot be nil.')
120
+ end
121
+
118
122
  if @last_name.nil?
119
123
  invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
120
124
  end
@@ -138,6 +142,7 @@ class PayoutMethodDetailsEGPCash
138
142
  # @return true if the model is valid
139
143
  def valid?
140
144
  return false if @first_name.nil?
145
+ return false if @middle_name.nil?
141
146
  return false if @last_name.nil?
142
147
  return false if @phone_number.nil?
143
148
  return false if @street.nil?
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0-beta3
11
11
  =end
12
12
 
13
13
  module TransferZero
14
- VERSION = '1.36.3'
14
+ VERSION = '1.36.4'
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.36.3
4
+ version: 1.36.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-19 00:00:00.000000000 Z
11
+ date: 2024-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday