DealMakerAPI 0.86.1 → 0.88.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. checksums.yaml +4 -4
  2. data/DealMakerAPI.gemspec +1 -1
  3. data/README.md +10 -7
  4. data/docs/CompanyApi.md +67 -0
  5. data/docs/CreateShareholderActionRequest.md +3 -1
  6. data/docs/DealApi.md +0 -71
  7. data/docs/InvestorApi.md +83 -14
  8. data/docs/{CreateInvestorRequest.md → PostDealsIdInvestors.md} +2 -4
  9. data/docs/{UpdateInvestorRequest.md → PutDealsIdInvestors.md} +2 -4
  10. data/docs/V1EntitiesBulkUpload.md +1 -1
  11. data/docs/V1EntitiesDividend.md +24 -0
  12. data/docs/V1EntitiesDividends.md +18 -0
  13. data/lib/DealMakerAPI/api/company_api.rb +64 -1
  14. data/lib/DealMakerAPI/api/country_api.rb +1 -1
  15. data/lib/DealMakerAPI/api/deal_api.rb +1 -67
  16. data/lib/DealMakerAPI/api/deal_setup_api.rb +1 -1
  17. data/lib/DealMakerAPI/api/deals_api.rb +1 -1
  18. data/lib/DealMakerAPI/api/default_api.rb +1 -1
  19. data/lib/DealMakerAPI/api/investor_api.rb +95 -16
  20. data/lib/DealMakerAPI/api/investor_profile_api.rb +1 -1
  21. data/lib/DealMakerAPI/api/shareholder_api.rb +1 -1
  22. data/lib/DealMakerAPI/api/upload_api.rb +1 -1
  23. data/lib/DealMakerAPI/api/users_api.rb +1 -1
  24. data/lib/DealMakerAPI/api_client.rb +1 -1
  25. data/lib/DealMakerAPI/api_error.rb +1 -1
  26. data/lib/DealMakerAPI/configuration.rb +1 -1
  27. data/lib/DealMakerAPI/models/add506c_document_request.rb +1 -1
  28. data/lib/DealMakerAPI/models/add_document_request.rb +1 -1
  29. data/lib/DealMakerAPI/models/bulk_upload_investors_request.rb +1 -1
  30. data/lib/DealMakerAPI/models/create_bulk_upload_detail_request.rb +1 -1
  31. data/lib/DealMakerAPI/models/create_bulk_upload_request.rb +1 -1
  32. data/lib/DealMakerAPI/models/create_company_request.rb +1 -1
  33. data/lib/DealMakerAPI/models/create_deal_setup_request.rb +1 -1
  34. data/lib/DealMakerAPI/models/create_shareholder_action_request.rb +17 -5
  35. data/lib/DealMakerAPI/models/edit_investor_tags_request.rb +1 -1
  36. data/lib/DealMakerAPI/models/generate_url_request.rb +1 -1
  37. data/lib/DealMakerAPI/models/patch_investor_profiles_corporations.rb +1 -1
  38. data/lib/DealMakerAPI/models/patch_investor_profiles_corporations_beneficial_owners_inner.rb +1 -1
  39. data/lib/DealMakerAPI/models/patch_investor_profiles_individuals.rb +1 -1
  40. data/lib/DealMakerAPI/models/patch_investor_profiles_joints.rb +1 -1
  41. data/lib/DealMakerAPI/models/patch_investor_profiles_trusts.rb +1 -1
  42. data/lib/DealMakerAPI/models/patch_investor_request.rb +1 -1
  43. data/lib/DealMakerAPI/models/{create_investor_request.rb → post_deals_id_investors.rb} +6 -15
  44. data/lib/DealMakerAPI/models/post_investor_profiles_corporations.rb +1 -1
  45. data/lib/DealMakerAPI/models/post_investor_profiles_corporations_beneficial_owners_inner.rb +1 -1
  46. data/lib/DealMakerAPI/models/post_investor_profiles_individuals.rb +1 -1
  47. data/lib/DealMakerAPI/models/post_investor_profiles_joints.rb +1 -1
  48. data/lib/DealMakerAPI/models/post_investor_profiles_trusts.rb +1 -1
  49. data/lib/DealMakerAPI/models/post_investor_profiles_trusts_trustees_inner.rb +1 -1
  50. data/lib/DealMakerAPI/models/post_webhooks_request.rb +1 -1
  51. data/lib/DealMakerAPI/models/{update_investor_request.rb → put_deals_id_investors.rb} +6 -15
  52. data/lib/DealMakerAPI/models/put_deals_id_script_tag_environment_request.rb +1 -1
  53. data/lib/DealMakerAPI/models/put_webhooks_id_request.rb +1 -1
  54. data/lib/DealMakerAPI/models/v1_entities_address.rb +1 -1
  55. data/lib/DealMakerAPI/models/v1_entities_addresses.rb +1 -1
  56. data/lib/DealMakerAPI/models/v1_entities_attachment.rb +1 -1
  57. data/lib/DealMakerAPI/models/v1_entities_background_check_search.rb +1 -1
  58. data/lib/DealMakerAPI/models/v1_entities_bulk_upload.rb +36 -2
  59. data/lib/DealMakerAPI/models/v1_entities_bulk_upload_detail.rb +1 -1
  60. data/lib/DealMakerAPI/models/v1_entities_bulk_upload_details.rb +1 -1
  61. data/lib/DealMakerAPI/models/v1_entities_bulk_uploads.rb +1 -1
  62. data/lib/DealMakerAPI/models/v1_entities_company.rb +1 -1
  63. data/lib/DealMakerAPI/models/v1_entities_company_deal.rb +1 -1
  64. data/lib/DealMakerAPI/models/v1_entities_company_deals.rb +1 -1
  65. data/lib/DealMakerAPI/models/v1_entities_countries.rb +1 -1
  66. data/lib/DealMakerAPI/models/v1_entities_country.rb +1 -1
  67. data/lib/DealMakerAPI/models/v1_entities_deal.rb +1 -1
  68. data/lib/DealMakerAPI/models/v1_entities_deal_enterprise.rb +1 -1
  69. data/lib/DealMakerAPI/models/v1_entities_deal_funding_metrics.rb +1 -1
  70. data/lib/DealMakerAPI/models/v1_entities_deal_investor_metrics.rb +1 -1
  71. data/lib/DealMakerAPI/models/v1_entities_deal_issuer.rb +1 -1
  72. data/lib/DealMakerAPI/models/v1_entities_deal_setup.rb +1 -1
  73. data/lib/DealMakerAPI/models/v1_entities_deal_setup_user.rb +1 -1
  74. data/lib/DealMakerAPI/models/v1_entities_deals.rb +1 -1
  75. data/lib/DealMakerAPI/models/v1_entities_dividend.rb +245 -0
  76. data/lib/DealMakerAPI/models/v1_entities_dividends.rb +215 -0
  77. data/lib/DealMakerAPI/models/v1_entities_express_wire_instruction.rb +1 -1
  78. data/lib/DealMakerAPI/models/v1_entities_express_wire_instructions.rb +1 -1
  79. data/lib/DealMakerAPI/models/v1_entities_generic_response.rb +1 -1
  80. data/lib/DealMakerAPI/models/v1_entities_investor.rb +1 -1
  81. data/lib/DealMakerAPI/models/v1_entities_investor_otp_access_link.rb +1 -1
  82. data/lib/DealMakerAPI/models/v1_entities_investor_profile_address.rb +1 -1
  83. data/lib/DealMakerAPI/models/v1_entities_investor_profile_corporation.rb +1 -1
  84. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_account_holder.rb +1 -1
  85. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_beneficial_owner.rb +1 -1
  86. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_corporation.rb +1 -1
  87. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_primary_holder.rb +1 -1
  88. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_signing_officer.rb +1 -1
  89. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_trust.rb +1 -1
  90. data/lib/DealMakerAPI/models/v1_entities_investor_profile_individual.rb +1 -1
  91. data/lib/DealMakerAPI/models/v1_entities_investor_profile_item.rb +1 -1
  92. data/lib/DealMakerAPI/models/v1_entities_investor_profile_joint.rb +1 -1
  93. data/lib/DealMakerAPI/models/v1_entities_investor_profile_owner.rb +1 -1
  94. data/lib/DealMakerAPI/models/v1_entities_investor_profile_trust.rb +1 -1
  95. data/lib/DealMakerAPI/models/v1_entities_investor_profiles.rb +1 -1
  96. data/lib/DealMakerAPI/models/v1_entities_investor_user.rb +1 -1
  97. data/lib/DealMakerAPI/models/v1_entities_investors.rb +1 -1
  98. data/lib/DealMakerAPI/models/v1_entities_presigned_url_result.rb +1 -1
  99. data/lib/DealMakerAPI/models/v1_entities_shareholder.rb +1 -1
  100. data/lib/DealMakerAPI/models/v1_entities_shareholders.rb +1 -1
  101. data/lib/DealMakerAPI/models/v1_entities_shareholders_tags.rb +1 -1
  102. data/lib/DealMakerAPI/models/v1_entities_state.rb +1 -1
  103. data/lib/DealMakerAPI/models/v1_entities_subscription_agreement.rb +1 -1
  104. data/lib/DealMakerAPI/models/v1_entities_webhooks_deal.rb +1 -1
  105. data/lib/DealMakerAPI/models/v1_entities_webhooks_security_token.rb +1 -1
  106. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription.rb +1 -1
  107. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deal.rb +1 -1
  108. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deals.rb +1 -1
  109. data/lib/DealMakerAPI/version.rb +2 -2
  110. data/lib/DealMakerAPI.rb +5 -3
  111. data/spec/api/company_api_spec.rb +13 -1
  112. data/spec/api/country_api_spec.rb +1 -1
  113. data/spec/api/deal_api_spec.rb +1 -14
  114. data/spec/api/deal_setup_api_spec.rb +1 -1
  115. data/spec/api/deals_api_spec.rb +1 -1
  116. data/spec/api/default_api_spec.rb +1 -1
  117. data/spec/api/investor_api_spec.rb +17 -3
  118. data/spec/api/investor_profile_api_spec.rb +1 -1
  119. data/spec/api/shareholder_api_spec.rb +1 -1
  120. data/spec/api/upload_api_spec.rb +1 -1
  121. data/spec/api/users_api_spec.rb +1 -1
  122. data/spec/api_client_spec.rb +1 -1
  123. data/spec/configuration_spec.rb +1 -1
  124. data/spec/models/add506c_document_request_spec.rb +4 -2
  125. data/spec/models/add_document_request_spec.rb +4 -2
  126. data/spec/models/bulk_upload_investors_request_spec.rb +4 -2
  127. data/spec/models/create_bulk_upload_detail_request_spec.rb +4 -2
  128. data/spec/models/create_bulk_upload_request_spec.rb +4 -2
  129. data/spec/models/create_company_request_spec.rb +4 -2
  130. data/spec/models/create_deal_setup_request_spec.rb +4 -2
  131. data/spec/models/create_shareholder_action_request_spec.rb +10 -2
  132. data/spec/models/edit_investor_tags_request_spec.rb +4 -2
  133. data/spec/models/generate_url_request_spec.rb +4 -2
  134. data/spec/models/patch_investor_profiles_corporations_beneficial_owners_inner_spec.rb +4 -2
  135. data/spec/models/patch_investor_profiles_corporations_spec.rb +4 -2
  136. data/spec/models/patch_investor_profiles_individuals_spec.rb +4 -2
  137. data/spec/models/patch_investor_profiles_joints_spec.rb +4 -2
  138. data/spec/models/patch_investor_profiles_trusts_spec.rb +4 -2
  139. data/spec/models/patch_investor_request_spec.rb +4 -2
  140. data/spec/models/{create_investor_request_spec.rb → post_deals_id_investors_spec.rb} +9 -13
  141. data/spec/models/post_investor_profiles_corporations_beneficial_owners_inner_spec.rb +4 -2
  142. data/spec/models/post_investor_profiles_corporations_spec.rb +4 -2
  143. data/spec/models/post_investor_profiles_individuals_spec.rb +4 -2
  144. data/spec/models/post_investor_profiles_joints_spec.rb +4 -2
  145. data/spec/models/post_investor_profiles_trusts_spec.rb +4 -2
  146. data/spec/models/post_investor_profiles_trusts_trustees_inner_spec.rb +4 -2
  147. data/spec/models/post_webhooks_request_spec.rb +4 -2
  148. data/spec/models/{update_investor_request_spec.rb → put_deals_id_investors_spec.rb} +9 -13
  149. data/spec/models/put_deals_id_script_tag_environment_request_spec.rb +4 -2
  150. data/spec/models/put_webhooks_id_request_spec.rb +4 -2
  151. data/spec/models/v1_entities_address_spec.rb +4 -2
  152. data/spec/models/v1_entities_addresses_spec.rb +4 -2
  153. data/spec/models/v1_entities_attachment_spec.rb +4 -2
  154. data/spec/models/v1_entities_background_check_search_spec.rb +4 -2
  155. data/spec/models/v1_entities_bulk_upload_detail_spec.rb +4 -2
  156. data/spec/models/v1_entities_bulk_upload_details_spec.rb +4 -2
  157. data/spec/models/v1_entities_bulk_upload_spec.rb +8 -2
  158. data/spec/models/v1_entities_bulk_uploads_spec.rb +4 -2
  159. data/spec/models/v1_entities_company_deal_spec.rb +4 -2
  160. data/spec/models/v1_entities_company_deals_spec.rb +4 -2
  161. data/spec/models/v1_entities_company_spec.rb +4 -2
  162. data/spec/models/v1_entities_countries_spec.rb +4 -2
  163. data/spec/models/v1_entities_country_spec.rb +4 -2
  164. data/spec/models/v1_entities_deal_enterprise_spec.rb +4 -2
  165. data/spec/models/v1_entities_deal_funding_metrics_spec.rb +4 -2
  166. data/spec/models/v1_entities_deal_investor_metrics_spec.rb +4 -2
  167. data/spec/models/v1_entities_deal_issuer_spec.rb +4 -2
  168. data/spec/models/v1_entities_deal_setup_spec.rb +4 -2
  169. data/spec/models/v1_entities_deal_setup_user_spec.rb +4 -2
  170. data/spec/models/v1_entities_deal_spec.rb +4 -2
  171. data/spec/models/v1_entities_deals_spec.rb +4 -2
  172. data/spec/models/v1_entities_dividend_spec.rb +54 -0
  173. data/spec/models/v1_entities_dividends_spec.rb +36 -0
  174. data/spec/models/v1_entities_express_wire_instruction_spec.rb +4 -2
  175. data/spec/models/v1_entities_express_wire_instructions_spec.rb +4 -2
  176. data/spec/models/v1_entities_generic_response_spec.rb +4 -2
  177. data/spec/models/v1_entities_investor_otp_access_link_spec.rb +4 -2
  178. data/spec/models/v1_entities_investor_profile_address_spec.rb +4 -2
  179. data/spec/models/v1_entities_investor_profile_corporation_spec.rb +4 -2
  180. data/spec/models/v1_entities_investor_profile_fields_account_holder_spec.rb +4 -2
  181. data/spec/models/v1_entities_investor_profile_fields_beneficial_owner_spec.rb +4 -2
  182. data/spec/models/v1_entities_investor_profile_fields_corporation_spec.rb +4 -2
  183. data/spec/models/v1_entities_investor_profile_fields_primary_holder_spec.rb +4 -2
  184. data/spec/models/v1_entities_investor_profile_fields_signing_officer_spec.rb +4 -2
  185. data/spec/models/v1_entities_investor_profile_fields_trust_spec.rb +4 -2
  186. data/spec/models/v1_entities_investor_profile_individual_spec.rb +4 -2
  187. data/spec/models/v1_entities_investor_profile_item_spec.rb +4 -2
  188. data/spec/models/v1_entities_investor_profile_joint_spec.rb +4 -2
  189. data/spec/models/v1_entities_investor_profile_owner_spec.rb +4 -2
  190. data/spec/models/v1_entities_investor_profile_trust_spec.rb +4 -2
  191. data/spec/models/v1_entities_investor_profiles_spec.rb +4 -2
  192. data/spec/models/v1_entities_investor_spec.rb +4 -2
  193. data/spec/models/v1_entities_investor_user_spec.rb +4 -2
  194. data/spec/models/v1_entities_investors_spec.rb +4 -2
  195. data/spec/models/v1_entities_presigned_url_result_spec.rb +4 -2
  196. data/spec/models/v1_entities_shareholder_spec.rb +4 -2
  197. data/spec/models/v1_entities_shareholders_spec.rb +4 -2
  198. data/spec/models/v1_entities_shareholders_tags_spec.rb +4 -2
  199. data/spec/models/v1_entities_state_spec.rb +4 -2
  200. data/spec/models/v1_entities_subscription_agreement_spec.rb +4 -2
  201. data/spec/models/v1_entities_webhooks_deal_spec.rb +4 -2
  202. data/spec/models/v1_entities_webhooks_security_token_spec.rb +4 -2
  203. data/spec/models/v1_entities_webhooks_subscription_deal_spec.rb +4 -2
  204. data/spec/models/v1_entities_webhooks_subscription_deals_spec.rb +4 -2
  205. data/spec/models/v1_entities_webhooks_subscription_spec.rb +4 -2
  206. data/spec/spec_helper.rb +1 -1
  207. metadata +85 -77
