DealMakerAPI 0.106.1 → 0.106.3
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.
- checksums.yaml +4 -4
- data/DealMakerAPI.gemspec +1 -1
- data/README.md +15 -6
- data/docs/CampaignApi.md +67 -0
- data/docs/DealApi.md +138 -0
- data/docs/PatchPlatformEmailRequest.md +24 -0
- data/docs/ReservationApi.md +71 -4
- data/docs/V1EntitiesDealsPlatformEmail.md +30 -0
- data/docs/V1EntitiesDealsPlatformEmails.md +18 -0
- data/docs/V1EntitiesTtwCampaignList.md +18 -0
- data/docs/V1EntitiesTtwCampaignResponse.md +5 -1
- data/docs/{V1EntitiesTtwReservation.md → V1EntitiesTtwReservationCreate.md} +5 -3
- data/docs/V1EntitiesTtwReservationResponse.md +36 -0
- data/lib/DealMakerAPI/api/campaign_api.rb +64 -1
- data/lib/DealMakerAPI/api/company_api.rb +1 -1
- data/lib/DealMakerAPI/api/country_api.rb +1 -1
- data/lib/DealMakerAPI/api/custom_emails_api.rb +1 -1
- data/lib/DealMakerAPI/api/deal_api.rb +144 -1
- data/lib/DealMakerAPI/api/deals_api.rb +1 -1
- data/lib/DealMakerAPI/api/default_api.rb +1 -1
- data/lib/DealMakerAPI/api/incentive_plan_api.rb +1 -1
- data/lib/DealMakerAPI/api/investor_api.rb +1 -1
- data/lib/DealMakerAPI/api/investor_profile_api.rb +1 -1
- data/lib/DealMakerAPI/api/payments_api.rb +1 -1
- data/lib/DealMakerAPI/api/reservation_api.rb +67 -4
- data/lib/DealMakerAPI/api/shareholder_api.rb +1 -1
- data/lib/DealMakerAPI/api/upload_api.rb +1 -1
- data/lib/DealMakerAPI/api/user_api.rb +1 -1
- data/lib/DealMakerAPI/api/users_api.rb +1 -1
- data/lib/DealMakerAPI/api_client.rb +1 -1
- data/lib/DealMakerAPI/api_error.rb +1 -1
- data/lib/DealMakerAPI/configuration.rb +11 -1
- data/lib/DealMakerAPI/models/add506c_document_request.rb +1 -1
- data/lib/DealMakerAPI/models/add_document_request.rb +1 -1
- data/lib/DealMakerAPI/models/bulk_upload_investors_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_bulk_upload_detail_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_bulk_upload_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_company_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_deal_setup_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_email_template_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_members_bulk_upload_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_reservation_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_shareholder_action_request.rb +1 -1
- data/lib/DealMakerAPI/models/edit_investor_tags_request.rb +1 -1
- data/lib/DealMakerAPI/models/generate_url_request.rb +1 -1
- data/lib/DealMakerAPI/models/get_access_token_request.rb +1 -1
- data/lib/DealMakerAPI/models/patch_deal_incentive_plan_request.rb +1 -1
- data/lib/DealMakerAPI/models/patch_deals_id_platform_emails_domain_request.rb +1 -1
- data/lib/DealMakerAPI/models/patch_investor_profiles_corporations.rb +1 -1
- data/lib/DealMakerAPI/models/patch_investor_profiles_corporations_beneficial_owners_inner.rb +1 -1
- data/lib/DealMakerAPI/models/patch_investor_profiles_individuals.rb +1 -1
- data/lib/DealMakerAPI/models/patch_investor_profiles_joints.rb +1 -1
- data/lib/DealMakerAPI/models/patch_investor_profiles_managed.rb +1 -1
- data/lib/DealMakerAPI/models/patch_investor_profiles_trusts.rb +1 -1
- data/lib/DealMakerAPI/models/patch_investor_profiles_trusts_trustees_inner.rb +1 -1
- data/lib/DealMakerAPI/models/patch_investor_request.rb +1 -1
- data/lib/DealMakerAPI/models/patch_platform_email_request.rb +307 -0
- data/lib/DealMakerAPI/models/post_deal_incentive_plan_request.rb +1 -1
- data/lib/DealMakerAPI/models/post_deals_id_investors.rb +1 -1
- data/lib/DealMakerAPI/models/post_investor_profiles_corporations.rb +1 -1
- data/lib/DealMakerAPI/models/post_investor_profiles_corporations_beneficial_owners_inner.rb +1 -1
- data/lib/DealMakerAPI/models/post_investor_profiles_individuals.rb +1 -1
- data/lib/DealMakerAPI/models/post_investor_profiles_joints.rb +1 -1
- data/lib/DealMakerAPI/models/post_investor_profiles_managed.rb +1 -1
- data/lib/DealMakerAPI/models/post_investor_profiles_trusts.rb +1 -1
- data/lib/DealMakerAPI/models/post_investor_profiles_trusts_trustees_inner.rb +1 -1
- data/lib/DealMakerAPI/models/post_webhooks_request.rb +1 -1
- data/lib/DealMakerAPI/models/put_deals_id_investors.rb +1 -1
- data/lib/DealMakerAPI/models/put_deals_id_script_tag_environment_request.rb +1 -1
- data/lib/DealMakerAPI/models/put_webhooks_id_request.rb +1 -1
- data/lib/DealMakerAPI/models/request_new_document_request.rb +1 -1
- data/lib/DealMakerAPI/models/run_background_search_request.rb +1 -1
- data/lib/DealMakerAPI/models/send_portal_invite_request.rb +1 -1
- data/lib/DealMakerAPI/models/send_verification_code_request.rb +1 -1
- data/lib/DealMakerAPI/models/setup_sms_verification_request.rb +1 -1
- data/lib/DealMakerAPI/models/test_document_upload_email_request.rb +1 -1
- data/lib/DealMakerAPI/models/update_user_password_request.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_address.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_addresses.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_attachment.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_background_check_search.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_beefree_access_token.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_bulk_upload.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_bulk_upload_detail.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_bulk_upload_details.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_bulk_uploads.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_company.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_company_deal.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_company_deals.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_countries.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_country.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_enterprise.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_funding_metrics.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_investor_metrics.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_issuer.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_setup.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_setup_user.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals_incentive_plan.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals_incentive_plans_incentive_tier.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals_investors_payment_ach_bank_account_setup_intent.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals_investors_payment_acss_bank_account_setup_intent.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals_platform_email.rb +322 -0
- data/lib/DealMakerAPI/models/v1_entities_deals_platform_emails.rb +215 -0
- data/lib/DealMakerAPI/models/v1_entities_deals_platform_emails_domain_settings.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals_price_details.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals_progress.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals_progress_column.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals_progress_kinds.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals_progress_page_summary.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals_progress_page_summary_item.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_delete_result.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_dividend.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_dividends.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_email_event.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_email_events.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_email_template.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_express_wire_instruction.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_express_wire_instructions.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_generic_response.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_otp_access_link.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_address.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_corporation.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_account_holder.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_beneficial_owner.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_beneficiary.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_corporation.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_primary_holder.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_provider.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_signing_officer.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_trust.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_trustee.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_id.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_individual.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_item.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_joint.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_managed.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_owner.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_trust.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profiles.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_search_entities.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_search_entities_required_fields.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_user.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investors.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_members_bulk_upload.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_members_bulk_uploads.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_money_entity.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_digital_payments_connection_data.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_payout_account_details_data.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_payout_account_details_result.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_qualification_questionnaire_result.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_presigned_url_result.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_shareholder.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_shareholder_ledger.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_shareholders.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_shareholders_tags.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_state.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_subscription_agreement.rb +1 -1
- data/lib/DealMakerAPI/models/{v1_entities_ttw_reservation.rb → v1_entities_ttw_campaign_list.rb} +12 -13
- data/lib/DealMakerAPI/models/v1_entities_ttw_campaign_response.rb +30 -10
- data/lib/DealMakerAPI/models/v1_entities_ttw_reservation_create.rb +226 -0
- data/lib/DealMakerAPI/models/v1_entities_ttw_reservation_response.rb +306 -0
- data/lib/DealMakerAPI/models/v1_entities_user.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_users_binding.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_users_context.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_users_contexts.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_users_factor.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_users_two_factor_channel.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_users_two_factor_channels.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_users_verification_resources.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_deal.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_security_token.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deal.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deals.rb +1 -1
- data/lib/DealMakerAPI/models/verify_factor_request.rb +1 -1
- data/lib/DealMakerAPI/models/verify_sms_verification_request.rb +1 -1
- data/lib/DealMakerAPI/version.rb +2 -2
- data/lib/DealMakerAPI.rb +7 -2
- data/spec/api/campaign_api_spec.rb +13 -1
- data/spec/api/company_api_spec.rb +1 -1
- data/spec/api/country_api_spec.rb +1 -1
- data/spec/api/custom_emails_api_spec.rb +1 -1
- data/spec/api/deal_api_spec.rb +27 -1
- data/spec/api/deals_api_spec.rb +1 -1
- data/spec/api/default_api_spec.rb +1 -1
- data/spec/api/incentive_plan_api_spec.rb +1 -1
- data/spec/api/investor_api_spec.rb +1 -1
- data/spec/api/investor_profile_api_spec.rb +1 -1
- data/spec/api/payments_api_spec.rb +1 -1
- data/spec/api/reservation_api_spec.rb +14 -2
- data/spec/api/shareholder_api_spec.rb +1 -1
- data/spec/api/upload_api_spec.rb +1 -1
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/api/users_api_spec.rb +1 -1
- data/spec/models/add506c_document_request_spec.rb +1 -1
- data/spec/models/add_document_request_spec.rb +1 -1
- data/spec/models/bulk_upload_investors_request_spec.rb +1 -1
- data/spec/models/create_bulk_upload_detail_request_spec.rb +1 -1
- data/spec/models/create_bulk_upload_request_spec.rb +1 -1
- data/spec/models/create_company_request_spec.rb +1 -1
- data/spec/models/create_deal_setup_request_spec.rb +1 -1
- data/spec/models/create_email_template_request_spec.rb +1 -1
- data/spec/models/create_members_bulk_upload_request_spec.rb +1 -1
- data/spec/models/create_reservation_request_spec.rb +1 -1
- data/spec/models/create_shareholder_action_request_spec.rb +1 -1
- data/spec/models/edit_investor_tags_request_spec.rb +1 -1
- data/spec/models/generate_url_request_spec.rb +1 -1
- data/spec/models/get_access_token_request_spec.rb +1 -1
- data/spec/models/patch_deal_incentive_plan_request_spec.rb +1 -1
- data/spec/models/patch_deals_id_platform_emails_domain_request_spec.rb +1 -1
- data/spec/models/patch_investor_profiles_corporations_beneficial_owners_inner_spec.rb +1 -1
- data/spec/models/patch_investor_profiles_corporations_spec.rb +1 -1
- data/spec/models/patch_investor_profiles_individuals_spec.rb +1 -1
- data/spec/models/patch_investor_profiles_joints_spec.rb +1 -1
- data/spec/models/patch_investor_profiles_managed_spec.rb +1 -1
- data/spec/models/patch_investor_profiles_trusts_spec.rb +1 -1
- data/spec/models/patch_investor_profiles_trusts_trustees_inner_spec.rb +1 -1
- data/spec/models/patch_investor_request_spec.rb +1 -1
- data/spec/models/patch_platform_email_request_spec.rb +58 -0
- data/spec/models/post_deal_incentive_plan_request_spec.rb +1 -1
- data/spec/models/post_deals_id_investors_spec.rb +1 -1
- data/spec/models/post_investor_profiles_corporations_beneficial_owners_inner_spec.rb +1 -1
- data/spec/models/post_investor_profiles_corporations_spec.rb +1 -1
- data/spec/models/post_investor_profiles_individuals_spec.rb +1 -1
- data/spec/models/post_investor_profiles_joints_spec.rb +1 -1
- data/spec/models/post_investor_profiles_managed_spec.rb +1 -1
- data/spec/models/post_investor_profiles_trusts_spec.rb +1 -1
- data/spec/models/post_investor_profiles_trusts_trustees_inner_spec.rb +1 -1
- data/spec/models/post_webhooks_request_spec.rb +1 -1
- data/spec/models/put_deals_id_investors_spec.rb +1 -1
- data/spec/models/put_deals_id_script_tag_environment_request_spec.rb +1 -1
- data/spec/models/put_webhooks_id_request_spec.rb +1 -1
- data/spec/models/request_new_document_request_spec.rb +1 -1
- data/spec/models/run_background_search_request_spec.rb +1 -1
- data/spec/models/send_portal_invite_request_spec.rb +1 -1
- data/spec/models/send_verification_code_request_spec.rb +1 -1
- data/spec/models/setup_sms_verification_request_spec.rb +1 -1
- data/spec/models/test_document_upload_email_request_spec.rb +1 -1
- data/spec/models/update_user_password_request_spec.rb +1 -1
- data/spec/models/v1_entities_address_spec.rb +1 -1
- data/spec/models/v1_entities_addresses_spec.rb +1 -1
- data/spec/models/v1_entities_attachment_spec.rb +1 -1
- data/spec/models/v1_entities_background_check_search_spec.rb +1 -1
- data/spec/models/v1_entities_beefree_access_token_spec.rb +1 -1
- data/spec/models/v1_entities_bulk_upload_detail_spec.rb +1 -1
- data/spec/models/v1_entities_bulk_upload_details_spec.rb +1 -1
- data/spec/models/v1_entities_bulk_upload_spec.rb +1 -1
- data/spec/models/v1_entities_bulk_uploads_spec.rb +1 -1
- data/spec/models/v1_entities_company_deal_spec.rb +1 -1
- data/spec/models/v1_entities_company_deals_spec.rb +1 -1
- data/spec/models/v1_entities_company_spec.rb +1 -1
- data/spec/models/v1_entities_countries_spec.rb +1 -1
- data/spec/models/v1_entities_country_spec.rb +1 -1
- data/spec/models/v1_entities_deal_enterprise_spec.rb +1 -1
- data/spec/models/v1_entities_deal_funding_metrics_spec.rb +1 -1
- data/spec/models/v1_entities_deal_investor_metrics_spec.rb +1 -1
- data/spec/models/v1_entities_deal_issuer_spec.rb +1 -1
- data/spec/models/v1_entities_deal_setup_spec.rb +1 -1
- data/spec/models/v1_entities_deal_setup_user_spec.rb +1 -1
- data/spec/models/v1_entities_deal_spec.rb +1 -1
- data/spec/models/v1_entities_deals_incentive_plan_spec.rb +1 -1
- data/spec/models/v1_entities_deals_incentive_plans_incentive_tier_spec.rb +1 -1
- data/spec/models/v1_entities_deals_investors_payment_ach_bank_account_setup_intent_spec.rb +1 -1
- data/spec/models/v1_entities_deals_investors_payment_acss_bank_account_setup_intent_spec.rb +1 -1
- data/spec/models/v1_entities_deals_platform_email_spec.rb +80 -0
- data/spec/models/v1_entities_deals_platform_emails_domain_settings_spec.rb +1 -1
- data/spec/models/v1_entities_deals_platform_emails_spec.rb +36 -0
- data/spec/models/v1_entities_deals_price_details_spec.rb +1 -1
- data/spec/models/v1_entities_deals_progress_column_spec.rb +1 -1
- data/spec/models/v1_entities_deals_progress_kinds_spec.rb +1 -1
- data/spec/models/v1_entities_deals_progress_page_summary_item_spec.rb +1 -1
- data/spec/models/v1_entities_deals_progress_page_summary_spec.rb +1 -1
- data/spec/models/v1_entities_deals_progress_spec.rb +1 -1
- data/spec/models/v1_entities_deals_spec.rb +1 -1
- data/spec/models/v1_entities_delete_result_spec.rb +1 -1
- data/spec/models/v1_entities_dividend_spec.rb +1 -1
- data/spec/models/v1_entities_dividends_spec.rb +1 -1
- data/spec/models/v1_entities_email_event_spec.rb +1 -1
- data/spec/models/v1_entities_email_events_spec.rb +1 -1
- data/spec/models/v1_entities_email_template_spec.rb +1 -1
- data/spec/models/v1_entities_express_wire_instruction_spec.rb +1 -1
- data/spec/models/v1_entities_express_wire_instructions_spec.rb +1 -1
- data/spec/models/v1_entities_generic_response_spec.rb +1 -1
- data/spec/models/v1_entities_investor_otp_access_link_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_address_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_corporation_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_account_holder_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_beneficial_owner_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_beneficiary_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_corporation_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_primary_holder_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_provider_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_signing_officer_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_trust_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_trustee_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_id_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_individual_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_item_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_joint_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_managed_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_owner_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_trust_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profiles_spec.rb +1 -1
- data/spec/models/v1_entities_investor_search_entities_required_fields_spec.rb +1 -1
- data/spec/models/v1_entities_investor_search_entities_spec.rb +1 -1
- data/spec/models/v1_entities_investor_spec.rb +1 -1
- data/spec/models/v1_entities_investor_user_spec.rb +1 -1
- data/spec/models/v1_entities_investors_spec.rb +1 -1
- data/spec/models/v1_entities_members_bulk_upload_spec.rb +1 -1
- data/spec/models/v1_entities_members_bulk_uploads_spec.rb +1 -1
- data/spec/models/v1_entities_money_entity_spec.rb +1 -1
- data/spec/models/v1_entities_payments_self_serve_onboarding_digital_payments_connection_data_spec.rb +1 -1
- data/spec/models/v1_entities_payments_self_serve_onboarding_payout_account_details_data_spec.rb +1 -1
- data/spec/models/v1_entities_payments_self_serve_onboarding_payout_account_details_result_spec.rb +1 -1
- data/spec/models/v1_entities_payments_self_serve_onboarding_qualification_questionnaire_result_spec.rb +1 -1
- data/spec/models/v1_entities_presigned_url_result_spec.rb +1 -1
- data/spec/models/v1_entities_shareholder_ledger_spec.rb +1 -1
- data/spec/models/v1_entities_shareholder_spec.rb +1 -1
- data/spec/models/v1_entities_shareholders_spec.rb +1 -1
- data/spec/models/v1_entities_shareholders_tags_spec.rb +1 -1
- data/spec/models/v1_entities_state_spec.rb +1 -1
- data/spec/models/v1_entities_subscription_agreement_spec.rb +1 -1
- data/spec/models/{v1_entities_ttw_reservation_spec.rb → v1_entities_ttw_campaign_list_spec.rb} +8 -8
- data/spec/models/v1_entities_ttw_campaign_response_spec.rb +13 -1
- data/spec/models/v1_entities_ttw_reservation_create_spec.rb +42 -0
- data/spec/models/v1_entities_ttw_reservation_response_spec.rb +90 -0
- data/spec/models/v1_entities_user_spec.rb +1 -1
- data/spec/models/v1_entities_users_binding_spec.rb +1 -1
- data/spec/models/v1_entities_users_context_spec.rb +1 -1
- data/spec/models/v1_entities_users_contexts_spec.rb +1 -1
- data/spec/models/v1_entities_users_factor_spec.rb +1 -1
- data/spec/models/v1_entities_users_two_factor_channel_spec.rb +1 -1
- data/spec/models/v1_entities_users_two_factor_channels_spec.rb +1 -1
- data/spec/models/v1_entities_users_verification_resources_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_deal_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_security_token_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_subscription_deal_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_subscription_deals_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_subscription_spec.rb +1 -1
- data/spec/models/verify_factor_request_spec.rb +1 -1
- data/spec/models/verify_sms_verification_request_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- 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.
|
|
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.
|
|
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.
|
|
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 [
|
|
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<(
|
|
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] || '
|
|
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.
|
|
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])
|