DealMakerAPI 0.102.1 → 0.103.6

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 (317) hide show
  1. checksums.yaml +4 -4
  2. data/DealMakerAPI.gemspec +1 -1
  3. data/README.md +28 -6
  4. data/docs/CompanyApi.md +68 -0
  5. data/docs/DealApi.md +80 -9
  6. data/docs/DefaultApi.md +136 -0
  7. data/docs/PaymentsApi.md +75 -0
  8. data/docs/SetupSmsVerificationRequest.md +18 -0
  9. data/docs/TestDocumentUploadEmailRequest.md +22 -0
  10. data/docs/UpdateUserPasswordRequest.md +4 -2
  11. data/docs/UserApi.md +340 -0
  12. data/docs/V1EntitiesAttachment.md +2 -0
  13. data/docs/V1EntitiesDealsInvestorsPaymentAchBankAccountSetupIntent.md +20 -0
  14. data/docs/V1EntitiesDealsProgress.md +20 -0
  15. data/docs/V1EntitiesDealsProgressColumn.md +22 -0
  16. data/docs/V1EntitiesDealsProgressPageSummary.md +32 -0
  17. data/docs/V1EntitiesUsersBinding.md +20 -0
  18. data/docs/V1EntitiesUsersFactor.md +22 -0
  19. data/docs/V1EntitiesUsersTwoFactorChannel.md +32 -0
  20. data/docs/V1EntitiesUsersTwoFactorChannels.md +18 -0
  21. data/docs/VerifyFactorRequest.md +18 -0
  22. data/docs/VerifySmsVerificationRequest.md +20 -0
  23. data/lib/DealMakerAPI/api/company_api.rb +73 -1
  24. data/lib/DealMakerAPI/api/country_api.rb +1 -1
  25. data/lib/DealMakerAPI/api/custom_emails_api.rb +1 -1
  26. data/lib/DealMakerAPI/api/deal_api.rb +85 -10
  27. data/lib/DealMakerAPI/api/deals_api.rb +1 -1
  28. data/lib/DealMakerAPI/api/default_api.rb +138 -1
  29. data/lib/DealMakerAPI/api/incentive_plan_api.rb +1 -1
  30. data/lib/DealMakerAPI/api/investor_api.rb +1 -1
  31. data/lib/DealMakerAPI/api/investor_profile_api.rb +1 -1
  32. data/lib/DealMakerAPI/api/payments_api.rb +89 -0
  33. data/lib/DealMakerAPI/api/shareholder_api.rb +1 -1
  34. data/lib/DealMakerAPI/api/upload_api.rb +1 -1
  35. data/lib/DealMakerAPI/api/user_api.rb +347 -1
  36. data/lib/DealMakerAPI/api/users_api.rb +1 -1
  37. data/lib/DealMakerAPI/api_client.rb +3 -3
  38. data/lib/DealMakerAPI/api_error.rb +1 -1
  39. data/lib/DealMakerAPI/configuration.rb +1 -1
  40. data/lib/DealMakerAPI/models/add506c_document_request.rb +1 -1
  41. data/lib/DealMakerAPI/models/add_document_request.rb +1 -1
  42. data/lib/DealMakerAPI/models/bulk_upload_investors_request.rb +1 -1
  43. data/lib/DealMakerAPI/models/create_bulk_upload_detail_request.rb +1 -1
  44. data/lib/DealMakerAPI/models/create_bulk_upload_request.rb +1 -1
  45. data/lib/DealMakerAPI/models/create_company_request.rb +1 -1
  46. data/lib/DealMakerAPI/models/create_deal_setup_request.rb +1 -1
  47. data/lib/DealMakerAPI/models/create_email_template_request.rb +1 -1
  48. data/lib/DealMakerAPI/models/create_members_bulk_upload_request.rb +1 -1
  49. data/lib/DealMakerAPI/models/create_shareholder_action_request.rb +1 -1
  50. data/lib/DealMakerAPI/models/edit_investor_tags_request.rb +1 -1
  51. data/lib/DealMakerAPI/models/generate_url_request.rb +1 -1
  52. data/lib/DealMakerAPI/models/get_access_token_request.rb +1 -1
  53. data/lib/DealMakerAPI/models/patch_deal_incentive_plan_request.rb +1 -1
  54. data/lib/DealMakerAPI/models/patch_investor_profiles_corporations.rb +1 -1
  55. data/lib/DealMakerAPI/models/patch_investor_profiles_corporations_beneficial_owners_inner.rb +1 -1
  56. data/lib/DealMakerAPI/models/patch_investor_profiles_individuals.rb +1 -1
  57. data/lib/DealMakerAPI/models/patch_investor_profiles_joints.rb +1 -1
  58. data/lib/DealMakerAPI/models/patch_investor_profiles_managed.rb +1 -1
  59. data/lib/DealMakerAPI/models/patch_investor_profiles_trusts.rb +1 -1
  60. data/lib/DealMakerAPI/models/patch_investor_profiles_trusts_trustees_inner.rb +1 -1
  61. data/lib/DealMakerAPI/models/patch_investor_request.rb +1 -1
  62. data/lib/DealMakerAPI/models/post_deal_incentive_plan_request.rb +1 -1
  63. data/lib/DealMakerAPI/models/post_deals_id_investors.rb +1 -1
  64. data/lib/DealMakerAPI/models/post_investor_profiles_corporations.rb +1 -1
  65. data/lib/DealMakerAPI/models/post_investor_profiles_corporations_beneficial_owners_inner.rb +1 -1
  66. data/lib/DealMakerAPI/models/post_investor_profiles_individuals.rb +1 -1
  67. data/lib/DealMakerAPI/models/post_investor_profiles_joints.rb +1 -1
  68. data/lib/DealMakerAPI/models/post_investor_profiles_managed.rb +1 -1
  69. data/lib/DealMakerAPI/models/post_investor_profiles_trusts.rb +1 -1
  70. data/lib/DealMakerAPI/models/post_investor_profiles_trusts_trustees_inner.rb +1 -1
  71. data/lib/DealMakerAPI/models/post_webhooks_request.rb +1 -1
  72. data/lib/DealMakerAPI/models/put_deals_id_investors.rb +1 -1
  73. data/lib/DealMakerAPI/models/put_deals_id_script_tag_environment_request.rb +1 -1
  74. data/lib/DealMakerAPI/models/put_webhooks_id_request.rb +1 -1
  75. data/lib/DealMakerAPI/models/request_new_document_request.rb +1 -1
  76. data/lib/DealMakerAPI/models/run_background_search_request.rb +1 -1
  77. data/lib/DealMakerAPI/models/send_portal_invite_request.rb +1 -1
  78. data/lib/DealMakerAPI/models/setup_sms_verification_request.rb +222 -0
  79. data/lib/DealMakerAPI/models/test_document_upload_email_request.rb +256 -0
  80. data/lib/DealMakerAPI/models/update_user_password_request.rb +16 -6
  81. data/lib/DealMakerAPI/models/v1_entities_address.rb +1 -1
  82. data/lib/DealMakerAPI/models/v1_entities_addresses.rb +1 -1
  83. data/lib/DealMakerAPI/models/v1_entities_attachment.rb +12 -2
  84. data/lib/DealMakerAPI/models/v1_entities_background_check_search.rb +1 -1
  85. data/lib/DealMakerAPI/models/v1_entities_beefree_access_token.rb +1 -1
  86. data/lib/DealMakerAPI/models/v1_entities_bulk_upload.rb +1 -1
  87. data/lib/DealMakerAPI/models/v1_entities_bulk_upload_detail.rb +1 -1
  88. data/lib/DealMakerAPI/models/v1_entities_bulk_upload_details.rb +1 -1
  89. data/lib/DealMakerAPI/models/v1_entities_bulk_uploads.rb +1 -1
  90. data/lib/DealMakerAPI/models/v1_entities_company.rb +1 -1
  91. data/lib/DealMakerAPI/models/v1_entities_company_deal.rb +1 -1
  92. data/lib/DealMakerAPI/models/v1_entities_company_deals.rb +1 -1
  93. data/lib/DealMakerAPI/models/v1_entities_countries.rb +1 -1
  94. data/lib/DealMakerAPI/models/v1_entities_country.rb +1 -1
  95. data/lib/DealMakerAPI/models/v1_entities_deal.rb +1 -1
  96. data/lib/DealMakerAPI/models/v1_entities_deal_enterprise.rb +1 -1
  97. data/lib/DealMakerAPI/models/v1_entities_deal_funding_metrics.rb +1 -1
  98. data/lib/DealMakerAPI/models/v1_entities_deal_investor_metrics.rb +1 -1
  99. data/lib/DealMakerAPI/models/v1_entities_deal_issuer.rb +1 -1
  100. data/lib/DealMakerAPI/models/v1_entities_deal_setup.rb +1 -1
  101. data/lib/DealMakerAPI/models/v1_entities_deal_setup_user.rb +1 -1
  102. data/lib/DealMakerAPI/models/v1_entities_deals.rb +1 -1
  103. data/lib/DealMakerAPI/models/v1_entities_deals_incentive_plan.rb +1 -1
  104. data/lib/DealMakerAPI/models/v1_entities_deals_incentive_plans_incentive_tier.rb +1 -1
  105. data/lib/DealMakerAPI/models/v1_entities_deals_investors_payment_ach_bank_account_setup_intent.rb +226 -0
  106. data/lib/DealMakerAPI/models/v1_entities_deals_investors_payment_acss_bank_account_setup_intent.rb +1 -1
  107. data/lib/DealMakerAPI/models/v1_entities_deals_price_details.rb +1 -1
  108. data/lib/DealMakerAPI/models/v1_entities_deals_progress.rb +224 -0
  109. data/lib/DealMakerAPI/models/v1_entities_deals_progress_column.rb +235 -0
  110. data/lib/DealMakerAPI/models/v1_entities_deals_progress_page_summary.rb +286 -0
  111. data/lib/DealMakerAPI/models/v1_entities_dividend.rb +1 -1
  112. data/lib/DealMakerAPI/models/v1_entities_dividends.rb +1 -1
  113. data/lib/DealMakerAPI/models/v1_entities_email_event.rb +1 -1
  114. data/lib/DealMakerAPI/models/v1_entities_email_events.rb +1 -1
  115. data/lib/DealMakerAPI/models/v1_entities_email_template.rb +1 -1
  116. data/lib/DealMakerAPI/models/v1_entities_express_wire_instruction.rb +1 -1
  117. data/lib/DealMakerAPI/models/v1_entities_express_wire_instructions.rb +1 -1
  118. data/lib/DealMakerAPI/models/v1_entities_generic_response.rb +1 -1
  119. data/lib/DealMakerAPI/models/v1_entities_investor.rb +1 -1
  120. data/lib/DealMakerAPI/models/v1_entities_investor_otp_access_link.rb +1 -1
  121. data/lib/DealMakerAPI/models/v1_entities_investor_profile_address.rb +1 -1
  122. data/lib/DealMakerAPI/models/v1_entities_investor_profile_corporation.rb +1 -1
  123. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_account_holder.rb +1 -1
  124. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_beneficial_owner.rb +1 -1
  125. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_beneficiary.rb +1 -1
  126. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_corporation.rb +1 -1
  127. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_primary_holder.rb +1 -1
  128. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_provider.rb +1 -1
  129. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_signing_officer.rb +1 -1
  130. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_trust.rb +1 -1
  131. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_trustee.rb +1 -1
  132. data/lib/DealMakerAPI/models/v1_entities_investor_profile_id.rb +1 -1
  133. data/lib/DealMakerAPI/models/v1_entities_investor_profile_individual.rb +1 -1
  134. data/lib/DealMakerAPI/models/v1_entities_investor_profile_item.rb +1 -1
  135. data/lib/DealMakerAPI/models/v1_entities_investor_profile_joint.rb +1 -1
  136. data/lib/DealMakerAPI/models/v1_entities_investor_profile_managed.rb +1 -1
  137. data/lib/DealMakerAPI/models/v1_entities_investor_profile_owner.rb +1 -1
  138. data/lib/DealMakerAPI/models/v1_entities_investor_profile_trust.rb +1 -1
  139. data/lib/DealMakerAPI/models/v1_entities_investor_profiles.rb +1 -1
  140. data/lib/DealMakerAPI/models/v1_entities_investor_search_entities.rb +1 -1
  141. data/lib/DealMakerAPI/models/v1_entities_investor_search_entities_required_fields.rb +1 -1
  142. data/lib/DealMakerAPI/models/v1_entities_investor_user.rb +1 -1
  143. data/lib/DealMakerAPI/models/v1_entities_investors.rb +1 -1
  144. data/lib/DealMakerAPI/models/v1_entities_members_bulk_upload.rb +1 -1
  145. data/lib/DealMakerAPI/models/v1_entities_members_bulk_uploads.rb +1 -1
  146. data/lib/DealMakerAPI/models/v1_entities_money_entity.rb +1 -1
  147. data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_digital_payments_connection_data.rb +1 -1
  148. data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_payout_account_details_data.rb +1 -1
  149. data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_payout_account_details_result.rb +1 -1
  150. data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_qualification_questionnaire_result.rb +1 -1
  151. data/lib/DealMakerAPI/models/v1_entities_presigned_url_result.rb +1 -1
  152. data/lib/DealMakerAPI/models/v1_entities_shareholder.rb +1 -1
  153. data/lib/DealMakerAPI/models/v1_entities_shareholder_ledger.rb +1 -1
  154. data/lib/DealMakerAPI/models/v1_entities_shareholders.rb +1 -1
  155. data/lib/DealMakerAPI/models/v1_entities_shareholders_tags.rb +1 -1
  156. data/lib/DealMakerAPI/models/v1_entities_state.rb +1 -1
  157. data/lib/DealMakerAPI/models/v1_entities_subscription_agreement.rb +1 -1
  158. data/lib/DealMakerAPI/models/v1_entities_user.rb +1 -1
  159. data/lib/DealMakerAPI/models/v1_entities_users_binding.rb +225 -0
  160. data/lib/DealMakerAPI/models/v1_entities_users_factor.rb +235 -0
  161. data/lib/DealMakerAPI/models/v1_entities_users_two_factor_channel.rb +286 -0
  162. data/lib/DealMakerAPI/models/v1_entities_users_two_factor_channels.rb +215 -0
  163. data/lib/DealMakerAPI/models/v1_entities_webhooks_deal.rb +1 -1
  164. data/lib/DealMakerAPI/models/v1_entities_webhooks_security_token.rb +1 -1
  165. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription.rb +1 -1
  166. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deal.rb +1 -1
  167. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deals.rb +1 -1
  168. data/lib/DealMakerAPI/models/verify_factor_request.rb +222 -0
  169. data/lib/DealMakerAPI/models/verify_sms_verification_request.rb +239 -0
  170. data/lib/DealMakerAPI/version.rb +2 -2
  171. data/lib/DealMakerAPI.rb +14 -1
  172. data/spec/api/company_api_spec.rb +14 -1
  173. data/spec/api/country_api_spec.rb +1 -1
  174. data/spec/api/custom_emails_api_spec.rb +1 -1
  175. data/spec/api/deal_api_spec.rb +17 -3
  176. data/spec/api/deals_api_spec.rb +1 -1
  177. data/spec/api/default_api_spec.rb +26 -1
  178. data/spec/api/incentive_plan_api_spec.rb +1 -1
  179. data/spec/api/investor_api_spec.rb +1 -1
  180. data/spec/api/investor_profile_api_spec.rb +1 -1
  181. data/spec/api/payments_api_spec.rb +48 -0
  182. data/spec/api/shareholder_api_spec.rb +1 -1
  183. data/spec/api/upload_api_spec.rb +1 -1
  184. data/spec/api/user_api_spec.rb +64 -1
  185. data/spec/api/users_api_spec.rb +1 -1
  186. data/spec/models/add506c_document_request_spec.rb +1 -1
  187. data/spec/models/add_document_request_spec.rb +1 -1
  188. data/spec/models/bulk_upload_investors_request_spec.rb +1 -1
  189. data/spec/models/create_bulk_upload_detail_request_spec.rb +1 -1
  190. data/spec/models/create_bulk_upload_request_spec.rb +1 -1
  191. data/spec/models/create_company_request_spec.rb +1 -1
  192. data/spec/models/create_deal_setup_request_spec.rb +1 -1
  193. data/spec/models/create_email_template_request_spec.rb +1 -1
  194. data/spec/models/create_members_bulk_upload_request_spec.rb +1 -1
  195. data/spec/models/create_shareholder_action_request_spec.rb +1 -1
  196. data/spec/models/edit_investor_tags_request_spec.rb +1 -1
  197. data/spec/models/generate_url_request_spec.rb +1 -1
  198. data/spec/models/get_access_token_request_spec.rb +1 -1
  199. data/spec/models/patch_deal_incentive_plan_request_spec.rb +1 -1
  200. data/spec/models/patch_investor_profiles_corporations_beneficial_owners_inner_spec.rb +1 -1
  201. data/spec/models/patch_investor_profiles_corporations_spec.rb +1 -1
  202. data/spec/models/patch_investor_profiles_individuals_spec.rb +1 -1
  203. data/spec/models/patch_investor_profiles_joints_spec.rb +1 -1
  204. data/spec/models/patch_investor_profiles_managed_spec.rb +1 -1
  205. data/spec/models/patch_investor_profiles_trusts_spec.rb +1 -1
  206. data/spec/models/patch_investor_profiles_trusts_trustees_inner_spec.rb +1 -1
  207. data/spec/models/patch_investor_request_spec.rb +1 -1
  208. data/spec/models/post_deal_incentive_plan_request_spec.rb +1 -1
  209. data/spec/models/post_deals_id_investors_spec.rb +1 -1
  210. data/spec/models/post_investor_profiles_corporations_beneficial_owners_inner_spec.rb +1 -1
  211. data/spec/models/post_investor_profiles_corporations_spec.rb +1 -1
  212. data/spec/models/post_investor_profiles_individuals_spec.rb +1 -1
  213. data/spec/models/post_investor_profiles_joints_spec.rb +1 -1
  214. data/spec/models/post_investor_profiles_managed_spec.rb +1 -1
  215. data/spec/models/post_investor_profiles_trusts_spec.rb +1 -1
  216. data/spec/models/post_investor_profiles_trusts_trustees_inner_spec.rb +1 -1
  217. data/spec/models/post_webhooks_request_spec.rb +1 -1
  218. data/spec/models/put_deals_id_investors_spec.rb +1 -1
  219. data/spec/models/put_deals_id_script_tag_environment_request_spec.rb +1 -1
  220. data/spec/models/put_webhooks_id_request_spec.rb +1 -1
  221. data/spec/models/request_new_document_request_spec.rb +1 -1
  222. data/spec/models/run_background_search_request_spec.rb +1 -1
  223. data/spec/models/send_portal_invite_request_spec.rb +1 -1
  224. data/spec/models/setup_sms_verification_request_spec.rb +36 -0
  225. data/spec/models/test_document_upload_email_request_spec.rb +48 -0
  226. data/spec/models/update_user_password_request_spec.rb +7 -1
  227. data/spec/models/v1_entities_address_spec.rb +1 -1
  228. data/spec/models/v1_entities_addresses_spec.rb +1 -1
  229. data/spec/models/v1_entities_attachment_spec.rb +7 -1
  230. data/spec/models/v1_entities_background_check_search_spec.rb +1 -1
  231. data/spec/models/v1_entities_beefree_access_token_spec.rb +1 -1
  232. data/spec/models/v1_entities_bulk_upload_detail_spec.rb +1 -1
  233. data/spec/models/v1_entities_bulk_upload_details_spec.rb +1 -1
  234. data/spec/models/v1_entities_bulk_upload_spec.rb +1 -1
  235. data/spec/models/v1_entities_bulk_uploads_spec.rb +1 -1
  236. data/spec/models/v1_entities_company_deal_spec.rb +1 -1
  237. data/spec/models/v1_entities_company_deals_spec.rb +1 -1
  238. data/spec/models/v1_entities_company_spec.rb +1 -1
  239. data/spec/models/v1_entities_countries_spec.rb +1 -1
  240. data/spec/models/v1_entities_country_spec.rb +1 -1
  241. data/spec/models/v1_entities_deal_enterprise_spec.rb +1 -1
  242. data/spec/models/v1_entities_deal_funding_metrics_spec.rb +1 -1
  243. data/spec/models/v1_entities_deal_investor_metrics_spec.rb +1 -1
  244. data/spec/models/v1_entities_deal_issuer_spec.rb +1 -1
  245. data/spec/models/v1_entities_deal_setup_spec.rb +1 -1
  246. data/spec/models/v1_entities_deal_setup_user_spec.rb +1 -1
  247. data/spec/models/v1_entities_deal_spec.rb +1 -1
  248. data/spec/models/v1_entities_deals_incentive_plan_spec.rb +1 -1
  249. data/spec/models/v1_entities_deals_incentive_plans_incentive_tier_spec.rb +1 -1
  250. data/spec/models/v1_entities_deals_investors_payment_ach_bank_account_setup_intent_spec.rb +42 -0
  251. data/spec/models/v1_entities_deals_investors_payment_acss_bank_account_setup_intent_spec.rb +1 -1
  252. data/spec/models/v1_entities_deals_price_details_spec.rb +1 -1
  253. data/spec/models/v1_entities_deals_progress_column_spec.rb +48 -0
  254. data/spec/models/v1_entities_deals_progress_page_summary_spec.rb +78 -0
  255. data/spec/models/v1_entities_deals_progress_spec.rb +42 -0
  256. data/spec/models/v1_entities_deals_spec.rb +1 -1
  257. data/spec/models/v1_entities_dividend_spec.rb +1 -1
  258. data/spec/models/v1_entities_dividends_spec.rb +1 -1
  259. data/spec/models/v1_entities_email_event_spec.rb +1 -1
  260. data/spec/models/v1_entities_email_events_spec.rb +1 -1
  261. data/spec/models/v1_entities_email_template_spec.rb +1 -1
  262. data/spec/models/v1_entities_express_wire_instruction_spec.rb +1 -1
  263. data/spec/models/v1_entities_express_wire_instructions_spec.rb +1 -1
  264. data/spec/models/v1_entities_generic_response_spec.rb +1 -1
  265. data/spec/models/v1_entities_investor_otp_access_link_spec.rb +1 -1
  266. data/spec/models/v1_entities_investor_profile_address_spec.rb +1 -1
  267. data/spec/models/v1_entities_investor_profile_corporation_spec.rb +1 -1
  268. data/spec/models/v1_entities_investor_profile_fields_account_holder_spec.rb +1 -1
  269. data/spec/models/v1_entities_investor_profile_fields_beneficial_owner_spec.rb +1 -1
  270. data/spec/models/v1_entities_investor_profile_fields_beneficiary_spec.rb +1 -1
  271. data/spec/models/v1_entities_investor_profile_fields_corporation_spec.rb +1 -1
  272. data/spec/models/v1_entities_investor_profile_fields_primary_holder_spec.rb +1 -1
  273. data/spec/models/v1_entities_investor_profile_fields_provider_spec.rb +1 -1
  274. data/spec/models/v1_entities_investor_profile_fields_signing_officer_spec.rb +1 -1
  275. data/spec/models/v1_entities_investor_profile_fields_trust_spec.rb +1 -1
  276. data/spec/models/v1_entities_investor_profile_fields_trustee_spec.rb +1 -1
  277. data/spec/models/v1_entities_investor_profile_id_spec.rb +1 -1
  278. data/spec/models/v1_entities_investor_profile_individual_spec.rb +1 -1
  279. data/spec/models/v1_entities_investor_profile_item_spec.rb +1 -1
  280. data/spec/models/v1_entities_investor_profile_joint_spec.rb +1 -1
  281. data/spec/models/v1_entities_investor_profile_managed_spec.rb +1 -1
  282. data/spec/models/v1_entities_investor_profile_owner_spec.rb +1 -1
  283. data/spec/models/v1_entities_investor_profile_trust_spec.rb +1 -1
  284. data/spec/models/v1_entities_investor_profiles_spec.rb +1 -1
  285. data/spec/models/v1_entities_investor_search_entities_required_fields_spec.rb +1 -1
  286. data/spec/models/v1_entities_investor_search_entities_spec.rb +1 -1
  287. data/spec/models/v1_entities_investor_spec.rb +1 -1
  288. data/spec/models/v1_entities_investor_user_spec.rb +1 -1
  289. data/spec/models/v1_entities_investors_spec.rb +1 -1
  290. data/spec/models/v1_entities_members_bulk_upload_spec.rb +1 -1
  291. data/spec/models/v1_entities_members_bulk_uploads_spec.rb +1 -1
  292. data/spec/models/v1_entities_money_entity_spec.rb +1 -1
  293. data/spec/models/v1_entities_payments_self_serve_onboarding_digital_payments_connection_data_spec.rb +1 -1
  294. data/spec/models/v1_entities_payments_self_serve_onboarding_payout_account_details_data_spec.rb +1 -1
  295. data/spec/models/v1_entities_payments_self_serve_onboarding_payout_account_details_result_spec.rb +1 -1
  296. data/spec/models/v1_entities_payments_self_serve_onboarding_qualification_questionnaire_result_spec.rb +1 -1
  297. data/spec/models/v1_entities_presigned_url_result_spec.rb +1 -1
  298. data/spec/models/v1_entities_shareholder_ledger_spec.rb +1 -1
  299. data/spec/models/v1_entities_shareholder_spec.rb +1 -1
  300. data/spec/models/v1_entities_shareholders_spec.rb +1 -1
  301. data/spec/models/v1_entities_shareholders_tags_spec.rb +1 -1
  302. data/spec/models/v1_entities_state_spec.rb +1 -1
  303. data/spec/models/v1_entities_subscription_agreement_spec.rb +1 -1
  304. data/spec/models/v1_entities_user_spec.rb +1 -1
  305. data/spec/models/v1_entities_users_binding_spec.rb +42 -0
  306. data/spec/models/v1_entities_users_factor_spec.rb +48 -0
  307. data/spec/models/v1_entities_users_two_factor_channel_spec.rb +78 -0
  308. data/spec/models/v1_entities_users_two_factor_channels_spec.rb +36 -0
  309. data/spec/models/v1_entities_webhooks_deal_spec.rb +1 -1
  310. data/spec/models/v1_entities_webhooks_security_token_spec.rb +1 -1
  311. data/spec/models/v1_entities_webhooks_subscription_deal_spec.rb +1 -1
  312. data/spec/models/v1_entities_webhooks_subscription_deals_spec.rb +1 -1
  313. data/spec/models/v1_entities_webhooks_subscription_spec.rb +1 -1
  314. data/spec/models/verify_factor_request_spec.rb +36 -0
  315. data/spec/models/verify_sms_verification_request_spec.rb +42 -0
  316. data/spec/spec_helper.rb +1 -1
  317. metadata +163 -111
