transferzero-sdk 1.30.0 → 1.30.1

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: 441f0dbd53ff601202a74252a86adc4a8d5bbb284c2f7a59ec50f0828089207d
4
- data.tar.gz: e29dfa064c59333896e2f970b94423cc211bbe11a111d121d05a7eb6933a19ca
3
+ metadata.gz: cba89363966f49d37faa76e097939a7b1188d9c4d7bb574ba3a58e6b4223059d
4
+ data.tar.gz: 48122c970dc8e6bc15365d774f0857e9cee71942ec2ffd7a81da2f51b2ba7ce3
5
5
  SHA512:
6
- metadata.gz: 06ddcbe5b162dca05e08821acfe7a9739ffe2ca4d3e3afde3a4e9af5e034f154bcae18c3dd100b0c2339301456becd0421f1df250f916230b28417afb37ece63
7
- data.tar.gz: ae328c09fc658145a4685d38822147b41fa01e3176a4f8d2a36a3eb7d8ea73027fadff87b768b420114267b85a78e36c308d807be5a4b8099625582422095b6f
6
+ metadata.gz: 4b779ae68c55a017f07771034838b0a199948bdb7b1d3e377012586191f23155566a7346d2031b517801f08492744a764290dda426d81f22bf4f70bf0a5fff8c
7
+ data.tar.gz: 91cc36935babbeb6edeed524a69c281d1793eef406b741d5ffc9d3ada61593665f0f4ef909e423056635c9b1cce12d33b8eeb7ef8680ce2d94843ef69c978911
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- transferzero-sdk (1.30.0)
4
+ transferzero-sdk (1.30.1)
5
5
  activesupport (>= 4, < 7)
6
6
  faraday (~> 1.0, >= 1.0.1)
7
7
  json (>= 1.4)
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.30.0
10
+ - Package version: 1.30.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.30.0.gem
34
+ gem install ./transferzero-sdk-1.30.1.gem
35
35
  ```
36
- (for development, run `gem install --dev ./transferzero-sdk-1.30.0.gem` to install the development dependencies)
36
+ (for development, run `gem install --dev ./transferzero-sdk-1.30.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.30.0'
42
+ gem 'transferzero-sdk', '~> 1.30.1'
43
43
 
44
44
  ### Install from Git
45
45
 
data/docs/Sender.md CHANGED
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
15
15
  **phone_number** | **String** | Phone number of sender (without country callcode) | [optional]
16
16
  **email** | **String** | Email of sender |
17
17
  **ip** | **String** | IP of sender |
18
+ **fingerprint** | **String** | Fingerprint of sender | [optional]
18
19
  **address_description** | **String** | Description of address | [optional]
19
20
  **identification_number** | **String** | Identification number of document used | [optional]
20
21
  **identification_type** | **String** | Document to be identified. The identification type can be one of the following: - &#x60;DL&#x60;: Driving License - &#x60;PP&#x60;: International Passport - &#x60;ID&#x60;: National ID - &#x60;OT&#x60;: Other Please note for Wizall &#x60;XOF::Cash&#x60; transactions the valid options are: - &#x60;ID&#x60;: National ID - &#x60;PP&#x60;: Passport | [optional]
