DealMakerAPI 0.85.2 → 0.85.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/DealMakerAPI.gemspec +1 -1
  3. data/README.md +16 -12
  4. data/docs/InvestorProfileApi.md +48 -54
  5. data/docs/{PatchCorporationProfileRequest.md → PatchInvestorProfilesCorporations.md} +6 -32
  6. data/docs/PatchInvestorProfilesCorporationsBeneficialOwnersInner.md +42 -0
  7. data/docs/{PatchIndividualProfileRequest.md → PatchInvestorProfilesIndividuals.md} +2 -4
  8. data/docs/{PatchJointProfileRequest.md → PatchInvestorProfilesJoints.md} +2 -6
  9. data/docs/{PatchTrustProfileRequest.md → PatchInvestorProfilesTrusts.md} +2 -6
  10. data/docs/{CreateCorporationProfileRequest.md → PostInvestorProfilesCorporations.md} +6 -28
  11. data/docs/PostInvestorProfilesCorporationsBeneficialOwnersInner.md +38 -0
  12. data/docs/{CreateIndividualProfileRequest.md → PostInvestorProfilesIndividuals.md} +2 -4
  13. data/docs/{CreateJointProfileRequest.md → PostInvestorProfilesJoints.md} +2 -6
  14. data/docs/PostInvestorProfilesTrusts.md +46 -0
  15. data/docs/PostInvestorProfilesTrustsTrusteesInner.md +36 -0
  16. data/docs/V1EntitiesInvestorProfileCorporation.md +2 -2
  17. data/docs/V1EntitiesInvestorProfileFieldsSigningOfficer.md +30 -0
  18. data/lib/DealMakerAPI/api/company_api.rb +1 -1
  19. data/lib/DealMakerAPI/api/deal_api.rb +1 -1
  20. data/lib/DealMakerAPI/api/deal_setup_api.rb +1 -1
  21. data/lib/DealMakerAPI/api/deals_api.rb +1 -1
  22. data/lib/DealMakerAPI/api/default_api.rb +1 -1
  23. data/lib/DealMakerAPI/api/investor_api.rb +1 -1
  24. data/lib/DealMakerAPI/api/investor_profile_api.rb +76 -64
  25. data/lib/DealMakerAPI/api/shareholder_api.rb +1 -1
  26. data/lib/DealMakerAPI/api/upload_api.rb +1 -1
  27. data/lib/DealMakerAPI/api_client.rb +1 -1
  28. data/lib/DealMakerAPI/api_error.rb +1 -1
  29. data/lib/DealMakerAPI/configuration.rb +3 -3
  30. data/lib/DealMakerAPI/models/add506c_document_request.rb +1 -1
  31. data/lib/DealMakerAPI/models/add_document_request.rb +1 -1
  32. data/lib/DealMakerAPI/models/bulk_upload_investors_request.rb +1 -1
  33. data/lib/DealMakerAPI/models/create_bulk_upload_detail_request.rb +1 -1
  34. data/lib/DealMakerAPI/models/create_bulk_upload_request.rb +1 -1
  35. data/lib/DealMakerAPI/models/create_company_request.rb +1 -1
  36. data/lib/DealMakerAPI/models/create_deal_setup_request.rb +1 -1
  37. data/lib/DealMakerAPI/models/create_investor_request.rb +1 -1
  38. data/lib/DealMakerAPI/models/create_shareholder_action_request.rb +1 -1
  39. data/lib/DealMakerAPI/models/edit_investor_tags_request.rb +1 -1
  40. data/lib/DealMakerAPI/models/generate_url_request.rb +1 -1
  41. data/lib/DealMakerAPI/models/patch_investor_profiles_corporations.rb +503 -0
  42. data/lib/DealMakerAPI/models/patch_investor_profiles_corporations_beneficial_owners_inner.rb +342 -0
  43. data/lib/DealMakerAPI/models/{patch_individual_profile_request.rb → patch_investor_profiles_individuals.rb} +6 -15
  44. data/lib/DealMakerAPI/models/{patch_joint_profile_request.rb → patch_investor_profiles_joints.rb} +6 -25
  45. data/lib/DealMakerAPI/models/{patch_trust_profile_request.rb → patch_investor_profiles_trusts.rb} +6 -25
  46. data/lib/DealMakerAPI/models/patch_investor_request.rb +1 -1
  47. data/lib/DealMakerAPI/models/{create_corporation_profile_request.rb → post_investor_profiles_corporations.rb} +22 -152
  48. data/lib/DealMakerAPI/models/post_investor_profiles_corporations_beneficial_owners_inner.rb +315 -0
  49. data/lib/DealMakerAPI/models/{create_individual_profile_request.rb → post_investor_profiles_individuals.rb} +6 -15
  50. data/lib/DealMakerAPI/models/{create_joint_profile_request.rb → post_investor_profiles_joints.rb} +6 -25
  51. data/lib/DealMakerAPI/models/{create_trust_profile_request.rb → post_investor_profiles_trusts.rb} +13 -143
  52. data/lib/DealMakerAPI/models/post_investor_profiles_trusts_trustees_inner.rb +305 -0
  53. data/lib/DealMakerAPI/models/post_webhooks_request.rb +1 -1
  54. data/lib/DealMakerAPI/models/put_deals_id_script_tag_environment_request.rb +1 -1
  55. data/lib/DealMakerAPI/models/put_webhooks_id_request.rb +1 -1
  56. data/lib/DealMakerAPI/models/update_investor_request.rb +1 -1
  57. data/lib/DealMakerAPI/models/v1_entities_address.rb +1 -1
  58. data/lib/DealMakerAPI/models/v1_entities_addresses.rb +1 -1
  59. data/lib/DealMakerAPI/models/v1_entities_attachment.rb +1 -1
  60. data/lib/DealMakerAPI/models/v1_entities_background_check_search.rb +1 -1
  61. data/lib/DealMakerAPI/models/v1_entities_bulk_upload.rb +1 -1
  62. data/lib/DealMakerAPI/models/v1_entities_bulk_upload_detail.rb +1 -1
  63. data/lib/DealMakerAPI/models/v1_entities_bulk_upload_details.rb +1 -1
  64. data/lib/DealMakerAPI/models/v1_entities_bulk_uploads.rb +1 -1
  65. data/lib/DealMakerAPI/models/v1_entities_company.rb +1 -1
  66. data/lib/DealMakerAPI/models/v1_entities_company_deal.rb +1 -1
  67. data/lib/DealMakerAPI/models/v1_entities_company_deals.rb +1 -1
  68. data/lib/DealMakerAPI/models/v1_entities_deal.rb +1 -1
  69. data/lib/DealMakerAPI/models/v1_entities_deal_enterprise.rb +1 -1
  70. data/lib/DealMakerAPI/models/v1_entities_deal_funding_metrics.rb +1 -1
  71. data/lib/DealMakerAPI/models/v1_entities_deal_investor_metrics.rb +1 -1
  72. data/lib/DealMakerAPI/models/v1_entities_deal_issuer.rb +1 -1
  73. data/lib/DealMakerAPI/models/v1_entities_deal_setup.rb +1 -1
  74. data/lib/DealMakerAPI/models/v1_entities_deal_setup_user.rb +1 -1
  75. data/lib/DealMakerAPI/models/v1_entities_deals.rb +1 -1
  76. data/lib/DealMakerAPI/models/v1_entities_express_wire_instruction.rb +1 -1
  77. data/lib/DealMakerAPI/models/v1_entities_express_wire_instructions.rb +1 -1
  78. data/lib/DealMakerAPI/models/v1_entities_generic_response.rb +1 -1
  79. data/lib/DealMakerAPI/models/v1_entities_investor.rb +1 -1
  80. data/lib/DealMakerAPI/models/v1_entities_investor_otp_access_link.rb +1 -1
  81. data/lib/DealMakerAPI/models/v1_entities_investor_profile_address.rb +1 -1
  82. data/lib/DealMakerAPI/models/v1_entities_investor_profile_corporation.rb +3 -3
  83. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_account_holder.rb +1 -1
  84. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_corporation.rb +1 -1
  85. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_primary_holder.rb +1 -1
  86. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_signing_officer.rb +274 -0
  87. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_trust.rb +1 -1
  88. data/lib/DealMakerAPI/models/v1_entities_investor_profile_individual.rb +1 -1
  89. data/lib/DealMakerAPI/models/v1_entities_investor_profile_item.rb +1 -1
  90. data/lib/DealMakerAPI/models/v1_entities_investor_profile_joint.rb +1 -1
  91. data/lib/DealMakerAPI/models/v1_entities_investor_profile_owner.rb +1 -1
  92. data/lib/DealMakerAPI/models/v1_entities_investor_profile_trust.rb +1 -1
  93. data/lib/DealMakerAPI/models/v1_entities_investor_profiles.rb +1 -1
  94. data/lib/DealMakerAPI/models/v1_entities_investor_user.rb +1 -1
  95. data/lib/DealMakerAPI/models/v1_entities_investors.rb +1 -1
  96. data/lib/DealMakerAPI/models/v1_entities_presigned_url_result.rb +1 -1
  97. data/lib/DealMakerAPI/models/v1_entities_shareholder.rb +1 -1
  98. data/lib/DealMakerAPI/models/v1_entities_shareholders.rb +1 -1
  99. data/lib/DealMakerAPI/models/v1_entities_shareholders_tags.rb +1 -1
  100. data/lib/DealMakerAPI/models/v1_entities_subscription_agreement.rb +1 -1
  101. data/lib/DealMakerAPI/models/v1_entities_webhooks_deal.rb +1 -1
  102. data/lib/DealMakerAPI/models/v1_entities_webhooks_security_token.rb +1 -1
  103. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription.rb +1 -1
  104. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deal.rb +1 -1
  105. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deals.rb +1 -1
  106. data/lib/DealMakerAPI/version.rb +2 -2
  107. data/lib/DealMakerAPI.rb +13 -9
  108. data/spec/api/company_api_spec.rb +1 -1
  109. data/spec/api/deal_api_spec.rb +1 -1
  110. data/spec/api/deal_setup_api_spec.rb +1 -1
  111. data/spec/api/deals_api_spec.rb +1 -1
  112. data/spec/api/default_api_spec.rb +1 -1
  113. data/spec/api/investor_api_spec.rb +1 -1
  114. data/spec/api/investor_profile_api_spec.rb +9 -9
  115. data/spec/api/shareholder_api_spec.rb +1 -1
  116. data/spec/api/upload_api_spec.rb +1 -1
  117. data/spec/api_client_spec.rb +1 -1
  118. data/spec/configuration_spec.rb +1 -1
  119. data/spec/models/add506c_document_request_spec.rb +1 -1
  120. data/spec/models/add_document_request_spec.rb +1 -1
  121. data/spec/models/bulk_upload_investors_request_spec.rb +1 -1
  122. data/spec/models/create_bulk_upload_detail_request_spec.rb +1 -1
  123. data/spec/models/create_bulk_upload_request_spec.rb +1 -1
  124. data/spec/models/create_company_request_spec.rb +1 -1
  125. data/spec/models/create_deal_setup_request_spec.rb +1 -1
  126. data/spec/models/create_investor_request_spec.rb +1 -1
  127. data/spec/models/create_shareholder_action_request_spec.rb +1 -1
  128. data/spec/models/edit_investor_tags_request_spec.rb +1 -1
  129. data/spec/models/generate_url_request_spec.rb +1 -1
  130. data/spec/models/patch_investor_profiles_corporations_beneficial_owners_inner_spec.rb +106 -0
  131. data/spec/models/patch_investor_profiles_corporations_spec.rb +186 -0
  132. data/spec/models/{create_individual_profile_request_spec.rb → patch_investor_profiles_individuals_spec.rb} +7 -19
  133. data/spec/models/{create_joint_profile_request_spec.rb → patch_investor_profiles_joints_spec.rb} +7 -25
  134. data/spec/models/{patch_trust_profile_request_spec.rb → patch_investor_profiles_trusts_spec.rb} +7 -19
  135. data/spec/models/patch_investor_request_spec.rb +1 -1
  136. data/spec/models/post_investor_profiles_corporations_beneficial_owners_inner_spec.rb +94 -0
  137. data/spec/models/{create_trust_profile_request_spec.rb → post_investor_profiles_corporations_spec.rb} +31 -31
  138. data/spec/models/{patch_individual_profile_request_spec.rb → post_investor_profiles_individuals_spec.rb} +13 -13
  139. data/spec/models/{patch_joint_profile_request_spec.rb → post_investor_profiles_joints_spec.rb} +13 -19
  140. data/spec/models/post_investor_profiles_trusts_spec.rb +126 -0
  141. data/spec/models/post_investor_profiles_trusts_trustees_inner_spec.rb +88 -0
  142. data/spec/models/post_webhooks_request_spec.rb +1 -1
  143. data/spec/models/put_deals_id_script_tag_environment_request_spec.rb +1 -1
  144. data/spec/models/put_webhooks_id_request_spec.rb +1 -1
  145. data/spec/models/update_investor_request_spec.rb +1 -1
  146. data/spec/models/v1_entities_address_spec.rb +1 -1
  147. data/spec/models/v1_entities_addresses_spec.rb +1 -1
  148. data/spec/models/v1_entities_attachment_spec.rb +1 -1
  149. data/spec/models/v1_entities_background_check_search_spec.rb +1 -1
  150. data/spec/models/v1_entities_bulk_upload_detail_spec.rb +1 -1
  151. data/spec/models/v1_entities_bulk_upload_details_spec.rb +1 -1
  152. data/spec/models/v1_entities_bulk_upload_spec.rb +1 -1
  153. data/spec/models/v1_entities_bulk_uploads_spec.rb +1 -1
  154. data/spec/models/v1_entities_company_deal_spec.rb +1 -1
  155. data/spec/models/v1_entities_company_deals_spec.rb +1 -1
  156. data/spec/models/v1_entities_company_spec.rb +1 -1
  157. data/spec/models/v1_entities_deal_enterprise_spec.rb +1 -1
  158. data/spec/models/v1_entities_deal_funding_metrics_spec.rb +1 -1
  159. data/spec/models/v1_entities_deal_investor_metrics_spec.rb +1 -1
  160. data/spec/models/v1_entities_deal_issuer_spec.rb +1 -1
  161. data/spec/models/v1_entities_deal_setup_spec.rb +1 -1
  162. data/spec/models/v1_entities_deal_setup_user_spec.rb +1 -1
  163. data/spec/models/v1_entities_deal_spec.rb +1 -1
  164. data/spec/models/v1_entities_deals_spec.rb +1 -1
  165. data/spec/models/v1_entities_express_wire_instruction_spec.rb +1 -1
  166. data/spec/models/v1_entities_express_wire_instructions_spec.rb +1 -1
  167. data/spec/models/v1_entities_generic_response_spec.rb +1 -1
  168. data/spec/models/v1_entities_investor_otp_access_link_spec.rb +1 -1
  169. data/spec/models/v1_entities_investor_profile_address_spec.rb +1 -1
  170. data/spec/models/v1_entities_investor_profile_corporation_spec.rb +1 -1
  171. data/spec/models/v1_entities_investor_profile_fields_account_holder_spec.rb +1 -1
  172. data/spec/models/v1_entities_investor_profile_fields_corporation_spec.rb +1 -1
  173. data/spec/models/v1_entities_investor_profile_fields_primary_holder_spec.rb +1 -1
  174. data/spec/models/v1_entities_investor_profile_fields_signing_officer_spec.rb +70 -0
  175. data/spec/models/v1_entities_investor_profile_fields_trust_spec.rb +1 -1
  176. data/spec/models/v1_entities_investor_profile_individual_spec.rb +1 -1
  177. data/spec/models/v1_entities_investor_profile_item_spec.rb +1 -1
  178. data/spec/models/v1_entities_investor_profile_joint_spec.rb +1 -1
  179. data/spec/models/v1_entities_investor_profile_owner_spec.rb +1 -1
  180. data/spec/models/v1_entities_investor_profile_trust_spec.rb +1 -1
  181. data/spec/models/v1_entities_investor_profiles_spec.rb +1 -1
  182. data/spec/models/v1_entities_investor_spec.rb +1 -1
  183. data/spec/models/v1_entities_investor_user_spec.rb +1 -1
  184. data/spec/models/v1_entities_investors_spec.rb +1 -1
  185. data/spec/models/v1_entities_presigned_url_result_spec.rb +1 -1
  186. data/spec/models/v1_entities_shareholder_spec.rb +1 -1
  187. data/spec/models/v1_entities_shareholders_spec.rb +1 -1
  188. data/spec/models/v1_entities_shareholders_tags_spec.rb +1 -1
  189. data/spec/models/v1_entities_subscription_agreement_spec.rb +1 -1
  190. data/spec/models/v1_entities_webhooks_deal_spec.rb +1 -1
  191. data/spec/models/v1_entities_webhooks_security_token_spec.rb +1 -1
  192. data/spec/models/v1_entities_webhooks_subscription_deal_spec.rb +1 -1
  193. data/spec/models/v1_entities_webhooks_subscription_deals_spec.rb +1 -1
  194. data/spec/models/v1_entities_webhooks_subscription_spec.rb +1 -1
  195. data/spec/spec_helper.rb +1 -1
  196. metadata +50 -34
  197. data/docs/CreateTrustProfileRequest.md +0 -68
  198. data/lib/DealMakerAPI/models/patch_corporation_profile_request.rb +0 -664
  199. data/spec/models/create_corporation_profile_request_spec.rb +0 -258
  200. data/spec/models/patch_corporation_profile_request_spec.rb +0 -264
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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 create_corporation_profile_request [CreateCorporationProfileRequest]
24
+ # @param investor_profiles_corporations [PostInvestorProfilesCorporations]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [V1EntitiesInvestorProfileCorporation]
27
- def create_corporation_profile(create_corporation_profile_request, opts = {})
28
- data, _status_code, _headers = create_corporation_profile_with_http_info(create_corporation_profile_request, opts)
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 create_corporation_profile_request [CreateCorporationProfileRequest]
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(create_corporation_profile_request, opts = {})
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 'create_corporation_profile_request' is set
42
- if @api_client.config.client_side_validation && create_corporation_profile_request.nil?
43
- fail ArgumentError, "Missing the required parameter 'create_corporation_profile_request' when calling InvestorProfileApi.create_corporation_profile"
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(create_corporation_profile_request)
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 create_individual_profile_request [CreateIndividualProfileRequest]
92
+ # @param investor_profiles_individuals [PostInvestorProfilesIndividuals]
93
93
  # @param [Hash] opts the optional parameters
