transferzero-sdk 1.23.4 → 1.23.5

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: '08277e352124f818b74713c8f0426ae4f00259ebbcec8bb22a3f5725382d4af3'
4
- data.tar.gz: c2a79facc169d164ea487c088d075d0ff4e7b7dcfad7f1b791aac3365811d85e
3
+ metadata.gz: 371671ea6f73262096beb1b8357f2923179a76c8c2a71ce68529ec57aa3fc2bd
4
+ data.tar.gz: 2c51ec76ac620606182ec4df940e750be3df07b29f8bca373b7dcfa65820ef59
5
5
  SHA512:
6
- metadata.gz: 89da4859814824be5dea389f04248542cf54d6001c5b4a227d9765a9f22cde20115310920db5740f91e817a509173cb796497b843c472d4b303d0d9ec52e0085
7
- data.tar.gz: 65e22b15eea9ea8365d02b3b29ab5cc7b522ed8185ae84e0674a643e5a6d31b0773bab7f6f7defc41e2bc1d630d635a38c76276a5b54c21e37ac517f17b919b3
6
+ metadata.gz: ff558d11ac7d0ca020a38e5e96a6bc7b3286c369871b70f7103b5c457890c8da051c42cf1c1bbdc57d2b658f1326597333797c90582c7f0f45021f9eba6e7b3c
7
+ data.tar.gz: d948b5633191d8bb7a7478f21a5a2659e6c1a254a62a32e7b2dbd64a07d781d6e32592384dec5be26f81a7d07760f6cc7501c2b404ae11beb7212bdcff94c41d
data/Gemfile.lock ADDED
@@ -0,0 +1,92 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ transferzero-sdk (1.11.0)
5
+ activesupport (>= 4)
6
+ json (>= 1.4)
7
+ typhoeus (~> 1.0, >= 1.0.1)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ ZenTest (4.12.0)
13
+ activesupport (6.1.3)
14
+ concurrent-ruby (~> 1.0, >= 1.0.2)
15
+ i18n (>= 1.6, < 2)
16
+ minitest (>= 5.1)
17
+ tzinfo (~> 2.0)
18
+ zeitwerk (~> 2.3)
19
+ addressable (2.7.0)
20
+ public_suffix (>= 2.0.2, < 5.0)
21
+ autotest (4.4.6)
22
+ ZenTest (>= 4.4.1)
23
+ autotest-fsevent (0.2.17)
24
+ sys-uname
25
+ autotest-growl (0.2.16)
26
+ autotest-rails-pure (4.1.2)
27
+ byebug (11.1.3)
28
+ coderay (1.1.3)
29
+ concurrent-ruby (1.1.8)
30
+ crack (0.4.4)
31
+ diff-lcs (1.4.4)
32
+ ethon (0.12.0)
33
+ ffi (>= 1.3.0)
34
+ ffi (1.13.1)
35
+ hashdiff (1.0.1)
36
+ i18n (1.8.9)
37
+ concurrent-ruby (~> 1.0)
38
+ json (2.5.1)
39
+ method_source (1.0.0)
40
+ minitest (5.14.3)
41
+ pry (0.13.1)
42
+ coderay (~> 1.1)
43
+ method_source (~> 1.0)
44
+ pry-byebug (3.9.0)
45
+ byebug (~> 11.0)
46
+ pry (~> 0.13.0)
47
+ public_suffix (4.0.6)
48
+ rake (12.0.0)
49
+ rspec (3.10.0)
50
+ rspec-core (~> 3.10.0)
51
+ rspec-expectations (~> 3.10.0)
52
+ rspec-mocks (~> 3.10.0)
53
+ rspec-core (3.10.0)
54
+ rspec-support (~> 3.10.0)
55
+ rspec-expectations (3.10.0)
56
+ diff-lcs (>= 1.2.0, < 2.0)
57
+ rspec-support (~> 3.10.0)
58
+ rspec-mocks (3.10.0)
59
+ diff-lcs (>= 1.2.0, < 2.0)
60
+ rspec-support (~> 3.10.0)
61
+ rspec-support (3.10.0)
62
+ sys-uname (1.2.2)
63
+ ffi (~> 1.1)
64
+ typhoeus (1.4.0)
65
+ ethon (>= 0.9.0)
66
+ tzinfo (2.0.4)
67
+ concurrent-ruby (~> 1.0)
68
+ vcr (3.0.3)
69
+ webmock (1.24.6)
70
+ addressable (>= 2.3.6)
71
+ crack (>= 0.3.2)
72
+ hashdiff
73
+ zeitwerk (2.4.2)
74
+
75
+ PLATFORMS
76
+ ruby
77
+
78
+ DEPENDENCIES
79
+ ZenTest (~> 4.11, >= 4.11.2)
80
+ autotest (~> 4.4, >= 4.4.6)
81
+ autotest-fsevent (~> 0.2, >= 0.2.12)
82
+ autotest-growl (~> 0.2, >= 0.2.16)
83
+ autotest-rails-pure (~> 4.1, >= 4.1.2)
84
+ pry-byebug
85
+ rake (~> 12.0.0)
86
+ rspec (~> 3.6, >= 3.6.0)
87
+ transferzero-sdk!
88
+ vcr (~> 3.0, >= 3.0.1)
89
+ webmock (~> 1.24, >= 1.24.3)
90
+
91
+ BUNDLED WITH
92
+ 1.17.3
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.23.4
10
+ - Package version: 1.23.5
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.23.4.gem
34
+ gem install ./transferzero-sdk-1.23.5.gem
35
35
  ```
36
- (for development, run `gem install --dev ./transferzero-sdk-1.23.4.gem` to install the development dependencies)
36
+ (for development, run `gem install --dev ./transferzero-sdk-1.23.5.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.23.4'
42
+ gem 'transferzero-sdk', '~> 1.23.5'
43
43
 
