DealMakerAPI 0.102.1 → 0.103.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/DealMakerAPI.gemspec +1 -1
- data/README.md +28 -6
- data/docs/CompanyApi.md +68 -0
- data/docs/DealApi.md +80 -9
- data/docs/DefaultApi.md +136 -0
- data/docs/PaymentsApi.md +75 -0
- data/docs/SetupSmsVerificationRequest.md +18 -0
- data/docs/TestDocumentUploadEmailRequest.md +22 -0
- data/docs/UpdateUserPasswordRequest.md +4 -2
- data/docs/UserApi.md +340 -0
- data/docs/V1EntitiesAttachment.md +2 -0
- data/docs/V1EntitiesDealsInvestorsPaymentAchBankAccountSetupIntent.md +20 -0
- data/docs/V1EntitiesDealsProgress.md +20 -0
- data/docs/V1EntitiesDealsProgressColumn.md +22 -0
- data/docs/V1EntitiesDealsProgressPageSummary.md +32 -0
- data/docs/V1EntitiesUsersBinding.md +20 -0
- data/docs/V1EntitiesUsersFactor.md +22 -0
- data/docs/V1EntitiesUsersTwoFactorChannel.md +32 -0
- data/docs/V1EntitiesUsersTwoFactorChannels.md +18 -0
- data/docs/VerifyFactorRequest.md +18 -0
- data/docs/VerifySmsVerificationRequest.md +20 -0
- data/lib/DealMakerAPI/api/company_api.rb +73 -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 +85 -10
- data/lib/DealMakerAPI/api/deals_api.rb +1 -1
- data/lib/DealMakerAPI/api/default_api.rb +138 -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 +89 -0
- 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 +347 -1
- data/lib/DealMakerAPI/api/users_api.rb +1 -1
- data/lib/DealMakerAPI/api_client.rb +3 -3
- data/lib/DealMakerAPI/api_error.rb +1 -1
- data/lib/DealMakerAPI/configuration.rb +1 -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_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_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/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/setup_sms_verification_request.rb +222 -0
- data/lib/DealMakerAPI/models/test_document_upload_email_request.rb +256 -0
- data/lib/DealMakerAPI/models/update_user_password_request.rb +16 -6
- 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 +12 -2
- 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 +226 -0
- data/lib/DealMakerAPI/models/v1_entities_deals_investors_payment_acss_bank_account_setup_intent.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals_price_details.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals_progress.rb +224 -0
- data/lib/DealMakerAPI/models/v1_entities_deals_progress_column.rb +235 -0
- data/lib/DealMakerAPI/models/v1_entities_deals_progress_page_summary.rb +286 -0
- 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_user.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_users_binding.rb +225 -0
- data/lib/DealMakerAPI/models/v1_entities_users_factor.rb +235 -0
- data/lib/DealMakerAPI/models/v1_entities_users_two_factor_channel.rb +286 -0
- data/lib/DealMakerAPI/models/v1_entities_users_two_factor_channels.rb +215 -0
- 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 +222 -0
- data/lib/DealMakerAPI/models/verify_sms_verification_request.rb +239 -0
- data/lib/DealMakerAPI/version.rb +2 -2
- data/lib/DealMakerAPI.rb +14 -1
- data/spec/api/company_api_spec.rb +14 -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 +17 -3
- data/spec/api/deals_api_spec.rb +1 -1
- data/spec/api/default_api_spec.rb +26 -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 +48 -0
- 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 +64 -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_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_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/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/setup_sms_verification_request_spec.rb +36 -0
- data/spec/models/test_document_upload_email_request_spec.rb +48 -0
- data/spec/models/update_user_password_request_spec.rb +7 -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 +7 -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 +42 -0
- data/spec/models/v1_entities_deals_investors_payment_acss_bank_account_setup_intent_spec.rb +1 -1
- data/spec/models/v1_entities_deals_price_details_spec.rb +1 -1
- data/spec/models/v1_entities_deals_progress_column_spec.rb +48 -0
- data/spec/models/v1_entities_deals_progress_page_summary_spec.rb +78 -0
- data/spec/models/v1_entities_deals_progress_spec.rb +42 -0
- data/spec/models/v1_entities_deals_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_user_spec.rb +1 -1
- data/spec/models/v1_entities_users_binding_spec.rb +42 -0
- data/spec/models/v1_entities_users_factor_spec.rb +48 -0
- data/spec/models/v1_entities_users_two_factor_channel_spec.rb +78 -0
- data/spec/models/v1_entities_users_two_factor_channels_spec.rb +36 -0
- 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 +36 -0
- data/spec/models/verify_sms_verification_request_spec.rb +42 -0
- data/spec/spec_helper.rb +1 -1
- 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.
|
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
|