DealMakerAPI 0.91.2 → 0.91.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -4
- data/docs/InvestorProfileApi.md +67 -0
- data/docs/PostInvestorProfilesManaged.md +68 -0
- data/docs/V1EntitiesInvestorPriceDetails.md +10 -0
- data/docs/V1EntitiesInvestorProfileFieldsBeneficiary.md +32 -0
- data/docs/V1EntitiesInvestorProfileFieldsProvider.md +30 -0
- data/docs/V1EntitiesInvestorProfileItem.md +1 -1
- data/docs/V1EntitiesInvestorProfileManaged.md +38 -0
- data/lib/DealMakerAPI/api/investor_profile_api.rb +68 -0
- data/lib/DealMakerAPI/models/post_investor_profiles_managed.rb +519 -0
- data/lib/DealMakerAPI/models/v1_entities_investor_price_details.rb +51 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_corporation.rb +2 -2
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_beneficiary.rb +284 -0
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_provider.rb +274 -0
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_individual.rb +2 -2
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_item.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_joint.rb +2 -2
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_managed.rb +347 -0
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_trust.rb +2 -2
- data/lib/DealMakerAPI/version.rb +1 -1
- data/lib/DealMakerAPI.rb +4 -0
- data/spec/api/investor_profile_api_spec.rb +12 -0
- data/spec/models/post_investor_profiles_managed_spec.rb +194 -0
- data/spec/models/v1_entities_investor_price_details_spec.rb +30 -0
- data/spec/models/v1_entities_investor_profile_corporation_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_beneficiary_spec.rb +78 -0
- data/spec/models/v1_entities_investor_profile_fields_provider_spec.rb +72 -0
- data/spec/models/v1_entities_investor_profile_individual_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_joint_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_managed_spec.rb +100 -0
- data/spec/models/v1_entities_investor_profile_trust_spec.rb +1 -1
- metadata +106 -90
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b977e1b89ce93dabc2b40635fc06316338589582ff0a8fcfe7cae108f748e15f
|
4
|
+
data.tar.gz: 32432b3c899b8259d387baafc7ad131e3d15fd8e8fbfffe5c2b4489088349c85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f7c16d53f310b28cf2e6d3955a2263ea1f0817439be578586a15dbce86dcb31dffb14e34f9ebe773ff77312afe756e0c269b6cb5df6d31829fe41d173cc3b69
|
7
|
+
data.tar.gz: a04eeef6eaa30131482fc5b7593e09461da9c8213d904df8bb2f3fc8006f011d7ec745092b4e0c49b5f6eb6b8fc3ed9242e9821c27ca9f414e19d2222c4124a4
|
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.91.
|
341
|
+
- Package version: 0.91.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.91.
|
357
|
+
gem install ./DealMakerAPI-0.91.3.gem
|
358
358
|
```
|
359
359
|
|
360
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.91.
|
360
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.91.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.91.
|
366
|
+
gem 'DealMakerAPI', '~> 0.91.3'
|
367
367
|
|
368
368
|
### Install from Git
|
369
369
|
|
@@ -458,6 +458,7 @@ Class | Method | HTTP request | Description
|
|
458
458
|
*DealMakerAPI::InvestorProfileApi* | [**create_corporation_profile**](docs/InvestorProfileApi.md#create_corporation_profile) | **POST** /investor_profiles/corporations | Create new corporation investor profile.
|
459
459
|
*DealMakerAPI::InvestorProfileApi* | [**create_individual_profile**](docs/InvestorProfileApi.md#create_individual_profile) | **POST** /investor_profiles/individuals | Create new individual investor profile
|
460
460
|
*DealMakerAPI::InvestorProfileApi* | [**create_joint_profile**](docs/InvestorProfileApi.md#create_joint_profile) | **POST** /investor_profiles/joints | Create new joint investor profile
|
461
|
+
*DealMakerAPI::InvestorProfileApi* | [**create_managed_profile**](docs/InvestorProfileApi.md#create_managed_profile) | **POST** /investor_profiles/managed | Create new managed investor profile.
|
461
462
|
*DealMakerAPI::InvestorProfileApi* | [**create_trust_profile**](docs/InvestorProfileApi.md#create_trust_profile) | **POST** /investor_profiles/trusts | Create new trust investor profile.
|
462
463
|
*DealMakerAPI::InvestorProfileApi* | [**get_deal_investor_profiles**](docs/InvestorProfileApi.md#get_deal_investor_profiles) | **GET** /investor_profiles/{deal_id} | Get list of InvestorProfiles for a specific deal
|
463
464
|
*DealMakerAPI::InvestorProfileApi* | [**get_investor_profile**](docs/InvestorProfileApi.md#get_investor_profile) | **GET** /investor_profiles/profile/{id} | Get an investor profile by id
|
@@ -498,6 +499,7 @@ Class | Method | HTTP request | Description
|
|
498
499
|
- [DealMakerAPI::PostInvestorProfilesCorporationsBeneficialOwnersInner](docs/PostInvestorProfilesCorporationsBeneficialOwnersInner.md)
|
499
500
|
- [DealMakerAPI::PostInvestorProfilesIndividuals](docs/PostInvestorProfilesIndividuals.md)
|
500
501
|
- [DealMakerAPI::PostInvestorProfilesJoints](docs/PostInvestorProfilesJoints.md)
|
502
|
+
- [DealMakerAPI::PostInvestorProfilesManaged](docs/PostInvestorProfilesManaged.md)
|
501
503
|
- [DealMakerAPI::PostInvestorProfilesTrusts](docs/PostInvestorProfilesTrusts.md)
|
502
504
|
- [DealMakerAPI::PostInvestorProfilesTrustsTrusteesInner](docs/PostInvestorProfilesTrustsTrusteesInner.md)
|
503
505
|
- [DealMakerAPI::PostWebhooksRequest](docs/PostWebhooksRequest.md)
|
@@ -542,14 +544,17 @@ Class | Method | HTTP request | Description
|
|
542
544
|
- [DealMakerAPI::V1EntitiesInvestorProfileCorporation](docs/V1EntitiesInvestorProfileCorporation.md)
|
543
545
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsAccountHolder](docs/V1EntitiesInvestorProfileFieldsAccountHolder.md)
|
544
546
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsBeneficialOwner](docs/V1EntitiesInvestorProfileFieldsBeneficialOwner.md)
|
547
|
+
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsBeneficiary](docs/V1EntitiesInvestorProfileFieldsBeneficiary.md)
|
545
548
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsCorporation](docs/V1EntitiesInvestorProfileFieldsCorporation.md)
|
546
549
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsPrimaryHolder](docs/V1EntitiesInvestorProfileFieldsPrimaryHolder.md)
|
550
|
+
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsProvider](docs/V1EntitiesInvestorProfileFieldsProvider.md)
|
547
551
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsSigningOfficer](docs/V1EntitiesInvestorProfileFieldsSigningOfficer.md)
|
548
552
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsTrust](docs/V1EntitiesInvestorProfileFieldsTrust.md)
|
549
553
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsTrustee](docs/V1EntitiesInvestorProfileFieldsTrustee.md)
|
550
554
|
- [DealMakerAPI::V1EntitiesInvestorProfileIndividual](docs/V1EntitiesInvestorProfileIndividual.md)
|
551
555
|
- [DealMakerAPI::V1EntitiesInvestorProfileItem](docs/V1EntitiesInvestorProfileItem.md)
|
552
556
|
- [DealMakerAPI::V1EntitiesInvestorProfileJoint](docs/V1EntitiesInvestorProfileJoint.md)
|
557
|
+
- [DealMakerAPI::V1EntitiesInvestorProfileManaged](docs/V1EntitiesInvestorProfileManaged.md)
|
553
558
|
- [DealMakerAPI::V1EntitiesInvestorProfileOwner](docs/V1EntitiesInvestorProfileOwner.md)
|
554
559
|
- [DealMakerAPI::V1EntitiesInvestorProfileTrust](docs/V1EntitiesInvestorProfileTrust.md)
|
555
560
|
- [DealMakerAPI::V1EntitiesInvestorProfiles](docs/V1EntitiesInvestorProfiles.md)
|
data/docs/InvestorProfileApi.md
CHANGED
@@ -7,6 +7,7 @@ All URIs are relative to *http://api.dealmaker.tech*
|
|
7
7
|
| [**create_corporation_profile**](InvestorProfileApi.md#create_corporation_profile) | **POST** /investor_profiles/corporations | Create new corporation investor profile. |
|
8
8
|
| [**create_individual_profile**](InvestorProfileApi.md#create_individual_profile) | **POST** /investor_profiles/individuals | Create new individual investor profile |
|
9
9
|
| [**create_joint_profile**](InvestorProfileApi.md#create_joint_profile) | **POST** /investor_profiles/joints | Create new joint investor profile |
|
10
|
+
| [**create_managed_profile**](InvestorProfileApi.md#create_managed_profile) | **POST** /investor_profiles/managed | Create new managed investor profile. |
|
10
11
|
| [**create_trust_profile**](InvestorProfileApi.md#create_trust_profile) | **POST** /investor_profiles/trusts | Create new trust investor profile. |
|
11
12
|
| [**get_deal_investor_profiles**](InvestorProfileApi.md#get_deal_investor_profiles) | **GET** /investor_profiles/{deal_id} | Get list of InvestorProfiles for a specific deal |
|
12
13
|
| [**get_investor_profile**](InvestorProfileApi.md#get_investor_profile) | **GET** /investor_profiles/profile/{id} | Get an investor profile by id |
|
@@ -215,6 +216,72 @@ No authorization required
|
|
215
216
|
- **Accept**: application/json
|
216
217
|
|
217
218
|
|
219
|
+
## create_managed_profile
|
220
|
+
|
221
|
+
> <V1EntitiesInvestorProfileManaged> create_managed_profile(investor_profiles_managed)
|
222
|
+
|
223
|
+
Create new managed investor profile.
|
224
|
+
|
225
|
+
Create new managed investor profile associated to the user by email.
|
226
|
+
|
227
|
+
### Examples
|
228
|
+
|
229
|
+
```ruby
|
230
|
+
require 'time'
|
231
|
+
require 'DealMakerAPI'
|
232
|
+
# setup authorization
|
233
|
+
DealMakerAPI.configure do |config|end
|
234
|
+
|
235
|
+
api_instance = DealMakerAPI::InvestorProfileApi.new
|
236
|
+
investor_profiles_managed = DealMakerAPI::PostInvestorProfilesManaged.new({email: 'email_example'}) # PostInvestorProfilesManaged |
|
237
|
+
|
238
|
+
begin
|
239
|
+
# Create new managed investor profile.
|
240
|
+
result = api_instance.create_managed_profile(investor_profiles_managed)
|
241
|
+
p result
|
242
|
+
rescue DealMakerAPI::ApiError => e
|
243
|
+
puts "Error when calling InvestorProfileApi->create_managed_profile: #{e}"
|
244
|
+
end
|
245
|
+
```
|
246
|
+
|
247
|
+
#### Using the create_managed_profile_with_http_info variant
|
248
|
+
|
249
|
+
This returns an Array which contains the response data, status code and headers.
|
250
|
+
|
251
|
+
> <Array(<V1EntitiesInvestorProfileManaged>, Integer, Hash)> create_managed_profile_with_http_info(investor_profiles_managed)
|
252
|
+
|
253
|
+
```ruby
|
254
|
+
begin
|
255
|
+
# Create new managed investor profile.
|
256
|
+
data, status_code, headers = api_instance.create_managed_profile_with_http_info(investor_profiles_managed)
|
257
|
+
p status_code # => 2xx
|
258
|
+
p headers # => { ... }
|
259
|
+
p data # => <V1EntitiesInvestorProfileManaged>
|
260
|
+
rescue DealMakerAPI::ApiError => e
|
261
|
+
puts "Error when calling InvestorProfileApi->create_managed_profile_with_http_info: #{e}"
|
262
|
+
end
|
263
|
+
```
|
264
|
+
|
265
|
+
### Parameters
|
266
|
+
|
267
|
+
| Name | Type | Description | Notes |
|
268
|
+
| ---- | ---- | ----------- | ----- |
|
269
|
+
| **investor_profiles_managed** | [**PostInvestorProfilesManaged**](PostInvestorProfilesManaged.md) | | |
|
270
|
+
|
271
|
+
### Return type
|
272
|
+
|
273
|
+
[**V1EntitiesInvestorProfileManaged**](V1EntitiesInvestorProfileManaged.md)
|
274
|
+
|
275
|
+
### Authorization
|
276
|
+
|
277
|
+
No authorization required
|
278
|
+
|
279
|
+
### HTTP request headers
|
280
|
+
|
281
|
+
- **Content-Type**: application/json
|
282
|
+
- **Accept**: application/json
|
283
|
+
|
284
|
+
|
218
285
|
## create_trust_profile
|
219
286
|
|
220
287
|
> <V1EntitiesInvestorProfileTrust> create_trust_profile(investor_profiles_trusts)
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# DealMakerAPI::PostInvestorProfilesManaged
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **email** | **String** | User email which is associated with investor profile (required). | |
|
8
|
+
| **us_accredited_category** | **String** | The United States accredited investor information. | [optional] |
|
9
|
+
| **ca_accredited_investor** | **String** | The Canadian accredited investor information. | [optional] |
|
10
|
+
| **name** | **String** | The name of the provider (required). | [optional] |
|
11
|
+
| **street_address** | **String** | The street address of the provider (required). | [optional] |
|
12
|
+
| **unit2** | **String** | The street address line 2 of the provider. | [optional] |
|
13
|
+
| **city** | **String** | The city of the provider (required). | [optional] |
|
14
|
+
| **region** | **String** | The region or state of the provider (required). | [optional] |
|
15
|
+
| **postal_code** | **String** | The postal code or zipcode of the provider (required). | [optional] |
|
16
|
+
| **taxpayer_id** | **String** | The taxpayer identification number of the provider (required). | [optional] |
|
17
|
+
| **confirmation** | **Boolean** | Confirms that the provider is able to custody these securities and release respective funds in order to complete the purchase (required). | [optional] |
|
18
|
+
| **income** | **Float** | The income of the managed investor profile | [optional] |
|
19
|
+
| **net_worth** | **Float** | The net worth of the managed investor profile | [optional] |
|
20
|
+
| **reg_cf_prior_offerings_amount** | **Float** | The prior offering amount of the managed investor profile | [optional] |
|
21
|
+
| **beneficiary_account_number** | **String** | The account number of the beneficiary (required). | [optional] |
|
22
|
+
| **beneficiary_first_name** | **String** | The first name of the beneficiary (required). | [optional] |
|
23
|
+
| **beneficiary_last_name** | **String** | The last name of the beneficiary (required). | [optional] |
|
24
|
+
| **beneficiary_suffix** | **String** | The suffix of the beneficiary. | [optional] |
|
25
|
+
| **beneficiary_street_address** | **String** | The street address of the beneficiary (required). | [optional] |
|
26
|
+
| **beneficiary_unit2** | **String** | The street address line 2 of the beneficiary. | [optional] |
|
27
|
+
| **beneficiary_city** | **String** | The city of the beneficiary (required). | [optional] |
|
28
|
+
| **beneficiary_region** | **String** | The region or state of the beneficiary (required). | [optional] |
|
29
|
+
| **beneficiary_postal_code** | **String** | The postal code or zipcode of the beneficiary (required). | [optional] |
|
30
|
+
| **beneficiary_date_of_birth** | **String** | The date of birth of the beneficiary (required). | [optional] |
|
31
|
+
| **beneficiary_taxpayer_id** | **String** | The taxpayer identification number of the beneficiary (required). | [optional] |
|
32
|
+
| **beneficiary_phone_number** | **String** | The phone number of the beneficiary (required). | [optional] |
|
33
|
+
|
34
|
+
## Example
|
35
|
+
|
36
|
+
```ruby
|
37
|
+
require 'DealMakerAPI'
|
38
|
+
|
39
|
+
instance = DealMakerAPI::PostInvestorProfilesManaged.new(
|
40
|
+
email: null,
|
41
|
+
us_accredited_category: null,
|
42
|
+
ca_accredited_investor: null,
|
43
|
+
name: null,
|
44
|
+
street_address: null,
|
45
|
+
unit2: null,
|
46
|
+
city: null,
|
47
|
+
region: null,
|
48
|
+
postal_code: null,
|
49
|
+
taxpayer_id: null,
|
50
|
+
confirmation: null,
|
51
|
+
income: null,
|
52
|
+
net_worth: null,
|
53
|
+
reg_cf_prior_offerings_amount: null,
|
54
|
+
beneficiary_account_number: null,
|
55
|
+
beneficiary_first_name: null,
|
56
|
+
beneficiary_last_name: null,
|
57
|
+
beneficiary_suffix: null,
|
58
|
+
beneficiary_street_address: null,
|
59
|
+
beneficiary_unit2: null,
|
60
|
+
beneficiary_city: null,
|
61
|
+
beneficiary_region: null,
|
62
|
+
beneficiary_postal_code: null,
|
63
|
+
beneficiary_date_of_birth: null,
|
64
|
+
beneficiary_taxpayer_id: null,
|
65
|
+
beneficiary_phone_number: null
|
66
|
+
)
|
67
|
+
```
|
68
|
+
|
@@ -4,6 +4,11 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **investment_amount** | **String** | The investment amount in dollar. | [optional] |
|
8
|
+
| **full_investment_amount** | **String** | The investment amount at full price to get the same number of securities | [optional] |
|
9
|
+
| **saved_investment_amount** | **String** | The saved amount. | [optional] |
|
10
|
+
| **number_of_securities** | **Integer** | The number of securities. | [optional] |
|
11
|
+
| **full_number_of_securities** | **Integer** | The number of securities you could get at full price | [optional] |
|
7
12
|
| **full_price** | [**V1EntitiesMoneyEntity**](V1EntitiesMoneyEntity.md) | | [optional] |
|
8
13
|
| **final_price** | [**V1EntitiesMoneyEntity**](V1EntitiesMoneyEntity.md) | | [optional] |
|
9
14
|
| **effective_tier** | [**V1EntitiesInvestorIncentiveTier**](V1EntitiesInvestorIncentiveTier.md) | | [optional] |
|
@@ -15,6 +20,11 @@
|
|
15
20
|
require 'DealMakerAPI'
|
16
21
|
|
17
22
|
instance = DealMakerAPI::V1EntitiesInvestorPriceDetails.new(
|
23
|
+
investment_amount: null,
|
24
|
+
full_investment_amount: null,
|
25
|
+
saved_investment_amount: null,
|
26
|
+
number_of_securities: null,
|
27
|
+
full_number_of_securities: null,
|
18
28
|
full_price: null,
|
19
29
|
final_price: null,
|
20
30
|
effective_tier: null,
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# DealMakerAPI::V1EntitiesInvestorProfileFieldsBeneficiary
|
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
|
+
| **account_number** | **String** | Beneficiary account number | [optional] |
|
14
|
+
| **phone_number** | **String** | Beneficiary phone number | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'DealMakerAPI'
|
20
|
+
|
21
|
+
instance = DealMakerAPI::V1EntitiesInvestorProfileFieldsBeneficiary.new(
|
22
|
+
first_name: null,
|
23
|
+
last_name: null,
|
24
|
+
suffix: null,
|
25
|
+
date_of_birth: null,
|
26
|
+
taxpayer_id: null,
|
27
|
+
address: null,
|
28
|
+
account_number: null,
|
29
|
+
phone_number: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# DealMakerAPI::V1EntitiesInvestorProfileFieldsProvider
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | The provider name | [optional] |
|
8
|
+
| **taxpayer_id** | **String** | The taxpayer identification number | [optional] |
|
9
|
+
| **confirmation** | **Boolean** | Confirms that the provider is able to custody these securities and release respective funds in order to complete the purchase | [optional] |
|
10
|
+
| **income** | **Float** | The income | [optional] |
|
11
|
+
| **net_worth** | **Float** | The net worth | [optional] |
|
12
|
+
| **reg_cf_prior_offerings_amount** | **Float** | The prior offering amount in the last 12 months | [optional] |
|
13
|
+
| **address** | [**V1EntitiesInvestorProfileAddress**](V1EntitiesInvestorProfileAddress.md) | | [optional] |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'DealMakerAPI'
|
19
|
+
|
20
|
+
instance = DealMakerAPI::V1EntitiesInvestorProfileFieldsProvider.new(
|
21
|
+
name: null,
|
22
|
+
taxpayer_id: null,
|
23
|
+
confirmation: null,
|
24
|
+
income: null,
|
25
|
+
net_worth: null,
|
26
|
+
reg_cf_prior_offerings_amount: null,
|
27
|
+
address: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **profile** | [**
|
7
|
+
| **profile** | [**V1EntitiesInvestorProfileManaged**](V1EntitiesInvestorProfileManaged.md) | | [optional] |
|
8
8
|
|
9
9
|
## Example
|
10
10
|
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# DealMakerAPI::V1EntitiesInvestorProfileManaged
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **Integer** | Investor Profile id | [optional] |
|
8
|
+
| **user_id** | **Integer** | User id | [optional] |
|
9
|
+
| **email** | **String** | User email | [optional] |
|
10
|
+
| **type** | **String** | Investor Profile type | [optional] |
|
11
|
+
| **us_accredited_category** | **String** | The United States accredited investor information | [optional] |
|
12
|
+
| **ca_accredited_investor** | **String** | The Canadian accredited investor information | [optional] |
|
13
|
+
| **complete** | **Boolean** | To check if the profile is complete or not | [optional] |
|
14
|
+
| **owner_type** | **String** | Type of the investor profile owner | [optional] |
|
15
|
+
| **owner** | [**V1EntitiesInvestorProfileOwner**](V1EntitiesInvestorProfileOwner.md) | | [optional] |
|
16
|
+
| **provider** | [**V1EntitiesInvestorProfileFieldsProvider**](V1EntitiesInvestorProfileFieldsProvider.md) | | [optional] |
|
17
|
+
| **beneficiary** | [**V1EntitiesInvestorProfileFieldsBeneficiary**](V1EntitiesInvestorProfileFieldsBeneficiary.md) | | [optional] |
|
18
|
+
|
19
|
+
## Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'DealMakerAPI'
|
23
|
+
|
24
|
+
instance = DealMakerAPI::V1EntitiesInvestorProfileManaged.new(
|
25
|
+
id: null,
|
26
|
+
user_id: null,
|
27
|
+
email: null,
|
28
|
+
type: null,
|
29
|
+
us_accredited_category: null,
|
30
|
+
ca_accredited_investor: null,
|
31
|
+
complete: null,
|
32
|
+
owner_type: null,
|
33
|
+
owner: null,
|
34
|
+
provider: null,
|
35
|
+
beneficiary: null
|
36
|
+
)
|
37
|
+
```
|
38
|
+
|
@@ -223,6 +223,74 @@ module DealMakerAPI
|
|
223
223
|
return data, status_code, headers
|
224
224
|
end
|
225
225
|
|
226
|
+
# Create new managed investor profile.
|
227
|
+
# Create new managed investor profile associated to the user by email.
|
228
|
+
# @param investor_profiles_managed [PostInvestorProfilesManaged]
|
229
|
+
# @param [Hash] opts the optional parameters
|
230
|
+
# @return [V1EntitiesInvestorProfileManaged]
|
231
|
+
def create_managed_profile(investor_profiles_managed, opts = {})
|
232
|
+
data, _status_code, _headers = create_managed_profile_with_http_info(investor_profiles_managed, opts)
|
233
|
+
data
|
234
|
+
end
|
235
|
+
|
236
|
+
# Create new managed investor profile.
|
237
|
+
# Create new managed investor profile associated to the user by email.
|
238
|
+
# @param investor_profiles_managed [PostInvestorProfilesManaged]
|
239
|
+
# @param [Hash] opts the optional parameters
|
240
|
+
# @return [Array<(V1EntitiesInvestorProfileManaged, Integer, Hash)>] V1EntitiesInvestorProfileManaged data, response status code and response headers
|
241
|
+
def create_managed_profile_with_http_info(investor_profiles_managed, opts = {})
|
242
|
+
if @api_client.config.debugging
|
243
|
+
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.create_managed_profile ...'
|
244
|
+
end
|
245
|
+
# verify the required parameter 'investor_profiles_managed' is set
|
246
|
+
if @api_client.config.client_side_validation && investor_profiles_managed.nil?
|
247
|
+
fail ArgumentError, "Missing the required parameter 'investor_profiles_managed' when calling InvestorProfileApi.create_managed_profile"
|
248
|
+
end
|
249
|
+
# resource path
|
250
|
+
local_var_path = '/investor_profiles/managed'
|
251
|
+
|
252
|
+
# query parameters
|
253
|
+
query_params = opts[:query_params] || {}
|
254
|
+
|
255
|
+
# header parameters
|
256
|
+
header_params = opts[:header_params] || {}
|
257
|
+
# HTTP header 'Accept' (if needed)
|
258
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
259
|
+
# HTTP header 'Content-Type'
|
260
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
261
|
+
if !content_type.nil?
|
262
|
+
header_params['Content-Type'] = content_type
|
263
|
+
end
|
264
|
+
|
265
|
+
# form parameters
|
266
|
+
form_params = opts[:form_params] || {}
|
267
|
+
|
268
|
+
# http body (model)
|
269
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_managed)
|
270
|
+
|
271
|
+
# return_type
|
272
|
+
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileManaged'
|
273
|
+
|
274
|
+
# auth_names
|
275
|
+
auth_names = opts[:debug_auth_names] || []
|
276
|
+
|
277
|
+
new_options = opts.merge(
|
278
|
+
:operation => :"InvestorProfileApi.create_managed_profile",
|
279
|
+
:header_params => header_params,
|
280
|
+
:query_params => query_params,
|
281
|
+
:form_params => form_params,
|
282
|
+
:body => post_body,
|
283
|
+
:auth_names => auth_names,
|
284
|
+
:return_type => return_type
|
285
|
+
)
|
286
|
+
|
287
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
288
|
+
if @api_client.config.debugging
|
289
|
+
@api_client.config.logger.debug "API called: InvestorProfileApi#create_managed_profile\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
290
|
+
end
|
291
|
+
return data, status_code, headers
|
292
|
+
end
|
293
|
+
|
226
294
|
# Create new trust investor profile.
|
227
295
|
# Create new trust investor profile associated to the user by email.
|
228
296
|
# @param investor_profiles_trusts [PostInvestorProfilesTrusts]
|