44
44
  ### Install from Git
45
45
 
@@ -234,6 +234,7 @@ Class | Method | HTTP request | Description
234
234
  - [TransferZero::PayoutMethodListResponse](docs/PayoutMethodListResponse.md)
235
235
  - [TransferZero::PayoutMethodMobileProviderEnum](docs/PayoutMethodMobileProviderEnum.md)
236
236
  - [TransferZero::PayoutMethodNatureOfBusinessEnum](docs/PayoutMethodNatureOfBusinessEnum.md)
237
+ - [TransferZero::PayoutMethodPixKeyTypeEnum](docs/PayoutMethodPixKeyTypeEnum.md)
237
238
  - [TransferZero::PayoutMethodRequest](docs/PayoutMethodRequest.md)
238
239
  - [TransferZero::PayoutMethodResponse](docs/PayoutMethodResponse.md)
239
240
  - [TransferZero::PayoutMethodTransferReasonEnum](docs/PayoutMethodTransferReasonEnum.md)
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **last_name** | **String** | |
9
9
  **bank_code** | **String** | |
10
10
  **bank_account** | **String** | |
11
- **bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | |
11
+ **bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | | [optional]
12
12
  **phone_number** | **String** | |
13
13
  **mobile_provider** | [**PayoutMethodMobileProviderEnum**](PayoutMethodMobileProviderEnum.md) | |
14
14
  **country** | [**PayoutMethodCountryEnum**](PayoutMethodCountryEnum.md) | |
@@ -40,8 +40,10 @@ Name | Type | Description | Notes
40
40
  **registration_number** | **String** | | [optional]
41
41
  **nature_of_business** | [**PayoutMethodNatureOfBusinessEnum**](PayoutMethodNatureOfBusinessEnum.md) | | [optional]
42
42
  **legal_entity_type** | [**PayoutMethodLegalEntityTypeEnum**](PayoutMethodLegalEntityTypeEnum.md) | | [optional]
43
- **branch_code** | **String** | |
43
+ **branch_code** | **String** | | [optional]
44
44
  **swift_code** | **String** | |