data/docs/UserApi.md CHANGED
@@ -4,8 +4,145 @@ All URIs are relative to *http://api.dealmaker.tech*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
+ | [**create_factor**](UserApi.md#create_factor) | **POST** /users/{id}/create_factor | Creates an API endpoint for creating a new TOTP factor |
8
+ | [**get_two_factor_channels**](UserApi.md#get_two_factor_channels) | **GET** /users/{id}/two_factor_channels | Creates an API endpoint to return a list of existing TOTP factor |
7
9
  | [**get_user**](UserApi.md#get_user) | **GET** /users/{id} | Get user by User ID |
10
+ | [**setup_sms_verification**](UserApi.md#setup_sms_verification) | **POST** /users/{id}/setup_sms_verification | Start a setup for a SMS Verification by creating a two factor channel of sms type |
8
11
  | [**update_user_password**](UserApi.md#update_user_password) | **PUT** /users/{id}/update_password | Update user password |
12
+ | [**verify_factor**](UserApi.md#verify_factor) | **PUT** /users/{id}/verify_factor | Creates an API endpoint to verify an existing TOTP factor |
13
+ | [**verify_sms_verification**](UserApi.md#verify_sms_verification) | **POST** /users/{id}/verify_sms_verification | Verify a SMS Verification by creating a two factor channel of sms type |
14
+
15
+
16
+ ## create_factor
17
+
18
+ > <V1EntitiesUsersFactor> create_factor(id)
19
+
20
+ Creates an API endpoint for creating a new TOTP factor
21
+
22
+ Create an API endpoint for creating a new TOTP factor
23
+
24
+ ### Examples
25
+
26
+ ```ruby
27
+ require 'time'
28
+ require 'DealMakerAPI'
29
+ # setup authorization
30
+ DealMakerAPI.configure do |config|end
31
+
32
+ api_instance = DealMakerAPI::UserApi.new
33
+ id = 56 # Integer |
34
+
35
+ begin
36
+ # Creates an API endpoint for creating a new TOTP factor
37
+ result = api_instance.create_factor(id)
38
+ p result
39
+ rescue DealMakerAPI::ApiError => e
40
+ puts "Error when calling UserApi->create_factor: #{e}"
41
+ end
42
+ ```
43
+
44
+ #### Using the create_factor_with_http_info variant
45
+
46
+ This returns an Array which contains the response data, status code and headers.
47
+
48
+ > <Array(<V1EntitiesUsersFactor>, Integer, Hash)> create_factor_with_http_info(id)
49
+
50
+ ```ruby
51
+ begin
52
+ # Creates an API endpoint for creating a new TOTP factor
53
+ data, status_code, headers = api_instance.create_factor_with_http_info(id)
54
+ p status_code # => 2xx
55
+ p headers # => { ... }
56
+ p data # => <V1EntitiesUsersFactor>
57
+ rescue DealMakerAPI::ApiError => e
58
+ puts "Error when calling UserApi->create_factor_with_http_info: #{e}"
59
+ end
60
+ ```
61
+
62
+ ### Parameters
63
+
64
+ | Name | Type | Description | Notes |
65
+ | ---- | ---- | ----------- | ----- |
66
+ | **id** | **Integer** | | |
67
+
68
+ ### Return type
69
+
70
+ [**V1EntitiesUsersFactor**](V1EntitiesUsersFactor.md)
71
+
72
+ ### Authorization
73
+
74
+ No authorization required
75
+
76
+ ### HTTP request headers
77
+
78
+ - **Content-Type**: Not defined
79
+ - **Accept**: application/json
80
+
81
+
82
+ ## get_two_factor_channels
83
+
84
+ > <V1EntitiesUsersTwoFactorChannels> get_two_factor_channels(id)
85
+
86
+ Creates an API endpoint to return a list of existing TOTP factor
87
+
88
+ Create an API endpoint to return a list of existing TOTP factor
89
+
90
+ ### Examples
91
+
92
+ ```ruby
93
+ require 'time'
94
+ require 'DealMakerAPI'
95
+ # setup authorization
96
+ DealMakerAPI.configure do |config|end
97
+
98
+ api_instance = DealMakerAPI::UserApi.new
99
+ id = 56 # Integer |
100
+
101
+ begin
102
+ # Creates an API endpoint to return a list of existing TOTP factor
103
+ result = api_instance.get_two_factor_channels(id)
104
+ p result
105
+ rescue DealMakerAPI::ApiError => e
106
+ puts "Error when calling UserApi->get_two_factor_channels: #{e}"
107
+ end
108
+ ```
109
+
110
+ #### Using the get_two_factor_channels_with_http_info variant
111
+
112
+ This returns an Array which contains the response data, status code and headers.
113
+
114
+ > <Array(<V1EntitiesUsersTwoFactorChannels>, Integer, Hash)> get_two_factor_channels_with_http_info(id)
115
+
116
+ ```ruby
117
+ begin
118
+ # Creates an API endpoint to return a list of existing TOTP factor
119
+ data, status_code, headers = api_instance.get_two_factor_channels_with_http_info(id)
120
+ p status_code # => 2xx
121
+ p headers # => { ... }
122
+ p data # => <V1EntitiesUsersTwoFactorChannels>
123
+ rescue DealMakerAPI::ApiError => e
124
+ puts "Error when calling UserApi->get_two_factor_channels_with_http_info: #{e}"
125
+ end
126
+ ```
127
+
128
+ ### Parameters
129
+
130
+ | Name | Type | Description | Notes |
131
+ | ---- | ---- | ----------- | ----- |
132
+ | **id** | **Integer** | | |
133
+
134
+ ### Return type
135
+
136
+ [**V1EntitiesUsersTwoFactorChannels**](V1EntitiesUsersTwoFactorChannels.md)
137
+
138
+ ### Authorization
139
+
140
+ No authorization required
141
+
142
+ ### HTTP request headers
143
+
144
+ - **Content-Type**: Not defined
145
+ - **Accept**: application/json
9
146
 
10
147
 
11
148
  ## get_user
@@ -74,6 +211,73 @@ No authorization required
74
211
  - **Accept**: application/json
75
212
 
76
213
 
214
+ ## setup_sms_verification
215
+
216
+ > setup_sms_verification(id, setup_sms_verification_request)
217
+
218
+ Start a setup for a SMS Verification by creating a two factor channel of sms type
219
+
220
+ Start a setup for a SMS Verification by creating a two factor channel of sms type
221
+
222
+ ### Examples
223
+
224
+ ```ruby
225
+ require 'time'
226
+ require 'DealMakerAPI'
227
+ # setup authorization
228
+ DealMakerAPI.configure do |config|end
229
+
230
+ api_instance = DealMakerAPI::UserApi.new
231
+ id = 56 # Integer |
232
+ setup_sms_verification_request = DealMakerAPI::SetupSmsVerificationRequest.new({phone_number: 'phone_number_example'}) # SetupSmsVerificationRequest |
233
+
234
+ begin
235
+ # Start a setup for a SMS Verification by creating a two factor channel of sms type
236
+ api_instance.setup_sms_verification(id, setup_sms_verification_request)
237
+ rescue DealMakerAPI::ApiError => e
238
+ puts "Error when calling UserApi->setup_sms_verification: #{e}"
239
+ end
240
+ ```
241
+
242
+ #### Using the setup_sms_verification_with_http_info variant
243
+
244
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
245
+
246
+ > <Array(nil, Integer, Hash)> setup_sms_verification_with_http_info(id, setup_sms_verification_request)
247
+
248
+ ```ruby
249
+ begin
250
+ # Start a setup for a SMS Verification by creating a two factor channel of sms type
251
+ data, status_code, headers = api_instance.setup_sms_verification_with_http_info(id, setup_sms_verification_request)
252
+ p status_code # => 2xx
253
+ p headers # => { ... }
254
+ p data # => nil
255
+ rescue DealMakerAPI::ApiError => e
256
+ puts "Error when calling UserApi->setup_sms_verification_with_http_info: #{e}"
257
+ end
258
+ ```
259
+
260
+ ### Parameters
261
+
262
+ | Name | Type | Description | Notes |
263
+ | ---- | ---- | ----------- | ----- |
264
+ | **id** | **Integer** | | |
265
+ | **setup_sms_verification_request** | [**SetupSmsVerificationRequest**](SetupSmsVerificationRequest.md) | | |
266
+
267
+ ### Return type
268
+
269
+ nil (empty response body)
270
+
271
+ ### Authorization
272
+
273
+ No authorization required
274
+
275
+ ### HTTP request headers
276
+
277
+ - **Content-Type**: application/json
278
+ - **Accept**: Not defined
279
+
280
+
77
281
  ## update_user_password
78
282
 
79
283
  > <V1EntitiesUser> update_user_password(id, update_user_password_request)
@@ -141,3 +345,139 @@ No authorization required
141
345
  - **Content-Type**: application/json
142
346
  - **Accept**: application/json
143
347
 
348
+
349
+ ## verify_factor
350
+
351
+ > <V1EntitiesUsersTwoFactorChannel> verify_factor(id, verify_factor_request)
352
+
353
+ Creates an API endpoint to verify an existing TOTP factor
354
+
355
+ Create an API endpoint to verify an existing TOTP factor
356
+
357
+ ### Examples
358
+
359
+ ```ruby
360
+ require 'time'
361
+ require 'DealMakerAPI'
362
+ # setup authorization
363
+ DealMakerAPI.configure do |config|end
364
+
365
+ api_instance = DealMakerAPI::UserApi.new
366
+ id = 56 # Integer |
367
+ verify_factor_request = DealMakerAPI::VerifyFactorRequest.new({code: 'code_example'}) # VerifyFactorRequest |
368
+
369
+ begin
370
+ # Creates an API endpoint to verify an existing TOTP factor
371
+ result = api_instance.verify_factor(id, verify_factor_request)
372
+ p result
373
+ rescue DealMakerAPI::ApiError => e
374
+ puts "Error when calling UserApi->verify_factor: #{e}"
375
+ end
376
+ ```
377
+
378
+ #### Using the verify_factor_with_http_info variant
379
+
380
+ This returns an Array which contains the response data, status code and headers.
381
+
382
+ > <Array(<V1EntitiesUsersTwoFactorChannel>, Integer, Hash)> verify_factor_with_http_info(id, verify_factor_request)
383
+
384
+ ```ruby
385
+ begin
386
+ # Creates an API endpoint to verify an existing TOTP factor
387
+ data, status_code, headers = api_instance.verify_factor_with_http_info(id, verify_factor_request)
388
+ p status_code # => 2xx
389
+ p headers # => { ... }
390
+ p data # => <V1EntitiesUsersTwoFactorChannel>
391
+ rescue DealMakerAPI::ApiError => e
392
+ puts "Error when calling UserApi->verify_factor_with_http_info: #{e}"
393
+ end
394
+ ```
395
+
396
+ ### Parameters
397
+
398
+ | Name | Type | Description | Notes |
399
+ | ---- | ---- | ----------- | ----- |
400
+ | **id** | **Integer** | | |
401
+ | **verify_factor_request** | [**VerifyFactorRequest**](VerifyFactorRequest.md) | | |
402
+
403
+ ### Return type
404
+
405
+ [**V1EntitiesUsersTwoFactorChannel**](V1EntitiesUsersTwoFactorChannel.md)
406
+
407
+ ### Authorization
408
+
409
+ No authorization required
410
+
411
+ ### HTTP request headers
412
+
413
+ - **Content-Type**: application/json
414
+ - **Accept**: application/json
415
+
416
+
417
+ ## verify_sms_verification
418
+
419
+ > <V1EntitiesUsersTwoFactorChannel> verify_sms_verification(id, verify_sms_verification_request)
420
+
421
+ Verify a SMS Verification by creating a two factor channel of sms type
422
+
423
+ Verify a SMS Verification by creating a two factor channel of sms type
424
+
425
+ ### Examples
426
+
427
+ ```ruby
428
+ require 'time'
429
+ require 'DealMakerAPI'
430
+ # setup authorization
431
+ DealMakerAPI.configure do |config|end
432
+
433
+ api_instance = DealMakerAPI::UserApi.new
434
+ id = 56 # Integer |
435
+ verify_sms_verification_request = DealMakerAPI::VerifySmsVerificationRequest.new({phone_number: 'phone_number_example', code: 'code_example'}) # VerifySmsVerificationRequest |
436
+
437
+ begin
438
+ # Verify a SMS Verification by creating a two factor channel of sms type
439
+ result = api_instance.verify_sms_verification(id, verify_sms_verification_request)
440
+ p result
441
+ rescue DealMakerAPI::ApiError => e
442
+ puts "Error when calling UserApi->verify_sms_verification: #{e}"
443
+ end
444
+ ```
445
+
446
+ #### Using the verify_sms_verification_with_http_info variant
447
+
448
+ This returns an Array which contains the response data, status code and headers.
449
+
450
+ > <Array(<V1EntitiesUsersTwoFactorChannel>, Integer, Hash)> verify_sms_verification_with_http_info(id, verify_sms_verification_request)
451
+
452
+ ```ruby
453
+ begin
454
+ # Verify a SMS Verification by creating a two factor channel of sms type
455
+ data, status_code, headers = api_instance.verify_sms_verification_with_http_info(id, verify_sms_verification_request)
456
+ p status_code # => 2xx
457
+ p headers # => { ... }
458
+ p data # => <V1EntitiesUsersTwoFactorChannel>
459
+ rescue DealMakerAPI::ApiError => e
460
+ puts "Error when calling UserApi->verify_sms_verification_with_http_info: #{e}"
461
+ end
462
+ ```
463
+
464
+ ### Parameters
465
+
466
+ | Name | Type | Description | Notes |
467
+ | ---- | ---- | ----------- | ----- |
468
+ | **id** | **Integer** | | |
469
+ | **verify_sms_verification_request** | [**VerifySmsVerificationRequest**](VerifySmsVerificationRequest.md) | | |
470
+
471
+ ### Return type
472
+
473
+ [**V1EntitiesUsersTwoFactorChannel**](V1EntitiesUsersTwoFactorChannel.md)
474
+
475
+ ### Authorization
476
+
477
+ No authorization required
478
+
479
+ ### HTTP request headers
480
+
481
+ - **Content-Type**: application/json
482
+ - **Accept**: application/json
483
+
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **Integer** | The attachment id. | [optional] |
8
8
  | **url** | **String** | The attachment url. | [optional] |
9
+ | **status** | **String** | The attachment status. | [optional] |
9
10
  | **file_name** | **String** | The attachment file name. | [optional] |
10
11
  | **original_file_name** | **String** | The attachment original file name. | [optional] |
11
12
  | **file_size** | **Integer** | The size of the file in bytes. | [optional] |
@@ -20,6 +21,7 @@ require 'DealMakerAPI'
20
21
  instance = DealMakerAPI::V1EntitiesAttachment.new(
21
22
  id: null,
22
23
  url: null,
24
+ status: null,
23
25
  file_name: null,
24
26
  original_file_name: null,
25
27
  file_size: null,
@@ -0,0 +1,20 @@
1
+ # DealMakerAPI::V1EntitiesDealsInvestorsPaymentAchBankAccountSetupIntent
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **client_secret** | **String** | The client secret for the payment | [optional] |
8
+ | **name** | **String** | The name of the investor | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'DealMakerAPI'
14
+
15
+ instance = DealMakerAPI::V1EntitiesDealsInvestorsPaymentAchBankAccountSetupIntent.new(
16
+ client_secret: null,
17
+ name: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # DealMakerAPI::V1EntitiesDealsProgress
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **investor_funnel** | [**V1EntitiesDealsProgressColumn**](V1EntitiesDealsProgressColumn.md) | | [optional] |
8
+ | **incoming_payments** | [**V1EntitiesDealsProgressColumn**](V1EntitiesDealsProgressColumn.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'DealMakerAPI'
14
+
15
+ instance = DealMakerAPI::V1EntitiesDealsProgress.new(
16
+ investor_funnel: null,
17
+ incoming_payments: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # DealMakerAPI::V1EntitiesDealsProgressColumn
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **label** | **String** | The label of the column. | [optional] |
8
+ | **value** | **Integer** | The value for the column. | [optional] |
9
+ | **description** | **Integer** | The description of the column. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'DealMakerAPI'
15
+
16
+ instance = DealMakerAPI::V1EntitiesDealsProgressColumn.new(
17
+ label: null,
18
+ value: null,
19
+ description: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,32 @@
1
+ # DealMakerAPI::V1EntitiesDealsProgressPageSummary
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **investment_proceeds** | **Float** | Investment Proceeds | [optional] |
8
+ | **fees_and_adjustments** | **Float** | Fees and Adjustments | [optional] |
9
+ | **total_proceeds** | **Float** | Total Proceeds | [optional] |
10
+ | **processing_fees** | **Float** | Processing Fees | [optional] |
11
+ | **invoice_deductions** | **Float** | Invoice Deductions | [optional] |
12
+ | **holdback** | **Float** | Holdback | [optional] |
13
+ | **paid_out** | **Float** | Paid Out | [optional] |
14
+ | **available_for_payout** | **Float** | Available for Payout | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'DealMakerAPI'
20
+
21
+ instance = DealMakerAPI::V1EntitiesDealsProgressPageSummary.new(
22
+ investment_proceeds: null,
23
+ fees_and_adjustments: null,
24
+ total_proceeds: null,
25
+ processing_fees: null,
26
+ invoice_deductions: null,
27
+ holdback: null,
28
+ paid_out: null,
29
+ available_for_payout: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,20 @@
1
+ # DealMakerAPI::V1EntitiesUsersBinding
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **secret** | **String** | The secret. | [optional] |
8
+ | **uri** | **String** | The URI. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'DealMakerAPI'
14
+
15
+ instance = DealMakerAPI::V1EntitiesUsersBinding.new(
16
+ secret: null,
17
+ uri: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # DealMakerAPI::V1EntitiesUsersFactor
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **sid** | **String** | The sid for the factor. | [optional] |
8
+ | **identity** | **String** | The identity of the factor. | [optional] |
9
+ | **binding** | [**V1EntitiesUsersBinding**](V1EntitiesUsersBinding.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'DealMakerAPI'
15
+
16
+ instance = DealMakerAPI::V1EntitiesUsersFactor.new(
17
+ sid: null,
18
+ identity: null,
19
+ binding: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,32 @@
1
+ # DealMakerAPI::V1EntitiesUsersTwoFactorChannel
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | The id for the two factor channel. | [optional] |
8
+ | **factor_sid** | **String** | The unique string for the resource | [optional] |
9
+ | **user_id** | **Integer** | The user id for the two factor channel. | [optional] |
10
+ | **identity** | **String** | The identity for the two factor channel. | [optional] |
11
+ | **phone_number** | **String** | The phone number of the user. | [optional] |
12
+ | **channel** | **String** | The channel for the two factor channel. | [optional] |
13
+ | **verified** | **Boolean** | The verification status for the two factor channel. | [optional] |
14
+ | **updated_at** | **String** | The time since the two factor channel was last updated/verified. | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'DealMakerAPI'
20
+
21
+ instance = DealMakerAPI::V1EntitiesUsersTwoFactorChannel.new(
22
+ id: null,
23
+ factor_sid: null,
24
+ user_id: null,
25
+ identity: null,
26
+ phone_number: null,
27
+ channel: null,
28
+ verified: null,
29
+ updated_at: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,18 @@
1
+ # DealMakerAPI::V1EntitiesUsersTwoFactorChannels
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **items** | [**V1EntitiesUsersTwoFactorChannel**](V1EntitiesUsersTwoFactorChannel.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'DealMakerAPI'
13
+
14
+ instance = DealMakerAPI::V1EntitiesUsersTwoFactorChannels.new(
15
+ items: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # DealMakerAPI::VerifyFactorRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **String** | The verification code. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'DealMakerAPI'
13
+
14
+ instance = DealMakerAPI::VerifyFactorRequest.new(
15
+ code: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # DealMakerAPI::VerifySmsVerificationRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **phone_number** | **String** | The phone number of the given user | |
8
+ | **code** | **String** | The verification code | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'DealMakerAPI'
14
+
15
+ instance = DealMakerAPI::VerifySmsVerificationRequest.new(
16
+ phone_number: null,
17
+ code: null
18
+ )
19
+ ```
20
+
@@ -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
- Generator version: 7.6.0-SNAPSHOT
9
+ Generator version: 7.7.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -1554,5 +1554,77 @@ module DealMakerAPI
1554
1554
  end
1555
1555
  return data, status_code, headers
1556
1556
  end
1557
+
1558
+ # Send document upload test email to given user
1559
+ # Send document upload test email to given user
1560
+ # @param id [Integer]
1561
+ # @param test_document_upload_email_request [TestDocumentUploadEmailRequest]
1562
+ # @param [Hash] opts the optional parameters
1563
+ # @return [nil]
1564
+ def test_document_upload_email(id, test_document_upload_email_request, opts = {})
1565
+ test_document_upload_email_with_http_info(id, test_document_upload_email_request, opts)
1566
+ nil
1567
+ end
1568
+
1569
+ # Send document upload test email to given user
1570
+ # Send document upload test email to given user
1571
+ # @param id [Integer]
1572
+ # @param test_document_upload_email_request [TestDocumentUploadEmailRequest]
1573
+ # @param [Hash] opts the optional parameters
1574
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1575
+ def test_document_upload_email_with_http_info(id, test_document_upload_email_request, opts = {})
1576
+ if @api_client.config.debugging
1577
+ @api_client.config.logger.debug 'Calling API: CompanyApi.test_document_upload_email ...'
1578
+ end
1579
+ # verify the required parameter 'id' is set
1580
+ if @api_client.config.client_side_validation && id.nil?
1581
+ fail ArgumentError, "Missing the required parameter 'id' when calling CompanyApi.test_document_upload_email"
1582
+ end
1583
+ # verify the required parameter 'test_document_upload_email_request' is set
1584
+ if @api_client.config.client_side_validation && test_document_upload_email_request.nil?
1585
+ fail ArgumentError, "Missing the required parameter 'test_document_upload_email_request' when calling CompanyApi.test_document_upload_email"
1586
+ end
1587
+ # resource path
1588
+ local_var_path = '/companies/{id}/documents/test_upload_email'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1589
+
1590
+ # query parameters
1591
+ query_params = opts[:query_params] || {}
1592
+
1593
+ # header parameters
1594
+ header_params = opts[:header_params] || {}
1595
+ # HTTP header 'Content-Type'
1596
+ content_type = @api_client.select_header_content_type(['application/json'])
1597
+ if !content_type.nil?
1598
+ header_params['Content-Type'] = content_type
1599
+ end
1600
+
1601
+ # form parameters
1602
+ form_params = opts[:form_params] || {}
1603
+
1604
+ # http body (model)
1605
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(test_document_upload_email_request)
1606
+
1607
+ # return_type
1608
+ return_type = opts[:debug_return_type]
1609
+
1610
+ # auth_names
1611
+ auth_names = opts[:debug_auth_names] || []
1612
+
1613
+ new_options = opts.merge(
1614
+ :operation => :"CompanyApi.test_document_upload_email",
1615
+ :header_params => header_params,
1616
+ :query_params => query_params,
1617
+ :form_params => form_params,
1618
+ :body => post_body,
1619
+ :auth_names => auth_names,
1620
+ :return_type => return_type
1621
+ )
1622
+
1623
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1624
+ if @api_client.config.debugging
1625
+ @api_client.config.logger.debug "API called: CompanyApi#test_document_upload_email\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1626
+ end
1627
+ return data, status_code, headers
1628
+ end
1557
1629
  end
1558
1630
  end