@@ -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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -19,72 +19,6 @@ module DealMakerAPI
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Get Analytics Dashboard Info
23
- # Get Analytics Dashboard Info
24
- # @param id [Integer] The deal id.
25
- # @param [Hash] opts the optional parameters
26
- # @option opts [String] :dashboard_key The dashboard key.
27
- # @return [Object]
28
- def get_analytics_dashboard_info(id, opts = {})
29
- data, _status_code, _headers = get_analytics_dashboard_info_with_http_info(id, opts)
30
- data
31
- end
32
-
33
- # Get Analytics Dashboard Info
34
- # Get Analytics Dashboard Info
35
- # @param id [Integer] The deal id.
36
- # @param [Hash] opts the optional parameters
37
- # @option opts [String] :dashboard_key The dashboard key.
38
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
39
- def get_analytics_dashboard_info_with_http_info(id, opts = {})
40
- if @api_client.config.debugging
41
- @api_client.config.logger.debug 'Calling API: DealApi.get_analytics_dashboard_info ...'
42
- end
43
- # verify the required parameter 'id' is set
44
- if @api_client.config.client_side_validation && id.nil?
45
- fail ArgumentError, "Missing the required parameter 'id' when calling DealApi.get_analytics_dashboard_info"
46
- end
47
- # resource path
48
- local_var_path = '/deals/{id}/analytics_dashboard_info'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
49
-
50
- # query parameters
51
- query_params = opts[:query_params] || {}
52
- query_params[:'dashboard_key'] = opts[:'dashboard_key'] if !opts[:'dashboard_key'].nil?
53
-
54
- # header parameters
55
- header_params = opts[:header_params] || {}
56
- # HTTP header 'Accept' (if needed)
57
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
58
-
59
- # form parameters
60
- form_params = opts[:form_params] || {}
61
-
62
- # http body (model)
63
- post_body = opts[:debug_body]
64
-
65
- # return_type
66
- return_type = opts[:debug_return_type] || 'Object'
67
-
68
- # auth_names
69
- auth_names = opts[:debug_auth_names] || []
70
-
71
- new_options = opts.merge(
72
- :operation => :"DealApi.get_analytics_dashboard_info",
73
- :header_params => header_params,
74
- :query_params => query_params,
75
- :form_params => form_params,
76
- :body => post_body,
77
- :auth_names => auth_names,
78
- :return_type => return_type
79
- )
80
-
81
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
82
- if @api_client.config.debugging
83
- @api_client.config.logger.debug "API called: DealApi#get_analytics_dashboard_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
84
- end
85
- return data, status_code, headers
86
- end
87
-
88
22
  # Get deal by Deal ID