94
94
  # @return [V1EntitiesInvestorProfileIndividual]
95
- def create_individual_profile(create_individual_profile_request, opts = {})
96
- data, _status_code, _headers = create_individual_profile_with_http_info(create_individual_profile_request, opts)
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 create_individual_profile_request [CreateIndividualProfileRequest]
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(create_individual_profile_request, opts = {})
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 'create_individual_profile_request' is set
110
- if @api_client.config.client_side_validation && create_individual_profile_request.nil?
111
- fail ArgumentError, "Missing the required parameter 'create_individual_profile_request' when calling InvestorProfileApi.create_individual_profile"
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(create_individual_profile_request)
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 create_joint_profile_request [CreateJointProfileRequest]
160
+ # @param investor_profiles_joints [PostInvestorProfilesJoints]
161
161
  # @param [Hash] opts the optional parameters
162
162
  # @return [V1EntitiesInvestorProfileJoint]
163
- def create_joint_profile(create_joint_profile_request, opts = {})
164
- data, _status_code, _headers = create_joint_profile_with_http_info(create_joint_profile_request, opts)
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 create_joint_profile_request [CreateJointProfileRequest]
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(create_joint_profile_request, opts = {})
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 'create_joint_profile_request' is set
178
- if @api_client.config.client_side_validation && create_joint_profile_request.nil?
179
- fail ArgumentError, "Missing the required parameter 'create_joint_profile_request' when calling InvestorProfileApi.create_joint_profile"
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(create_joint_profile_request)
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 create_trust_profile_request [CreateTrustProfileRequest]
228
+ # @param investor_profiles_trusts [PostInvestorProfilesTrusts]
229
229
  # @param [Hash] opts the optional parameters
