DealMakerAPI 0.106.1 → 0.106.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) hide show
  1. checksums.yaml +4 -4
  2. data/DealMakerAPI.gemspec +1 -1
  3. data/README.md +15 -6
  4. data/docs/CampaignApi.md +67 -0
  5. data/docs/DealApi.md +138 -0
  6. data/docs/PatchPlatformEmailRequest.md +24 -0
  7. data/docs/ReservationApi.md +71 -4
  8. data/docs/V1EntitiesDealsPlatformEmail.md +30 -0
  9. data/docs/V1EntitiesDealsPlatformEmails.md +18 -0
  10. data/docs/V1EntitiesTtwCampaignList.md +18 -0
  11. data/docs/V1EntitiesTtwCampaignResponse.md +5 -1
  12. data/docs/{V1EntitiesTtwReservation.md → V1EntitiesTtwReservationCreate.md} +5 -3
  13. data/docs/V1EntitiesTtwReservationResponse.md +36 -0
  14. data/lib/DealMakerAPI/api/campaign_api.rb +64 -1
  15. data/lib/DealMakerAPI/api/company_api.rb +1 -1
  16. data/lib/DealMakerAPI/api/country_api.rb +1 -1
  17. data/lib/DealMakerAPI/api/custom_emails_api.rb +1 -1
  18. data/lib/DealMakerAPI/api/deal_api.rb +144 -1
  19. data/lib/DealMakerAPI/api/deals_api.rb +1 -1
  20. data/lib/DealMakerAPI/api/default_api.rb +1 -1
  21. data/lib/DealMakerAPI/api/incentive_plan_api.rb +1 -1
  22. data/lib/DealMakerAPI/api/investor_api.rb +1 -1
  23. data/lib/DealMakerAPI/api/investor_profile_api.rb +1 -1
  24. data/lib/DealMakerAPI/api/payments_api.rb +1 -1
  25. data/lib/DealMakerAPI/api/reservation_api.rb +67 -4
  26. data/lib/DealMakerAPI/api/shareholder_api.rb +1 -1
  27. data/lib/DealMakerAPI/api/upload_api.rb +1 -1
  28. data/lib/DealMakerAPI/api/user_api.rb +1 -1
  29. data/lib/DealMakerAPI/api/users_api.rb +1 -1
  30. data/lib/DealMakerAPI/api_client.rb +1 -1
  31. data/lib/DealMakerAPI/api_error.rb +1 -1
  32. data/lib/DealMakerAPI/configuration.rb +11 -1
  33. data/lib/DealMakerAPI/models/add506c_document_request.rb +1 -1
  34. data/lib/DealMakerAPI/models/add_document_request.rb +1 -1
  35. data/lib/DealMakerAPI/models/bulk_upload_investors_request.rb +1 -1
  36. data/lib/DealMakerAPI/models/create_bulk_upload_detail_request.rb +1 -1
  37. data/lib/DealMakerAPI/models/create_bulk_upload_request.rb +1 -1
  38. data/lib/DealMakerAPI/models/create_company_request.rb +1 -1
  39. data/lib/DealMakerAPI/models/create_deal_setup_request.rb +1 -1
  40. data/lib/DealMakerAPI/models/create_email_template_request.rb +1 -1
  41. data/lib/DealMakerAPI/models/create_members_bulk_upload_request.rb +1 -1
  42. data/lib/DealMakerAPI/models/create_reservation_request.rb +1 -1
  43. data/lib/DealMakerAPI/models/create_shareholder_action_request.rb +1 -1
  44. data/lib/DealMakerAPI/models/edit_investor_tags_request.rb +1 -1
  45. data/lib/DealMakerAPI/models/generate_url_request.rb +1 -1
  46. data/lib/DealMakerAPI/models/get_access_token_request.rb +1 -1
  47. data/lib/DealMakerAPI/models/patch_deal_incentive_plan_request.rb +1 -1
  48. data/lib/DealMakerAPI/models/patch_deals_id_platform_emails_domain_request.rb +1 -1
  49. data/lib/DealMakerAPI/models/patch_investor_profiles_corporations.rb +1 -1
  50. data/lib/DealMakerAPI/models/patch_investor_profiles_corporations_beneficial_owners_inner.rb +1 -1
  51. data/lib/DealMakerAPI/models/patch_investor_profiles_individuals.rb +1 -1
  52. data/lib/DealMakerAPI/models/patch_investor_profiles_joints.rb +1 -1
  53. data/lib/DealMakerAPI/models/patch_investor_profiles_managed.rb +1 -1
  54. data/lib/DealMakerAPI/models/patch_investor_profiles_trusts.rb +1 -1
  55. data/lib/DealMakerAPI/models/patch_investor_profiles_trusts_trustees_inner.rb +1 -1
  56. data/lib/DealMakerAPI/models/patch_investor_request.rb +1 -1
  57. data/lib/DealMakerAPI/models/patch_platform_email_request.rb +307 -0
  58. data/lib/DealMakerAPI/models/post_deal_incentive_plan_request.rb +1 -1
  59. data/lib/DealMakerAPI/models/post_deals_id_investors.rb +1 -1
  60. data/lib/DealMakerAPI/models/post_investor_profiles_corporations.rb +1 -1
  61. data/lib/DealMakerAPI/models/post_investor_profiles_corporations_beneficial_owners_inner.rb +1 -1
  62. data/lib/DealMakerAPI/models/post_investor_profiles_individuals.rb +1 -1
  63. data/lib/DealMakerAPI/models/post_investor_profiles_joints.rb +1 -1
  64. data/lib/DealMakerAPI/models/post_investor_profiles_managed.rb +1 -1
  65. data/lib/DealMakerAPI/models/post_investor_profiles_trusts.rb +1 -1
  66. data/lib/DealMakerAPI/models/post_investor_profiles_trusts_trustees_inner.rb +1 -1
  67. data/lib/DealMakerAPI/models/post_webhooks_request.rb +1 -1
  68. data/lib/DealMakerAPI/models/put_deals_id_investors.rb +1 -1
  69. data/lib/DealMakerAPI/models/put_deals_id_script_tag_environment_request.rb +1 -1
  70. data/lib/DealMakerAPI/models/put_webhooks_id_request.rb +1 -1
  71. data/lib/DealMakerAPI/models/request_new_document_request.rb +1 -1
  72. data/lib/DealMakerAPI/models/run_background_search_request.rb +1 -1
  73. data/lib/DealMakerAPI/models/send_portal_invite_request.rb +1 -1
  74. data/lib/DealMakerAPI/models/send_verification_code_request.rb +1 -1
  75. data/lib/DealMakerAPI/models/setup_sms_verification_request.rb +1 -1
  76. data/lib/DealMakerAPI/models/test_document_upload_email_request.rb +1 -1
  77. data/lib/DealMakerAPI/models/update_user_password_request.rb +1 -1
  78. data/lib/DealMakerAPI/models/v1_entities_address.rb +1 -1
  79. data/lib/DealMakerAPI/models/v1_entities_addresses.rb +1 -1
  80. data/lib/DealMakerAPI/models/v1_entities_attachment.rb +1 -1
  81. data/lib/DealMakerAPI/models/v1_entities_background_check_search.rb +1 -1
  82. data/lib/DealMakerAPI/models/v1_entities_beefree_access_token.rb +1 -1
  83. data/lib/DealMakerAPI/models/v1_entities_bulk_upload.rb +1 -1
  84. data/lib/DealMakerAPI/models/v1_entities_bulk_upload_detail.rb +1 -1
  85. data/lib/DealMakerAPI/models/v1_entities_bulk_upload_details.rb +1 -1
  86. data/lib/DealMakerAPI/models/v1_entities_bulk_uploads.rb +1 -1
  87. data/lib/DealMakerAPI/models/v1_entities_company.rb +1 -1
  88. data/lib/DealMakerAPI/models/v1_entities_company_deal.rb +1 -1
  89. data/lib/DealMakerAPI/models/v1_entities_company_deals.rb +1 -1
  90. data/lib/DealMakerAPI/models/v1_entities_countries.rb +1 -1
  91. data/lib/DealMakerAPI/models/v1_entities_country.rb +1 -1
  92. data/lib/DealMakerAPI/models/v1_entities_deal.rb +1 -1
  93. data/lib/DealMakerAPI/models/v1_entities_deal_enterprise.rb +1 -1
  94. data/lib/DealMakerAPI/models/v1_entities_deal_funding_metrics.rb +1 -1
  95. data/lib/DealMakerAPI/models/v1_entities_deal_investor_metrics.rb +1 -1
  96. data/lib/DealMakerAPI/models/v1_entities_deal_issuer.rb +1 -1
  97. data/lib/DealMakerAPI/models/v1_entities_deal_setup.rb +1 -1
  98. data/lib/DealMakerAPI/models/v1_entities_deal_setup_user.rb +1 -1
  99. data/lib/DealMakerAPI/models/v1_entities_deals.rb +1 -1
  100. data/lib/DealMakerAPI/models/v1_entities_deals_incentive_plan.rb +1 -1
  101. data/lib/DealMakerAPI/models/v1_entities_deals_incentive_plans_incentive_tier.rb +1 -1
  102. data/lib/DealMakerAPI/models/v1_entities_deals_investors_payment_ach_bank_account_setup_intent.rb +1 -1
  103. data/lib/DealMakerAPI/models/v1_entities_deals_investors_payment_acss_bank_account_setup_intent.rb +1 -1
  104. data/lib/DealMakerAPI/models/v1_entities_deals_platform_email.rb +322 -0
  105. data/lib/DealMakerAPI/models/v1_entities_deals_platform_emails.rb +215 -0
  106. data/lib/DealMakerAPI/models/v1_entities_deals_platform_emails_domain_settings.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 +1 -1
  109. data/lib/DealMakerAPI/models/v1_entities_deals_progress_column.rb +1 -1
  110. data/lib/DealMakerAPI/models/v1_entities_deals_progress_kinds.rb +1 -1
  111. data/lib/DealMakerAPI/models/v1_entities_deals_progress_page_summary.rb +1 -1
  112. data/lib/DealMakerAPI/models/v1_entities_deals_progress_page_summary_item.rb +1 -1
  113. data/lib/DealMakerAPI/models/v1_entities_delete_result.rb +1 -1
  114. data/lib/DealMakerAPI/models/v1_entities_dividend.rb +1 -1
  115. data/lib/DealMakerAPI/models/v1_entities_dividends.rb +1 -1
  116. data/lib/DealMakerAPI/models/v1_entities_email_event.rb +1 -1
  117. data/lib/DealMakerAPI/models/v1_entities_email_events.rb +1 -1
  118. data/lib/DealMakerAPI/models/v1_entities_email_template.rb +1 -1
  119. data/lib/DealMakerAPI/models/v1_entities_express_wire_instruction.rb +1 -1
  120. data/lib/DealMakerAPI/models/v1_entities_express_wire_instructions.rb +1 -1
  121. data/lib/DealMakerAPI/models/v1_entities_generic_response.rb +1 -1
  122. data/lib/DealMakerAPI/models/v1_entities_investor.rb +1 -1
  123. data/lib/DealMakerAPI/models/v1_entities_investor_otp_access_link.rb +1 -1
  124. data/lib/DealMakerAPI/models/v1_entities_investor_profile_address.rb +1 -1
  125. data/lib/DealMakerAPI/models/v1_entities_investor_profile_corporation.rb +1 -1
  126. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_account_holder.rb +1 -1
  127. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_beneficial_owner.rb +1 -1
  128. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_beneficiary.rb +1 -1
  129. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_corporation.rb +1 -1
  130. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_primary_holder.rb +1 -1
  131. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_provider.rb +1 -1
  132. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_signing_officer.rb +1 -1
  133. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_trust.rb +1 -1
  134. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_trustee.rb +1 -1
  135. data/lib/DealMakerAPI/models/v1_entities_investor_profile_id.rb +1 -1
  136. data/lib/DealMakerAPI/models/v1_entities_investor_profile_individual.rb +1 -1
  137. data/lib/DealMakerAPI/models/v1_entities_investor_profile_item.rb +1 -1
  138. data/lib/DealMakerAPI/models/v1_entities_investor_profile_joint.rb +1 -1
  139. data/lib/DealMakerAPI/models/v1_entities_investor_profile_managed.rb +1 -1
  140. data/lib/DealMakerAPI/models/v1_entities_investor_profile_owner.rb +1 -1
  141. data/lib/DealMakerAPI/models/v1_entities_investor_profile_trust.rb +1 -1
  142. data/lib/DealMakerAPI/models/v1_entities_investor_profiles.rb +1 -1
  143. data/lib/DealMakerAPI/models/v1_entities_investor_search_entities.rb +1 -1
  144. data/lib/DealMakerAPI/models/v1_entities_investor_search_entities_required_fields.rb +1 -1
  145. data/lib/DealMakerAPI/models/v1_entities_investor_user.rb +1 -1
  146. data/lib/DealMakerAPI/models/v1_entities_investors.rb +1 -1
  147. data/lib/DealMakerAPI/models/v1_entities_members_bulk_upload.rb +1 -1
  148. data/lib/DealMakerAPI/models/v1_entities_members_bulk_uploads.rb +1 -1
  149. data/lib/DealMakerAPI/models/v1_entities_money_entity.rb +1 -1
  150. data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_digital_payments_connection_data.rb +1 -1
  151. data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_payout_account_details_data.rb +1 -1
  152. data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_payout_account_details_result.rb +1 -1
  153. data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_qualification_questionnaire_result.rb +1 -1
  154. data/lib/DealMakerAPI/models/v1_entities_presigned_url_result.rb +1 -1
  155. data/lib/DealMakerAPI/models/v1_entities_shareholder.rb +1 -1
  156. data/lib/DealMakerAPI/models/v1_entities_shareholder_ledger.rb +1 -1
  157. data/lib/DealMakerAPI/models/v1_entities_shareholders.rb +1 -1
  158. data/lib/DealMakerAPI/models/v1_entities_shareholders_tags.rb +1 -1
  159. data/lib/DealMakerAPI/models/v1_entities_state.rb +1 -1
  160. data/lib/DealMakerAPI/models/v1_entities_subscription_agreement.rb +1 -1
  161. data/lib/DealMakerAPI/models/{v1_entities_ttw_reservation.rb → v1_entities_ttw_campaign_list.rb} +12 -13
  162. data/lib/DealMakerAPI/models/v1_entities_ttw_campaign_response.rb +30 -10
  163. data/lib/DealMakerAPI/models/v1_entities_ttw_reservation_create.rb +226 -0
  164. data/lib/DealMakerAPI/models/v1_entities_ttw_reservation_response.rb +306 -0
  165. data/lib/DealMakerAPI/models/v1_entities_user.rb +1 -1
  166. data/lib/DealMakerAPI/models/v1_entities_users_binding.rb +1 -1
  167. data/lib/DealMakerAPI/models/v1_entities_users_context.rb +1 -1
  168. data/lib/DealMakerAPI/models/v1_entities_users_contexts.rb +1 -1
  169. data/lib/DealMakerAPI/models/v1_entities_users_factor.rb +1 -1
  170. data/lib/DealMakerAPI/models/v1_entities_users_two_factor_channel.rb +1 -1
  171. data/lib/DealMakerAPI/models/v1_entities_users_two_factor_channels.rb +1 -1
  172. data/lib/DealMakerAPI/models/v1_entities_users_verification_resources.rb +1 -1
  173. data/lib/DealMakerAPI/models/v1_entities_webhooks_deal.rb +1 -1
  174. data/lib/DealMakerAPI/models/v1_entities_webhooks_security_token.rb +1 -1
  175. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription.rb +1 -1
  176. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deal.rb +1 -1
  177. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deals.rb +1 -1
  178. data/lib/DealMakerAPI/models/verify_factor_request.rb +1 -1
  179. data/lib/DealMakerAPI/models/verify_sms_verification_request.rb +1 -1
  180. data/lib/DealMakerAPI/version.rb +2 -2
  181. data/lib/DealMakerAPI.rb +7 -2
  182. data/spec/api/campaign_api_spec.rb +13 -1
  183. data/spec/api/company_api_spec.rb +1 -1
  184. data/spec/api/country_api_spec.rb +1 -1
  185. data/spec/api/custom_emails_api_spec.rb +1 -1
  186. data/spec/api/deal_api_spec.rb +27 -1
  187. data/spec/api/deals_api_spec.rb +1 -1
  188. data/spec/api/default_api_spec.rb +1 -1
  189. data/spec/api/incentive_plan_api_spec.rb +1 -1
  190. data/spec/api/investor_api_spec.rb +1 -1
  191. data/spec/api/investor_profile_api_spec.rb +1 -1
  192. data/spec/api/payments_api_spec.rb +1 -1
  193. data/spec/api/reservation_api_spec.rb +14 -2
  194. data/spec/api/shareholder_api_spec.rb +1 -1
  195. data/spec/api/upload_api_spec.rb +1 -1
  196. data/spec/api/user_api_spec.rb +1 -1
  197. data/spec/api/users_api_spec.rb +1 -1
  198. data/spec/models/add506c_document_request_spec.rb +1 -1
  199. data/spec/models/add_document_request_spec.rb +1 -1
  200. data/spec/models/bulk_upload_investors_request_spec.rb +1 -1
  201. data/spec/models/create_bulk_upload_detail_request_spec.rb +1 -1
  202. data/spec/models/create_bulk_upload_request_spec.rb +1 -1
  203. data/spec/models/create_company_request_spec.rb +1 -1
  204. data/spec/models/create_deal_setup_request_spec.rb +1 -1
  205. data/spec/models/create_email_template_request_spec.rb +1 -1
  206. data/spec/models/create_members_bulk_upload_request_spec.rb +1 -1
  207. data/spec/models/create_reservation_request_spec.rb +1 -1
  208. data/spec/models/create_shareholder_action_request_spec.rb +1 -1
  209. data/spec/models/edit_investor_tags_request_spec.rb +1 -1
  210. data/spec/models/generate_url_request_spec.rb +1 -1
  211. data/spec/models/get_access_token_request_spec.rb +1 -1
  212. data/spec/models/patch_deal_incentive_plan_request_spec.rb +1 -1
  213. data/spec/models/patch_deals_id_platform_emails_domain_request_spec.rb +1 -1
  214. data/spec/models/patch_investor_profiles_corporations_beneficial_owners_inner_spec.rb +1 -1
  215. data/spec/models/patch_investor_profiles_corporations_spec.rb +1 -1
  216. data/spec/models/patch_investor_profiles_individuals_spec.rb +1 -1
  217. data/spec/models/patch_investor_profiles_joints_spec.rb +1 -1
  218. data/spec/models/patch_investor_profiles_managed_spec.rb +1 -1
  219. data/spec/models/patch_investor_profiles_trusts_spec.rb +1 -1
  220. data/spec/models/patch_investor_profiles_trusts_trustees_inner_spec.rb +1 -1
  221. data/spec/models/patch_investor_request_spec.rb +1 -1
  222. data/spec/models/patch_platform_email_request_spec.rb +58 -0
  223. data/spec/models/post_deal_incentive_plan_request_spec.rb +1 -1
  224. data/spec/models/post_deals_id_investors_spec.rb +1 -1
  225. data/spec/models/post_investor_profiles_corporations_beneficial_owners_inner_spec.rb +1 -1
  226. data/spec/models/post_investor_profiles_corporations_spec.rb +1 -1
  227. data/spec/models/post_investor_profiles_individuals_spec.rb +1 -1
  228. data/spec/models/post_investor_profiles_joints_spec.rb +1 -1
  229. data/spec/models/post_investor_profiles_managed_spec.rb +1 -1
  230. data/spec/models/post_investor_profiles_trusts_spec.rb +1 -1
  231. data/spec/models/post_investor_profiles_trusts_trustees_inner_spec.rb +1 -1
  232. data/spec/models/post_webhooks_request_spec.rb +1 -1
  233. data/spec/models/put_deals_id_investors_spec.rb +1 -1
  234. data/spec/models/put_deals_id_script_tag_environment_request_spec.rb +1 -1
  235. data/spec/models/put_webhooks_id_request_spec.rb +1 -1
  236. data/spec/models/request_new_document_request_spec.rb +1 -1
  237. data/spec/models/run_background_search_request_spec.rb +1 -1
  238. data/spec/models/send_portal_invite_request_spec.rb +1 -1
  239. data/spec/models/send_verification_code_request_spec.rb +1 -1
  240. data/spec/models/setup_sms_verification_request_spec.rb +1 -1
  241. data/spec/models/test_document_upload_email_request_spec.rb +1 -1
  242. data/spec/models/update_user_password_request_spec.rb +1 -1
  243. data/spec/models/v1_entities_address_spec.rb +1 -1
  244. data/spec/models/v1_entities_addresses_spec.rb +1 -1
  245. data/spec/models/v1_entities_attachment_spec.rb +1 -1
  246. data/spec/models/v1_entities_background_check_search_spec.rb +1 -1
  247. data/spec/models/v1_entities_beefree_access_token_spec.rb +1 -1
  248. data/spec/models/v1_entities_bulk_upload_detail_spec.rb +1 -1
  249. data/spec/models/v1_entities_bulk_upload_details_spec.rb +1 -1
  250. data/spec/models/v1_entities_bulk_upload_spec.rb +1 -1
  251. data/spec/models/v1_entities_bulk_uploads_spec.rb +1 -1
  252. data/spec/models/v1_entities_company_deal_spec.rb +1 -1
  253. data/spec/models/v1_entities_company_deals_spec.rb +1 -1
  254. data/spec/models/v1_entities_company_spec.rb +1 -1
  255. data/spec/models/v1_entities_countries_spec.rb +1 -1
  256. data/spec/models/v1_entities_country_spec.rb +1 -1
  257. data/spec/models/v1_entities_deal_enterprise_spec.rb +1 -1
  258. data/spec/models/v1_entities_deal_funding_metrics_spec.rb +1 -1
  259. data/spec/models/v1_entities_deal_investor_metrics_spec.rb +1 -1
  260. data/spec/models/v1_entities_deal_issuer_spec.rb +1 -1
  261. data/spec/models/v1_entities_deal_setup_spec.rb +1 -1
  262. data/spec/models/v1_entities_deal_setup_user_spec.rb +1 -1
  263. data/spec/models/v1_entities_deal_spec.rb +1 -1
  264. data/spec/models/v1_entities_deals_incentive_plan_spec.rb +1 -1
  265. data/spec/models/v1_entities_deals_incentive_plans_incentive_tier_spec.rb +1 -1
  266. data/spec/models/v1_entities_deals_investors_payment_ach_bank_account_setup_intent_spec.rb +1 -1
  267. data/spec/models/v1_entities_deals_investors_payment_acss_bank_account_setup_intent_spec.rb +1 -1
  268. data/spec/models/v1_entities_deals_platform_email_spec.rb +80 -0
  269. data/spec/models/v1_entities_deals_platform_emails_domain_settings_spec.rb +1 -1
  270. data/spec/models/v1_entities_deals_platform_emails_spec.rb +36 -0
  271. data/spec/models/v1_entities_deals_price_details_spec.rb +1 -1
  272. data/spec/models/v1_entities_deals_progress_column_spec.rb +1 -1
  273. data/spec/models/v1_entities_deals_progress_kinds_spec.rb +1 -1
  274. data/spec/models/v1_entities_deals_progress_page_summary_item_spec.rb +1 -1
  275. data/spec/models/v1_entities_deals_progress_page_summary_spec.rb +1 -1
  276. data/spec/models/v1_entities_deals_progress_spec.rb +1 -1
  277. data/spec/models/v1_entities_deals_spec.rb +1 -1
  278. data/spec/models/v1_entities_delete_result_spec.rb +1 -1
  279. data/spec/models/v1_entities_dividend_spec.rb +1 -1
  280. data/spec/models/v1_entities_dividends_spec.rb +1 -1
  281. data/spec/models/v1_entities_email_event_spec.rb +1 -1
  282. data/spec/models/v1_entities_email_events_spec.rb +1 -1
  283. data/spec/models/v1_entities_email_template_spec.rb +1 -1
  284. data/spec/models/v1_entities_express_wire_instruction_spec.rb +1 -1
  285. data/spec/models/v1_entities_express_wire_instructions_spec.rb +1 -1
  286. data/spec/models/v1_entities_generic_response_spec.rb +1 -1
  287. data/spec/models/v1_entities_investor_otp_access_link_spec.rb +1 -1
  288. data/spec/models/v1_entities_investor_profile_address_spec.rb +1 -1
  289. data/spec/models/v1_entities_investor_profile_corporation_spec.rb +1 -1
  290. data/spec/models/v1_entities_investor_profile_fields_account_holder_spec.rb +1 -1
  291. data/spec/models/v1_entities_investor_profile_fields_beneficial_owner_spec.rb +1 -1
  292. data/spec/models/v1_entities_investor_profile_fields_beneficiary_spec.rb +1 -1
  293. data/spec/models/v1_entities_investor_profile_fields_corporation_spec.rb +1 -1
  294. data/spec/models/v1_entities_investor_profile_fields_primary_holder_spec.rb +1 -1
  295. data/spec/models/v1_entities_investor_profile_fields_provider_spec.rb +1 -1
  296. data/spec/models/v1_entities_investor_profile_fields_signing_officer_spec.rb +1 -1
  297. data/spec/models/v1_entities_investor_profile_fields_trust_spec.rb +1 -1
  298. data/spec/models/v1_entities_investor_profile_fields_trustee_spec.rb +1 -1
  299. data/spec/models/v1_entities_investor_profile_id_spec.rb +1 -1
  300. data/spec/models/v1_entities_investor_profile_individual_spec.rb +1 -1
  301. data/spec/models/v1_entities_investor_profile_item_spec.rb +1 -1
  302. data/spec/models/v1_entities_investor_profile_joint_spec.rb +1 -1
  303. data/spec/models/v1_entities_investor_profile_managed_spec.rb +1 -1
  304. data/spec/models/v1_entities_investor_profile_owner_spec.rb +1 -1
  305. data/spec/models/v1_entities_investor_profile_trust_spec.rb +1 -1
  306. data/spec/models/v1_entities_investor_profiles_spec.rb +1 -1
  307. data/spec/models/v1_entities_investor_search_entities_required_fields_spec.rb +1 -1
  308. data/spec/models/v1_entities_investor_search_entities_spec.rb +1 -1
  309. data/spec/models/v1_entities_investor_spec.rb +1 -1
  310. data/spec/models/v1_entities_investor_user_spec.rb +1 -1
  311. data/spec/models/v1_entities_investors_spec.rb +1 -1
  312. data/spec/models/v1_entities_members_bulk_upload_spec.rb +1 -1
  313. data/spec/models/v1_entities_members_bulk_uploads_spec.rb +1 -1
  314. data/spec/models/v1_entities_money_entity_spec.rb +1 -1
  315. data/spec/models/v1_entities_payments_self_serve_onboarding_digital_payments_connection_data_spec.rb +1 -1
  316. data/spec/models/v1_entities_payments_self_serve_onboarding_payout_account_details_data_spec.rb +1 -1
  317. data/spec/models/v1_entities_payments_self_serve_onboarding_payout_account_details_result_spec.rb +1 -1
  318. data/spec/models/v1_entities_payments_self_serve_onboarding_qualification_questionnaire_result_spec.rb +1 -1
  319. data/spec/models/v1_entities_presigned_url_result_spec.rb +1 -1
  320. data/spec/models/v1_entities_shareholder_ledger_spec.rb +1 -1
  321. data/spec/models/v1_entities_shareholder_spec.rb +1 -1
  322. data/spec/models/v1_entities_shareholders_spec.rb +1 -1
  323. data/spec/models/v1_entities_shareholders_tags_spec.rb +1 -1
  324. data/spec/models/v1_entities_state_spec.rb +1 -1
  325. data/spec/models/v1_entities_subscription_agreement_spec.rb +1 -1
  326. data/spec/models/{v1_entities_ttw_reservation_spec.rb → v1_entities_ttw_campaign_list_spec.rb} +8 -8
  327. data/spec/models/v1_entities_ttw_campaign_response_spec.rb +13 -1
  328. data/spec/models/v1_entities_ttw_reservation_create_spec.rb +42 -0
  329. data/spec/models/v1_entities_ttw_reservation_response_spec.rb +90 -0
  330. data/spec/models/v1_entities_user_spec.rb +1 -1
  331. data/spec/models/v1_entities_users_binding_spec.rb +1 -1
  332. data/spec/models/v1_entities_users_context_spec.rb +1 -1
  333. data/spec/models/v1_entities_users_contexts_spec.rb +1 -1
  334. data/spec/models/v1_entities_users_factor_spec.rb +1 -1
  335. data/spec/models/v1_entities_users_two_factor_channel_spec.rb +1 -1
  336. data/spec/models/v1_entities_users_two_factor_channels_spec.rb +1 -1
  337. data/spec/models/v1_entities_users_verification_resources_spec.rb +1 -1
  338. data/spec/models/v1_entities_webhooks_deal_spec.rb +1 -1
  339. data/spec/models/v1_entities_webhooks_security_token_spec.rb +1 -1
  340. data/spec/models/v1_entities_webhooks_subscription_deal_spec.rb +1 -1
  341. data/spec/models/v1_entities_webhooks_subscription_deals_spec.rb +1 -1
  342. data/spec/models/v1_entities_webhooks_subscription_spec.rb +1 -1
  343. data/spec/models/verify_factor_request_spec.rb +1 -1
  344. data/spec/models/verify_sms_verification_request_spec.rb +1 -1
  345. data/spec/spec_helper.rb +1 -1
  346. metadata +26 -6