89
23
  # Gets a single deal using the Deal ID
90
24
  # @param id [Integer] The deal id.
@@ -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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -256,21 +256,21 @@ module DealMakerAPI
256
256
  # Create a deal investor
257
257
  # Create a single deal investor.
258
258
  # @param id [Integer] The deal id.
259
- # @param create_investor_request [CreateInvestorRequest]
259
+ # @param deals_id_investors [PostDealsIdInvestors]
260
260
  # @param [Hash] opts the optional parameters
261
261
  # @return [V1EntitiesInvestor]
262
- def create_investor(id, create_investor_request, opts = {})
263
- data, _status_code, _headers = create_investor_with_http_info(id, create_investor_request, opts)
262
+ def create_investor(id, deals_id_investors, opts = {})
263
+ data, _status_code, _headers = create_investor_with_http_info(id, deals_id_investors, opts)
264
264
  data
265
265
  end
266
266
 
267
267
  # Create a deal investor
268
268
  # Create a single deal investor.
269
269
  # @param id [Integer] The deal id.
270
- # @param create_investor_request [CreateInvestorRequest]
270
+ # @param deals_id_investors [PostDealsIdInvestors]
271
271
  # @param [Hash] opts the optional parameters
272
272
  # @return [Array<(V1EntitiesInvestor, Integer, Hash)>] V1EntitiesInvestor data, response status code and response headers
