transferzero-sdk 1.30.0 → 1.30.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/docs/Sender.md +2 -0
- data/lib/transferzero-sdk/api_client.rb +1 -1
- data/lib/transferzero-sdk/models/sender.rb +11 -1
- data/lib/transferzero-sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cba89363966f49d37faa76e097939a7b1188d9c4d7bb574ba3a58e6b4223059d
|
4
|
+
data.tar.gz: 48122c970dc8e6bc15365d774f0857e9cee71942ec2ffd7a81da2f51b2ba7ce3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b779ae68c55a017f07771034838b0a199948bdb7b1d3e377012586191f23155566a7346d2031b517801f08492744a764290dda426d81f22bf4f70bf0a5fff8c
|
7
|
+
data.tar.gz: 91cc36935babbeb6edeed524a69c281d1793eef406b741d5ffc9d3ada61593665f0f4ef909e423056635c9b1cce12d33b8eeb7ef8680ce2d94843ef69c978911
|
data/Gemfile.lock
CHANGED
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.
|
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.
|
34
|
+
gem install ./transferzero-sdk-1.30.1.gem
|
35
35
|
```
|
36
|
-
(for development, run `gem install --dev ./transferzero-sdk-1.30.
|
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.
|
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: - `DL`: Driving License - `PP`: International Passport - `ID`: National ID - `OT`: Other Please note for Wizall `XOF::Cash` transactions the valid options are: - `ID`: National ID - `PP`: 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.
|
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'
|
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.
|
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-
|
11
|
+
date: 2023-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|