45
+ **pix_key_type** | [**PayoutMethodPixKeyTypeEnum**](PayoutMethodPixKeyTypeEnum.md) | | [optional]
46
+ **pix_key_value** | **String** | | [optional]
45
47
 
46
48
  ## Code Sample
47
49
 
@@ -85,7 +87,9 @@ instance = TransferZero::PayoutMethodDetails.new(first_name: null,
85
87
  nature_of_business: null,
86
88
  legal_entity_type: null,
87
89
  branch_code: null,
88
- swift_code: null)
90
+ swift_code: null,
91
+ pix_key_type: null,
92
+ pix_key_value: null)
89
93
  ```
90
94
 
91
95
 
@@ -7,10 +7,12 @@ Name | Type | Description | Notes
7
7
  **first_name** | **String** | |
8
8
  **last_name** | **String** | |
9
9
  **phone_number** | **String** | | [optional]
10
- **bank_code** | **String** | |
11
- **branch_code** | **String** | |
12
- **bank_account** | **String** | |
13
- **bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | |
10
+ **bank_code** | **String** | | [optional]
11
+ **branch_code** | **String** | | [optional]
12
+ **bank_account** | **String** | | [optional]
13
+ **bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | | [optional]
14
+ **pix_key_type** | [**PayoutMethodPixKeyTypeEnum**](PayoutMethodPixKeyTypeEnum.md) | | [optional]
15
+ **pix_key_value** | **String** | | [optional]
14
16
  **identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | |
15
17
  **identity_card_id** | **String** | |
16
18
  **transfer_reason** | [**PayoutMethodTransferReasonEnum**](PayoutMethodTransferReasonEnum.md) | |
@@ -27,6 +29,8 @@ instance = TransferZero::PayoutMethodDetailsBRLBank.new(first_name: null,
27
29
  branch_code: null,
28
30
  bank_account: null,
29
31
  bank_account_type: null,
32
+ pix_key_type: null,
33
+ pix_key_value: null,
30
34
  identity_card_type: null,
31
35
  identity_card_id: null,
32
36
  transfer_reason: null)
@@ -0,0 +1,16 @@
1
+ # TransferZero::PayoutMethodPixKeyTypeEnum
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'TransferZero'
12
+
13
+ instance = TransferZero::PayoutMethodPixKeyTypeEnum.new()
14
+ ```
15
+
16
+
@@ -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.23.4"
39
+ @user_agent = "TransferZero-SDK/Ruby/1.23.5"
40
40
  @default_headers = {
41
41
  'Content-Type' => 'application/json',
42
42
  'User-Agent' => @user_agent
@@ -90,6 +90,10 @@ class PayoutMethodDetails
90
90
 
91
91
  attr_accessor :swift_code
92
92
 
93
+ attr_accessor :pix_key_type
94
+
95
+ attr_accessor :pix_key_value
96
+
93
97
  # Attribute mapping from ruby-style variable name to JSON key.
94
98
  def self.attribute_map
95
99
  {
@@ -130,7 +134,9 @@ class PayoutMethodDetails
130
134
  :'nature_of_business' => :'nature_of_business',
131
135
  :'legal_entity_type' => :'legal_entity_type',
132
136
  :'branch_code' => :'branch_code',
133
- :'swift_code' => :'swift_code'
137
+ :'swift_code' => :'swift_code',
138
+ :'pix_key_type' => :'pix_key_type',
139
+ :'pix_key_value' => :'pix_key_value'
134
140
  }
135
141
  end
136
142
 
@@ -174,7 +180,9 @@ class PayoutMethodDetails
174
180
  :'nature_of_business' => :'PayoutMethodNatureOfBusinessEnum',
175
181
  :'legal_entity_type' => :'PayoutMethodLegalEntityTypeEnum',
176
182
  :'branch_code' => :'String',
177
- :'swift_code' => :'String'
183
+ :'swift_code' => :'String',
184
+ :'pix_key_type' => :'PayoutMethodPixKeyTypeEnum',
185
+ :'pix_key_value' => :'String'
178
186
  }