273
- def create_investor_with_http_info(id, create_investor_request, opts = {})
273
+ def create_investor_with_http_info(id, deals_id_investors, opts = {})
274
274
  if @api_client.config.debugging
275
275
  @api_client.config.logger.debug 'Calling API: InvestorApi.create_investor ...'
276
276
  end
@@ -278,9 +278,9 @@ module DealMakerAPI
278
278
  if @api_client.config.client_side_validation && id.nil?
279
279
  fail ArgumentError, "Missing the required parameter 'id' when calling InvestorApi.create_investor"
280
280
  end
281
- # verify the required parameter 'create_investor_request' is set
282
- if @api_client.config.client_side_validation && create_investor_request.nil?
283
- fail ArgumentError, "Missing the required parameter 'create_investor_request' when calling InvestorApi.create_investor"
281
+ # verify the required parameter 'deals_id_investors' is set
282
+ if @api_client.config.client_side_validation && deals_id_investors.nil?
283
+ fail ArgumentError, "Missing the required parameter 'deals_id_investors' when calling InvestorApi.create_investor"
284
284
  end
285
285
  # resource path
286
286
  local_var_path = '/deals/{id}/investors'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
@@ -302,7 +302,7 @@ module DealMakerAPI
302
302
  form_params = opts[:form_params] || {}