@@ -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.7.0-SNAPSHOT
9
+ Generator version: 7.8.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -81,5 +81,68 @@ module DealMakerAPI
81
81
  end
82
82
  return data, status_code, headers
83
83
  end
84
+
85
+ # Gets a list TTW campaigns for a given company
86
+ # Gets a list TTW campaigns for a given company
87
+ # @param company_id [Integer]
88
+ # @param [Hash] opts the optional parameters
89
+ # @return [V1EntitiesTtwCampaignList]
90
+ def get_ttw_campaigns(company_id, opts = {})
91
+ data, _status_code, _headers = get_ttw_campaigns_with_http_info(company_id, opts)
92
+ data
93
+ end
94
+
95
+ # Gets a list TTW campaigns for a given company
96
+ # Gets a list TTW campaigns for a given company
97
+ # @param company_id [Integer]
98
+ # @param [Hash] opts the optional parameters
99
+ # @return [Array<(V1EntitiesTtwCampaignList, Integer, Hash)>] V1EntitiesTtwCampaignList data, response status code and response headers
100
+ def get_ttw_campaigns_with_http_info(company_id, opts = {})
101
+ if @api_client.config.debugging
102
+ @api_client.config.logger.debug 'Calling API: CampaignApi.get_ttw_campaigns ...'
103
+ end
104
+ # verify the required parameter 'company_id' is set
105
+ if @api_client.config.client_side_validation && company_id.nil?
106
+ fail ArgumentError, "Missing the required parameter 'company_id' when calling CampaignApi.get_ttw_campaigns"
107
+ end
108
+ # resource path
109
+ local_var_path = '/ttw/companies/{company_id}/campaigns'.sub('{' + 'company_id' + '}', CGI.escape(company_id.to_s))
110
+
111
+ # query parameters
112
+ query_params = opts[:query_params] || {}
113
+
114
+ # header parameters
115
+ header_params = opts[:header_params] || {}
116
+ # HTTP header 'Accept' (if needed)
117
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
118
+
119
+ # form parameters
120
+ form_params = opts[:form_params] || {}
121
+
122
+ # http body (model)
123
+ post_body = opts[:debug_body]
124
+
125
+ # return_type
126
+ return_type = opts[:debug_return_type] || 'V1EntitiesTtwCampaignList'
127
+
128
+ # auth_names
129
+ auth_names = opts[:debug_auth_names] || []
130
+
131
+ new_options = opts.merge(
132
+ :operation => :"CampaignApi.get_ttw_campaigns",
133
+ :header_params => header_params,
134
+ :query_params => query_params,
135
+ :form_params => form_params,
136
+ :body => post_body,
137
+ :auth_names => auth_names,
138
+ :return_type => return_type
139
+ )
140
+
141
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
142
+ if @api_client.config.debugging
143
+ @api_client.config.logger.debug "API called: CampaignApi#get_ttw_campaigns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
144
+ end
145
+ return data, status_code, headers
146
+ end
84
147
  end