179
187
  end
180
188
 
@@ -371,6 +379,14 @@ class PayoutMethodDetails
371
379
  if attributes.key?(:'swift_code')
372
380
  self.swift_code = attributes[:'swift_code']
373
381
  end
382
+
383
+ if attributes.key?(:'pix_key_type')
384
+ self.pix_key_type = attributes[:'pix_key_type']
385
+ end
386
+
387
+ if attributes.key?(:'pix_key_value')
388
+ self.pix_key_value = attributes[:'pix_key_value']
389
+ end
374
390
  end
375
391
 
376
392
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -393,10 +409,6 @@ class PayoutMethodDetails
393
409
  invalid_properties.push('invalid value for "bank_account", bank_account cannot be nil.')
394
410
  end
395
411
 
396
- if @bank_account_type.nil?
397
- invalid_properties.push('invalid value for "bank_account_type", bank_account_type cannot be nil.')
398
- end
399
-
400
412
  if @phone_number.nil?
401
413
  invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
402
414
  end
@@ -461,10 +473,6 @@ class PayoutMethodDetails
461
473
  invalid_properties.push('invalid value for "city", city cannot be nil.')
462
474
  end
463
475
 
464
- if @branch_code.nil?
465
- invalid_properties.push('invalid value for "branch_code", branch_code cannot be nil.')
466
- end
467
-
468
476
  if @swift_code.nil?
469
477
  invalid_properties.push('invalid value for "swift_code", swift_code cannot be nil.')
470
478
  end
@@ -479,7 +487,6 @@ class PayoutMethodDetails
479
487
  return false if @last_name.nil?
480
488
  return false if @bank_code.nil?
481
489
  return false if @bank_account.nil?
482
- return false if @bank_account_type.nil?
483
490
  return false if @phone_number.nil?
484
491
  return false if @mobile_provider.nil?
485
492
  return false if @country.nil?
@@ -496,7 +503,6 @@ class PayoutMethodDetails
496
503
  return false if @street.nil?
497
504
  return false if @postal_code.nil?
498
505
  return false if @city.nil?
499
- return false if @branch_code.nil?
500
506
  return false if @swift_code.nil?
501
507
  _one_of_found = false
502
508
  openapi_one_of.each do |_class|
@@ -559,7 +565,9 @@ class PayoutMethodDetails
559
565
  nature_of_business == o.nature_of_business &&
560
566
  legal_entity_type == o.legal_entity_type &&
561
567
  branch_code == o.branch_code &&
562
- swift_code == o.swift_code
568
+ swift_code == o.swift_code &&
569
+ pix_key_type == o.pix_key_type &&
570
+ pix_key_value == o.pix_key_value
563
571
  end
564
572
 
565
573
  # @see the `==` method
@@ -571,7 +579,7 @@ class PayoutMethodDetails
571
579
  # Calculates hash code according to all attributes.
572
580
  # @return [Integer] Hash code
573
581
  def hash
574
- [first_name, last_name, bank_code, bank_account, bank_account_type, phone_number, mobile_provider, country, transfer_reason, iban, bank_name, bank_country, cash_provider, sort_code, bic, sender_identity_card_type, sender_identity_card_id, sender_city_of_birth, sender_country_of_birth, sender_gender, reason, identity_card_type, identity_card_id, reference, name, address, street, postal_code, city, email, transfer_reason_code, contact_first_name, contact_last_name, registration_number, nature_of_business, legal_entity_type, branch_code, swift_code].hash
582
+ [first_name, last_name, bank_code, bank_account, bank_account_type, phone_number, mobile_provider, country, transfer_reason, iban, bank_name, bank_country, cash_provider, sort_code, bic, sender_identity_card_type, sender_identity_card_id, sender_city_of_birth, sender_country_of_birth, sender_gender, reason, identity_card_type, identity_card_id, reference, name, address, street, postal_code, city, email, transfer_reason_code, contact_first_name, contact_last_name, registration_number, nature_of_business, legal_entity_type, branch_code, swift_code, pix_key_type, pix_key_value].hash
575
583
  end