303
303
 
304
304
  # http body (model)
305
- post_body = opts[:debug_body] || @api_client.object_to_http_body(create_investor_request)
305
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(deals_id_investors)
306
306
 
307
307
  # return_type
308
308
  return_type = opts[:debug_return_type] || 'V1EntitiesInvestor'
@@ -547,6 +547,81 @@ module DealMakerAPI
547
547
  return data, status_code, headers
548
548
  end
549
549
 
550
+ # Get enforcements for a background search
551
+ # Get enforcements for a background search
552
+ # @param id [Integer]
553
+ # @param investor_id [Integer]
554
+ # @param search_entity_id [Integer]
555
+ # @param [Hash] opts the optional parameters
556
+ # @return [V1EntitiesInvestor]
557
+ def get_enforcements(id, investor_id, search_entity_id, opts = {})
558
+ data, _status_code, _headers = get_enforcements_with_http_info(id, investor_id, search_entity_id, opts)
559
+ data
560
+ end
561
+
562
+ # Get enforcements for a background search
563
+ # Get enforcements for a background search
564
+ # @param id [Integer]
565
+ # @param investor_id [Integer]
566
+ # @param search_entity_id [Integer]
567
+ # @param [Hash] opts the optional parameters
568
+ # @return [Array<(V1EntitiesInvestor, Integer, Hash)>] V1EntitiesInvestor data, response status code and response headers
569
+ def get_enforcements_with_http_info(id, investor_id, search_entity_id, opts = {})
570
+ if @api_client.config.debugging
571
+ @api_client.config.logger.debug 'Calling API: InvestorApi.get_enforcements ...'
572
+ end
573
+ # verify the required parameter 'id' is set
574
+ if @api_client.config.client_side_validation && id.nil?
575
+ fail ArgumentError, "Missing the required parameter 'id' when calling InvestorApi.get_enforcements"
576
+ end
577
+ # verify the required parameter 'investor_id' is set
578
+ if @api_client.config.client_side_validation && investor_id.nil?
579
+ fail ArgumentError, "Missing the required parameter 'investor_id' when calling InvestorApi.get_enforcements"
580
+ end
581
+ # verify the required parameter 'search_entity_id' is set
582
+ if @api_client.config.client_side_validation && search_entity_id.nil?
583
+ fail ArgumentError, "Missing the required parameter 'search_entity_id' when calling InvestorApi.get_enforcements"
584
+ end
585
+ # resource path
586
+ local_var_path = '/deals/{id}/investors/{investor_id}/background_checks/{search_entity_id}/enforcements'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'investor_id' + '}', CGI.escape(investor_id.to_s)).sub('{' + 'search_entity_id' + '}', CGI.escape(search_entity_id.to_s))
587
+
588
+ # query parameters
589
+ query_params = opts[:query_params] || {}
590
+
591
+ # header parameters
592
+ header_params = opts[:header_params] || {}
593
+ # HTTP header 'Accept' (if needed)
594
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
595
+
596
+ # form parameters
597
+ form_params = opts[:form_params] || {}
598
+
599
+ # http body (model)
600
+ post_body = opts[:debug_body]
601
+
602
+ # return_type
603
+ return_type = opts[:debug_return_type] || 'V1EntitiesInvestor'
604
+
605
+ # auth_names
606
+ auth_names = opts[:debug_auth_names] || []
607
+
608
+ new_options = opts.merge(
609
+ :operation => :"InvestorApi.get_enforcements",
610
+ :header_params => header_params,
611
+ :query_params => query_params,
612
+ :form_params => form_params,
613
+ :body => post_body,
614
+ :auth_names => auth_names,
615
+ :return_type => return_type
616
+ )
617
+
618
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
619
+ if @api_client.config.debugging
620
+ @api_client.config.logger.debug "API called: InvestorApi#get_enforcements\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
621
+ end
622
+ return data, status_code, headers
623
+ end
624
+
550
625
  # Get a deal investor by id