85
148
  end
@@ -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.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -431,5 +431,148 @@ module DealMakerAPI
431
431
  end
432
432
  return data, status_code, headers
433
433
  end
434
+
435
+ # Get a list of platform emails for the deal
436
+ # Get a list of platform emails for the deal
437
+ # @param id [Integer] The deal id.
438
+ # @param [Hash] opts the optional parameters
439
+ # @return [V1EntitiesDealsPlatformEmails]
440
+ def list_platform_emails(id, opts = {})
441
+ data, _status_code, _headers = list_platform_emails_with_http_info(id, opts)
442
+ data
443
+ end
444
+
445
+ # Get a list of platform emails for the deal
446
+ # Get a list of platform emails for the deal
447
+ # @param id [Integer] The deal id.
448
+ # @param [Hash] opts the optional parameters
449
+ # @return [Array<(V1EntitiesDealsPlatformEmails, Integer, Hash)>] V1EntitiesDealsPlatformEmails data, response status code and response headers
450
+ def list_platform_emails_with_http_info(id, opts = {})
451
+ if @api_client.config.debugging
452
+ @api_client.config.logger.debug 'Calling API: DealApi.list_platform_emails ...'
453
+ end
454
+ # verify the required parameter 'id' is set
455
+ if @api_client.config.client_side_validation && id.nil?
456
+ fail ArgumentError, "Missing the required parameter 'id' when calling DealApi.list_platform_emails"
457
+ end
458
+ # resource path
459
+ local_var_path = '/deals/{id}/platform_emails'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
460
+
461
+ # query parameters
462
+ query_params = opts[:query_params] || {}
463
+
464
+ # header parameters
465
+ header_params = opts[:header_params] || {}
466
+ # HTTP header 'Accept' (if needed)
467
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
468
+
469
+ # form parameters
470
+ form_params = opts[:form_params] || {}
471
+
472
+ # http body (model)
473
+ post_body = opts[:debug_body]
474
+
475
+ # return_type
476
+ return_type = opts[:debug_return_type] || 'V1EntitiesDealsPlatformEmails'
477
+
478
+ # auth_names
479
+ auth_names = opts[:debug_auth_names] || []
480
+
481
+ new_options = opts.merge(
482
+ :operation => :"DealApi.list_platform_emails",
483
+ :header_params => header_params,
484
+ :query_params => query_params,
485
+ :form_params => form_params,
486
+ :body => post_body,
487
+ :auth_names => auth_names,
488
+ :return_type => return_type
489
+ )
490
+
491
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
492
+ if @api_client.config.debugging
493
+ @api_client.config.logger.debug "API called: DealApi#list_platform_emails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
494
+ end
495
+ return data, status_code, headers
496
+ end
497
+
498
+ # Patch platform email by kind and deal.
499
+ # Patch platform email by kind and deal.
500
+ # @param id [Integer]
501
+ # @param kind [Integer]
502
+ # @param patch_platform_email_request [PatchPlatformEmailRequest]
503
+ # @param [Hash] opts the optional parameters
504
+ # @return [V1EntitiesDealsPlatformEmail]
505
+ def patch_platform_email(id, kind, patch_platform_email_request, opts = {})
506
+ data, _status_code, _headers = patch_platform_email_with_http_info(id, kind, patch_platform_email_request, opts)
507
+ data
508
+ end
509
+
510
+ # Patch platform email by kind and deal.
511
+ # Patch platform email by kind and deal.
512
+ # @param id [Integer]
513
+ # @param kind [Integer]
514
+ # @param patch_platform_email_request [PatchPlatformEmailRequest]
515
+ # @param [Hash] opts the optional parameters
516
+ # @return [Array<(V1EntitiesDealsPlatformEmail, Integer, Hash)>] V1EntitiesDealsPlatformEmail data, response status code and response headers
517
+ def patch_platform_email_with_http_info(id, kind, patch_platform_email_request, opts = {})
518
+ if @api_client.config.debugging
519
+ @api_client.config.logger.debug 'Calling API: DealApi.patch_platform_email ...'
520
+ end
521
+ # verify the required parameter 'id' is set
522
+ if @api_client.config.client_side_validation && id.nil?
523
+ fail ArgumentError, "Missing the required parameter 'id' when calling DealApi.patch_platform_email"
524
+ end
525
+ # verify the required parameter 'kind' is set
526
+ if @api_client.config.client_side_validation && kind.nil?
527
+ fail ArgumentError, "Missing the required parameter 'kind' when calling DealApi.patch_platform_email"
528
+ end
529
+ # verify the required parameter 'patch_platform_email_request' is set
530
+ if @api_client.config.client_side_validation && patch_platform_email_request.nil?
531
+ fail ArgumentError, "Missing the required parameter 'patch_platform_email_request' when calling DealApi.patch_platform_email"
532
+ end
533
+ # resource path
534
+ local_var_path = '/deals/{id}/platform_emails/{kind}/update'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'kind' + '}', CGI.escape(kind.to_s))
535
+
536
+ # query parameters
537
+ query_params = opts[:query_params] || {}
538
+
539
+ # header parameters
540
+ header_params = opts[:header_params] || {}
541
+ # HTTP header 'Accept' (if needed)
542
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
543
+ # HTTP header 'Content-Type'
544
+ content_type = @api_client.select_header_content_type(['application/json'])
545
+ if !content_type.nil?
546
+ header_params['Content-Type'] = content_type
547
+ end
548
+
549
+ # form parameters
550
+ form_params = opts[:form_params] || {}
551
+
552
+ # http body (model)
553
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(patch_platform_email_request)
554
+
555
+ # return_type
556
+ return_type = opts[:debug_return_type] || 'V1EntitiesDealsPlatformEmail'
557
+
558
+ # auth_names
559
+ auth_names = opts[:debug_auth_names] || []
560
+
561
+ new_options = opts.merge(
562
+ :operation => :"DealApi.patch_platform_email",
563
+ :header_params => header_params,
564
+ :query_params => query_params,
565
+ :form_params => form_params,
566
+ :body => post_body,
567
+ :auth_names => auth_names,
568
+ :return_type => return_type
569
+ )
570
+
571
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
572
+ if @api_client.config.debugging
573
+ @api_client.config.logger.debug "API called: DealApi#patch_platform_email\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
574
+ end
575
+ return data, status_code, headers
576
+ end
434
577
  end