576
584
 
577
585
  require 'active_support/core_ext/hash'
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
13
13
  require 'date'
14
14
 
15
15
  module TransferZero
16
- # ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+552112345678\", // E.164 international format \"bank_code\": \"104\", \"branch_code\": \"00001\", \"bank_account\": \"0009795493\", \"bank_account_type\": \"10\", \"identity_card_type\": \"ID\", \"identity_card_id\": \"01234567890\", \"transfer_reason\": \"personal_account\" } ``` See [BRL Bank](https://docs.transferzero.com/docs/payout-details/#brlbank) documentation for the bank_code and transfer_reason lists
16
+ # PIX Payment: ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+552112345678\", // E.164 international format \"pix_key_type\": \"email\", \"pix_key_value\": \"person@example.com\", \"identity_card_type\": \"ID\", \"identity_card_id\": \"01234567890\", \"transfer_reason\": \"personal_account\" } ``` TED Payment: ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+552112345678\", // E.164 international format \"bank_code\": \"104\", \"branch_code\": \"00001\", \"bank_account\": \"0009795493\", \"bank_account_type\": \"10\", \"identity_card_type\": \"ID\", \"identity_card_id\": \"01234567890\", \"transfer_reason\": \"personal_account\" } ``` See [BRL Bank](https://docs.transferzero.com/docs/payout-details/#brlbank) documentation for the bank_code and transfer_reason lists
17
17
  class PayoutMethodDetailsBRLBank
18
18
  attr_accessor :first_name
19
19
 
@@ -29,6 +29,10 @@ class PayoutMethodDetailsBRLBank
29
29
 
30
30
  attr_accessor :bank_account_type
31
31
 
32
+ attr_accessor :pix_key_type
33
+
34
+ attr_accessor :pix_key_value
35
+
32
36
  attr_accessor :identity_card_type
33
37
 
34
38
  attr_accessor :identity_card_id
@@ -45,6 +49,8 @@ class PayoutMethodDetailsBRLBank
45
49
  :'branch_code' => :'branch_code',
46
50
  :'bank_account' => :'bank_account',
47
51
  :'bank_account_type' => :'bank_account_type',
52
+ :'pix_key_type' => :'pix_key_type',
53
+ :'pix_key_value' => :'pix_key_value',
48
54
  :'identity_card_type' => :'identity_card_type',
49
55
  :'identity_card_id' => :'identity_card_id',
50
56
  :'transfer_reason' => :'transfer_reason'
@@ -61,6 +67,8 @@ class PayoutMethodDetailsBRLBank
61
67
  :'branch_code' => :'String',
62
68
  :'bank_account' => :'String',
63
69
  :'bank_account_type' => :'PayoutMethodBankAccountTypeEnum',
70
+ :'pix_key_type' => :'PayoutMethodPixKeyTypeEnum',
71
+ :'pix_key_value' => :'String',
64
72
  :'identity_card_type' => :'PayoutMethodIdentityCardTypeEnum',
65
73
  :'identity_card_id' => :'String',
66
74
  :'transfer_reason' => :'PayoutMethodTransferReasonEnum'
@@ -110,6 +118,14 @@ class PayoutMethodDetailsBRLBank
110
118
  self.bank_account_type = attributes[:'bank_account_type']
111
119
  end
112
120
 
121
+ if attributes.key?(:'pix_key_type')
122
+ self.pix_key_type = attributes[:'pix_key_type']
123
+ end
124
+
125
+ if attributes.key?(:'pix_key_value')
126
+ self.pix_key_value = attributes[:'pix_key_value']
127
+ end
128
+
113
129
  if attributes.key?(:'identity_card_type')
114
130
  self.identity_card_type = attributes[:'identity_card_type']
115
131
  end
@@ -135,22 +151,6 @@ class PayoutMethodDetailsBRLBank
135
151
  invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
136
152
  end
137
153
 