551
626
  # Gets a single investor by the id.
552
627
  # @param id [Integer] The deal id.
@@ -847,11 +922,11 @@ module DealMakerAPI
847
922
  # Update deal investor
848
923
  # @param id [Integer] The deal id.
849
924
  # @param investor_id [Integer] The investor id.
925
+ # @param deals_id_investors [PutDealsIdInvestors]
850
926
  # @param [Hash] opts the optional parameters
851
- # @option opts [UpdateInvestorRequest] :update_investor_request
852
927
  # @return [V1EntitiesInvestor]
853
- def update_investor(id, investor_id, opts = {})
854
- data, _status_code, _headers = update_investor_with_http_info(id, investor_id, opts)
928
+ def update_investor(id, investor_id, deals_id_investors, opts = {})
929
+ data, _status_code, _headers = update_investor_with_http_info(id, investor_id, deals_id_investors, opts)
855
930
  data
856
931
  end
857
932
 
@@ -859,10 +934,10 @@ module DealMakerAPI
859
934
  # Update deal investor
860
935
  # @param id [Integer] The deal id.
861
936
  # @param investor_id [Integer] The investor id.
937
+ # @param deals_id_investors [PutDealsIdInvestors]
862
938
  # @param [Hash] opts the optional parameters
863
- # @option opts [UpdateInvestorRequest] :update_investor_request
864
939
  # @return [Array<(V1EntitiesInvestor, Integer, Hash)>] V1EntitiesInvestor data, response status code and response headers
