DealMakerAPI 0.84.4 → 0.85.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/DealMakerAPI.gemspec +1 -1
- data/README.md +6 -5
- data/docs/BulkUploadInvestorsRequest.md +3 -1
- data/docs/CompanyApi.md +1 -1
- data/docs/CreateBulkUploadRequest.md +5 -1
- data/docs/CreateCorporationProfileRequest.md +7 -3
- data/docs/CreateTrustProfileRequest.md +2 -2
- data/docs/InvestorProfileApi.md +6 -8
- data/docs/PatchCorporationProfileRequest.md +31 -1
- data/docs/V1EntitiesInvestorProfileCorporation.md +2 -2
- data/docs/V1EntitiesInvestorProfileFieldsSigningOfficer.md +30 -0
- data/lib/DealMakerAPI/api/company_api.rb +1 -1
- data/lib/DealMakerAPI/api/deal_api.rb +1 -1
- data/lib/DealMakerAPI/api/deal_setup_api.rb +1 -1
- data/lib/DealMakerAPI/api/deals_api.rb +1 -1
- data/lib/DealMakerAPI/api/default_api.rb +1 -1
- data/lib/DealMakerAPI/api/investor_api.rb +1 -1
- data/lib/DealMakerAPI/api/investor_profile_api.rb +11 -7
- data/lib/DealMakerAPI/api/shareholder_api.rb +1 -1
- data/lib/DealMakerAPI/api/upload_api.rb +1 -1
- data/lib/DealMakerAPI/api_client.rb +1 -1
- data/lib/DealMakerAPI/api_error.rb +1 -1
- data/lib/DealMakerAPI/configuration.rb +3 -3
- data/lib/DealMakerAPI/models/add506c_document_request.rb +1 -1
- data/lib/DealMakerAPI/models/add_document_request.rb +1 -1
- data/lib/DealMakerAPI/models/bulk_upload_investors_request.rb +15 -5
- data/lib/DealMakerAPI/models/create_bulk_upload_detail_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_bulk_upload_request.rb +39 -5
- data/lib/DealMakerAPI/models/create_company_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_corporation_profile_request.rb +34 -12
- data/lib/DealMakerAPI/models/create_deal_setup_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_individual_profile_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_investor_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_joint_profile_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_shareholder_action_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_trust_profile_request.rb +9 -9
- data/lib/DealMakerAPI/models/edit_investor_tags_request.rb +1 -1
- data/lib/DealMakerAPI/models/generate_url_request.rb +1 -1
- data/lib/DealMakerAPI/models/patch_corporation_profile_request.rb +190 -5
- data/lib/DealMakerAPI/models/patch_individual_profile_request.rb +1 -1
- data/lib/DealMakerAPI/models/patch_investor_request.rb +1 -1
- data/lib/DealMakerAPI/models/patch_joint_profile_request.rb +1 -1
- data/lib/DealMakerAPI/models/patch_trust_profile_request.rb +1 -1
- data/lib/DealMakerAPI/models/post_webhooks_request.rb +1 -1
- data/lib/DealMakerAPI/models/put_deals_id_script_tag_environment_request.rb +1 -1
- data/lib/DealMakerAPI/models/put_webhooks_id_request.rb +1 -1
- data/lib/DealMakerAPI/models/update_investor_request.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_address.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_addresses.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_attachment.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_background_check_search.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_bulk_upload.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_bulk_upload_detail.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_bulk_upload_details.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_bulk_uploads.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_company.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_company_deal.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_company_deals.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_enterprise.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_funding_metrics.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_investor_metrics.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_issuer.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_setup.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_setup_user.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_express_wire_instruction.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_express_wire_instructions.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_generic_response.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_otp_access_link.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_address.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_corporation.rb +3 -3
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_account_holder.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_corporation.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_primary_holder.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_signing_officer.rb +274 -0
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_trust.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_individual.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_item.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_joint.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_owner.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_trust.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profiles.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_user.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investors.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_presigned_url_result.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_shareholder.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_shareholders.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_shareholders_tags.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_subscription_agreement.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_deal.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_security_token.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deal.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deals.rb +1 -1
- data/lib/DealMakerAPI/version.rb +2 -2
- data/lib/DealMakerAPI.rb +2 -1
- data/spec/api/company_api_spec.rb +1 -1
- data/spec/api/deal_api_spec.rb +1 -1
- data/spec/api/deal_setup_api_spec.rb +1 -1
- data/spec/api/deals_api_spec.rb +1 -1
- data/spec/api/default_api_spec.rb +1 -1
- data/spec/api/investor_api_spec.rb +1 -1
- data/spec/api/investor_profile_api_spec.rb +2 -2
- data/spec/api/shareholder_api_spec.rb +1 -1
- data/spec/api/upload_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/add506c_document_request_spec.rb +1 -1
- data/spec/models/add_document_request_spec.rb +1 -1
- data/spec/models/bulk_upload_investors_request_spec.rb +7 -1
- data/spec/models/create_bulk_upload_detail_request_spec.rb +1 -1
- data/spec/models/create_bulk_upload_request_spec.rb +13 -1
- data/spec/models/create_company_request_spec.rb +1 -1
- data/spec/models/create_corporation_profile_request_spec.rb +14 -2
- data/spec/models/create_deal_setup_request_spec.rb +1 -1
- data/spec/models/create_individual_profile_request_spec.rb +1 -1
- data/spec/models/create_investor_request_spec.rb +1 -1
- data/spec/models/create_joint_profile_request_spec.rb +1 -1
- data/spec/models/create_shareholder_action_request_spec.rb +1 -1
- data/spec/models/create_trust_profile_request_spec.rb +2 -2
- data/spec/models/edit_investor_tags_request_spec.rb +1 -1
- data/spec/models/generate_url_request_spec.rb +1 -1
- data/spec/models/patch_corporation_profile_request_spec.rb +91 -1
- data/spec/models/patch_individual_profile_request_spec.rb +1 -1
- data/spec/models/patch_investor_request_spec.rb +1 -1
- data/spec/models/patch_joint_profile_request_spec.rb +1 -1
- data/spec/models/patch_trust_profile_request_spec.rb +1 -1
- data/spec/models/post_webhooks_request_spec.rb +1 -1
- data/spec/models/put_deals_id_script_tag_environment_request_spec.rb +1 -1
- data/spec/models/put_webhooks_id_request_spec.rb +1 -1
- data/spec/models/update_investor_request_spec.rb +1 -1
- data/spec/models/v1_entities_address_spec.rb +1 -1
- data/spec/models/v1_entities_addresses_spec.rb +1 -1
- data/spec/models/v1_entities_attachment_spec.rb +1 -1
- data/spec/models/v1_entities_background_check_search_spec.rb +1 -1
- data/spec/models/v1_entities_bulk_upload_detail_spec.rb +1 -1
- data/spec/models/v1_entities_bulk_upload_details_spec.rb +1 -1
- data/spec/models/v1_entities_bulk_upload_spec.rb +1 -1
- data/spec/models/v1_entities_bulk_uploads_spec.rb +1 -1
- data/spec/models/v1_entities_company_deal_spec.rb +1 -1
- data/spec/models/v1_entities_company_deals_spec.rb +1 -1
- data/spec/models/v1_entities_company_spec.rb +1 -1
- data/spec/models/v1_entities_deal_enterprise_spec.rb +1 -1
- data/spec/models/v1_entities_deal_funding_metrics_spec.rb +1 -1
- data/spec/models/v1_entities_deal_investor_metrics_spec.rb +1 -1
- data/spec/models/v1_entities_deal_issuer_spec.rb +1 -1
- data/spec/models/v1_entities_deal_setup_spec.rb +1 -1
- data/spec/models/v1_entities_deal_setup_user_spec.rb +1 -1
- data/spec/models/v1_entities_deal_spec.rb +1 -1
- data/spec/models/v1_entities_deals_spec.rb +1 -1
- data/spec/models/v1_entities_express_wire_instruction_spec.rb +1 -1
- data/spec/models/v1_entities_express_wire_instructions_spec.rb +1 -1
- data/spec/models/v1_entities_generic_response_spec.rb +1 -1
- data/spec/models/v1_entities_investor_otp_access_link_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_address_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_corporation_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_account_holder_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_corporation_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_primary_holder_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_signing_officer_spec.rb +70 -0
- data/spec/models/v1_entities_investor_profile_fields_trust_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_individual_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_item_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_joint_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_owner_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_trust_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profiles_spec.rb +1 -1
- data/spec/models/v1_entities_investor_spec.rb +1 -1
- data/spec/models/v1_entities_investor_user_spec.rb +1 -1
- data/spec/models/v1_entities_investors_spec.rb +1 -1
- data/spec/models/v1_entities_presigned_url_result_spec.rb +1 -1
- data/spec/models/v1_entities_shareholder_spec.rb +1 -1
- data/spec/models/v1_entities_shareholders_spec.rb +1 -1
- data/spec/models/v1_entities_shareholders_tags_spec.rb +1 -1
- data/spec/models/v1_entities_subscription_agreement_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_deal_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_security_token_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_subscription_deal_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_subscription_deals_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_subscription_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +72 -68
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc3506493e4d81f58b8d82eeca61be7bd2d5d4b7d67c36a4674f88f3f40e90fc
|
4
|
+
data.tar.gz: ec8c9dd363bf48772d43c90c6b2a2a4e82f291720bdc11138ec6583b66e053bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e847086c06bc3f4c76f3cfe81f063434de6a809ff45d3803e8c44a2dee218988e3582b307b1a6ee768c58e5a7631562522e56f96e7b49a926c56fc1acf1588df
|
7
|
+
data.tar.gz: 581daf89bf9afb072ff32eb52951ff35772668adecee5420d7a09eb5f1467c03a5ac7af07725d3948528a0ad7843ad5809fb16925b3ae77aadb846b3f21a0ffc
|
data/DealMakerAPI.gemspec
CHANGED
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.3
|
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.3.gem
|
358
358
|
```
|
359
359
|
|
360
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.
|
360
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.85.3.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.3'
|
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
|
@@ -516,6 +516,7 @@ Class | Method | HTTP request | Description
|
|
516
516
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsAccountHolder](docs/V1EntitiesInvestorProfileFieldsAccountHolder.md)
|
517
517
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsCorporation](docs/V1EntitiesInvestorProfileFieldsCorporation.md)
|
518
518
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsPrimaryHolder](docs/V1EntitiesInvestorProfileFieldsPrimaryHolder.md)
|
519
|
+
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsSigningOfficer](docs/V1EntitiesInvestorProfileFieldsSigningOfficer.md)
|
519
520
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsTrust](docs/V1EntitiesInvestorProfileFieldsTrust.md)
|
520
521
|
- [DealMakerAPI::V1EntitiesInvestorProfileIndividual](docs/V1EntitiesInvestorProfileIndividual.md)
|
521
522
|
- [DealMakerAPI::V1EntitiesInvestorProfileItem](docs/V1EntitiesInvestorProfileItem.md)
|
@@ -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
|
|
@@ -30,17 +30,19 @@
|
|
30
30
|
| **signing_officer_postal_code** | **String** | The postal code or zipcode of the signing officer (required). | [optional] |
|
31
31
|
| **signing_officer_date_of_birth** | **String** | The date of birth of the signing officer (required). | [optional] |
|
32
32
|
| **signing_officer_taxpayer_id** | **String** | The taxpayer identification number of the signing officer (required). | [optional] |
|
33
|
+
| **signing_officer_phone_number** | **String** | The phone number of the signing officer (required). | [optional] |
|
33
34
|
| **beneficial_owners_first_name** | **Array<String>** | The list of first names for the beneficial owners (required for beneficial owner 1). | [optional] |
|
34
35
|
| **beneficial_owners_last_name** | **Array<String>** | The list of last names for the beneficial owners (required for beneficial owner 1). | [optional] |
|
35
36
|
| **beneficial_owners_suffix** | **Array<String>** | The list of suffixes for the beneficial owners. | [optional] |
|
36
37
|
| **beneficial_owners_country** | **Array<String>** | The list of countries for the beneficial owners (required for beneficial owner 1). | [optional] |
|
37
38
|
| **beneficial_owners_street_address** | **Array<String>** | The list of street addresses for the beneficial owners (required for beneficial owner 1). | [optional] |
|
38
|
-
| **
|
39
|
+
| **beneficial_owners_unit2** | **Array<String>** | The list of street address line 2 for the beneficial owners. | [optional] |
|
39
40
|
| **beneficial_owners_city** | **Array<String>** | The list of cities for the beneficial owners (required for beneficial owner 1). | [optional] |
|
40
41
|
| **beneficial_owners_region** | **Array<String>** | The list of region or states for the beneficial owners (required for beneficial owner 1). | [optional] |
|
41
42
|
| **beneficial_owners_postal_code** | **Array<String>** | The list of postal codes or zipcodes for the beneficial owners (required for beneficial owner 1). | [optional] |
|
42
43
|
| **beneficial_owners_date_of_birth** | **Array<String>** | The list of dates of birth for the beneficial owners (required for beneficial owner 1). | [optional] |
|
43
44
|
| **beneficial_owners_taxpayer_id** | **Array<String>** | The list of taxpayer identification numbers for the beneficial owners (required for beneficial owner 1). | [optional] |
|
45
|
+
| **beneficial_owners_phone_number** | **Array<String>** | The list of phone numbers for the beneficial owners (required for beneficial owner 1). | [optional] |
|
44
46
|
|
45
47
|
## Example
|
46
48
|
|
@@ -74,17 +76,19 @@ instance = DealMakerAPI::CreateCorporationProfileRequest.new(
|
|
74
76
|
signing_officer_postal_code: null,
|
75
77
|
signing_officer_date_of_birth: null,
|
76
78
|
signing_officer_taxpayer_id: null,
|
79
|
+
signing_officer_phone_number: null,
|
77
80
|
beneficial_owners_first_name: null,
|
78
81
|
beneficial_owners_last_name: null,
|
79
82
|
beneficial_owners_suffix: null,
|
80
83
|
beneficial_owners_country: null,
|
81
84
|
beneficial_owners_street_address: null,
|
82
|
-
|
85
|
+
beneficial_owners_unit2: null,
|
83
86
|
beneficial_owners_city: null,
|
84
87
|
beneficial_owners_region: null,
|
85
88
|
beneficial_owners_postal_code: null,
|
86
89
|
beneficial_owners_date_of_birth: null,
|
87
|
-
beneficial_owners_taxpayer_id: null
|
90
|
+
beneficial_owners_taxpayer_id: null,
|
91
|
+
beneficial_owners_phone_number: null
|
88
92
|
)
|
89
93
|
```
|
90
94
|
|
@@ -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,21 @@
|
|
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
|
+
| **signing_officer_phone_number** | **String** | The phone number of the signing officer (required). | [optional] |
|
33
|
+
| **beneficial_owners_index** | **Array<Integer>** | The index of the beneficial owner. | |
|
34
|
+
| **beneficial_owners__delete** | **Array<Boolean>** | If true, this entry will be cleared. | [optional] |
|
35
|
+
| **beneficial_owners_first_name** | **Array<String>** | The list of first names for the beneficial owners (required for beneficial owner 1). | [optional] |
|
36
|
+
| **beneficial_owners_last_name** | **Array<String>** | The list of last names for the beneficial owners (required for beneficial owner 1). | [optional] |
|
37
|
+
| **beneficial_owners_suffix** | **Array<String>** | The list of suffixes for the beneficial owners. | [optional] |
|
38
|
+
| **beneficial_owners_country** | **Array<String>** | The list of countries for the beneficial owners (required for beneficial owner 1). | [optional] |
|
39
|
+
| **beneficial_owners_street_address** | **Array<String>** | The list of street addresses for the beneficial owners (required for beneficial owner 1). | [optional] |
|
40
|
+
| **beneficial_owners_unit2** | **Array<String>** | The list of street address line 2 for the beneficial owners. | [optional] |
|
41
|
+
| **beneficial_owners_city** | **Array<String>** | The list of cities for the beneficial owners (required for beneficial owner 1). | [optional] |
|
42
|
+
| **beneficial_owners_region** | **Array<String>** | The list of region or states for the beneficial owners (required for beneficial owner 1). | [optional] |
|
43
|
+
| **beneficial_owners_postal_code** | **Array<String>** | The list of postal codes or zipcodes for the beneficial owners (required for beneficial owner 1). | [optional] |
|
44
|
+
| **beneficial_owners_date_of_birth** | **Array<String>** | The list of dates of birth for the beneficial owners (required for beneficial owner 1). | [optional] |
|
45
|
+
| **beneficial_owners_taxpayer_id** | **Array<String>** | The list of taxpayer identification numbers for the beneficial owners (required for beneficial owner 1). | [optional] |
|
46
|
+
| **beneficial_owners_phone_number** | **Array<String>** | The list of phone numbers for the beneficial owners (required for beneficial owner 1). | [optional] |
|
32
47
|
|
33
48
|
## Example
|
34
49
|
|
@@ -60,7 +75,22 @@ instance = DealMakerAPI::PatchCorporationProfileRequest.new(
|
|
60
75
|
signing_officer_region: null,
|
61
76
|
signing_officer_postal_code: null,
|
62
77
|
signing_officer_date_of_birth: null,
|
63
|
-
signing_officer_taxpayer_id: null
|
78
|
+
signing_officer_taxpayer_id: null,
|
79
|
+
signing_officer_phone_number: null,
|
80
|
+
beneficial_owners_index: null,
|
81
|
+
beneficial_owners__delete: null,
|
82
|
+
beneficial_owners_first_name: null,
|
83
|
+
beneficial_owners_last_name: null,
|
84
|
+
beneficial_owners_suffix: null,
|
85
|
+
beneficial_owners_country: null,
|
86
|
+
beneficial_owners_street_address: null,
|
87
|
+
beneficial_owners_unit2: null,
|
88
|
+
beneficial_owners_city: null,
|
89
|
+
beneficial_owners_region: null,
|
90
|
+
beneficial_owners_postal_code: null,
|
91
|
+
beneficial_owners_date_of_birth: null,
|
92
|
+
beneficial_owners_taxpayer_id: null,
|
93
|
+
beneficial_owners_phone_number: null
|
64
94
|
)
|
65
95
|
```
|
66
96
|
|
@@ -14,8 +14,8 @@
|
|
14
14
|
| **owner_type** | **String** | Type of the investor profile owner | [optional] |
|
15
15
|
| **owner** | [**V1EntitiesInvestorProfileOwner**](V1EntitiesInvestorProfileOwner.md) | | [optional] |
|
16
16
|
| **corporation** | [**V1EntitiesInvestorProfileFieldsCorporation**](V1EntitiesInvestorProfileFieldsCorporation.md) | | [optional] |
|
17
|
-
| **signing_officer** | [**
|
18
|
-
| **beneficial_owners** | [**
|
17
|
+
| **signing_officer** | [**V1EntitiesInvestorProfileFieldsSigningOfficer**](V1EntitiesInvestorProfileFieldsSigningOfficer.md) | | [optional] |
|
18
|
+
| **beneficial_owners** | [**V1EntitiesInvestorProfileFieldsSigningOfficer**](V1EntitiesInvestorProfileFieldsSigningOfficer.md) | | [optional] |
|
19
19
|
|
20
20
|
## Example
|
21
21
|
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# DealMakerAPI::V1EntitiesInvestorProfileFieldsSigningOfficer
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **first_name** | **String** | Investor profile first name | [optional] |
|
8
|
+
| **last_name** | **String** | Investor profile last name | [optional] |
|
9
|
+
| **suffix** | **String** | Investor profile suffix | [optional] |
|
10
|
+
| **date_of_birth** | **String** | The date of birth | [optional] |
|
11
|
+
| **taxpayer_id** | **String** | The taxpayer identification number | [optional] |
|
12
|
+
| **address** | [**V1EntitiesInvestorProfileAddress**](V1EntitiesInvestorProfileAddress.md) | | [optional] |
|
13
|
+
| **phone_number** | **String** | Signing officer phone number | [optional] |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'DealMakerAPI'
|
19
|
+
|
20
|
+
instance = DealMakerAPI::V1EntitiesInvestorProfileFieldsSigningOfficer.new(
|
21
|
+
first_name: null,
|
22
|
+
last_name: null,
|
23
|
+
suffix: null,
|
24
|
+
date_of_birth: null,
|
25
|
+
taxpayer_id: null,
|
26
|
+
address: null,
|
27
|
+
phone_number: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.75.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 7.0.
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -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'
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.75.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 7.0.
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -222,8 +222,8 @@ module DealMakerAPI
|
|
222
222
|
|
223
223
|
# Gets access_token using access_token_getter or uses the static access_token
|
224
224
|
def access_token_with_refresh
|
225
|
-
|
226
|
-
|
225
|
+
return access_token if access_token_getter.nil?
|
226
|
+
access_token_getter.call
|
227
227
|
end
|
228
228
|
|
229
229
|
# Gets Basic Auth token string
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.75.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 7.0.
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -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
|