DealMakerAPI 0.84.4 → 0.85.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/BulkUploadInvestorsRequest.md +3 -1
- data/docs/CompanyApi.md +1 -1
- data/docs/CreateBulkUploadRequest.md +5 -1
- data/docs/CreateCorporationProfileRequest.md +2 -2
- data/docs/CreateTrustProfileRequest.md +2 -2
- data/docs/InvestorProfileApi.md +6 -8
- data/docs/PatchCorporationProfileRequest.md +27 -1
- data/lib/DealMakerAPI/api/investor_profile_api.rb +10 -6
- data/lib/DealMakerAPI/models/bulk_upload_investors_request.rb +14 -4
- data/lib/DealMakerAPI/models/create_bulk_upload_request.rb +38 -4
- data/lib/DealMakerAPI/models/create_corporation_profile_request.rb +8 -8
- data/lib/DealMakerAPI/models/create_trust_profile_request.rb +8 -8
- data/lib/DealMakerAPI/models/patch_corporation_profile_request.rb +167 -4
- data/lib/DealMakerAPI/version.rb +1 -1
- data/spec/api/investor_profile_api_spec.rb +1 -1
- data/spec/models/bulk_upload_investors_request_spec.rb +6 -0
- data/spec/models/create_bulk_upload_request_spec.rb +12 -0
- data/spec/models/create_corporation_profile_request_spec.rb +1 -1
- data/spec/models/create_trust_profile_request_spec.rb +1 -1
- data/spec/models/patch_corporation_profile_request_spec.rb +78 -0
- metadata +68 -68
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb37ad585e33d769b70459e36987626c1e9c00be5f396336aabd2dbc7ddb4e8d
|
4
|
+
data.tar.gz: c74756141f3f486d16ef845ba1ef180048ecc246965413f63c590d2bb9e211fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1814189fc6909ceedfad3fae0122a7e8d410f7afa98e0f173b93c050c747e3df2629deb14d6b031b9dc82bed7ce9eb3513ef077d4351fadc92358df384b5d977
|
7
|
+
data.tar.gz: 9745cca984f31ee38e5bc47583afd17cfaf9df686748b3b0f77d6f264810fed5f8b5273c799d21edcfd67c0d381bea8868fd32de810a98442fede4aaf1ef3121
|
data/README.md
CHANGED
@@ -338,7 +338,7 @@ Given the high number of updates our platform performs on any investor, we’ve
|
|
338
338
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
339
339
|
|
340
340
|
- API version: 1.75.0
|
341
|
-
- Package version: 0.
|
341
|
+
- Package version: 0.85.2
|
342
342
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
343
343
|
|
344
344
|
## Installation
|
@@ -354,16 +354,16 @@ gem build DealMakerAPI.gemspec
|
|
354
354
|
Then either install the gem locally:
|
355
355
|
|
356
356
|
```shell
|
357
|
-
gem install ./DealMakerAPI-0.
|
357
|
+
gem install ./DealMakerAPI-0.85.2.gem
|
358
358
|
```
|
359
359
|
|
360
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.
|
360
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.85.2.gem` to install the development dependencies)
|
361
361
|
|
362
362
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
363
363
|
|
364
364
|
Finally add this to the Gemfile:
|
365
365
|
|
366
|
-
gem 'DealMakerAPI', '~> 0.
|
366
|
+
gem 'DealMakerAPI', '~> 0.85.2'
|
367
367
|
|
368
368
|
### Install from Git
|
369
369
|
|
@@ -392,7 +392,7 @@ DealMakerAPI.configure do |config|end
|
|
392
392
|
|
393
393
|
api_instance = DealMakerAPI::CompanyApi.new
|
394
394
|
id = 56 # Integer | The company id
|
395
|
-
create_bulk_upload_request = DealMakerAPI::CreateBulkUploadRequest.new({file_identifier: 'file_identifier_example', document_type: 'document_type_example', upload_name: 'upload_name_example'}) # CreateBulkUploadRequest |
|
395
|
+
create_bulk_upload_request = DealMakerAPI::CreateBulkUploadRequest.new({file_identifier: 'file_identifier_example', document_type: 'document_type_example', upload_name: 'upload_name_example', send_notification: false, notification_message: 'notification_message_example'}) # CreateBulkUploadRequest |
|
396
396
|
|
397
397
|
begin
|
398
398
|
#Create bulk upload record
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **import_file** | **File** | The CSV file with data to upload. | |
|
8
|
+
| **alerts_email** | **String** | The email to send alerts to. | [optional] |
|
8
9
|
|
9
10
|
## Example
|
10
11
|
|
@@ -12,7 +13,8 @@
|
|
12
13
|
require 'DealMakerAPI'
|
13
14
|
|
14
15
|
instance = DealMakerAPI::BulkUploadInvestorsRequest.new(
|
15
|
-
import_file: null
|
16
|
+
import_file: null,
|
17
|
+
alerts_email: null
|
16
18
|
)
|
17
19
|
```
|
18
20
|
|
data/docs/CompanyApi.md
CHANGED
@@ -34,7 +34,7 @@ DealMakerAPI.configure do |config|end
|
|
34
34
|
|
35
35
|
api_instance = DealMakerAPI::CompanyApi.new
|
36
36
|
id = 56 # Integer | The company id
|
37
|
-
create_bulk_upload_request = DealMakerAPI::CreateBulkUploadRequest.new({file_identifier: 'file_identifier_example', document_type: 'document_type_example', upload_name: 'upload_name_example'}) # CreateBulkUploadRequest |
|
37
|
+
create_bulk_upload_request = DealMakerAPI::CreateBulkUploadRequest.new({file_identifier: 'file_identifier_example', document_type: 'document_type_example', upload_name: 'upload_name_example', send_notification: false, notification_message: 'notification_message_example'}) # CreateBulkUploadRequest |
|
38
38
|
|
39
39
|
begin
|
40
40
|
# Create bulk upload record
|
@@ -7,6 +7,8 @@
|
|
7
7
|
| **file_identifier** | **String** | The file identifier | |
|
8
8
|
| **document_type** | **String** | The document type | |
|
9
9
|
| **upload_name** | **String** | The bulk upload name | |
|
10
|
+
| **send_notification** | **Boolean** | Send notification to the user | |
|
11
|
+
| **notification_message** | **String** | Notification message | |
|
10
12
|
|
11
13
|
## Example
|
12
14
|
|
@@ -16,7 +18,9 @@ require 'DealMakerAPI'
|
|
16
18
|
instance = DealMakerAPI::CreateBulkUploadRequest.new(
|
17
19
|
file_identifier: null,
|
18
20
|
document_type: null,
|
19
|
-
upload_name: null
|
21
|
+
upload_name: null,
|
22
|
+
send_notification: null,
|
23
|
+
notification_message: null
|
20
24
|
)
|
21
25
|
```
|
22
26
|
|
@@ -35,7 +35,7 @@
|
|
35
35
|
| **beneficial_owners_suffix** | **Array<String>** | The list of suffixes for the beneficial owners. | [optional] |
|
36
36
|
| **beneficial_owners_country** | **Array<String>** | The list of countries for the beneficial owners (required for beneficial owner 1). | [optional] |
|
37
37
|
| **beneficial_owners_street_address** | **Array<String>** | The list of street addresses for the beneficial owners (required for beneficial owner 1). | [optional] |
|
38
|
-
| **
|
38
|
+
| **beneficial_owners_unit2** | **Array<String>** | The list of street address line 2 for the beneficial owners. | [optional] |
|
39
39
|
| **beneficial_owners_city** | **Array<String>** | The list of cities for the beneficial owners (required for beneficial owner 1). | [optional] |
|
40
40
|
| **beneficial_owners_region** | **Array<String>** | The list of region or states for the beneficial owners (required for beneficial owner 1). | [optional] |
|
41
41
|
| **beneficial_owners_postal_code** | **Array<String>** | The list of postal codes or zipcodes for the beneficial owners (required for beneficial owner 1). | [optional] |
|
@@ -79,7 +79,7 @@ instance = DealMakerAPI::CreateCorporationProfileRequest.new(
|
|
79
79
|
beneficial_owners_suffix: null,
|
80
80
|
beneficial_owners_country: null,
|
81
81
|
beneficial_owners_street_address: null,
|
82
|
-
|
82
|
+
beneficial_owners_unit2: null,
|
83
83
|
beneficial_owners_city: null,
|
84
84
|
beneficial_owners_region: null,
|
85
85
|
beneficial_owners_postal_code: null,
|
@@ -24,7 +24,7 @@
|
|
24
24
|
| **trustees_suffix** | **Array<String>** | The list of suffixes for the trustees. | [optional] |
|
25
25
|
| **trustees_country** | **Array<String>** | The list of countries for the trustees (required for trustee 1). | [optional] |
|
26
26
|
| **trustees_street_address** | **Array<String>** | The list of street addresses for the trustees (required for trustee 1). | [optional] |
|
27
|
-
| **
|
27
|
+
| **trustees_unit2** | **Array<String>** | The list of street address line 2 for the trustees. | [optional] |
|
28
28
|
| **trustees_city** | **Array<String>** | The list of cities for the trustees (required for trustee 1). | [optional] |
|
29
29
|
| **trustees_region** | **Array<String>** | The list of regions or states for the trustees (required for trustee 1). | [optional] |
|
30
30
|
| **trustees_postal_code** | **Array<String>** | The list of postal codes or zipcodes for the trustees (required) for trustee 1. | [optional] |
|
@@ -57,7 +57,7 @@ instance = DealMakerAPI::CreateTrustProfileRequest.new(
|
|
57
57
|
trustees_suffix: null,
|
58
58
|
trustees_country: null,
|
59
59
|
trustees_street_address: null,
|
60
|
-
|
60
|
+
trustees_unit2: null,
|
61
61
|
trustees_city: null,
|
62
62
|
trustees_region: null,
|
63
63
|
trustees_postal_code: null,
|
data/docs/InvestorProfileApi.md
CHANGED
@@ -497,7 +497,7 @@ No authorization required
|
|
497
497
|
|
498
498
|
## patch_corporation_profile
|
499
499
|
|
500
|
-
> <V1EntitiesInvestorProfileCorporation> patch_corporation_profile(investor_profile_id,
|
500
|
+
> <V1EntitiesInvestorProfileCorporation> patch_corporation_profile(investor_profile_id, patch_corporation_profile_request)
|
501
501
|
|
502
502
|
Patch a corporation investor profile
|
503
503
|
|
@@ -513,13 +513,11 @@ DealMakerAPI.configure do |config|end
|
|
513
513
|
|
514
514
|
api_instance = DealMakerAPI::InvestorProfileApi.new
|
515
515
|
investor_profile_id = 56 # Integer |
|
516
|
-
|
517
|
-
patch_corporation_profile_request: DealMakerAPI::PatchCorporationProfileRequest.new # PatchCorporationProfileRequest |
|
518
|
-
}
|
516
|
+
patch_corporation_profile_request = DealMakerAPI::PatchCorporationProfileRequest.new({beneficial_owners_index: [37]}) # PatchCorporationProfileRequest |
|
519
517
|
|
520
518
|
begin
|
521
519
|
# Patch a corporation investor profile
|
522
|
-
result = api_instance.patch_corporation_profile(investor_profile_id,
|
520
|
+
result = api_instance.patch_corporation_profile(investor_profile_id, patch_corporation_profile_request)
|
523
521
|
p result
|
524
522
|
rescue DealMakerAPI::ApiError => e
|
525
523
|
puts "Error when calling InvestorProfileApi->patch_corporation_profile: #{e}"
|
@@ -530,12 +528,12 @@ end
|
|
530
528
|
|
531
529
|
This returns an Array which contains the response data, status code and headers.
|
532
530
|
|
533
|
-
> <Array(<V1EntitiesInvestorProfileCorporation>, Integer, Hash)> patch_corporation_profile_with_http_info(investor_profile_id,
|
531
|
+
> <Array(<V1EntitiesInvestorProfileCorporation>, Integer, Hash)> patch_corporation_profile_with_http_info(investor_profile_id, patch_corporation_profile_request)
|
534
532
|
|
535
533
|
```ruby
|
536
534
|
begin
|
537
535
|
# Patch a corporation investor profile
|
538
|
-
data, status_code, headers = api_instance.patch_corporation_profile_with_http_info(investor_profile_id,
|
536
|
+
data, status_code, headers = api_instance.patch_corporation_profile_with_http_info(investor_profile_id, patch_corporation_profile_request)
|
539
537
|
p status_code # => 2xx
|
540
538
|
p headers # => { ... }
|
541
539
|
p data # => <V1EntitiesInvestorProfileCorporation>
|
@@ -549,7 +547,7 @@ end
|
|
549
547
|
| Name | Type | Description | Notes |
|
550
548
|
| ---- | ---- | ----------- | ----- |
|
551
549
|
| **investor_profile_id** | **Integer** | | |
|
552
|
-
| **patch_corporation_profile_request** | [**PatchCorporationProfileRequest**](PatchCorporationProfileRequest.md) | |
|
550
|
+
| **patch_corporation_profile_request** | [**PatchCorporationProfileRequest**](PatchCorporationProfileRequest.md) | | |
|
553
551
|
|
554
552
|
### Return type
|
555
553
|
|
@@ -29,6 +29,19 @@
|
|
29
29
|
| **signing_officer_postal_code** | **String** | Signing officer postal code or zipcode. | [optional] |
|
30
30
|
| **signing_officer_date_of_birth** | **String** | Signing officer date of birth. | [optional] |
|
31
31
|
| **signing_officer_taxpayer_id** | **String** | The taxpayer identification number of the investor profile. | [optional] |
|
32
|
+
| **beneficial_owners_index** | **Array<Integer>** | The index of the beneficial owner. | |
|
33
|
+
| **beneficial_owners__delete** | **Array<Boolean>** | If true, this entry will be cleared. | [optional] |
|
34
|
+
| **beneficial_owners_first_name** | **Array<String>** | The list of first names for the beneficial owners (required for beneficial owner 1). | [optional] |
|
35
|
+
| **beneficial_owners_last_name** | **Array<String>** | The list of last names for the beneficial owners (required for beneficial owner 1). | [optional] |
|
36
|
+
| **beneficial_owners_suffix** | **Array<String>** | The list of suffixes for the beneficial owners. | [optional] |
|
37
|
+
| **beneficial_owners_country** | **Array<String>** | The list of countries for the beneficial owners (required for beneficial owner 1). | [optional] |
|
38
|
+
| **beneficial_owners_street_address** | **Array<String>** | The list of street addresses for the beneficial owners (required for beneficial owner 1). | [optional] |
|
39
|
+
| **beneficial_owners_unit2** | **Array<String>** | The list of street address line 2 for the beneficial owners. | [optional] |
|
40
|
+
| **beneficial_owners_city** | **Array<String>** | The list of cities for the beneficial owners (required for beneficial owner 1). | [optional] |
|
41
|
+
| **beneficial_owners_region** | **Array<String>** | The list of region or states for the beneficial owners (required for beneficial owner 1). | [optional] |
|
42
|
+
| **beneficial_owners_postal_code** | **Array<String>** | The list of postal codes or zipcodes for the beneficial owners (required for beneficial owner 1). | [optional] |
|
43
|
+
| **beneficial_owners_date_of_birth** | **Array<String>** | The list of dates of birth for the beneficial owners (required for beneficial owner 1). | [optional] |
|
44
|
+
| **beneficial_owners_taxpayer_id** | **Array<String>** | The list of taxpayer identification numbers for the beneficial owners (required for beneficial owner 1). | [optional] |
|
32
45
|
|
33
46
|
## Example
|
34
47
|
|
@@ -60,7 +73,20 @@ instance = DealMakerAPI::PatchCorporationProfileRequest.new(
|
|
60
73
|
signing_officer_region: null,
|
61
74
|
signing_officer_postal_code: null,
|
62
75
|
signing_officer_date_of_birth: null,
|
63
|
-
signing_officer_taxpayer_id: null
|
76
|
+
signing_officer_taxpayer_id: null,
|
77
|
+
beneficial_owners_index: null,
|
78
|
+
beneficial_owners__delete: null,
|
79
|
+
beneficial_owners_first_name: null,
|
80
|
+
beneficial_owners_last_name: null,
|
81
|
+
beneficial_owners_suffix: null,
|
82
|
+
beneficial_owners_country: null,
|
83
|
+
beneficial_owners_street_address: null,
|
84
|
+
beneficial_owners_unit2: null,
|
85
|
+
beneficial_owners_city: null,
|
86
|
+
beneficial_owners_region: null,
|
87
|
+
beneficial_owners_postal_code: null,
|
88
|
+
beneficial_owners_date_of_birth: null,
|
89
|
+
beneficial_owners_taxpayer_id: null
|
64
90
|
)
|
65
91
|
```
|
66
92
|
|
@@ -498,21 +498,21 @@ module DealMakerAPI
|
|
498
498
|
# Patch a corporation investor profile
|
499
499
|
# Patch corporation investor profile
|
500
500
|
# @param investor_profile_id [Integer]
|
501
|
+
# @param patch_corporation_profile_request [PatchCorporationProfileRequest]
|
501
502
|
# @param [Hash] opts the optional parameters
|
502
|
-
# @option opts [PatchCorporationProfileRequest] :patch_corporation_profile_request
|
503
503
|
# @return [V1EntitiesInvestorProfileCorporation]
|
504
|
-
def patch_corporation_profile(investor_profile_id, opts = {})
|
505
|
-
data, _status_code, _headers = patch_corporation_profile_with_http_info(investor_profile_id, opts)
|
504
|
+
def patch_corporation_profile(investor_profile_id, patch_corporation_profile_request, opts = {})
|
505
|
+
data, _status_code, _headers = patch_corporation_profile_with_http_info(investor_profile_id, patch_corporation_profile_request, opts)
|
506
506
|
data
|
507
507
|
end
|
508
508
|
|
509
509
|
# Patch a corporation investor profile
|
510
510
|
# Patch corporation investor profile
|
511
511
|
# @param investor_profile_id [Integer]
|
512
|
+
# @param patch_corporation_profile_request [PatchCorporationProfileRequest]
|
512
513
|
# @param [Hash] opts the optional parameters
|
513
|
-
# @option opts [PatchCorporationProfileRequest] :patch_corporation_profile_request
|
514
514
|
# @return [Array<(V1EntitiesInvestorProfileCorporation, Integer, Hash)>] V1EntitiesInvestorProfileCorporation data, response status code and response headers
|
515
|
-
def patch_corporation_profile_with_http_info(investor_profile_id, opts = {})
|
515
|
+
def patch_corporation_profile_with_http_info(investor_profile_id, patch_corporation_profile_request, opts = {})
|
516
516
|
if @api_client.config.debugging
|
517
517
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.patch_corporation_profile ...'
|
518
518
|
end
|
@@ -520,6 +520,10 @@ module DealMakerAPI
|
|
520
520
|
if @api_client.config.client_side_validation && investor_profile_id.nil?
|
521
521
|
fail ArgumentError, "Missing the required parameter 'investor_profile_id' when calling InvestorProfileApi.patch_corporation_profile"
|
522
522
|
end
|
523
|
+
# verify the required parameter 'patch_corporation_profile_request' is set
|
524
|
+
if @api_client.config.client_side_validation && patch_corporation_profile_request.nil?
|
525
|
+
fail ArgumentError, "Missing the required parameter 'patch_corporation_profile_request' when calling InvestorProfileApi.patch_corporation_profile"
|
526
|
+
end
|
523
527
|
# resource path
|
524
528
|
local_var_path = '/investor_profiles/corporations/{investor_profile_id}'.sub('{' + 'investor_profile_id' + '}', CGI.escape(investor_profile_id.to_s))
|
525
529
|
|
@@ -540,7 +544,7 @@ module DealMakerAPI
|
|
540
544
|
form_params = opts[:form_params] || {}
|
541
545
|
|
542
546
|
# http body (model)
|
543
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
547
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(patch_corporation_profile_request)
|
544
548
|
|
545
549
|
# return_type
|
546
550
|
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileCorporation'
|
@@ -18,10 +18,14 @@ module DealMakerAPI
|
|
18
18
|
# The CSV file with data to upload.
|
19
19
|
attr_accessor :import_file
|
20
20
|
|
21
|
+
# The email to send alerts to.
|
22
|
+
attr_accessor :alerts_email
|
23
|
+
|
21
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
22
25
|
def self.attribute_map
|
23
26
|
{
|
24
|
-
:'import_file' => :'import_file'
|
27
|
+
:'import_file' => :'import_file',
|
28
|
+
:'alerts_email' => :'alerts_email'
|
25
29
|
}
|
26
30
|
end
|
27
31
|
|
@@ -33,7 +37,8 @@ module DealMakerAPI
|
|
33
37
|
# Attribute type mapping.
|
34
38
|
def self.openapi_types
|
35
39
|
{
|
36
|
-
:'import_file' => :'File'
|
40
|
+
:'import_file' => :'File',
|
41
|
+
:'alerts_email' => :'String'
|
37
42
|
}
|
38
43
|
end
|
39
44
|
|
@@ -63,6 +68,10 @@ module DealMakerAPI
|
|
63
68
|
else
|
64
69
|
self.import_file = nil
|
65
70
|
end
|
71
|
+
|
72
|
+
if attributes.key?(:'alerts_email')
|
73
|
+
self.alerts_email = attributes[:'alerts_email']
|
74
|
+
end
|
66
75
|
end
|
67
76
|
|
68
77
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -90,7 +99,8 @@ module DealMakerAPI
|
|
90
99
|
def ==(o)
|
91
100
|
return true if self.equal?(o)
|
92
101
|
self.class == o.class &&
|
93
|
-
import_file == o.import_file
|
102
|
+
import_file == o.import_file &&
|
103
|
+
alerts_email == o.alerts_email
|
94
104
|
end
|
95
105
|
|
96
106
|
# @see the `==` method
|
@@ -102,7 +112,7 @@ module DealMakerAPI
|
|
102
112
|
# Calculates hash code according to all attributes.
|
103
113
|
# @return [Integer] Hash code
|
104
114
|
def hash
|
105
|
-
[import_file].hash
|
115
|
+
[import_file, alerts_email].hash
|
106
116
|
end
|
107
117
|
|
108
118
|
# Builds the object from hash
|
@@ -24,12 +24,20 @@ module DealMakerAPI
|
|
24
24
|
# The bulk upload name
|
25
25
|
attr_accessor :upload_name
|
26
26
|
|
27
|
+
# Send notification to the user
|
28
|
+
attr_accessor :send_notification
|
29
|
+
|
30
|
+
# Notification message
|
31
|
+
attr_accessor :notification_message
|
32
|
+
|
27
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
34
|
def self.attribute_map
|
29
35
|
{
|
30
36
|
:'file_identifier' => :'file_identifier',
|
31
37
|
:'document_type' => :'document_type',
|
32
|
-
:'upload_name' => :'upload_name'
|
38
|
+
:'upload_name' => :'upload_name',
|
39
|
+
:'send_notification' => :'send_notification',
|
40
|
+
:'notification_message' => :'notification_message'
|
33
41
|
}
|
34
42
|
end
|
35
43
|
|
@@ -43,7 +51,9 @@ module DealMakerAPI
|
|
43
51
|
{
|
44
52
|
:'file_identifier' => :'String',
|
45
53
|
:'document_type' => :'String',
|
46
|
-
:'upload_name' => :'String'
|
54
|
+
:'upload_name' => :'String',
|
55
|
+
:'send_notification' => :'Boolean',
|
56
|
+
:'notification_message' => :'String'
|
47
57
|
}
|
48
58
|
end
|
49
59
|
|
@@ -85,6 +95,18 @@ module DealMakerAPI
|
|
85
95
|
else
|
86
96
|
self.upload_name = nil
|
87
97
|
end
|
98
|
+
|
99
|
+
if attributes.key?(:'send_notification')
|
100
|
+
self.send_notification = attributes[:'send_notification']
|
101
|
+
else
|
102
|
+
self.send_notification = nil
|
103
|
+
end
|
104
|
+
|
105
|
+
if attributes.key?(:'notification_message')
|
106
|
+
self.notification_message = attributes[:'notification_message']
|
107
|
+
else
|
108
|
+
self.notification_message = nil
|
109
|
+
end
|
88
110
|
end
|
89
111
|
|
90
112
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -104,6 +126,14 @@ module DealMakerAPI
|
|
104
126
|
invalid_properties.push('invalid value for "upload_name", upload_name cannot be nil.')
|
105
127
|
end
|
106
128
|
|
129
|
+
if @send_notification.nil?
|
130
|
+
invalid_properties.push('invalid value for "send_notification", send_notification cannot be nil.')
|
131
|
+
end
|
132
|
+
|
133
|
+
if @notification_message.nil?
|
134
|
+
invalid_properties.push('invalid value for "notification_message", notification_message cannot be nil.')
|
135
|
+
end
|
136
|
+
|
107
137
|
invalid_properties
|
108
138
|
end
|
109
139
|
|
@@ -114,6 +144,8 @@ module DealMakerAPI
|
|
114
144
|
return false if @file_identifier.nil?
|
115
145
|
return false if @document_type.nil?
|
116
146
|
return false if @upload_name.nil?
|
147
|
+
return false if @send_notification.nil?
|
148
|
+
return false if @notification_message.nil?
|
117
149
|
true
|
118
150
|
end
|
119
151
|
|
@@ -124,7 +156,9 @@ module DealMakerAPI
|
|
124
156
|
self.class == o.class &&
|
125
157
|
file_identifier == o.file_identifier &&
|
126
158
|
document_type == o.document_type &&
|
127
|
-
upload_name == o.upload_name
|
159
|
+
upload_name == o.upload_name &&
|
160
|
+
send_notification == o.send_notification &&
|
161
|
+
notification_message == o.notification_message
|
128
162
|
end
|
129
163
|
|
130
164
|
# @see the `==` method
|
@@ -136,7 +170,7 @@ module DealMakerAPI
|
|
136
170
|
# Calculates hash code according to all attributes.
|
137
171
|
# @return [Integer] Hash code
|
138
172
|
def hash
|
139
|
-
[file_identifier, document_type, upload_name].hash
|
173
|
+
[file_identifier, document_type, upload_name, send_notification, notification_message].hash
|
140
174
|
end
|
141
175
|
|
142
176
|
# Builds the object from hash
|
@@ -109,7 +109,7 @@ module DealMakerAPI
|
|
109
109
|
attr_accessor :beneficial_owners_street_address
|
110
110
|
|
111
111
|
# The list of street address line 2 for the beneficial owners.
|
112
|
-
attr_accessor :
|
112
|
+
attr_accessor :beneficial_owners_unit2
|
113
113
|
|
114
114
|
# The list of cities for the beneficial owners (required for beneficial owner 1).
|
115
115
|
attr_accessor :beneficial_owners_city
|
@@ -182,7 +182,7 @@ module DealMakerAPI
|
|
182
182
|
:'beneficial_owners_suffix' => :'beneficial_owners[suffix]',
|
183
183
|
:'beneficial_owners_country' => :'beneficial_owners[country]',
|
184
184
|
:'beneficial_owners_street_address' => :'beneficial_owners[street_address]',
|
185
|
-
:'
|
185
|
+
:'beneficial_owners_unit2' => :'beneficial_owners[unit2]',
|
186
186
|
:'beneficial_owners_city' => :'beneficial_owners[city]',
|
187
187
|
:'beneficial_owners_region' => :'beneficial_owners[region]',
|
188
188
|
:'beneficial_owners_postal_code' => :'beneficial_owners[postal_code]',
|
@@ -230,7 +230,7 @@ module DealMakerAPI
|
|
230
230
|
:'beneficial_owners_suffix' => :'Array<String>',
|
231
231
|
:'beneficial_owners_country' => :'Array<String>',
|
232
232
|
:'beneficial_owners_street_address' => :'Array<String>',
|
233
|
-
:'
|
233
|
+
:'beneficial_owners_unit2' => :'Array<String>',
|
234
234
|
:'beneficial_owners_city' => :'Array<String>',
|
235
235
|
:'beneficial_owners_region' => :'Array<String>',
|
236
236
|
:'beneficial_owners_postal_code' => :'Array<String>',
|
@@ -396,9 +396,9 @@ module DealMakerAPI
|
|
396
396
|
end
|
397
397
|
end
|
398
398
|
|
399
|
-
if attributes.key?(:'
|
400
|
-
if (value = attributes[:'
|
401
|
-
self.
|
399
|
+
if attributes.key?(:'beneficial_owners_unit2')
|
400
|
+
if (value = attributes[:'beneficial_owners_unit2']).is_a?(Array)
|
401
|
+
self.beneficial_owners_unit2 = value
|
402
402
|
end
|
403
403
|
end
|
404
404
|
|
@@ -513,7 +513,7 @@ module DealMakerAPI
|
|
513
513
|
beneficial_owners_suffix == o.beneficial_owners_suffix &&
|
514
514
|
beneficial_owners_country == o.beneficial_owners_country &&
|
515
515
|
beneficial_owners_street_address == o.beneficial_owners_street_address &&
|
516
|
-
|
516
|
+
beneficial_owners_unit2 == o.beneficial_owners_unit2 &&
|
517
517
|
beneficial_owners_city == o.beneficial_owners_city &&
|
518
518
|
beneficial_owners_region == o.beneficial_owners_region &&
|
519
519
|
beneficial_owners_postal_code == o.beneficial_owners_postal_code &&
|
@@ -530,7 +530,7 @@ module DealMakerAPI
|
|
530
530
|
# Calculates hash code according to all attributes.
|
531
531
|
# @return [Integer] Hash code
|
532
532
|
def hash
|
533
|
-
[email, us_accredited_category, ca_accredited_investor, name, country, street_address, unit2, city, region, postal_code, business_number, phone_number, income, net_worth, reg_cf_prior_offerings_amount, signing_officer_first_name, signing_officer_last_name, signing_officer_suffix, signing_officer_country, signing_officer_street_address, signing_officer_unit2, signing_officer_city, signing_officer_region, signing_officer_postal_code, signing_officer_date_of_birth, signing_officer_taxpayer_id, beneficial_owners_first_name, beneficial_owners_last_name, beneficial_owners_suffix, beneficial_owners_country, beneficial_owners_street_address,
|
533
|
+
[email, us_accredited_category, ca_accredited_investor, name, country, street_address, unit2, city, region, postal_code, business_number, phone_number, income, net_worth, reg_cf_prior_offerings_amount, signing_officer_first_name, signing_officer_last_name, signing_officer_suffix, signing_officer_country, signing_officer_street_address, signing_officer_unit2, signing_officer_city, signing_officer_region, signing_officer_postal_code, signing_officer_date_of_birth, signing_officer_taxpayer_id, beneficial_owners_first_name, beneficial_owners_last_name, beneficial_owners_suffix, beneficial_owners_country, beneficial_owners_street_address, beneficial_owners_unit2, beneficial_owners_city, beneficial_owners_region, beneficial_owners_postal_code, beneficial_owners_date_of_birth, beneficial_owners_taxpayer_id].hash
|
534
534
|
end
|
535
535
|
|
536
536
|
# Builds the object from hash
|
@@ -76,7 +76,7 @@ module DealMakerAPI
|
|
76
76
|
attr_accessor :trustees_street_address
|
77
77
|
|
78
78
|
# The list of street address line 2 for the trustees.
|
79
|
-
attr_accessor :
|
79
|
+
attr_accessor :trustees_unit2
|
80
80
|
|
81
81
|
# The list of cities for the trustees (required for trustee 1).
|
82
82
|
attr_accessor :trustees_city
|
@@ -138,7 +138,7 @@ module DealMakerAPI
|
|
138
138
|
:'trustees_suffix' => :'trustees[suffix]',
|
139
139
|
:'trustees_country' => :'trustees[country]',
|
140
140
|
:'trustees_street_address' => :'trustees[street_address]',
|
141
|
-
:'
|
141
|
+
:'trustees_unit2' => :'trustees[unit2]',
|
142
142
|
:'trustees_city' => :'trustees[city]',
|
143
143
|
:'trustees_region' => :'trustees[region]',
|
144
144
|
:'trustees_postal_code' => :'trustees[postal_code]',
|
@@ -175,7 +175,7 @@ module DealMakerAPI
|
|
175
175
|
:'trustees_suffix' => :'Array<String>',
|
176
176
|
:'trustees_country' => :'Array<String>',
|
177
177
|
:'trustees_street_address' => :'Array<String>',
|
178
|
-
:'
|
178
|
+
:'trustees_unit2' => :'Array<String>',
|
179
179
|
:'trustees_city' => :'Array<String>',
|
180
180
|
:'trustees_region' => :'Array<String>',
|
181
181
|
:'trustees_postal_code' => :'Array<String>',
|
@@ -297,9 +297,9 @@ module DealMakerAPI
|
|
297
297
|
end
|
298
298
|
end
|
299
299
|
|
300
|
-
if attributes.key?(:'
|
301
|
-
if (value = attributes[:'
|
302
|
-
self.
|
300
|
+
if attributes.key?(:'trustees_unit2')
|
301
|
+
if (value = attributes[:'trustees_unit2']).is_a?(Array)
|
302
|
+
self.trustees_unit2 = value
|
303
303
|
end
|
304
304
|
end
|
305
305
|
|
@@ -403,7 +403,7 @@ module DealMakerAPI
|
|
403
403
|
trustees_suffix == o.trustees_suffix &&
|
404
404
|
trustees_country == o.trustees_country &&
|
405
405
|
trustees_street_address == o.trustees_street_address &&
|
406
|
-
|
406
|
+
trustees_unit2 == o.trustees_unit2 &&
|
407
407
|
trustees_city == o.trustees_city &&
|
408
408
|
trustees_region == o.trustees_region &&
|
409
409
|
trustees_postal_code == o.trustees_postal_code &&
|
@@ -420,7 +420,7 @@ module DealMakerAPI
|
|
420
420
|
# Calculates hash code according to all attributes.
|
421
421
|
# @return [Integer] Hash code
|
422
422
|
def hash
|
423
|
-
[email, us_accredited_category, ca_accredited_investor, name, date, country, street_address, unit2, city, region, postal_code, phone_number, income, net_worth, reg_cf_prior_offerings_amount, trustees_first_name, trustees_last_name, trustees_suffix, trustees_country, trustees_street_address,
|
423
|
+
[email, us_accredited_category, ca_accredited_investor, name, date, country, street_address, unit2, city, region, postal_code, phone_number, income, net_worth, reg_cf_prior_offerings_amount, trustees_first_name, trustees_last_name, trustees_suffix, trustees_country, trustees_street_address, trustees_unit2, trustees_city, trustees_region, trustees_postal_code, trustees_date_of_birth, trustees_taxpayer_id].hash
|
424
424
|
end
|
425
425
|
|
426
426
|
# Builds the object from hash
|
@@ -90,6 +90,45 @@ module DealMakerAPI
|
|
90
90
|
# The taxpayer identification number of the investor profile.
|
91
91
|
attr_accessor :signing_officer_taxpayer_id
|
92
92
|
|
93
|
+
# The index of the beneficial owner.
|
94
|
+
attr_accessor :beneficial_owners_index
|
95
|
+
|
96
|
+
# If true, this entry will be cleared.
|
97
|
+
attr_accessor :beneficial_owners__delete
|
98
|
+
|
99
|
+
# The list of first names for the beneficial owners (required for beneficial owner 1).
|
100
|
+
attr_accessor :beneficial_owners_first_name
|
101
|
+
|
102
|
+
# The list of last names for the beneficial owners (required for beneficial owner 1).
|
103
|
+
attr_accessor :beneficial_owners_last_name
|
104
|
+
|
105
|
+
# The list of suffixes for the beneficial owners.
|
106
|
+
attr_accessor :beneficial_owners_suffix
|
107
|
+
|
108
|
+
# The list of countries for the beneficial owners (required for beneficial owner 1).
|
109
|
+
attr_accessor :beneficial_owners_country
|
110
|
+
|
111
|
+
# The list of street addresses for the beneficial owners (required for beneficial owner 1).
|
112
|
+
attr_accessor :beneficial_owners_street_address
|
113
|
+
|
114
|
+
# The list of street address line 2 for the beneficial owners.
|
115
|
+
attr_accessor :beneficial_owners_unit2
|
116
|
+
|
117
|
+
# The list of cities for the beneficial owners (required for beneficial owner 1).
|
118
|
+
attr_accessor :beneficial_owners_city
|
119
|
+
|
120
|
+
# The list of region or states for the beneficial owners (required for beneficial owner 1).
|
121
|
+
attr_accessor :beneficial_owners_region
|
122
|
+
|
123
|
+
# The list of postal codes or zipcodes for the beneficial owners (required for beneficial owner 1).
|
124
|
+
attr_accessor :beneficial_owners_postal_code
|
125
|
+
|
126
|
+
# The list of dates of birth for the beneficial owners (required for beneficial owner 1).
|
127
|
+
attr_accessor :beneficial_owners_date_of_birth
|
128
|
+
|
129
|
+
# The list of taxpayer identification numbers for the beneficial owners (required for beneficial owner 1).
|
130
|
+
attr_accessor :beneficial_owners_taxpayer_id
|
131
|
+
|
93
132
|
class EnumAttributeValidator
|
94
133
|
attr_reader :datatype
|
95
134
|
attr_reader :allowable_values
|
@@ -139,7 +178,20 @@ module DealMakerAPI
|
|
139
178
|
:'signing_officer_region' => :'signing_officer_region',
|
140
179
|
:'signing_officer_postal_code' => :'signing_officer_postal_code',
|
141
180
|
:'signing_officer_date_of_birth' => :'signing_officer_date_of_birth',
|
142
|
-
:'signing_officer_taxpayer_id' => :'signing_officer_taxpayer_id'
|
181
|
+
:'signing_officer_taxpayer_id' => :'signing_officer_taxpayer_id',
|
182
|
+
:'beneficial_owners_index' => :'beneficial_owners[index]',
|
183
|
+
:'beneficial_owners__delete' => :'beneficial_owners[_delete]',
|
184
|
+
:'beneficial_owners_first_name' => :'beneficial_owners[first_name]',
|
185
|
+
:'beneficial_owners_last_name' => :'beneficial_owners[last_name]',
|
186
|
+
:'beneficial_owners_suffix' => :'beneficial_owners[suffix]',
|
187
|
+
:'beneficial_owners_country' => :'beneficial_owners[country]',
|
188
|
+
:'beneficial_owners_street_address' => :'beneficial_owners[street_address]',
|
189
|
+
:'beneficial_owners_unit2' => :'beneficial_owners[unit2]',
|
190
|
+
:'beneficial_owners_city' => :'beneficial_owners[city]',
|
191
|
+
:'beneficial_owners_region' => :'beneficial_owners[region]',
|
192
|
+
:'beneficial_owners_postal_code' => :'beneficial_owners[postal_code]',
|
193
|
+
:'beneficial_owners_date_of_birth' => :'beneficial_owners[date_of_birth]',
|
194
|
+
:'beneficial_owners_taxpayer_id' => :'beneficial_owners[taxpayer_id]'
|
143
195
|
}
|
144
196
|
end
|
145
197
|
|
@@ -175,7 +227,20 @@ module DealMakerAPI
|
|
175
227
|
:'signing_officer_region' => :'String',
|
176
228
|
:'signing_officer_postal_code' => :'String',
|
177
229
|
:'signing_officer_date_of_birth' => :'String',
|
178
|
-
:'signing_officer_taxpayer_id' => :'String'
|
230
|
+
:'signing_officer_taxpayer_id' => :'String',
|
231
|
+
:'beneficial_owners_index' => :'Array<Integer>',
|
232
|
+
:'beneficial_owners__delete' => :'Array<Boolean>',
|
233
|
+
:'beneficial_owners_first_name' => :'Array<String>',
|
234
|
+
:'beneficial_owners_last_name' => :'Array<String>',
|
235
|
+
:'beneficial_owners_suffix' => :'Array<String>',
|
236
|
+
:'beneficial_owners_country' => :'Array<String>',
|
237
|
+
:'beneficial_owners_street_address' => :'Array<String>',
|
238
|
+
:'beneficial_owners_unit2' => :'Array<String>',
|
239
|
+
:'beneficial_owners_city' => :'Array<String>',
|
240
|
+
:'beneficial_owners_region' => :'Array<String>',
|
241
|
+
:'beneficial_owners_postal_code' => :'Array<String>',
|
242
|
+
:'beneficial_owners_date_of_birth' => :'Array<String>',
|
243
|
+
:'beneficial_owners_taxpayer_id' => :'Array<String>'
|
179
244
|
}
|
180
245
|
end
|
181
246
|
|
@@ -299,6 +364,86 @@ module DealMakerAPI
|
|
299
364
|
if attributes.key?(:'signing_officer_taxpayer_id')
|
300
365
|
self.signing_officer_taxpayer_id = attributes[:'signing_officer_taxpayer_id']
|
301
366
|
end
|
367
|
+
|
368
|
+
if attributes.key?(:'beneficial_owners_index')
|
369
|
+
if (value = attributes[:'beneficial_owners_index']).is_a?(Array)
|
370
|
+
self.beneficial_owners_index = value
|
371
|
+
end
|
372
|
+
else
|
373
|
+
self.beneficial_owners_index = nil
|
374
|
+
end
|
375
|
+
|
376
|
+
if attributes.key?(:'beneficial_owners__delete')
|
377
|
+
if (value = attributes[:'beneficial_owners__delete']).is_a?(Array)
|
378
|
+
self.beneficial_owners__delete = value
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
382
|
+
if attributes.key?(:'beneficial_owners_first_name')
|
383
|
+
if (value = attributes[:'beneficial_owners_first_name']).is_a?(Array)
|
384
|
+
self.beneficial_owners_first_name = value
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
388
|
+
if attributes.key?(:'beneficial_owners_last_name')
|
389
|
+
if (value = attributes[:'beneficial_owners_last_name']).is_a?(Array)
|
390
|
+
self.beneficial_owners_last_name = value
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
394
|
+
if attributes.key?(:'beneficial_owners_suffix')
|
395
|
+
if (value = attributes[:'beneficial_owners_suffix']).is_a?(Array)
|
396
|
+
self.beneficial_owners_suffix = value
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
if attributes.key?(:'beneficial_owners_country')
|
401
|
+
if (value = attributes[:'beneficial_owners_country']).is_a?(Array)
|
402
|
+
self.beneficial_owners_country = value
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
if attributes.key?(:'beneficial_owners_street_address')
|
407
|
+
if (value = attributes[:'beneficial_owners_street_address']).is_a?(Array)
|
408
|
+
self.beneficial_owners_street_address = value
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
412
|
+
if attributes.key?(:'beneficial_owners_unit2')
|
413
|
+
if (value = attributes[:'beneficial_owners_unit2']).is_a?(Array)
|
414
|
+
self.beneficial_owners_unit2 = value
|
415
|
+
end
|
416
|
+
end
|
417
|
+
|
418
|
+
if attributes.key?(:'beneficial_owners_city')
|
419
|
+
if (value = attributes[:'beneficial_owners_city']).is_a?(Array)
|
420
|
+
self.beneficial_owners_city = value
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
if attributes.key?(:'beneficial_owners_region')
|
425
|
+
if (value = attributes[:'beneficial_owners_region']).is_a?(Array)
|
426
|
+
self.beneficial_owners_region = value
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
if attributes.key?(:'beneficial_owners_postal_code')
|
431
|
+
if (value = attributes[:'beneficial_owners_postal_code']).is_a?(Array)
|
432
|
+
self.beneficial_owners_postal_code = value
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
if attributes.key?(:'beneficial_owners_date_of_birth')
|
437
|
+
if (value = attributes[:'beneficial_owners_date_of_birth']).is_a?(Array)
|
438
|
+
self.beneficial_owners_date_of_birth = value
|
439
|
+
end
|
440
|
+
end
|
441
|
+
|
442
|
+
if attributes.key?(:'beneficial_owners_taxpayer_id')
|
443
|
+
if (value = attributes[:'beneficial_owners_taxpayer_id']).is_a?(Array)
|
444
|
+
self.beneficial_owners_taxpayer_id = value
|
445
|
+
end
|
446
|
+
end
|
302
447
|
end
|
303
448
|
|
304
449
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -306,6 +451,10 @@ module DealMakerAPI
|
|
306
451
|
def list_invalid_properties
|
307
452
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
308
453
|
invalid_properties = Array.new
|
454
|
+
if @beneficial_owners_index.nil?
|
455
|
+
invalid_properties.push('invalid value for "beneficial_owners_index", beneficial_owners_index cannot be nil.')
|
456
|
+
end
|
457
|
+
|
309
458
|
invalid_properties
|
310
459
|
end
|
311
460
|
|
@@ -317,6 +466,7 @@ module DealMakerAPI
|
|
317
466
|
return false unless us_accredited_category_validator.valid?(@us_accredited_category)
|
318
467
|
ca_accredited_investor_validator = EnumAttributeValidator.new('String', ["a", "b", "c", "d", "f", "g", "h", "i", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "x"])
|
319
468
|
return false unless ca_accredited_investor_validator.valid?(@ca_accredited_investor)
|
469
|
+
return false if @beneficial_owners_index.nil?
|
320
470
|
true
|
321
471
|
end
|
322
472
|
|
@@ -369,7 +519,20 @@ module DealMakerAPI
|
|
369
519
|
signing_officer_region == o.signing_officer_region &&
|
370
520
|
signing_officer_postal_code == o.signing_officer_postal_code &&
|
371
521
|
signing_officer_date_of_birth == o.signing_officer_date_of_birth &&
|
372
|
-
signing_officer_taxpayer_id == o.signing_officer_taxpayer_id
|
522
|
+
signing_officer_taxpayer_id == o.signing_officer_taxpayer_id &&
|
523
|
+
beneficial_owners_index == o.beneficial_owners_index &&
|
524
|
+
beneficial_owners__delete == o.beneficial_owners__delete &&
|
525
|
+
beneficial_owners_first_name == o.beneficial_owners_first_name &&
|
526
|
+
beneficial_owners_last_name == o.beneficial_owners_last_name &&
|
527
|
+
beneficial_owners_suffix == o.beneficial_owners_suffix &&
|
528
|
+
beneficial_owners_country == o.beneficial_owners_country &&
|
529
|
+
beneficial_owners_street_address == o.beneficial_owners_street_address &&
|
530
|
+
beneficial_owners_unit2 == o.beneficial_owners_unit2 &&
|
531
|
+
beneficial_owners_city == o.beneficial_owners_city &&
|
532
|
+
beneficial_owners_region == o.beneficial_owners_region &&
|
533
|
+
beneficial_owners_postal_code == o.beneficial_owners_postal_code &&
|
534
|
+
beneficial_owners_date_of_birth == o.beneficial_owners_date_of_birth &&
|
535
|
+
beneficial_owners_taxpayer_id == o.beneficial_owners_taxpayer_id
|
373
536
|
end
|
374
537
|
|
375
538
|
# @see the `==` method
|
@@ -381,7 +544,7 @@ module DealMakerAPI
|
|
381
544
|
# Calculates hash code according to all attributes.
|
382
545
|
# @return [Integer] Hash code
|
383
546
|
def hash
|
384
|
-
[us_accredited_category, ca_accredited_investor, name, country, street_address, unit2, city, region, postal_code, business_number, phone_number, income, net_worth, reg_cf_prior_offerings_amount, signing_officer_first_name, signing_officer_last_name, signing_officer_suffix, signing_officer_country, signing_officer_street_address, signing_officer_unit2, signing_officer_city, signing_officer_region, signing_officer_postal_code, signing_officer_date_of_birth, signing_officer_taxpayer_id].hash
|
547
|
+
[us_accredited_category, ca_accredited_investor, name, country, street_address, unit2, city, region, postal_code, business_number, phone_number, income, net_worth, reg_cf_prior_offerings_amount, signing_officer_first_name, signing_officer_last_name, signing_officer_suffix, signing_officer_country, signing_officer_street_address, signing_officer_unit2, signing_officer_city, signing_officer_region, signing_officer_postal_code, signing_officer_date_of_birth, signing_officer_taxpayer_id, beneficial_owners_index, beneficial_owners__delete, beneficial_owners_first_name, beneficial_owners_last_name, beneficial_owners_suffix, beneficial_owners_country, beneficial_owners_street_address, beneficial_owners_unit2, beneficial_owners_city, beneficial_owners_region, beneficial_owners_postal_code, beneficial_owners_date_of_birth, beneficial_owners_taxpayer_id].hash
|
385
548
|
end
|
386
549
|
|
387
550
|
# Builds the object from hash
|
data/lib/DealMakerAPI/version.rb
CHANGED
@@ -126,8 +126,8 @@ describe 'InvestorProfileApi' do
|
|
126
126
|
# Patch a corporation investor profile
|
127
127
|
# Patch corporation investor profile
|
128
128
|
# @param investor_profile_id
|
129
|
+
# @param patch_corporation_profile_request
|
129
130
|
# @param [Hash] opts the optional parameters
|
130
|
-
# @option opts [PatchCorporationProfileRequest] :patch_corporation_profile_request
|
131
131
|
# @return [V1EntitiesInvestorProfileCorporation]
|
132
132
|
describe 'patch_corporation_profile test' do
|
133
133
|
it 'should work' do
|
@@ -31,4 +31,10 @@ describe DealMakerAPI::BulkUploadInvestorsRequest do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
+
describe 'test attribute "alerts_email"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
34
40
|
end
|
@@ -43,4 +43,16 @@ describe DealMakerAPI::CreateBulkUploadRequest do
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
+
describe 'test attribute "send_notification"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "notification_message"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
46
58
|
end
|
@@ -219,7 +219,7 @@ describe DealMakerAPI::CreateCorporationProfileRequest do
|
|
219
219
|
end
|
220
220
|
end
|
221
221
|
|
222
|
-
describe 'test attribute "
|
222
|
+
describe 'test attribute "beneficial_owners_unit2"' do
|
223
223
|
it 'should work' do
|
224
224
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
225
225
|
end
|
@@ -153,7 +153,7 @@ describe DealMakerAPI::CreateTrustProfileRequest do
|
|
153
153
|
end
|
154
154
|
end
|
155
155
|
|
156
|
-
describe 'test attribute "
|
156
|
+
describe 'test attribute "trustees_unit2"' do
|
157
157
|
it 'should work' do
|
158
158
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
159
159
|
end
|
@@ -183,4 +183,82 @@ describe DealMakerAPI::PatchCorporationProfileRequest do
|
|
183
183
|
end
|
184
184
|
end
|
185
185
|
|
186
|
+
describe 'test attribute "beneficial_owners_index"' do
|
187
|
+
it 'should work' do
|
188
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
describe 'test attribute "beneficial_owners__delete"' do
|
193
|
+
it 'should work' do
|
194
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
describe 'test attribute "beneficial_owners_first_name"' do
|
199
|
+
it 'should work' do
|
200
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
describe 'test attribute "beneficial_owners_last_name"' do
|
205
|
+
it 'should work' do
|
206
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
describe 'test attribute "beneficial_owners_suffix"' do
|
211
|
+
it 'should work' do
|
212
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
describe 'test attribute "beneficial_owners_country"' do
|
217
|
+
it 'should work' do
|
218
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
describe 'test attribute "beneficial_owners_street_address"' do
|
223
|
+
it 'should work' do
|
224
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
describe 'test attribute "beneficial_owners_unit2"' do
|
229
|
+
it 'should work' do
|
230
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
describe 'test attribute "beneficial_owners_city"' do
|
235
|
+
it 'should work' do
|
236
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
240
|
+
describe 'test attribute "beneficial_owners_region"' do
|
241
|
+
it 'should work' do
|
242
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
describe 'test attribute "beneficial_owners_postal_code"' do
|
247
|
+
it 'should work' do
|
248
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
describe 'test attribute "beneficial_owners_date_of_birth"' do
|
253
|
+
it 'should work' do
|
254
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
describe 'test attribute "beneficial_owners_taxpayer_id"' do
|
259
|
+
it 'should work' do
|
260
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
186
264
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: DealMakerAPI
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.85.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DealMaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -337,87 +337,87 @@ signing_key:
|
|
337
337
|
specification_version: 4
|
338
338
|
summary: A ruby wrapper for the DealMaker API
|
339
339
|
test_files:
|
340
|
-
- spec/api/deals_api_spec.rb
|
341
|
-
- spec/api/company_api_spec.rb
|
342
340
|
- spec/api/shareholder_api_spec.rb
|
343
|
-
- spec/api/upload_api_spec.rb
|
344
341
|
- spec/api/deal_setup_api_spec.rb
|
345
|
-
- spec/api/
|
342
|
+
- spec/api/default_api_spec.rb
|
343
|
+
- spec/api/upload_api_spec.rb
|
346
344
|
- spec/api/investor_profile_api_spec.rb
|
347
345
|
- spec/api/deal_api_spec.rb
|
348
|
-
- spec/api/
|
346
|
+
- spec/api/company_api_spec.rb
|
347
|
+
- spec/api/deals_api_spec.rb
|
348
|
+
- spec/api/investor_api_spec.rb
|
349
349
|
- spec/api_client_spec.rb
|
350
350
|
- spec/configuration_spec.rb
|
351
|
-
- spec/models/
|
352
|
-
- spec/models/
|
351
|
+
- spec/models/v1_entities_deal_funding_metrics_spec.rb
|
352
|
+
- spec/models/v1_entities_investor_profile_individual_spec.rb
|
353
|
+
- spec/models/add_document_request_spec.rb
|
354
|
+
- spec/models/v1_entities_subscription_agreement_spec.rb
|
355
|
+
- spec/models/v1_entities_investor_profile_owner_spec.rb
|
356
|
+
- spec/models/v1_entities_webhooks_security_token_spec.rb
|
357
|
+
- spec/models/generate_url_request_spec.rb
|
353
358
|
- spec/models/put_webhooks_id_request_spec.rb
|
359
|
+
- spec/models/v1_entities_deal_setup_spec.rb
|
360
|
+
- spec/models/v1_entities_shareholders_tags_spec.rb
|
361
|
+
- spec/models/v1_entities_investors_spec.rb
|
362
|
+
- spec/models/v1_entities_investor_user_spec.rb
|
363
|
+
- spec/models/create_bulk_upload_request_spec.rb
|
364
|
+
- spec/models/put_deals_id_script_tag_environment_request_spec.rb
|
354
365
|
- spec/models/v1_entities_company_deal_spec.rb
|
355
|
-
- spec/models/
|
356
|
-
- spec/models/create_deal_setup_request_spec.rb
|
357
|
-
- spec/models/generate_url_request_spec.rb
|
358
|
-
- spec/models/v1_entities_investor_otp_access_link_spec.rb
|
359
|
-
- spec/models/v1_entities_webhooks_subscription_deal_spec.rb
|
360
|
-
- spec/models/v1_entities_investor_profiles_spec.rb
|
361
|
-
- spec/models/v1_entities_bulk_upload_spec.rb
|
362
|
-
- spec/models/v1_entities_investor_profile_owner_spec.rb
|
363
|
-
- spec/models/v1_entities_shareholders_spec.rb
|
364
|
-
- spec/models/add_document_request_spec.rb
|
365
|
-
- spec/models/v1_entities_investor_profile_fields_primary_holder_spec.rb
|
366
|
-
- spec/models/v1_entities_bulk_uploads_spec.rb
|
366
|
+
- spec/models/patch_joint_profile_request_spec.rb
|
367
367
|
- spec/models/create_bulk_upload_detail_request_spec.rb
|
368
|
+
- spec/models/v1_entities_company_deals_spec.rb
|
369
|
+
- spec/models/v1_entities_investor_profile_fields_corporation_spec.rb
|
370
|
+
- spec/models/v1_entities_webhooks_subscription_spec.rb
|
371
|
+
- spec/models/post_webhooks_request_spec.rb
|
372
|
+
- spec/models/v1_entities_webhooks_subscription_deals_spec.rb
|
373
|
+
- spec/models/update_investor_request_spec.rb
|
374
|
+
- spec/models/v1_entities_bulk_upload_details_spec.rb
|
375
|
+
- spec/models/create_shareholder_action_request_spec.rb
|
376
|
+
- spec/models/v1_entities_webhooks_deal_spec.rb
|
368
377
|
- spec/models/v1_entities_bulk_upload_detail_spec.rb
|
369
|
-
- spec/models/
|
370
|
-
- spec/models/
|
371
|
-
- spec/models/v1_entities_investor_profile_item_spec.rb
|
372
|
-
- spec/models/v1_entities_company_spec.rb
|
373
|
-
- spec/models/create_corporation_profile_request_spec.rb
|
374
|
-
- spec/models/v1_entities_investor_profile_fields_account_holder_spec.rb
|
375
|
-
- spec/models/bulk_upload_investors_request_spec.rb
|
378
|
+
- spec/models/create_company_request_spec.rb
|
379
|
+
- spec/models/patch_trust_profile_request_spec.rb
|
376
380
|
- spec/models/v1_entities_express_wire_instruction_spec.rb
|
377
|
-
- spec/models/
|
378
|
-
- spec/models/
|
379
|
-
- spec/models/
|
380
|
-
- spec/models/
|
381
|
-
- spec/models/
|
382
|
-
- spec/models/
|
383
|
-
- spec/models/create_bulk_upload_request_spec.rb
|
384
|
-
- spec/models/v1_entities_deal_issuer_spec.rb
|
381
|
+
- spec/models/v1_entities_webhooks_subscription_deal_spec.rb
|
382
|
+
- spec/models/create_trust_profile_request_spec.rb
|
383
|
+
- spec/models/v1_entities_investor_otp_access_link_spec.rb
|
384
|
+
- spec/models/create_deal_setup_request_spec.rb
|
385
|
+
- spec/models/v1_entities_bulk_uploads_spec.rb
|
386
|
+
- spec/models/v1_entities_deals_spec.rb
|
385
387
|
- spec/models/v1_entities_investor_profile_fields_trust_spec.rb
|
386
|
-
- spec/models/
|
387
|
-
- spec/models/v1_entities_addresses_spec.rb
|
388
|
-
- spec/models/v1_entities_bulk_upload_details_spec.rb
|
389
|
-
- spec/models/v1_entities_attachment_spec.rb
|
390
|
-
- spec/models/v1_entities_webhooks_subscription_spec.rb
|
391
|
-
- spec/models/v1_entities_deal_setup_spec.rb
|
388
|
+
- spec/models/v1_entities_address_spec.rb
|
392
389
|
- spec/models/edit_investor_tags_request_spec.rb
|
393
|
-
- spec/models/
|
394
|
-
- spec/models/
|
395
|
-
- spec/models/
|
396
|
-
- spec/models/
|
397
|
-
- spec/models/
|
390
|
+
- spec/models/v1_entities_investor_profile_fields_primary_holder_spec.rb
|
391
|
+
- spec/models/v1_entities_background_check_search_spec.rb
|
392
|
+
- spec/models/v1_entities_express_wire_instructions_spec.rb
|
393
|
+
- spec/models/patch_individual_profile_request_spec.rb
|
394
|
+
- spec/models/v1_entities_deal_issuer_spec.rb
|
395
|
+
- spec/models/add506c_document_request_spec.rb
|
396
|
+
- spec/models/v1_entities_shareholder_spec.rb
|
397
|
+
- spec/models/create_corporation_profile_request_spec.rb
|
398
|
+
- spec/models/v1_entities_investor_profile_joint_spec.rb
|
398
399
|
- spec/models/v1_entities_investor_profile_address_spec.rb
|
399
|
-
- spec/models/v1_entities_deal_spec.rb
|
400
|
-
- spec/models/v1_entities_address_spec.rb
|
401
400
|
- spec/models/v1_entities_generic_response_spec.rb
|
402
|
-
- spec/models/
|
403
|
-
- spec/models/
|
404
|
-
- spec/models/
|
405
|
-
- spec/models/v1_entities_subscription_agreement_spec.rb
|
406
|
-
- spec/models/create_shareholder_action_request_spec.rb
|
407
|
-
- spec/models/create_company_request_spec.rb
|
408
|
-
- spec/models/v1_entities_shareholder_spec.rb
|
409
|
-
- spec/models/v1_entities_presigned_url_result_spec.rb
|
410
|
-
- spec/models/create_individual_profile_request_spec.rb
|
411
|
-
- spec/models/patch_individual_profile_request_spec.rb
|
401
|
+
- spec/models/patch_investor_request_spec.rb
|
402
|
+
- spec/models/v1_entities_deal_investor_metrics_spec.rb
|
403
|
+
- spec/models/v1_entities_deal_spec.rb
|
412
404
|
- spec/models/create_joint_profile_request_spec.rb
|
413
|
-
- spec/models/
|
414
|
-
- spec/models/
|
415
|
-
- spec/models/
|
416
|
-
- spec/models/
|
417
|
-
- spec/models/
|
418
|
-
- spec/models/
|
419
|
-
- spec/models/
|
420
|
-
- spec/models/v1_entities_deal_funding_metrics_spec.rb
|
421
|
-
- spec/models/patch_trust_profile_request_spec.rb
|
405
|
+
- spec/models/v1_entities_shareholders_spec.rb
|
406
|
+
- spec/models/bulk_upload_investors_request_spec.rb
|
407
|
+
- spec/models/v1_entities_investor_spec.rb
|
408
|
+
- spec/models/v1_entities_attachment_spec.rb
|
409
|
+
- spec/models/v1_entities_investor_profiles_spec.rb
|
410
|
+
- spec/models/v1_entities_bulk_upload_spec.rb
|
411
|
+
- spec/models/v1_entities_investor_profile_corporation_spec.rb
|
422
412
|
- spec/models/v1_entities_deal_enterprise_spec.rb
|
413
|
+
- spec/models/v1_entities_company_spec.rb
|
414
|
+
- spec/models/v1_entities_addresses_spec.rb
|
415
|
+
- spec/models/create_investor_request_spec.rb
|
416
|
+
- spec/models/v1_entities_investor_profile_fields_account_holder_spec.rb
|
417
|
+
- spec/models/patch_corporation_profile_request_spec.rb
|
418
|
+
- spec/models/v1_entities_deal_setup_user_spec.rb
|
419
|
+
- spec/models/create_individual_profile_request_spec.rb
|
420
|
+
- spec/models/v1_entities_investor_profile_trust_spec.rb
|
421
|
+
- spec/models/v1_entities_presigned_url_result_spec.rb
|
422
|
+
- spec/models/v1_entities_investor_profile_item_spec.rb
|
423
423
|
- spec/spec_helper.rb
|