DealMakerAPI 0.92.2 → 0.93.1
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 -4
- data/docs/InvestorProfileApi.md +36 -36
- data/docs/V1EntitiesDealsIncentivePlansIncentiveTier.md +2 -0
- data/docs/V1EntitiesInvestorProfileId.md +18 -0
- data/lib/DealMakerAPI/api/investor_profile_api.rb +27 -27
- data/lib/DealMakerAPI/api_client.rb +10 -8
- data/lib/DealMakerAPI/models/v1_entities_deals_incentive_plans_incentive_tier.rb +11 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_corporation.rb +0 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_id.rb +216 -0
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_individual.rb +0 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_joint.rb +0 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_managed.rb +0 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_trust.rb +0 -1
- data/lib/DealMakerAPI/version.rb +1 -1
- data/lib/DealMakerAPI.rb +1 -0
- data/spec/api/investor_profile_api_spec.rb +9 -9
- data/spec/models/v1_entities_deals_incentive_plans_incentive_tier_spec.rb +6 -0
- data/spec/models/v1_entities_investor_profile_id_spec.rb +36 -0
- metadata +98 -94
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4755a245e11ca80878643dcc640a55cda9db3c435f431cd0f31320b959b681d0
|
4
|
+
data.tar.gz: 5310af9d9bfc3b05b31ee0944d5133fb9d9c333deccad506a6842cda6b3c84c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44da781df9e7f60b94eefaed296112682ef5a5316ea33a08da3854e1aa43c9aa8e55223737d8793f18d3df85e45afd4fc4337d00bab3eca3293cd244934a6d32
|
7
|
+
data.tar.gz: 45f3850219f2ee958aef1730ed2cd58ed38d5968b74438be6f6b0341f25cfd279a318e86a8b6f603c2d1d15b7d1d808ac4a01da945f3292b14f17d8c5e2a5f2d
|
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.93.1
|
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.93.1.gem
|
358
358
|
```
|
359
359
|
|
360
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.
|
360
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.93.1.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.93.1'
|
367
367
|
|
368
368
|
### Install from Git
|
369
369
|
|
@@ -554,6 +554,7 @@ Class | Method | HTTP request | Description
|
|
554
554
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsSigningOfficer](docs/V1EntitiesInvestorProfileFieldsSigningOfficer.md)
|
555
555
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsTrust](docs/V1EntitiesInvestorProfileFieldsTrust.md)
|
556
556
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsTrustee](docs/V1EntitiesInvestorProfileFieldsTrustee.md)
|
557
|
+
- [DealMakerAPI::V1EntitiesInvestorProfileId](docs/V1EntitiesInvestorProfileId.md)
|
557
558
|
- [DealMakerAPI::V1EntitiesInvestorProfileIndividual](docs/V1EntitiesInvestorProfileIndividual.md)
|
558
559
|
- [DealMakerAPI::V1EntitiesInvestorProfileItem](docs/V1EntitiesInvestorProfileItem.md)
|
559
560
|
- [DealMakerAPI::V1EntitiesInvestorProfileJoint](docs/V1EntitiesInvestorProfileJoint.md)
|
data/docs/InvestorProfileApi.md
CHANGED
@@ -20,7 +20,7 @@ All URIs are relative to *http://api.dealmaker.tech*
|
|
20
20
|
|
21
21
|
## create_corporation_profile
|
22
22
|
|
23
|
-
> <
|
23
|
+
> <V1EntitiesInvestorProfileId> create_corporation_profile(investor_profiles_corporations)
|
24
24
|
|
25
25
|
Create new corporation investor profile.
|
26
26
|
|
@@ -50,7 +50,7 @@ end
|
|
50
50
|
|
51
51
|
This returns an Array which contains the response data, status code and headers.
|
52
52
|
|
53
|
-
> <Array(<
|
53
|
+
> <Array(<V1EntitiesInvestorProfileId>, Integer, Hash)> create_corporation_profile_with_http_info(investor_profiles_corporations)
|
54
54
|
|
55
55
|
```ruby
|
56
56
|
begin
|
@@ -58,7 +58,7 @@ begin
|
|
58
58
|
data, status_code, headers = api_instance.create_corporation_profile_with_http_info(investor_profiles_corporations)
|
59
59
|
p status_code # => 2xx
|
60
60
|
p headers # => { ... }
|
61
|
-
p data # => <
|
61
|
+
p data # => <V1EntitiesInvestorProfileId>
|
62
62
|
rescue DealMakerAPI::ApiError => e
|
63
63
|
puts "Error when calling InvestorProfileApi->create_corporation_profile_with_http_info: #{e}"
|
64
64
|
end
|
@@ -72,7 +72,7 @@ end
|
|
72
72
|
|
73
73
|
### Return type
|
74
74
|
|
75
|
-
[**
|
75
|
+
[**V1EntitiesInvestorProfileId**](V1EntitiesInvestorProfileId.md)
|
76
76
|
|
77
77
|
### Authorization
|
78
78
|
|
@@ -86,7 +86,7 @@ No authorization required
|
|
86
86
|
|
87
87
|
## create_individual_profile
|
88
88
|
|
89
|
-
> <
|
89
|
+
> <V1EntitiesInvestorProfileId> create_individual_profile(investor_profiles_individuals)
|
90
90
|
|
91
91
|
Create new individual investor profile
|
92
92
|
|
@@ -116,7 +116,7 @@ end
|
|
116
116
|
|
117
117
|
This returns an Array which contains the response data, status code and headers.
|
118
118
|
|
119
|
-
> <Array(<
|
119
|
+
> <Array(<V1EntitiesInvestorProfileId>, Integer, Hash)> create_individual_profile_with_http_info(investor_profiles_individuals)
|
120
120
|
|
121
121
|
```ruby
|
122
122
|
begin
|
@@ -124,7 +124,7 @@ begin
|
|
124
124
|
data, status_code, headers = api_instance.create_individual_profile_with_http_info(investor_profiles_individuals)
|
125
125
|
p status_code # => 2xx
|
126
126
|
p headers # => { ... }
|
127
|
-
p data # => <
|
127
|
+
p data # => <V1EntitiesInvestorProfileId>
|
128
128
|
rescue DealMakerAPI::ApiError => e
|
129
129
|
puts "Error when calling InvestorProfileApi->create_individual_profile_with_http_info: #{e}"
|
130
130
|
end
|
@@ -138,7 +138,7 @@ end
|
|
138
138
|
|
139
139
|
### Return type
|
140
140
|
|
141
|
-
[**
|
141
|
+
[**V1EntitiesInvestorProfileId**](V1EntitiesInvestorProfileId.md)
|
142
142
|
|
143
143
|
### Authorization
|
144
144
|
|
@@ -152,7 +152,7 @@ No authorization required
|
|
152
152
|
|
153
153
|
## create_joint_profile
|
154
154
|
|
155
|
-
> <
|
155
|
+
> <V1EntitiesInvestorProfileId> create_joint_profile(investor_profiles_joints)
|
156
156
|
|
157
157
|
Create new joint investor profile
|
158
158
|
|
@@ -182,7 +182,7 @@ end
|
|
182
182
|
|
183
183
|
This returns an Array which contains the response data, status code and headers.
|
184
184
|
|
185
|
-
> <Array(<
|
185
|
+
> <Array(<V1EntitiesInvestorProfileId>, Integer, Hash)> create_joint_profile_with_http_info(investor_profiles_joints)
|
186
186
|
|
187
187
|
```ruby
|
188
188
|
begin
|
@@ -190,7 +190,7 @@ begin
|
|
190
190
|
data, status_code, headers = api_instance.create_joint_profile_with_http_info(investor_profiles_joints)
|
191
191
|
p status_code # => 2xx
|
192
192
|
p headers # => { ... }
|
193
|
-
p data # => <
|
193
|
+
p data # => <V1EntitiesInvestorProfileId>
|
194
194
|
rescue DealMakerAPI::ApiError => e
|
195
195
|
puts "Error when calling InvestorProfileApi->create_joint_profile_with_http_info: #{e}"
|
196
196
|
end
|
@@ -204,7 +204,7 @@ end
|
|
204
204
|
|
205
205
|
### Return type
|
206
206
|
|
207
|
-
[**
|
207
|
+
[**V1EntitiesInvestorProfileId**](V1EntitiesInvestorProfileId.md)
|
208
208
|
|
209
209
|
### Authorization
|
210
210
|
|
@@ -218,7 +218,7 @@ No authorization required
|
|
218
218
|
|
219
219
|
## create_managed_profile
|
220
220
|
|
221
|
-
> <
|
221
|
+
> <V1EntitiesInvestorProfileId> create_managed_profile(investor_profiles_managed)
|
222
222
|
|
223
223
|
Create new managed investor profile.
|
224
224
|
|
@@ -248,7 +248,7 @@ end
|
|
248
248
|
|
249
249
|
This returns an Array which contains the response data, status code and headers.
|
250
250
|
|
251
|
-
> <Array(<
|
251
|
+
> <Array(<V1EntitiesInvestorProfileId>, Integer, Hash)> create_managed_profile_with_http_info(investor_profiles_managed)
|
252
252
|
|
253
253
|
```ruby
|
254
254
|
begin
|
@@ -256,7 +256,7 @@ begin
|
|
256
256
|
data, status_code, headers = api_instance.create_managed_profile_with_http_info(investor_profiles_managed)
|
257
257
|
p status_code # => 2xx
|
258
258
|
p headers # => { ... }
|
259
|
-
p data # => <
|
259
|
+
p data # => <V1EntitiesInvestorProfileId>
|
260
260
|
rescue DealMakerAPI::ApiError => e
|
261
261
|
puts "Error when calling InvestorProfileApi->create_managed_profile_with_http_info: #{e}"
|
262
262
|
end
|
@@ -270,7 +270,7 @@ end
|
|
270
270
|
|
271
271
|
### Return type
|
272
272
|
|
273
|
-
[**
|
273
|
+
[**V1EntitiesInvestorProfileId**](V1EntitiesInvestorProfileId.md)
|
274
274
|
|
275
275
|
### Authorization
|
276
276
|
|
@@ -284,7 +284,7 @@ No authorization required
|
|
284
284
|
|
285
285
|
## create_trust_profile
|
286
286
|
|
287
|
-
> <
|
287
|
+
> <V1EntitiesInvestorProfileId> create_trust_profile(investor_profiles_trusts)
|
288
288
|
|
289
289
|
Create new trust investor profile.
|
290
290
|
|
@@ -314,7 +314,7 @@ end
|
|
314
314
|
|
315
315
|
This returns an Array which contains the response data, status code and headers.
|
316
316
|
|
317
|
-
> <Array(<
|
317
|
+
> <Array(<V1EntitiesInvestorProfileId>, Integer, Hash)> create_trust_profile_with_http_info(investor_profiles_trusts)
|
318
318
|
|
319
319
|
```ruby
|
320
320
|
begin
|
@@ -322,7 +322,7 @@ begin
|
|
322
322
|
data, status_code, headers = api_instance.create_trust_profile_with_http_info(investor_profiles_trusts)
|
323
323
|
p status_code # => 2xx
|
324
324
|
p headers # => { ... }
|
325
|
-
p data # => <
|
325
|
+
p data # => <V1EntitiesInvestorProfileId>
|
326
326
|
rescue DealMakerAPI::ApiError => e
|
327
327
|
puts "Error when calling InvestorProfileApi->create_trust_profile_with_http_info: #{e}"
|
328
328
|
end
|
@@ -336,7 +336,7 @@ end
|
|
336
336
|
|
337
337
|
### Return type
|
338
338
|
|
339
|
-
[**
|
339
|
+
[**V1EntitiesInvestorProfileId**](V1EntitiesInvestorProfileId.md)
|
340
340
|
|
341
341
|
### Authorization
|
342
342
|
|
@@ -564,7 +564,7 @@ No authorization required
|
|
564
564
|
|
565
565
|
## patch_corporation_profile
|
566
566
|
|
567
|
-
> <
|
567
|
+
> <V1EntitiesInvestorProfileId> patch_corporation_profile(investor_profile_id, investor_profiles_corporations)
|
568
568
|
|
569
569
|
Patch a corporation investor profile
|
570
570
|
|
@@ -595,7 +595,7 @@ end
|
|
595
595
|
|
596
596
|
This returns an Array which contains the response data, status code and headers.
|
597
597
|
|
598
|
-
> <Array(<
|
598
|
+
> <Array(<V1EntitiesInvestorProfileId>, Integer, Hash)> patch_corporation_profile_with_http_info(investor_profile_id, investor_profiles_corporations)
|
599
599
|
|
600
600
|
```ruby
|
601
601
|
begin
|
@@ -603,7 +603,7 @@ begin
|
|
603
603
|
data, status_code, headers = api_instance.patch_corporation_profile_with_http_info(investor_profile_id, investor_profiles_corporations)
|
604
604
|
p status_code # => 2xx
|
605
605
|
p headers # => { ... }
|
606
|
-
p data # => <
|
606
|
+
p data # => <V1EntitiesInvestorProfileId>
|
607
607
|
rescue DealMakerAPI::ApiError => e
|
608
608
|
puts "Error when calling InvestorProfileApi->patch_corporation_profile_with_http_info: #{e}"
|
609
609
|
end
|
@@ -618,7 +618,7 @@ end
|
|
618
618
|
|
619
619
|
### Return type
|
620
620
|
|
621
|
-
[**
|
621
|
+
[**V1EntitiesInvestorProfileId**](V1EntitiesInvestorProfileId.md)
|
622
622
|
|
623
623
|
### Authorization
|
624
624
|
|
@@ -632,7 +632,7 @@ No authorization required
|
|
632
632
|
|
633
633
|
## patch_individual_profile
|
634
634
|
|
635
|
-
> <
|
635
|
+
> <V1EntitiesInvestorProfileId> patch_individual_profile(investor_profile_id, investor_profiles_individuals)
|
636
636
|
|
637
637
|
Patch an individual investor profile.
|
638
638
|
|
@@ -663,7 +663,7 @@ end
|
|
663
663
|
|
664
664
|
This returns an Array which contains the response data, status code and headers.
|
665
665
|
|
666
|
-
> <Array(<
|
666
|
+
> <Array(<V1EntitiesInvestorProfileId>, Integer, Hash)> patch_individual_profile_with_http_info(investor_profile_id, investor_profiles_individuals)
|
667
667
|
|
668
668
|
```ruby
|
669
669
|
begin
|
@@ -671,7 +671,7 @@ begin
|
|
671
671
|
data, status_code, headers = api_instance.patch_individual_profile_with_http_info(investor_profile_id, investor_profiles_individuals)
|
672
672
|
p status_code # => 2xx
|
673
673
|
p headers # => { ... }
|
674
|
-
p data # => <
|
674
|
+
p data # => <V1EntitiesInvestorProfileId>
|
675
675
|
rescue DealMakerAPI::ApiError => e
|
676
676
|
puts "Error when calling InvestorProfileApi->patch_individual_profile_with_http_info: #{e}"
|
677
677
|
end
|
@@ -686,7 +686,7 @@ end
|
|
686
686
|
|
687
687
|
### Return type
|
688
688
|
|
689
|
-
[**
|
689
|
+
[**V1EntitiesInvestorProfileId**](V1EntitiesInvestorProfileId.md)
|
690
690
|
|
691
691
|
### Authorization
|
692
692
|
|
@@ -700,7 +700,7 @@ No authorization required
|
|
700
700
|
|
701
701
|
## patch_joint_profile
|
702
702
|
|
703
|
-
> <
|
703
|
+
> <V1EntitiesInvestorProfileId> patch_joint_profile(investor_profile_id, investor_profiles_joints)
|
704
704
|
|
705
705
|
Patch a joint investor profile
|
706
706
|
|
@@ -731,7 +731,7 @@ end
|
|
731
731
|
|
732
732
|
This returns an Array which contains the response data, status code and headers.
|
733
733
|
|
734
|
-
> <Array(<
|
734
|
+
> <Array(<V1EntitiesInvestorProfileId>, Integer, Hash)> patch_joint_profile_with_http_info(investor_profile_id, investor_profiles_joints)
|
735
735
|
|
736
736
|
```ruby
|
737
737
|
begin
|
@@ -739,7 +739,7 @@ begin
|
|
739
739
|
data, status_code, headers = api_instance.patch_joint_profile_with_http_info(investor_profile_id, investor_profiles_joints)
|
740
740
|
p status_code # => 2xx
|
741
741
|
p headers # => { ... }
|
742
|
-
p data # => <
|
742
|
+
p data # => <V1EntitiesInvestorProfileId>
|
743
743
|
rescue DealMakerAPI::ApiError => e
|
744
744
|
puts "Error when calling InvestorProfileApi->patch_joint_profile_with_http_info: #{e}"
|
745
745
|
end
|
@@ -754,7 +754,7 @@ end
|
|
754
754
|
|
755
755
|
### Return type
|
756
756
|
|
757
|
-
[**
|
757
|
+
[**V1EntitiesInvestorProfileId**](V1EntitiesInvestorProfileId.md)
|
758
758
|
|
759
759
|
### Authorization
|
760
760
|
|
@@ -768,7 +768,7 @@ No authorization required
|
|
768
768
|
|
769
769
|
## patch_trust_profile
|
770
770
|
|
771
|
-
> <
|
771
|
+
> <V1EntitiesInvestorProfileId> patch_trust_profile(investor_profile_id, investor_profiles_trusts)
|
772
772
|
|
773
773
|
Patch a trust investor profile
|
774
774
|
|
@@ -799,7 +799,7 @@ end
|
|
799
799
|
|
800
800
|
This returns an Array which contains the response data, status code and headers.
|
801
801
|
|
802
|
-
> <Array(<
|
802
|
+
> <Array(<V1EntitiesInvestorProfileId>, Integer, Hash)> patch_trust_profile_with_http_info(investor_profile_id, investor_profiles_trusts)
|
803
803
|
|
804
804
|
```ruby
|
805
805
|
begin
|
@@ -807,7 +807,7 @@ begin
|
|
807
807
|
data, status_code, headers = api_instance.patch_trust_profile_with_http_info(investor_profile_id, investor_profiles_trusts)
|
808
808
|
p status_code # => 2xx
|
809
809
|
p headers # => { ... }
|
810
|
-
p data # => <
|
810
|
+
p data # => <V1EntitiesInvestorProfileId>
|
811
811
|
rescue DealMakerAPI::ApiError => e
|
812
812
|
puts "Error when calling InvestorProfileApi->patch_trust_profile_with_http_info: #{e}"
|
813
813
|
end
|
@@ -822,7 +822,7 @@ end
|
|
822
822
|
|
823
823
|
### Return type
|
824
824
|
|
825
|
-
[**
|
825
|
+
[**V1EntitiesInvestorProfileId**](V1EntitiesInvestorProfileId.md)
|
826
826
|
|
827
827
|
### Authorization
|
828
828
|
|
@@ -7,6 +7,7 @@
|
|
7
7
|
| **id** | **Integer** | The incentive tier id. | [optional] |
|
8
8
|
| **incentive_percentage** | **Float** | The incentive tier percentage. | [optional] |
|
9
9
|
| **end_at** | **Time** | The incentive tier end date. | [optional] |
|
10
|
+
| **funded_by** | **Time** | The incentive tier funded by date, it is computed from the end at and plan funded by offset. | [optional] |
|
10
11
|
| **created_at** | **Time** | The creation time. | [optional] |
|
11
12
|
| **updated_at** | **Time** | The last update time. | [optional] |
|
12
13
|
|
@@ -19,6 +20,7 @@ instance = DealMakerAPI::V1EntitiesDealsIncentivePlansIncentiveTier.new(
|
|
19
20
|
id: null,
|
20
21
|
incentive_percentage: null,
|
21
22
|
end_at: null,
|
23
|
+
funded_by: null,
|
22
24
|
created_at: null,
|
23
25
|
updated_at: null
|
24
26
|
)
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# DealMakerAPI::V1EntitiesInvestorProfileId
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **Integer** | Investor Profile id | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'DealMakerAPI'
|
13
|
+
|
14
|
+
instance = DealMakerAPI::V1EntitiesInvestorProfileId.new(
|
15
|
+
id: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -23,7 +23,7 @@ module DealMakerAPI
|
|
23
23
|
# Create new corporation investor profile associated to the user by email.
|
24
24
|
# @param investor_profiles_corporations [PostInvestorProfilesCorporations]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [V1EntitiesInvestorProfileId]
|
27
27
|
def create_corporation_profile(investor_profiles_corporations, opts = {})
|
28
28
|
data, _status_code, _headers = create_corporation_profile_with_http_info(investor_profiles_corporations, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module DealMakerAPI
|
|
33
33
|
# Create new corporation investor profile associated to the user by email.
|
34
34
|
# @param investor_profiles_corporations [PostInvestorProfilesCorporations]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(V1EntitiesInvestorProfileId, Integer, Hash)>] V1EntitiesInvestorProfileId data, response status code and response headers
|
37
37
|
def create_corporation_profile_with_http_info(investor_profiles_corporations, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.create_corporation_profile ...'
|
@@ -65,7 +65,7 @@ module DealMakerAPI
|
|
65
65
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_corporations)
|
66
66
|
|
67
67
|
# return_type
|
68
|
-
return_type = opts[:debug_return_type] || '
|
68
|
+
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileId'
|
69
69
|
|
70
70
|
# auth_names
|
71
71
|
auth_names = opts[:debug_auth_names] || []
|
@@ -91,7 +91,7 @@ module DealMakerAPI
|
|
91
91
|
# Create new individual investor profile associated to the user by email.
|
92
92
|
# @param investor_profiles_individuals [PostInvestorProfilesIndividuals]
|
93
93
|
# @param [Hash] opts the optional parameters
|
94
|
-
# @return [
|
94
|
+
# @return [V1EntitiesInvestorProfileId]
|
95
95
|
def create_individual_profile(investor_profiles_individuals, opts = {})
|
96
96
|
data, _status_code, _headers = create_individual_profile_with_http_info(investor_profiles_individuals, opts)
|
97
97
|
data
|
@@ -101,7 +101,7 @@ module DealMakerAPI
|
|
101
101
|
# Create new individual investor profile associated to the user by email.
|
102
102
|
# @param investor_profiles_individuals [PostInvestorProfilesIndividuals]
|
103
103
|
# @param [Hash] opts the optional parameters
|
104
|
-
# @return [Array<(
|
104
|
+
# @return [Array<(V1EntitiesInvestorProfileId, Integer, Hash)>] V1EntitiesInvestorProfileId data, response status code and response headers
|
105
105
|
def create_individual_profile_with_http_info(investor_profiles_individuals, opts = {})
|
106
106
|
if @api_client.config.debugging
|
107
107
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.create_individual_profile ...'
|
@@ -133,7 +133,7 @@ module DealMakerAPI
|
|
133
133
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_individuals)
|
134
134
|
|
135
135
|
# return_type
|
136
|
-
return_type = opts[:debug_return_type] || '
|
136
|
+
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileId'
|
137
137
|
|
138
138
|
# auth_names
|
139
139
|
auth_names = opts[:debug_auth_names] || []
|
@@ -159,7 +159,7 @@ module DealMakerAPI
|
|
159
159
|
# Create new joint investor profile associated to the user by email.
|
160
160
|
# @param investor_profiles_joints [PostInvestorProfilesJoints]
|
161
161
|
# @param [Hash] opts the optional parameters
|
162
|
-
# @return [
|
162
|
+
# @return [V1EntitiesInvestorProfileId]
|
163
163
|
def create_joint_profile(investor_profiles_joints, opts = {})
|
164
164
|
data, _status_code, _headers = create_joint_profile_with_http_info(investor_profiles_joints, opts)
|
165
165
|
data
|
@@ -169,7 +169,7 @@ module DealMakerAPI
|
|
169
169
|
# Create new joint investor profile associated to the user by email.
|
170
170
|
# @param investor_profiles_joints [PostInvestorProfilesJoints]
|
171
171
|
# @param [Hash] opts the optional parameters
|
172
|
-
# @return [Array<(
|
172
|
+
# @return [Array<(V1EntitiesInvestorProfileId, Integer, Hash)>] V1EntitiesInvestorProfileId data, response status code and response headers
|
173
173
|
def create_joint_profile_with_http_info(investor_profiles_joints, opts = {})
|
174
174
|
if @api_client.config.debugging
|
175
175
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.create_joint_profile ...'
|
@@ -201,7 +201,7 @@ module DealMakerAPI
|
|
201
201
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_joints)
|
202
202
|
|
203
203
|
# return_type
|
204
|
-
return_type = opts[:debug_return_type] || '
|
204
|
+
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileId'
|
205
205
|
|
206
206
|
# auth_names
|
207
207
|
auth_names = opts[:debug_auth_names] || []
|
@@ -227,7 +227,7 @@ module DealMakerAPI
|
|
227
227
|
# Create new managed investor profile associated to the user by email.
|
228
228
|
# @param investor_profiles_managed [PostInvestorProfilesManaged]
|
229
229
|
# @param [Hash] opts the optional parameters
|
230
|
-
# @return [
|
230
|
+
# @return [V1EntitiesInvestorProfileId]
|
231
231
|
def create_managed_profile(investor_profiles_managed, opts = {})
|
232
232
|
data, _status_code, _headers = create_managed_profile_with_http_info(investor_profiles_managed, opts)
|
233
233
|
data
|
@@ -237,7 +237,7 @@ module DealMakerAPI
|
|
237
237
|
# Create new managed investor profile associated to the user by email.
|
238
238
|
# @param investor_profiles_managed [PostInvestorProfilesManaged]
|
239
239
|
# @param [Hash] opts the optional parameters
|
240
|
-
# @return [Array<(
|
240
|
+
# @return [Array<(V1EntitiesInvestorProfileId, Integer, Hash)>] V1EntitiesInvestorProfileId data, response status code and response headers
|
241
241
|
def create_managed_profile_with_http_info(investor_profiles_managed, opts = {})
|
242
242
|
if @api_client.config.debugging
|
243
243
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.create_managed_profile ...'
|
@@ -269,7 +269,7 @@ module DealMakerAPI
|
|
269
269
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_managed)
|
270
270
|
|
271
271
|
# return_type
|
272
|
-
return_type = opts[:debug_return_type] || '
|
272
|
+
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileId'
|
273
273
|
|
274
274
|
# auth_names
|
275
275
|
auth_names = opts[:debug_auth_names] || []
|
@@ -295,7 +295,7 @@ module DealMakerAPI
|
|
295
295
|
# Create new trust investor profile associated to the user by email.
|
296
296
|
# @param investor_profiles_trusts [PostInvestorProfilesTrusts]
|
297
297
|
# @param [Hash] opts the optional parameters
|
298
|
-
# @return [
|
298
|
+
# @return [V1EntitiesInvestorProfileId]
|
299
299
|
def create_trust_profile(investor_profiles_trusts, opts = {})
|
300
300
|
data, _status_code, _headers = create_trust_profile_with_http_info(investor_profiles_trusts, opts)
|
301
301
|
data
|
@@ -305,7 +305,7 @@ module DealMakerAPI
|
|
305
305
|
# Create new trust investor profile associated to the user by email.
|
306
306
|
# @param investor_profiles_trusts [PostInvestorProfilesTrusts]
|
307
307
|
# @param [Hash] opts the optional parameters
|
308
|
-
# @return [Array<(
|
308
|
+
# @return [Array<(V1EntitiesInvestorProfileId, Integer, Hash)>] V1EntitiesInvestorProfileId data, response status code and response headers
|
309
309
|
def create_trust_profile_with_http_info(investor_profiles_trusts, opts = {})
|
310
310
|
if @api_client.config.debugging
|
311
311
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.create_trust_profile ...'
|
@@ -337,7 +337,7 @@ module DealMakerAPI
|
|
337
337
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_trusts)
|
338
338
|
|
339
339
|
# return_type
|
340
|
-
return_type = opts[:debug_return_type] || '
|
340
|
+
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileId'
|
341
341
|
|
342
342
|
# auth_names
|
343
343
|
auth_names = opts[:debug_auth_names] || []
|
@@ -568,7 +568,7 @@ module DealMakerAPI
|
|
568
568
|
# @param investor_profile_id [Integer]
|
569
569
|
# @param investor_profiles_corporations [PatchInvestorProfilesCorporations]
|
570
570
|
# @param [Hash] opts the optional parameters
|
571
|
-
# @return [
|
571
|
+
# @return [V1EntitiesInvestorProfileId]
|
572
572
|
def patch_corporation_profile(investor_profile_id, investor_profiles_corporations, opts = {})
|
573
573
|
data, _status_code, _headers = patch_corporation_profile_with_http_info(investor_profile_id, investor_profiles_corporations, opts)
|
574
574
|
data
|
@@ -579,7 +579,7 @@ module DealMakerAPI
|
|
579
579
|
# @param investor_profile_id [Integer]
|
580
580
|
# @param investor_profiles_corporations [PatchInvestorProfilesCorporations]
|
581
581
|
# @param [Hash] opts the optional parameters
|
582
|
-
# @return [Array<(
|
582
|
+
# @return [Array<(V1EntitiesInvestorProfileId, Integer, Hash)>] V1EntitiesInvestorProfileId data, response status code and response headers
|
583
583
|
def patch_corporation_profile_with_http_info(investor_profile_id, investor_profiles_corporations, opts = {})
|
584
584
|
if @api_client.config.debugging
|
585
585
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.patch_corporation_profile ...'
|
@@ -615,7 +615,7 @@ module DealMakerAPI
|
|
615
615
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_corporations)
|
616
616
|
|
617
617
|
# return_type
|
618
|
-
return_type = opts[:debug_return_type] || '
|
618
|
+
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileId'
|
619
619
|
|
620
620
|
# auth_names
|
621
621
|
auth_names = opts[:debug_auth_names] || []
|
@@ -642,7 +642,7 @@ module DealMakerAPI
|
|
642
642
|
# @param investor_profile_id [Integer]
|
643
643
|
# @param investor_profiles_individuals [PatchInvestorProfilesIndividuals]
|
644
644
|
# @param [Hash] opts the optional parameters
|
645
|
-
# @return [
|
645
|
+
# @return [V1EntitiesInvestorProfileId]
|
646
646
|
def patch_individual_profile(investor_profile_id, investor_profiles_individuals, opts = {})
|
647
647
|
data, _status_code, _headers = patch_individual_profile_with_http_info(investor_profile_id, investor_profiles_individuals, opts)
|
648
648
|
data
|
@@ -653,7 +653,7 @@ module DealMakerAPI
|
|
653
653
|
# @param investor_profile_id [Integer]
|
654
654
|
# @param investor_profiles_individuals [PatchInvestorProfilesIndividuals]
|
655
655
|
# @param [Hash] opts the optional parameters
|
656
|
-
# @return [Array<(
|
656
|
+
# @return [Array<(V1EntitiesInvestorProfileId, Integer, Hash)>] V1EntitiesInvestorProfileId data, response status code and response headers
|
657
657
|
def patch_individual_profile_with_http_info(investor_profile_id, investor_profiles_individuals, opts = {})
|
658
658
|
if @api_client.config.debugging
|
659
659
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.patch_individual_profile ...'
|
@@ -689,7 +689,7 @@ module DealMakerAPI
|
|
689
689
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_individuals)
|
690
690
|
|
691
691
|
# return_type
|
692
|
-
return_type = opts[:debug_return_type] || '
|
692
|
+
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileId'
|
693
693
|
|
694
694
|
# auth_names
|
695
695
|
auth_names = opts[:debug_auth_names] || []
|
@@ -716,7 +716,7 @@ module DealMakerAPI
|
|
716
716
|
# @param investor_profile_id [Integer]
|
717
717
|
# @param investor_profiles_joints [PatchInvestorProfilesJoints]
|
718
718
|
# @param [Hash] opts the optional parameters
|
719
|
-
# @return [
|
719
|
+
# @return [V1EntitiesInvestorProfileId]
|
720
720
|
def patch_joint_profile(investor_profile_id, investor_profiles_joints, opts = {})
|
721
721
|
data, _status_code, _headers = patch_joint_profile_with_http_info(investor_profile_id, investor_profiles_joints, opts)
|
722
722
|
data
|
@@ -727,7 +727,7 @@ module DealMakerAPI
|
|
727
727
|
# @param investor_profile_id [Integer]
|
728
728
|
# @param investor_profiles_joints [PatchInvestorProfilesJoints]
|
729
729
|
# @param [Hash] opts the optional parameters
|
730
|
-
# @return [Array<(
|
730
|
+
# @return [Array<(V1EntitiesInvestorProfileId, Integer, Hash)>] V1EntitiesInvestorProfileId data, response status code and response headers
|
731
731
|
def patch_joint_profile_with_http_info(investor_profile_id, investor_profiles_joints, opts = {})
|
732
732
|
if @api_client.config.debugging
|
733
733
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.patch_joint_profile ...'
|
@@ -763,7 +763,7 @@ module DealMakerAPI
|
|
763
763
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_joints)
|
764
764
|
|
765
765
|
# return_type
|
766
|
-
return_type = opts[:debug_return_type] || '
|
766
|
+
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileId'
|
767
767
|
|
768
768
|
# auth_names
|
769
769
|
auth_names = opts[:debug_auth_names] || []
|
@@ -790,7 +790,7 @@ module DealMakerAPI
|
|
790
790
|
# @param investor_profile_id [Integer]
|
791
791
|
# @param investor_profiles_trusts [PatchInvestorProfilesTrusts]
|
792
792
|
# @param [Hash] opts the optional parameters
|
793
|
-
# @return [
|
793
|
+
# @return [V1EntitiesInvestorProfileId]
|
794
794
|
def patch_trust_profile(investor_profile_id, investor_profiles_trusts, opts = {})
|
795
795
|
data, _status_code, _headers = patch_trust_profile_with_http_info(investor_profile_id, investor_profiles_trusts, opts)
|
796
796
|
data
|
@@ -801,7 +801,7 @@ module DealMakerAPI
|
|
801
801
|
# @param investor_profile_id [Integer]
|
802
802
|
# @param investor_profiles_trusts [PatchInvestorProfilesTrusts]
|
803
803
|
# @param [Hash] opts the optional parameters
|
804
|
-
# @return [Array<(
|
804
|
+
# @return [Array<(V1EntitiesInvestorProfileId, Integer, Hash)>] V1EntitiesInvestorProfileId data, response status code and response headers
|
805
805
|
def patch_trust_profile_with_http_info(investor_profile_id, investor_profiles_trusts, opts = {})
|
806
806
|
if @api_client.config.debugging
|
807
807
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.patch_trust_profile ...'
|
@@ -837,7 +837,7 @@ module DealMakerAPI
|
|
837
837
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_trusts)
|
838
838
|
|
839
839
|
# return_type
|
840
|
-
return_type = opts[:debug_return_type] || '
|
840
|
+
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileId'
|
841
841
|
|
842
842
|
# auth_names
|
843
843
|
auth_names = opts[:debug_auth_names] || []
|
@@ -187,14 +187,16 @@ module DealMakerAPI
|
|
187
187
|
chunk.force_encoding(encoding)
|
188
188
|
tempfile.write(chunk)
|
189
189
|
end
|
190
|
-
request
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
190
|
+
# run the request to ensure the tempfile is created successfully before returning it
|
191
|
+
request.run
|
192
|
+
if tempfile
|
193
|
+
tempfile.close
|
194
|
+
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
195
|
+
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
196
|
+
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
197
|
+
"explicitly with `tempfile.delete`"
|
198
|
+
else
|
199
|
+
fail ApiError.new("Failed to create the tempfile based on the HTTP response from the server: #{request.inspect}")
|
198
200
|
end
|
199
201
|
|
200
202
|
tempfile
|