@@ -82,6 +83,7 @@ instance = TransferZero::Sender.new(id: bf9ff782-e182-45ac-abea-5bce83ad6670,
82
83
  phone_number: 752403639,
83
84
  email: example@home.org,
84
85
  ip: 127.0.0.1,
86
+ fingerprint: fingerprint,
85
87
  address_description: null,
86
88
  identification_number: AB123456,
87
89
  identification_type: ID,
@@ -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.30.0"
39
+ @user_agent = "TransferZero-SDK/Ruby/1.30.1"
40
40
  @default_headers = {
41
41
  'Content-Type' => 'application/json',
42
42
  'User-Agent' => @user_agent
@@ -46,6 +46,9 @@ class Sender
46
46
  # IP of sender
47
47
  attr_accessor :ip
48
48
 
49
+ # Fingerprint of sender
50
+ attr_accessor :fingerprint
51
+
49
52
  # Description of address
50
53
  attr_accessor :address_description
51
54
 
@@ -232,6 +235,7 @@ class Sender
232
235
  :'phone_number' => :'phone_number',
233
236
  :'email' => :'email',
234
237
  :'ip' => :'ip',
238
+ :'fingerprint' => :'fingerprint',
235
239
  :'address_description' => :'address_description',
236
240
  :'identification_number' => :'identification_number',
237
241
  :'identification_type' => :'identification_type',
@@ -299,6 +303,7 @@ class Sender
299
303
  :'phone_number' => :'String',
300
304
  :'email' => :'String',
301
305
  :'ip' => :'String',
306
+ :'fingerprint' => :'String',
302
307
  :'address_description' => :'String',
303
308
  :'identification_number' => :'String',
304
309
  :'identification_type' => :'String',
@@ -411,6 +416,10 @@ class Sender
411
416
  self.ip = attributes[:'ip']
412
417
  end
413
418
 
419
+ if attributes.key?(:'fingerprint')
420
+ self.fingerprint = attributes[:'fingerprint']
421
+ end
422
+
414
423
  if attributes.key?(:'address_description')
415
424
  self.address_description = attributes[:'address_description']
416
425
  end
@@ -744,6 +753,7 @@ class Sender
744
753
  phone_number == o.phone_number &&
745
754
  email == o.email &&
746
755
  ip == o.ip &&
756
+ fingerprint == o.fingerprint &&
747
757
  address_description == o.address_description &&
748
758
  identification_number == o.identification_number &&
749
759
  identification_type == o.identification_type &&
@@ -805,7 +815,7 @@ class Sender
805
815
  # Calculates hash code according to all attributes.
806
816
  # @return [Integer] Hash code
807
817
  def hash
808
- [id, type, state, country, street, postal_code, city, phone_country, phone_number, email, ip, address_description, identification_number, identification_type, lang, name, first_name, middle_name, last_name, birth_date, occupation, nationality, legal_entity_type, registration_date, registration_number, nature_of_business, source_of_funds, custom_source_of_funds, core_business_activity, purpose_of_opening_account, office_phone, vat_registration_number, financial_regulator, regulatory_licence_number, contact_person_email, trading_country, trading_address, trading_name, number_monthly_transactions, amount_monthly_transactions, documents, metadata, errors, onboarding_status, politically_exposed_people, external_id, city_of_birth, country_of_birth, gender, sales_lead_id, created_at, company_office_number, company_office_number_country, aml_officer_email, aml_officer_phone, aml_officer_phone_country, company_website_url, number_of_employees_in_company, list_of_countries_of_operation, estimated_annual_revenue_turnover, declaration].hash
818
+ [id, type, state, country, street, postal_code, city, phone_country, phone_number, email, ip, fingerprint, address_description, identification_number, identification_type, lang, name, first_name, middle_name, last_name, birth_date, occupation, nationality, legal_entity_type, registration_date, registration_number, nature_of_business, source_of_funds, custom_source_of_funds, core_business_activity, purpose_of_opening_account, office_phone, vat_registration_number, financial_regulator, regulatory_licence_number, contact_person_email, trading_country, trading_address, trading_name, number_monthly_transactions, amount_monthly_transactions, documents, metadata, errors, onboarding_status, politically_exposed_people, external_id, city_of_birth, country_of_birth, gender, sales_lead_id, created_at, company_office_number, company_office_number_country, aml_officer_email, aml_officer_phone, aml_officer_phone_country, company_website_url, number_of_employees_in_company, list_of_countries_of_operation, estimated_annual_revenue_turnover, declaration].hash
809
819
  end
810
820
 
811
821
  require 'active_support/core_ext/hash'
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0-beta3
11
11
  =end
12
12
 
13
13
  module TransferZero
14
- VERSION = '1.30.0'
14
+ VERSION = '1.30.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.30.0
4
+ version: 1.30.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-02 00:00:00.000000000 Z
11
+ date: 2023-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday