DealMakerAPI 0.85.3 → 0.85.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -12
- data/docs/InvestorProfileApi.md +48 -54
- data/docs/{PatchCorporationProfileRequest.md → PatchInvestorProfilesCorporations.md} +4 -34
- data/docs/PatchInvestorProfilesCorporationsBeneficialOwnersInner.md +42 -0
- data/docs/{PatchIndividualProfileRequest.md → PatchInvestorProfilesIndividuals.md} +2 -4
- data/docs/{PatchJointProfileRequest.md → PatchInvestorProfilesJoints.md} +2 -6
- data/docs/{PatchTrustProfileRequest.md → PatchInvestorProfilesTrusts.md} +2 -6
- data/docs/{CreateCorporationProfileRequest.md → PostInvestorProfilesCorporations.md} +4 -30
- data/docs/PostInvestorProfilesCorporationsBeneficialOwnersInner.md +38 -0
- data/docs/{CreateIndividualProfileRequest.md → PostInvestorProfilesIndividuals.md} +2 -4
- data/docs/{CreateJointProfileRequest.md → PostInvestorProfilesJoints.md} +2 -6
- data/docs/PostInvestorProfilesTrusts.md +46 -0
- data/docs/PostInvestorProfilesTrustsTrusteesInner.md +36 -0
- data/lib/DealMakerAPI/api/investor_profile_api.rb +75 -63
- data/lib/DealMakerAPI/models/patch_investor_profiles_corporations.rb +503 -0
- data/lib/DealMakerAPI/models/patch_investor_profiles_corporations_beneficial_owners_inner.rb +342 -0
- data/lib/DealMakerAPI/models/{patch_individual_profile_request.rb → patch_investor_profiles_individuals.rb} +5 -14
- data/lib/DealMakerAPI/models/{patch_joint_profile_request.rb → patch_investor_profiles_joints.rb} +5 -24
- data/lib/DealMakerAPI/models/{patch_trust_profile_request.rb → patch_investor_profiles_trusts.rb} +5 -24
- data/lib/DealMakerAPI/models/{create_corporation_profile_request.rb → post_investor_profiles_corporations.rb} +14 -166
- data/lib/DealMakerAPI/models/post_investor_profiles_corporations_beneficial_owners_inner.rb +315 -0
- data/lib/DealMakerAPI/models/{create_individual_profile_request.rb → post_investor_profiles_individuals.rb} +5 -14
- data/lib/DealMakerAPI/models/{create_joint_profile_request.rb → post_investor_profiles_joints.rb} +5 -24
- data/lib/DealMakerAPI/models/{create_trust_profile_request.rb → post_investor_profiles_trusts.rb} +12 -142
- data/lib/DealMakerAPI/models/post_investor_profiles_trusts_trustees_inner.rb +305 -0
- data/lib/DealMakerAPI/version.rb +1 -1
- data/lib/DealMakerAPI.rb +11 -8
- data/spec/api/investor_profile_api_spec.rb +8 -8
- data/spec/models/patch_investor_profiles_corporations_beneficial_owners_inner_spec.rb +106 -0
- data/spec/models/patch_investor_profiles_corporations_spec.rb +186 -0
- data/spec/models/{create_individual_profile_request_spec.rb → patch_investor_profiles_individuals_spec.rb} +6 -18
- data/spec/models/{create_joint_profile_request_spec.rb → patch_investor_profiles_joints_spec.rb} +6 -24
- data/spec/models/{patch_trust_profile_request_spec.rb → patch_investor_profiles_trusts_spec.rb} +6 -18
- data/spec/models/post_investor_profiles_corporations_beneficial_owners_inner_spec.rb +94 -0
- data/spec/models/{create_trust_profile_request_spec.rb → post_investor_profiles_corporations_spec.rb} +30 -30
- data/spec/models/{patch_individual_profile_request_spec.rb → post_investor_profiles_individuals_spec.rb} +12 -12
- data/spec/models/{patch_joint_profile_request_spec.rb → post_investor_profiles_joints_spec.rb} +12 -18
- data/spec/models/post_investor_profiles_trusts_spec.rb +126 -0
- data/spec/models/post_investor_profiles_trusts_trustees_inner_spec.rb +88 -0
- metadata +46 -34
- data/docs/CreateTrustProfileRequest.md +0 -68
- data/lib/DealMakerAPI/models/patch_corporation_profile_request.rb +0 -686
- data/spec/models/create_corporation_profile_request_spec.rb +0 -270
- data/spec/models/patch_corporation_profile_request_spec.rb +0 -276
@@ -21,26 +21,26 @@ module DealMakerAPI
|
|
21
21
|
end
|
22
22
|
# Create new corporation investor profile.
|
23
23
|
# Create new corporation investor profile associated to the user by email.
|
24
|
-
# @param
|
24
|
+
# @param investor_profiles_corporations [PostInvestorProfilesCorporations]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [V1EntitiesInvestorProfileCorporation]
|
27
|
-
def create_corporation_profile(
|
28
|
-
data, _status_code, _headers = create_corporation_profile_with_http_info(
|
27
|
+
def create_corporation_profile(investor_profiles_corporations, opts = {})
|
28
|
+
data, _status_code, _headers = create_corporation_profile_with_http_info(investor_profiles_corporations, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
32
32
|
# Create new corporation investor profile.
|
33
33
|
# Create new corporation investor profile associated to the user by email.
|
34
|
-
# @param
|
34
|
+
# @param investor_profiles_corporations [PostInvestorProfilesCorporations]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(V1EntitiesInvestorProfileCorporation, Integer, Hash)>] V1EntitiesInvestorProfileCorporation data, response status code and response headers
|
37
|
-
def create_corporation_profile_with_http_info(
|
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 ...'
|
40
40
|
end
|
41
|
-
# verify the required parameter '
|
42
|
-
if @api_client.config.client_side_validation &&
|
43
|
-
fail ArgumentError, "Missing the required parameter '
|
41
|
+
# verify the required parameter 'investor_profiles_corporations' is set
|
42
|
+
if @api_client.config.client_side_validation && investor_profiles_corporations.nil?
|
43
|
+
fail ArgumentError, "Missing the required parameter 'investor_profiles_corporations' when calling InvestorProfileApi.create_corporation_profile"
|
44
44
|
end
|
45
45
|
# resource path
|
46
46
|
local_var_path = '/investor_profiles/corporations'
|
@@ -62,7 +62,7 @@ module DealMakerAPI
|
|
62
62
|
form_params = opts[:form_params] || {}
|
63
63
|
|
64
64
|
# http body (model)
|
65
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_corporations)
|
66
66
|
|
67
67
|
# return_type
|
68
68
|
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileCorporation'
|
@@ -89,26 +89,26 @@ module DealMakerAPI
|
|
89
89
|
|
90
90
|
# Create new individual investor profile
|
91
91
|
# Create new individual investor profile associated to the user by email.
|
92
|
-
# @param
|
92
|
+
# @param investor_profiles_individuals [PostInvestorProfilesIndividuals]
|
93
93
|
# @param [Hash] opts the optional parameters
|
94
94
|
# @return [V1EntitiesInvestorProfileIndividual]
|
95
|
-
def create_individual_profile(
|
96
|
-
data, _status_code, _headers = create_individual_profile_with_http_info(
|
95
|
+
def create_individual_profile(investor_profiles_individuals, opts = {})
|
96
|
+
data, _status_code, _headers = create_individual_profile_with_http_info(investor_profiles_individuals, opts)
|
97
97
|
data
|
98
98
|
end
|
99
99
|
|
100
100
|
# Create new individual investor profile
|
101
101
|
# Create new individual investor profile associated to the user by email.
|
102
|
-
# @param
|
102
|
+
# @param investor_profiles_individuals [PostInvestorProfilesIndividuals]
|
103
103
|
# @param [Hash] opts the optional parameters
|
104
104
|
# @return [Array<(V1EntitiesInvestorProfileIndividual, Integer, Hash)>] V1EntitiesInvestorProfileIndividual data, response status code and response headers
|
105
|
-
def create_individual_profile_with_http_info(
|
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 ...'
|
108
108
|
end
|
109
|
-
# verify the required parameter '
|
110
|
-
if @api_client.config.client_side_validation &&
|
111
|
-
fail ArgumentError, "Missing the required parameter '
|
109
|
+
# verify the required parameter 'investor_profiles_individuals' is set
|
110
|
+
if @api_client.config.client_side_validation && investor_profiles_individuals.nil?
|
111
|
+
fail ArgumentError, "Missing the required parameter 'investor_profiles_individuals' when calling InvestorProfileApi.create_individual_profile"
|
112
112
|
end
|
113
113
|
# resource path
|
114
114
|
local_var_path = '/investor_profiles/individuals'
|
@@ -130,7 +130,7 @@ module DealMakerAPI
|
|
130
130
|
form_params = opts[:form_params] || {}
|
131
131
|
|
132
132
|
# http body (model)
|
133
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
133
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_individuals)
|
134
134
|
|
135
135
|
# return_type
|
136
136
|
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileIndividual'
|
@@ -157,26 +157,26 @@ module DealMakerAPI
|
|
157
157
|
|
158
158
|
# Create new joint investor profile
|
159
159
|
# Create new joint investor profile associated to the user by email.
|
160
|
-
# @param
|
160
|
+
# @param investor_profiles_joints [PostInvestorProfilesJoints]
|
161
161
|
# @param [Hash] opts the optional parameters
|
162
162
|
# @return [V1EntitiesInvestorProfileJoint]
|
163
|
-
def create_joint_profile(
|
164
|
-
data, _status_code, _headers = create_joint_profile_with_http_info(
|
163
|
+
def create_joint_profile(investor_profiles_joints, opts = {})
|
164
|
+
data, _status_code, _headers = create_joint_profile_with_http_info(investor_profiles_joints, opts)
|
165
165
|
data
|
166
166
|
end
|
167
167
|
|
168
168
|
# Create new joint investor profile
|
169
169
|
# Create new joint investor profile associated to the user by email.
|
170
|
-
# @param
|
170
|
+
# @param investor_profiles_joints [PostInvestorProfilesJoints]
|
171
171
|
# @param [Hash] opts the optional parameters
|
172
172
|
# @return [Array<(V1EntitiesInvestorProfileJoint, Integer, Hash)>] V1EntitiesInvestorProfileJoint data, response status code and response headers
|
173
|
-
def create_joint_profile_with_http_info(
|
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 ...'
|
176
176
|
end
|
177
|
-
# verify the required parameter '
|
178
|
-
if @api_client.config.client_side_validation &&
|
179
|
-
fail ArgumentError, "Missing the required parameter '
|
177
|
+
# verify the required parameter 'investor_profiles_joints' is set
|
178
|
+
if @api_client.config.client_side_validation && investor_profiles_joints.nil?
|
179
|
+
fail ArgumentError, "Missing the required parameter 'investor_profiles_joints' when calling InvestorProfileApi.create_joint_profile"
|
180
180
|
end
|
181
181
|
# resource path
|
182
182
|
local_var_path = '/investor_profiles/joints'
|
@@ -198,7 +198,7 @@ module DealMakerAPI
|
|
198
198
|
form_params = opts[:form_params] || {}
|
199
199
|
|
200
200
|
# http body (model)
|
201
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
201
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_joints)
|
202
202
|
|
203
203
|
# return_type
|
204
204
|
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileJoint'
|
@@ -225,26 +225,26 @@ module DealMakerAPI
|
|
225
225
|
|
226
226
|
# Create new trust investor profile.
|
227
227
|
# Create new trust investor profile associated to the user by email.
|
228
|
-
# @param
|
228
|
+
# @param investor_profiles_trusts [PostInvestorProfilesTrusts]
|
229
229
|
# @param [Hash] opts the optional parameters
|
230
230
|
# @return [V1EntitiesInvestorProfileTrust]
|
231
|
-
def create_trust_profile(
|
232
|
-
data, _status_code, _headers = create_trust_profile_with_http_info(
|
231
|
+
def create_trust_profile(investor_profiles_trusts, opts = {})
|
232
|
+
data, _status_code, _headers = create_trust_profile_with_http_info(investor_profiles_trusts, opts)
|
233
233
|
data
|
234
234
|
end
|
235
235
|
|
236
236
|
# Create new trust investor profile.
|
237
237
|
# Create new trust investor profile associated to the user by email.
|
238
|
-
# @param
|
238
|
+
# @param investor_profiles_trusts [PostInvestorProfilesTrusts]
|
239
239
|
# @param [Hash] opts the optional parameters
|
240
240
|
# @return [Array<(V1EntitiesInvestorProfileTrust, Integer, Hash)>] V1EntitiesInvestorProfileTrust data, response status code and response headers
|
241
|
-
def create_trust_profile_with_http_info(
|
241
|
+
def create_trust_profile_with_http_info(investor_profiles_trusts, opts = {})
|
242
242
|
if @api_client.config.debugging
|
243
243
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.create_trust_profile ...'
|
244
244
|
end
|
245
|
-
# verify the required parameter '
|
246
|
-
if @api_client.config.client_side_validation &&
|
247
|
-
fail ArgumentError, "Missing the required parameter '
|
245
|
+
# verify the required parameter 'investor_profiles_trusts' is set
|
246
|
+
if @api_client.config.client_side_validation && investor_profiles_trusts.nil?
|
247
|
+
fail ArgumentError, "Missing the required parameter 'investor_profiles_trusts' when calling InvestorProfileApi.create_trust_profile"
|
248
248
|
end
|
249
249
|
# resource path
|
250
250
|
local_var_path = '/investor_profiles/trusts'
|
@@ -266,7 +266,7 @@ module DealMakerAPI
|
|
266
266
|
form_params = opts[:form_params] || {}
|
267
267
|
|
268
268
|
# http body (model)
|
269
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
269
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_trusts)
|
270
270
|
|
271
271
|
# return_type
|
272
272
|
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileTrust'
|
@@ -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
|
501
|
+
# @param investor_profiles_corporations [PatchInvestorProfilesCorporations]
|
502
502
|
# @param [Hash] opts the optional parameters
|
503
503
|
# @return [V1EntitiesInvestorProfileCorporation]
|
504
|
-
def patch_corporation_profile(investor_profile_id,
|
505
|
-
data, _status_code, _headers = patch_corporation_profile_with_http_info(investor_profile_id,
|
504
|
+
def patch_corporation_profile(investor_profile_id, investor_profiles_corporations, opts = {})
|
505
|
+
data, _status_code, _headers = patch_corporation_profile_with_http_info(investor_profile_id, investor_profiles_corporations, 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
|
512
|
+
# @param investor_profiles_corporations [PatchInvestorProfilesCorporations]
|
513
513
|
# @param [Hash] opts the optional parameters
|
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,
|
515
|
+
def patch_corporation_profile_with_http_info(investor_profile_id, investor_profiles_corporations, 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,9 +520,9 @@ 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 '
|
524
|
-
if @api_client.config.client_side_validation &&
|
525
|
-
fail ArgumentError, "Missing the required parameter '
|
523
|
+
# verify the required parameter 'investor_profiles_corporations' is set
|
524
|
+
if @api_client.config.client_side_validation && investor_profiles_corporations.nil?
|
525
|
+
fail ArgumentError, "Missing the required parameter 'investor_profiles_corporations' when calling InvestorProfileApi.patch_corporation_profile"
|
526
526
|
end
|
527
527
|
# resource path
|
528
528
|
local_var_path = '/investor_profiles/corporations/{investor_profile_id}'.sub('{' + 'investor_profile_id' + '}', CGI.escape(investor_profile_id.to_s))
|
@@ -544,7 +544,7 @@ module DealMakerAPI
|
|
544
544
|
form_params = opts[:form_params] || {}
|
545
545
|
|
546
546
|
# http body (model)
|
547
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
547
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_corporations)
|
548
548
|
|
549
549
|
# return_type
|
550
550
|
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileCorporation'
|
@@ -572,21 +572,21 @@ module DealMakerAPI
|
|
572
572
|
# Patch an individual investor profile.
|
573
573
|
# Patch individual investor profile.
|
574
574
|
# @param investor_profile_id [Integer]
|
575
|
+
# @param investor_profiles_individuals [PatchInvestorProfilesIndividuals]
|
575
576
|
# @param [Hash] opts the optional parameters
|
576
|
-
# @option opts [PatchIndividualProfileRequest] :patch_individual_profile_request
|
577
577
|
# @return [V1EntitiesInvestorProfileIndividual]
|
578
|
-
def patch_individual_profile(investor_profile_id, opts = {})
|
579
|
-
data, _status_code, _headers = patch_individual_profile_with_http_info(investor_profile_id, opts)
|
578
|
+
def patch_individual_profile(investor_profile_id, investor_profiles_individuals, opts = {})
|
579
|
+
data, _status_code, _headers = patch_individual_profile_with_http_info(investor_profile_id, investor_profiles_individuals, opts)
|
580
580
|
data
|
581
581
|
end
|
582
582
|
|
583
583
|
# Patch an individual investor profile.
|
584
584
|
# Patch individual investor profile.
|
585
585
|
# @param investor_profile_id [Integer]
|
586
|
+
# @param investor_profiles_individuals [PatchInvestorProfilesIndividuals]
|
586
587
|
# @param [Hash] opts the optional parameters
|
587
|
-
# @option opts [PatchIndividualProfileRequest] :patch_individual_profile_request
|
588
588
|
# @return [Array<(V1EntitiesInvestorProfileIndividual, Integer, Hash)>] V1EntitiesInvestorProfileIndividual data, response status code and response headers
|
589
|
-
def patch_individual_profile_with_http_info(investor_profile_id, opts = {})
|
589
|
+
def patch_individual_profile_with_http_info(investor_profile_id, investor_profiles_individuals, opts = {})
|
590
590
|
if @api_client.config.debugging
|
591
591
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.patch_individual_profile ...'
|
592
592
|
end
|
@@ -594,6 +594,10 @@ module DealMakerAPI
|
|
594
594
|
if @api_client.config.client_side_validation && investor_profile_id.nil?
|
595
595
|
fail ArgumentError, "Missing the required parameter 'investor_profile_id' when calling InvestorProfileApi.patch_individual_profile"
|
596
596
|
end
|
597
|
+
# verify the required parameter 'investor_profiles_individuals' is set
|
598
|
+
if @api_client.config.client_side_validation && investor_profiles_individuals.nil?
|
599
|
+
fail ArgumentError, "Missing the required parameter 'investor_profiles_individuals' when calling InvestorProfileApi.patch_individual_profile"
|
600
|
+
end
|
597
601
|
# resource path
|
598
602
|
local_var_path = '/investor_profiles/individuals/{investor_profile_id}'.sub('{' + 'investor_profile_id' + '}', CGI.escape(investor_profile_id.to_s))
|
599
603
|
|
@@ -614,7 +618,7 @@ module DealMakerAPI
|
|
614
618
|
form_params = opts[:form_params] || {}
|
615
619
|
|
616
620
|
# http body (model)
|
617
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
621
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_individuals)
|
618
622
|
|
619
623
|
# return_type
|
620
624
|
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileIndividual'
|
@@ -642,21 +646,21 @@ module DealMakerAPI
|
|
642
646
|
# Patch a joint investor profile
|
643
647
|
# Patch joint investor profile
|
644
648
|
# @param investor_profile_id [Integer]
|
649
|
+
# @param investor_profiles_joints [PatchInvestorProfilesJoints]
|
645
650
|
# @param [Hash] opts the optional parameters
|
646
|
-
# @option opts [PatchJointProfileRequest] :patch_joint_profile_request
|
647
651
|
# @return [V1EntitiesInvestorProfileJoint]
|
648
|
-
def patch_joint_profile(investor_profile_id, opts = {})
|
649
|
-
data, _status_code, _headers = patch_joint_profile_with_http_info(investor_profile_id, opts)
|
652
|
+
def patch_joint_profile(investor_profile_id, investor_profiles_joints, opts = {})
|
653
|
+
data, _status_code, _headers = patch_joint_profile_with_http_info(investor_profile_id, investor_profiles_joints, opts)
|
650
654
|
data
|
651
655
|
end
|
652
656
|
|
653
657
|
# Patch a joint investor profile
|
654
658
|
# Patch joint investor profile
|
655
659
|
# @param investor_profile_id [Integer]
|
660
|
+
# @param investor_profiles_joints [PatchInvestorProfilesJoints]
|
656
661
|
# @param [Hash] opts the optional parameters
|
657
|
-
# @option opts [PatchJointProfileRequest] :patch_joint_profile_request
|
658
662
|
# @return [Array<(V1EntitiesInvestorProfileJoint, Integer, Hash)>] V1EntitiesInvestorProfileJoint data, response status code and response headers
|
659
|
-
def patch_joint_profile_with_http_info(investor_profile_id, opts = {})
|
663
|
+
def patch_joint_profile_with_http_info(investor_profile_id, investor_profiles_joints, opts = {})
|
660
664
|
if @api_client.config.debugging
|
661
665
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.patch_joint_profile ...'
|
662
666
|
end
|
@@ -664,6 +668,10 @@ module DealMakerAPI
|
|
664
668
|
if @api_client.config.client_side_validation && investor_profile_id.nil?
|
665
669
|
fail ArgumentError, "Missing the required parameter 'investor_profile_id' when calling InvestorProfileApi.patch_joint_profile"
|
666
670
|
end
|
671
|
+
# verify the required parameter 'investor_profiles_joints' is set
|
672
|
+
if @api_client.config.client_side_validation && investor_profiles_joints.nil?
|
673
|
+
fail ArgumentError, "Missing the required parameter 'investor_profiles_joints' when calling InvestorProfileApi.patch_joint_profile"
|
674
|
+
end
|
667
675
|
# resource path
|
668
676
|
local_var_path = '/investor_profiles/joints/{investor_profile_id}'.sub('{' + 'investor_profile_id' + '}', CGI.escape(investor_profile_id.to_s))
|
669
677
|
|
@@ -684,7 +692,7 @@ module DealMakerAPI
|
|
684
692
|
form_params = opts[:form_params] || {}
|
685
693
|
|
686
694
|
# http body (model)
|
687
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
695
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_joints)
|
688
696
|
|
689
697
|
# return_type
|
690
698
|
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileJoint'
|
@@ -712,21 +720,21 @@ module DealMakerAPI
|
|
712
720
|
# Patch a trust investor profile
|
713
721
|
# Patch trust investor profile
|
714
722
|
# @param investor_profile_id [Integer]
|
723
|
+
# @param investor_profiles_trusts [PatchInvestorProfilesTrusts]
|
715
724
|
# @param [Hash] opts the optional parameters
|
716
|
-
# @option opts [PatchTrustProfileRequest] :patch_trust_profile_request
|
717
725
|
# @return [V1EntitiesInvestorProfileTrust]
|
718
|
-
def patch_trust_profile(investor_profile_id, opts = {})
|
719
|
-
data, _status_code, _headers = patch_trust_profile_with_http_info(investor_profile_id, opts)
|
726
|
+
def patch_trust_profile(investor_profile_id, investor_profiles_trusts, opts = {})
|
727
|
+
data, _status_code, _headers = patch_trust_profile_with_http_info(investor_profile_id, investor_profiles_trusts, opts)
|
720
728
|
data
|
721
729
|
end
|
722
730
|
|
723
731
|
# Patch a trust investor profile
|
724
732
|
# Patch trust investor profile
|
725
733
|
# @param investor_profile_id [Integer]
|
734
|
+
# @param investor_profiles_trusts [PatchInvestorProfilesTrusts]
|
726
735
|
# @param [Hash] opts the optional parameters
|
727
|
-
# @option opts [PatchTrustProfileRequest] :patch_trust_profile_request
|
728
736
|
# @return [Array<(V1EntitiesInvestorProfileTrust, Integer, Hash)>] V1EntitiesInvestorProfileTrust data, response status code and response headers
|
729
|
-
def patch_trust_profile_with_http_info(investor_profile_id, opts = {})
|
737
|
+
def patch_trust_profile_with_http_info(investor_profile_id, investor_profiles_trusts, opts = {})
|
730
738
|
if @api_client.config.debugging
|
731
739
|
@api_client.config.logger.debug 'Calling API: InvestorProfileApi.patch_trust_profile ...'
|
732
740
|
end
|
@@ -734,6 +742,10 @@ module DealMakerAPI
|
|
734
742
|
if @api_client.config.client_side_validation && investor_profile_id.nil?
|
735
743
|
fail ArgumentError, "Missing the required parameter 'investor_profile_id' when calling InvestorProfileApi.patch_trust_profile"
|
736
744
|
end
|
745
|
+
# verify the required parameter 'investor_profiles_trusts' is set
|
746
|
+
if @api_client.config.client_side_validation && investor_profiles_trusts.nil?
|
747
|
+
fail ArgumentError, "Missing the required parameter 'investor_profiles_trusts' when calling InvestorProfileApi.patch_trust_profile"
|
748
|
+
end
|
737
749
|
# resource path
|
738
750
|
local_var_path = '/investor_profiles/trusts/{investor_profile_id}'.sub('{' + 'investor_profile_id' + '}', CGI.escape(investor_profile_id.to_s))
|
739
751
|
|
@@ -754,7 +766,7 @@ module DealMakerAPI
|
|
754
766
|
form_params = opts[:form_params] || {}
|
755
767
|
|
756
768
|
# http body (model)
|
757
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
769
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(investor_profiles_trusts)
|
758
770
|
|
759
771
|
# return_type
|
760
772
|
return_type = opts[:debug_return_type] || 'V1EntitiesInvestorProfileTrust'
|