865
- def update_investor_with_http_info(id, investor_id, opts = {})
940
+ def update_investor_with_http_info(id, investor_id, deals_id_investors, opts = {})
866
941
  if @api_client.config.debugging
867
942
  @api_client.config.logger.debug 'Calling API: InvestorApi.update_investor ...'
868
943
  end
@@ -874,6 +949,10 @@ module DealMakerAPI
874
949
  if @api_client.config.client_side_validation && investor_id.nil?
875
950
  fail ArgumentError, "Missing the required parameter 'investor_id' when calling InvestorApi.update_investor"
876
951
  end
952
+ # verify the required parameter 'deals_id_investors' is set
953
+ if @api_client.config.client_side_validation && deals_id_investors.nil?
954
+ fail ArgumentError, "Missing the required parameter 'deals_id_investors' when calling InvestorApi.update_investor"
955
+ end
877
956
  # resource path
878
957
  local_var_path = '/deals/{id}/investors/{investor_id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'investor_id' + '}', CGI.escape(investor_id.to_s))
879
958
 
@@ -894,7 +973,7 @@ module DealMakerAPI
894
973
  form_params = opts[:form_params] || {}
895
974
 
896
975
  # http body (model)
897
- post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'update_investor_request'])
976
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(deals_id_investors)
898
977
 