230
230
  # @return [V1EntitiesInvestorProfileTrust]
231
- def create_trust_profile(create_trust_profile_request, opts = {})
232
- data, _status_code, _headers = create_trust_profile_with_http_info(create_trust_profile_request, opts)
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 create_trust_profile_request [CreateTrustProfileRequest]
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(create_trust_profile_request, opts = {})
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 'create_trust_profile_request' is set
246
- if @api_client.config.client_side_validation && create_trust_profile_request.nil?
247
- fail ArgumentError, "Missing the required parameter 'create_trust_profile_request' when calling InvestorProfileApi.create_trust_profile"
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(create_trust_profile_request)
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 patch_corporation_profile_request [PatchCorporationProfileRequest]
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, patch_corporation_profile_request, opts = {})
505
- data, _status_code, _headers = patch_corporation_profile_with_http_info(investor_profile_id, patch_corporation_profile_request, opts)
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 patch_corporation_profile_request [PatchCorporationProfileRequest]
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, patch_corporation_profile_request, opts = {})
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 '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"
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(patch_corporation_profile_request)
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(opts[:'patch_individual_profile_request'])
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(opts[:'patch_joint_profile_request'])
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(opts[:'patch_trust_profile_request'])
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'
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
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
- return access_token if access_token_getter.nil?
226
- access_token_getter.call
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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -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.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12