138
- if @bank_code.nil?
139
- invalid_properties.push('invalid value for "bank_code", bank_code cannot be nil.')
140
- end
141
-
142
- if @branch_code.nil?
143
- invalid_properties.push('invalid value for "branch_code", branch_code cannot be nil.')
144
- end
145
-
146
- if @bank_account.nil?
147
- invalid_properties.push('invalid value for "bank_account", bank_account cannot be nil.')
148
- end
149
-
150
- if @bank_account_type.nil?
151
- invalid_properties.push('invalid value for "bank_account_type", bank_account_type cannot be nil.')
152
- end
153
-
154
154
  if @identity_card_type.nil?
155
155
  invalid_properties.push('invalid value for "identity_card_type", identity_card_type cannot be nil.')
156
156
  end
@@ -171,10 +171,6 @@ class PayoutMethodDetailsBRLBank
171
171
  def valid?
172
172
  return false if @first_name.nil?
173
173
  return false if @last_name.nil?
174
- return false if @bank_code.nil?
175
- return false if @branch_code.nil?
176
- return false if @bank_account.nil?
177
- return false if @bank_account_type.nil?
178
174
  return false if @identity_card_type.nil?
179
175
  return false if @identity_card_id.nil?
180
176
  return false if @transfer_reason.nil?
@@ -193,6 +189,8 @@ class PayoutMethodDetailsBRLBank
193
189
  branch_code == o.branch_code &&
194
190
  bank_account == o.bank_account &&
195
191
  bank_account_type == o.bank_account_type &&
192
+ pix_key_type == o.pix_key_type &&
193
+ pix_key_value == o.pix_key_value &&
196
194
  identity_card_type == o.identity_card_type &&
197
195
  identity_card_id == o.identity_card_id &&
198
196
  transfer_reason == o.transfer_reason
@@ -207,7 +205,7 @@ class PayoutMethodDetailsBRLBank
207
205
  # Calculates hash code according to all attributes.
208
206
  # @return [Integer] Hash code
209
207
  def hash
210
- [first_name, last_name, phone_number, bank_code, branch_code, bank_account, bank_account_type, identity_card_type, identity_card_id, transfer_reason].hash
208
+ [first_name, last_name, phone_number, bank_code, branch_code, bank_account, bank_account_type, pix_key_type, pix_key_value, identity_card_type, identity_card_id, transfer_reason].hash
211
209
  end
212
210
 
213
211
  require 'active_support/core_ext/hash'
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module TransferZero
16
+ class PayoutMethodPixKeyTypeEnum
17
+
18
+ CPF = "cpf".freeze
19
+ CNPJ = "cnpj".freeze
20
+ PHONE = "phone".freeze
21
+ EMAIL = "email".freeze
22
+ EVP = "evp".freeze
23
+
24
+ # Builds the enum from string
25
+ # @param [String] The enum value in the form of the string
26
+ # @return [String] The enum value
27
+ def build_from_hash(value)
28
+ constantValues = PayoutMethodPixKeyTypeEnum.constants.select { |c| PayoutMethodPixKeyTypeEnum::const_get(c) == value }
29
+ raise "Invalid ENUM value #{value} for class #PayoutMethodPixKeyTypeEnum" if constantValues.empty? && !value.empty?
30
+ value
31
+ end
32
+ end
33
+
34
+ end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0-beta3
11
11
  =end
12
12
 
13
13
  module TransferZero
14
- VERSION = '1.23.4'
14
+ VERSION = '1.23.5'
15
15
  end
@@ -94,6 +94,7 @@ require 'transferzero-sdk/models/payout_method_legal_entity_type_enum'
94
94
  require 'transferzero-sdk/models/payout_method_list_response'
95
95
  require 'transferzero-sdk/models/payout_method_mobile_provider_enum'
96
96
  require 'transferzero-sdk/models/payout_method_nature_of_business_enum'
97
+ require 'transferzero-sdk/models/payout_method_pix_key_type_enum'
97
98
  require 'transferzero-sdk/models/payout_method_request'