899
978
  # return_type
900
979
  return_type = opts[:debug_return_type] || 'V1EntitiesInvestor'
@@ -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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -21,11 +21,15 @@ module DealMakerAPI
21
21
  # The description of the shareholder action
22
22
  attr_accessor :description
23
23
 
24
+ # The document associated with the shareholder action
25
+ attr_accessor :request_documents
26
+
24
27
  # Attribute mapping from ruby-style variable name to JSON key.
25
28
  def self.attribute_map
26
29
  {
27
30
  :'request_type' => :'request_type',
28
- :'description' => :'description'
31
+ :'description' => :'description',
32
+ :'request_documents' => :'request_documents'
29
33
  }
30
34
  end
31
35
 
@@ -38,7 +42,8 @@ module DealMakerAPI
38
42
  def self.openapi_types
39
43
  {
40
44
  :'request_type' => :'String',
41
- :'description' => :'String'
45
+ :'description' => :'String',
46
+ :'request_documents' => :'Array<File>'
42
47
  }
43
48
  end
44
49
 
@@ -74,6 +79,12 @@ module DealMakerAPI
74
79
  else
75
80
  self.description = nil
76
81
  end
82
+
83
+ if attributes.key?(:'request_documents')
84
+ if (value = attributes[:'request_documents']).is_a?(Array)
85
+ self.request_documents = value
86
+ end
87
+ end
77
88
  end
78
89
 
79
90
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -107,7 +118,8 @@ module DealMakerAPI
107
118
  return true if self.equal?(o)
108
119
  self.class == o.class &&
109
120
  request_type == o.request_type &&
110
- description == o.description
121
+ description == o.description &&
122
+ request_documents == o.request_documents
111
123
  end
112
124
 
113
125
  # @see the `==` method
@@ -119,7 +131,7 @@ module DealMakerAPI
119
131
  # Calculates hash code according to all attributes.
120
132
  # @return [Integer] Hash code
121
133
  def hash
122
- [request_type, description].hash
134
+ [request_type, description, request_documents].hash
123
135
  end
124
136
 
125
137
  # Builds the object from hash
@@ -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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-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.1-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12