435
578
  end
@@ -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.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -23,7 +23,7 @@ module DealMakerAPI
23
23
  # Create a new reservation
24
24
  # @param create_reservation_request [CreateReservationRequest]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [V1EntitiesTtwReservation]
26
+ # @return [V1EntitiesTtwReservationCreate]
27
27
  def create_reservation(create_reservation_request, opts = {})
28
28
  data, _status_code, _headers = create_reservation_with_http_info(create_reservation_request, opts)
29
29
  data
@@ -33,7 +33,7 @@ module DealMakerAPI
33
33
  # Create a new reservation
34
34
  # @param create_reservation_request [CreateReservationRequest]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(V1EntitiesTtwReservation, Integer, Hash)>] V1EntitiesTtwReservation data, response status code and response headers
36
+ # @return [Array<(V1EntitiesTtwReservationCreate, Integer, Hash)>] V1EntitiesTtwReservationCreate data, response status code and response headers
37
37
  def create_reservation_with_http_info(create_reservation_request, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: ReservationApi.create_reservation ...'
@@ -65,7 +65,7 @@ module DealMakerAPI
65
65
  post_body = opts[:debug_body] || @api_client.object_to_http_body(create_reservation_request)
66
66
 
67
67
  # return_type
68
- return_type = opts[:debug_return_type] || 'V1EntitiesTtwReservation'
68
+ return_type = opts[:debug_return_type] || 'V1EntitiesTtwReservationCreate'
69
69
 
70
70
  # auth_names
71
71
  auth_names = opts[:debug_auth_names] || []
@@ -86,5 +86,68 @@ module DealMakerAPI
86
86
  end
87
87
  return data, status_code, headers
88
88
  end
89
+
90
+ # Gets a TTW reservation
91
+ # Gets a TTW reservation
92
+ # @param id [Integer]
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [V1EntitiesTtwReservationResponse]
95
+ def get_ttw_reservation(id, opts = {})
96
+ data, _status_code, _headers = get_ttw_reservation_with_http_info(id, opts)
97
+ data
98
+ end
99
+
100
+ # Gets a TTW reservation
101
+ # Gets a TTW reservation
102
+ # @param id [Integer]
103
+ # @param [Hash] opts the optional parameters
104
+ # @return [Array<(V1EntitiesTtwReservationResponse, Integer, Hash)>] V1EntitiesTtwReservationResponse data, response status code and response headers
105
+ def get_ttw_reservation_with_http_info(id, opts = {})
106
+ if @api_client.config.debugging
107
+ @api_client.config.logger.debug 'Calling API: ReservationApi.get_ttw_reservation ...'
108
+ end
109
+ # verify the required parameter 'id' is set
110
+ if @api_client.config.client_side_validation && id.nil?
111
+ fail ArgumentError, "Missing the required parameter 'id' when calling ReservationApi.get_ttw_reservation"
112
+ end
113
+ # resource path
114
+ local_var_path = '/ttw/reservations/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
115
+
116
+ # query parameters
117
+ query_params = opts[:query_params] || {}
118
+
119
+ # header parameters
120
+ header_params = opts[:header_params] || {}
121
+ # HTTP header 'Accept' (if needed)
122
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
123
+
124
+ # form parameters
125
+ form_params = opts[:form_params] || {}
126
+
127
+ # http body (model)
128
+ post_body = opts[:debug_body]
129
+
130
+ # return_type
131
+ return_type = opts[:debug_return_type] || 'V1EntitiesTtwReservationResponse'
132
+
133
+ # auth_names
134
+ auth_names = opts[:debug_auth_names] || []
135
+
136
+ new_options = opts.merge(
137
+ :operation => :"ReservationApi.get_ttw_reservation",
138
+ :header_params => header_params,
139
+ :query_params => query_params,
140
+ :form_params => form_params,
141
+ :body => post_body,
142
+ :auth_names => auth_names,
143
+ :return_type => return_type
144
+ )
145
+
146
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
147
+ if @api_client.config.debugging
148
+ @api_client.config.logger.debug "API called: ReservationApi#get_ttw_reservation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
149
+ end
150
+ return data, status_code, headers
151
+ end
89
152
  end
90
153
  end
@@ -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.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -79,6 +79,14 @@ module DealMakerAPI
79
79
  # @return [true, false]
80
80
  attr_accessor :debugging
81
81
 
82
+ # Set this to ignore operation servers for the API client. This is useful when you need to
83
+ # send requests to a different server than the one specified in the OpenAPI document.
84
+ # Will default to the base url defined in the spec but can be overridden by setting
85
+ # `scheme`, `host`, `base_path` directly.
86
+ # Default to false.
87
+ # @return [true, false]
88
+ attr_accessor :ignore_operation_servers
89
+
82
90
  # Defines the logger used for debugging.
83
91
  # Default to `Rails.logger` (when in Rails) or logging to STDOUT.
84
92
  #
@@ -166,6 +174,7 @@ module DealMakerAPI
166
174
  @timeout = 0
167
175
  @params_encoding = nil
168
176
  @debugging = false
177
+ @ignore_operation_servers = false
169
178
  @inject_format = false
170
179
  @force_ending_format = false
171
180
  @logger = defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
@@ -200,6 +209,7 @@ module DealMakerAPI
200
209
 
201
210
  # Returns base URL for specified operation based on server settings
202
211
  def base_url(operation = nil)
212
+ return "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '') if ignore_operation_servers
203
213
  if operation_server_settings.key?(operation) then
204
214
  index = server_operation_index.fetch(operation, server_index)
205
215
  server_url(index.nil? ? 0 : index, server_operation_variables.fetch(operation, server_variables), operation_server_settings[operation])
@@ -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.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.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
- Generator version: 7.7.0-SNAPSHOT
9
+ Generator version: 7.8.0-SNAPSHOT
10
10
 
11
11
  =end
12
12