98
99
  require 'transferzero-sdk/models/payout_method_response'
99
100
  require 'transferzero-sdk/models/payout_method_transfer_reason_enum'
@@ -0,0 +1,35 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::PayoutMethodPixKeyTypeEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodPixKeyTypeEnum' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodPixKeyTypeEnum.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodPixKeyTypeEnum' do
31
+ it 'should create an instance of PayoutMethodPixKeyTypeEnum' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodPixKeyTypeEnum)
33
+ end
34
+ end
35
+ end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
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.23.4
4
+ version: 1.23.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-30 00:00:00.000000000 Z
11
+ date: 2023-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -92,6 +92,7 @@ extensions: []
92
92
  extra_rdoc_files: []
93
93
  files:
94
94
  - Gemfile
95
+ - Gemfile.lock
95
96
  - LICENSE
96
97
  - README.md
97
98
  - Rakefile
@@ -181,6 +182,7 @@ files:
181
182
  - docs/PayoutMethodListResponse.md
182
183
  - docs/PayoutMethodMobileProviderEnum.md
183
184
  - docs/PayoutMethodNatureOfBusinessEnum.md
185
+ - docs/PayoutMethodPixKeyTypeEnum.md
184
186
  - docs/PayoutMethodRequest.md
185
187
  - docs/PayoutMethodResponse.md
186
188
  - docs/PayoutMethodTransferReasonEnum.md
@@ -328,6 +330,7 @@ files:
328
330
  - lib/transferzero-sdk/models/payout_method_list_response.rb
329
331
  - lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb
330
332
  - lib/transferzero-sdk/models/payout_method_nature_of_business_enum.rb
333
+ - lib/transferzero-sdk/models/payout_method_pix_key_type_enum.rb
331
334
  - lib/transferzero-sdk/models/payout_method_request.rb
332
335
  - lib/transferzero-sdk/models/payout_method_response.rb
333
336
  - lib/transferzero-sdk/models/payout_method_transfer_reason_enum.rb
@@ -465,6 +468,7 @@ files:
465
468
  - spec/models/payout_method_list_response_spec.rb
466
469
  - spec/models/payout_method_mobile_provider_enum_spec.rb
467
470
  - spec/models/payout_method_nature_of_business_enum_spec.rb
471
+ - spec/models/payout_method_pix_key_type_enum_spec.rb
468
472
  - spec/models/payout_method_request_spec.rb
469
473
  - spec/models/payout_method_response_spec.rb
470
474
  - spec/models/payout_method_spec.rb
@@ -512,9 +516,16 @@ files:
512
516
  - spec/models/webhook_log_spec.rb
513
517
  - spec/models/webhook_spec.rb
514
518
  - spec/spec_helper.rb
519
+ - transferzero-sdk-1.19.0.gem
520
+ - transferzero-sdk-1.19.2.gem
521
+ - transferzero-sdk-1.19.3.gem
522
+ - transferzero-sdk-1.19.4.gem
523
+ - transferzero-sdk-1.19.5.gem
515
524
  - transferzero-sdk-1.20.1.gem
525
+ - transferzero-sdk-1.21.0.gem
516
526
  - transferzero-sdk-1.22.0.gem
517
- - transferzero-sdk-1.22.1.gem
527
+ - transferzero-sdk-1.23.0.gem
528
+ - transferzero-sdk-1.23.3.gem
518
529
  - transferzero-sdk.gemspec
519
530
  homepage: https://github.com/transferzero/transferzero-sdk-ruby
520
531
  licenses:
@@ -639,6 +650,7 @@ test_files:
639
650
  - spec/models/payout_method_details_spec.rb
640
651
  - spec/models/recipient_response_spec.rb
641
652
  - spec/models/recipient_list_response_spec.rb
653
+ - spec/models/payout_method_pix_key_type_enum_spec.rb
642
654
  - spec/models/account_response_spec.rb
643
655
  - spec/models/recipient_request_spec.rb
644
656
  - spec/models/recipient_state_reason_details_spec.rb
Binary file