DealMakerAPI 0.90.1 → 0.90.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/README.md +16 -4
- data/docs/CompanyApi.md +73 -0
- data/docs/DefaultApi.md +67 -0
- data/docs/InvestorApi.md +69 -0
- data/docs/UpdateUserPasswordRequest.md +18 -0
- data/docs/UserApi.md +143 -0
- data/docs/V1EntitiesInvestor.md +1 -1
- data/docs/V1EntitiesInvestorIncentivePlan.md +30 -0
- data/docs/V1EntitiesInvestorIncentiveTier.md +26 -0
- data/docs/V1EntitiesInvestorPriceDetails.md +24 -0
- data/docs/V1EntitiesMoneyEntity.md +20 -0
- data/docs/V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData.md +18 -0
- data/docs/V1EntitiesUser.md +22 -0
- data/lib/DealMakerAPI/api/company_api.rb +66 -0
- data/lib/DealMakerAPI/api/default_api.rb +63 -0
- data/lib/DealMakerAPI/api/investor_api.rb +69 -0
- data/lib/DealMakerAPI/api/user_api.rb +159 -0
- data/lib/DealMakerAPI/models/update_user_password_request.rb +222 -0
- data/lib/DealMakerAPI/models/v1_entities_investor.rb +13 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_incentive_plan.rb +275 -0
- data/lib/DealMakerAPI/models/v1_entities_investor_incentive_tier.rb +255 -0
- data/lib/DealMakerAPI/models/v1_entities_investor_price_details.rb +242 -0
- data/lib/DealMakerAPI/models/v1_entities_money_entity.rb +225 -0
- data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_digital_payments_connection_data.rb +216 -0
- data/lib/DealMakerAPI/models/v1_entities_user.rb +236 -0
- data/lib/DealMakerAPI/version.rb +1 -1
- data/lib/DealMakerAPI.rb +8 -0
- data/spec/api/company_api_spec.rb +14 -0
- data/spec/api/default_api_spec.rb +12 -0
- data/spec/api/investor_api_spec.rb +13 -0
- data/spec/api/user_api_spec.rb +60 -0
- data/spec/models/update_user_password_request_spec.rb +36 -0
- data/spec/models/v1_entities_investor_incentive_plan_spec.rb +72 -0
- data/spec/models/v1_entities_investor_incentive_tier_spec.rb +60 -0
- data/spec/models/v1_entities_investor_price_details_spec.rb +54 -0
- data/spec/models/v1_entities_investor_spec.rb +4 -0
- data/spec/models/v1_entities_money_entity_spec.rb +42 -0
- data/spec/models/v1_entities_payments_self_serve_onboarding_digital_payments_connection_data_spec.rb +36 -0
- data/spec/models/v1_entities_user_spec.rb +48 -0
- metadata +111 -79
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9041f06159eb8dce5aae3546e566dbb787657a3238b6bba9aa7f0f3c7f474316
|
|
4
|
+
data.tar.gz: 61b1c3be94cc830714b306f94fab1abd0b118b8febc17671f185bed80cf04f89
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 981e96bb8b6a9aabeb6a5a4971b8750f1382ccc575f92af359c2edcfd99a262bf976e680678ea7cf96436a2225d69de170b95ae18bfc0acc5db7da88ca2a94cc
|
|
7
|
+
data.tar.gz: b2d26e7df3942e216b6f8097ec00df9ab8b65430090e787761325898fd83d73a19286ee5d30893f3a98e33c18bdf2c480207c8d7e803a0188c8eb5f31a468b8f
|
data/README.md
CHANGED
|
@@ -338,7 +338,7 @@ Given the high number of updates our platform performs on any investor, we’ve
|
|
|
338
338
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
339
339
|
|
|
340
340
|
- API version: 1.75.0
|
|
341
|
-
- Package version: 0.90.
|
|
341
|
+
- Package version: 0.90.3
|
|
342
342
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
343
343
|
|
|
344
344
|
## Installation
|
|
@@ -354,16 +354,16 @@ gem build DealMakerAPI.gemspec
|
|
|
354
354
|
Then either install the gem locally:
|
|
355
355
|
|
|
356
356
|
```shell
|
|
357
|
-
gem install ./DealMakerAPI-0.90.
|
|
357
|
+
gem install ./DealMakerAPI-0.90.3.gem
|
|
358
358
|
```
|
|
359
359
|
|
|
360
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.90.
|
|
360
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.90.3.gem` to install the development dependencies)
|
|
361
361
|
|
|
362
362
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
363
363
|
|
|
364
364
|
Finally add this to the Gemfile:
|
|
365
365
|
|
|
366
|
-
gem 'DealMakerAPI', '~> 0.90.
|
|
366
|
+
gem 'DealMakerAPI', '~> 0.90.3'
|
|
367
367
|
|
|
368
368
|
### Install from Git
|
|
369
369
|
|
|
@@ -421,12 +421,14 @@ Class | Method | HTTP request | Description
|
|
|
421
421
|
*DealMakerAPI::CompanyApi* | [**get_company**](docs/CompanyApi.md#get_company) | **GET** /companies/{id} | Get a Company
|
|
422
422
|
*DealMakerAPI::CompanyApi* | [**get_details_errors_grouped**](docs/CompanyApi.md#get_details_errors_grouped) | **GET** /companies/{company_id}/documents/bulk_uploads/{bulk_upload_id}/details/grouped_errors | Return bulk upload details grouped by status
|
|
423
423
|
*DealMakerAPI::CompanyApi* | [**get_dividends**](docs/CompanyApi.md#get_dividends) | **GET** /companies/{company_id}/portal/dividends | Return dividends
|
|
424
|
+
*DealMakerAPI::CompanyApi* | [**get_user_accessible_companies**](docs/CompanyApi.md#get_user_accessible_companies) | **GET** /users/accessible_companies | Get list of all Companies accessible by the user
|
|
424
425
|
*DealMakerAPI::CompanyApi* | [**send_portal_invite**](docs/CompanyApi.md#send_portal_invite) | **POST** /companies/{id}/shareholders/{shareholder_id}/send_portal_invite | Send portal invite to shareholder
|
|
425
426
|
*DealMakerAPI::CountryApi* | [**get_country_states**](docs/CountryApi.md#get_country_states) | **GET** /country/states | Returns a list of all valid countries and it states
|
|
426
427
|
*DealMakerAPI::DealApi* | [**create_deal_setup**](docs/DealApi.md#create_deal_setup) | **POST** /deal_setups | Create deal setup
|
|
427
428
|
*DealMakerAPI::DealApi* | [**get_deal**](docs/DealApi.md#get_deal) | **GET** /deals/{id} | Get deal by Deal ID
|
|
428
429
|
*DealMakerAPI::DealApi* | [**list_deals**](docs/DealApi.md#list_deals) | **GET** /deals | List available deals
|
|
429
430
|
*DealMakerAPI::DealsApi* | [**put_deals_id_script_tag_environment**](docs/DealsApi.md#put_deals_id_script_tag_environment) | **PUT** /deals/{id}/script_tag_environment | Update script tag environment for the deal.
|
|
431
|
+
*DealMakerAPI::DefaultApi* | [**get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data**](docs/DefaultApi.md#get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data) | **GET** /deals/{deal_id}/payment_onboarding/questionnaire/digital_payments_connection/data | Load data for the digital payments connection stage
|
|
430
432
|
*DealMakerAPI::DefaultApi* | [**get_deals_id_investors_investor_id_payments_express_wire_instructions**](docs/DefaultApi.md#get_deals_id_investors_investor_id_payments_express_wire_instructions) | **GET** /deals/{id}/investors/{investor_id}/payments/express_wire/instructions | Displays the express wire instructions for an investor on a deal
|
|
431
433
|
*DealMakerAPI::DefaultApi* | [**get_deals_id_investors_payments_express_wire_instructions**](docs/DefaultApi.md#get_deals_id_investors_payments_express_wire_instructions) | **GET** /deals/{id}/investors/payments/express_wire/instructions | Displays the express wire instructions for all the investors on a deal
|
|
432
434
|
*DealMakerAPI::DefaultApi* | [**get_webhooks**](docs/DefaultApi.md#get_webhooks) | **GET** /webhooks | Returns a list of webhook subscription which is associated to the user
|
|
@@ -446,6 +448,7 @@ Class | Method | HTTP request | Description
|
|
|
446
448
|
*DealMakerAPI::InvestorApi* | [**delete_investor_profile**](docs/InvestorApi.md#delete_investor_profile) | **DELETE** /investor_profiles/{type}/{id} | Delete investor profile.
|
|
447
449
|
*DealMakerAPI::InvestorApi* | [**edit_investor_tags**](docs/InvestorApi.md#edit_investor_tags) | **POST** /deals/{id}/investors/{investor_id}/edit_tags | Append or replace tag(s) for a specific investor
|
|
448
450
|
*DealMakerAPI::InvestorApi* | [**get_enforcements**](docs/InvestorApi.md#get_enforcements) | **GET** /deals/{id}/investors/{investor_id}/background_checks/{search_entity_id}/enforcements | Get enforcements for a background search
|
|
451
|
+
*DealMakerAPI::InvestorApi* | [**get_incentive_plan**](docs/InvestorApi.md#get_incentive_plan) | **GET** /deals/{id}/investors/{investor_id}/incentive_plan | Get investor incentive plan by investor id
|
|
449
452
|
*DealMakerAPI::InvestorApi* | [**get_investor**](docs/InvestorApi.md#get_investor) | **GET** /deals/{id}/investors/{investor_id} | Get a deal investor by id
|
|
450
453
|
*DealMakerAPI::InvestorApi* | [**get_investor_otp_link**](docs/InvestorApi.md#get_investor_otp_link) | **GET** /deals/{id}/investors/{investor_id}/otp_access_link | Get OTP access link for deal investor
|
|
451
454
|
*DealMakerAPI::InvestorApi* | [**list_investors**](docs/InvestorApi.md#list_investors) | **GET** /deals/{id}/investors | List deal investors
|
|
@@ -466,6 +469,8 @@ Class | Method | HTTP request | Description
|
|
|
466
469
|
*DealMakerAPI::ShareholderApi* | [**get_shareholders**](docs/ShareholderApi.md#get_shareholders) | **GET** /companies/{id}/shareholders | Get a company shareholders list
|
|
467
470
|
*DealMakerAPI::ShareholderApi* | [**get_shareholders_tags**](docs/ShareholderApi.md#get_shareholders_tags) | **GET** /companies/{id}/shareholders/tags | Get a company shareholders list grouped by tags
|
|
468
471
|
*DealMakerAPI::UploadApi* | [**generate_url**](docs/UploadApi.md#generate_url) | **POST** /uploads/generate_url | Create a presigned URL for Amazon S3
|
|
472
|
+
*DealMakerAPI::UserApi* | [**get_user**](docs/UserApi.md#get_user) | **GET** /users/{id} | Get user by User ID
|
|
473
|
+
*DealMakerAPI::UserApi* | [**update_user_password**](docs/UserApi.md#update_user_password) | **PUT** /users/{id}/update_password | Update user password
|
|
469
474
|
*DealMakerAPI::UsersApi* | [**get_users_investments**](docs/UsersApi.md#get_users_investments) | **GET** /users/investments | Gets the investments for a specific user.
|
|
470
475
|
|
|
471
476
|
|
|
@@ -500,6 +505,7 @@ Class | Method | HTTP request | Description
|
|
|
500
505
|
- [DealMakerAPI::PutDealsIdScriptTagEnvironmentRequest](docs/PutDealsIdScriptTagEnvironmentRequest.md)
|
|
501
506
|
- [DealMakerAPI::PutWebhooksIdRequest](docs/PutWebhooksIdRequest.md)
|
|
502
507
|
- [DealMakerAPI::SendPortalInviteRequest](docs/SendPortalInviteRequest.md)
|
|
508
|
+
- [DealMakerAPI::UpdateUserPasswordRequest](docs/UpdateUserPasswordRequest.md)
|
|
503
509
|
- [DealMakerAPI::V1EntitiesAddress](docs/V1EntitiesAddress.md)
|
|
504
510
|
- [DealMakerAPI::V1EntitiesAddresses](docs/V1EntitiesAddresses.md)
|
|
505
511
|
- [DealMakerAPI::V1EntitiesAttachment](docs/V1EntitiesAttachment.md)
|
|
@@ -527,7 +533,10 @@ Class | Method | HTTP request | Description
|
|
|
527
533
|
- [DealMakerAPI::V1EntitiesExpressWireInstructions](docs/V1EntitiesExpressWireInstructions.md)
|
|
528
534
|
- [DealMakerAPI::V1EntitiesGenericResponse](docs/V1EntitiesGenericResponse.md)
|
|
529
535
|
- [DealMakerAPI::V1EntitiesInvestor](docs/V1EntitiesInvestor.md)
|
|
536
|
+
- [DealMakerAPI::V1EntitiesInvestorIncentivePlan](docs/V1EntitiesInvestorIncentivePlan.md)
|
|
537
|
+
- [DealMakerAPI::V1EntitiesInvestorIncentiveTier](docs/V1EntitiesInvestorIncentiveTier.md)
|
|
530
538
|
- [DealMakerAPI::V1EntitiesInvestorOtpAccessLink](docs/V1EntitiesInvestorOtpAccessLink.md)
|
|
539
|
+
- [DealMakerAPI::V1EntitiesInvestorPriceDetails](docs/V1EntitiesInvestorPriceDetails.md)
|
|
531
540
|
- [DealMakerAPI::V1EntitiesInvestorProfileAddress](docs/V1EntitiesInvestorProfileAddress.md)
|
|
532
541
|
- [DealMakerAPI::V1EntitiesInvestorProfileCorporation](docs/V1EntitiesInvestorProfileCorporation.md)
|
|
533
542
|
- [DealMakerAPI::V1EntitiesInvestorProfileFieldsAccountHolder](docs/V1EntitiesInvestorProfileFieldsAccountHolder.md)
|
|
@@ -545,6 +554,8 @@ Class | Method | HTTP request | Description
|
|
|
545
554
|
- [DealMakerAPI::V1EntitiesInvestorProfiles](docs/V1EntitiesInvestorProfiles.md)
|
|
546
555
|
- [DealMakerAPI::V1EntitiesInvestorUser](docs/V1EntitiesInvestorUser.md)
|
|
547
556
|
- [DealMakerAPI::V1EntitiesInvestors](docs/V1EntitiesInvestors.md)
|
|
557
|
+
- [DealMakerAPI::V1EntitiesMoneyEntity](docs/V1EntitiesMoneyEntity.md)
|
|
558
|
+
- [DealMakerAPI::V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData](docs/V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData.md)
|
|
548
559
|
- [DealMakerAPI::V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult](docs/V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult.md)
|
|
549
560
|
- [DealMakerAPI::V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult](docs/V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult.md)
|
|
550
561
|
- [DealMakerAPI::V1EntitiesPresignedUrlResult](docs/V1EntitiesPresignedUrlResult.md)
|
|
@@ -553,6 +564,7 @@ Class | Method | HTTP request | Description
|
|
|
553
564
|
- [DealMakerAPI::V1EntitiesShareholdersTags](docs/V1EntitiesShareholdersTags.md)
|
|
554
565
|
- [DealMakerAPI::V1EntitiesState](docs/V1EntitiesState.md)
|
|
555
566
|
- [DealMakerAPI::V1EntitiesSubscriptionAgreement](docs/V1EntitiesSubscriptionAgreement.md)
|
|
567
|
+
- [DealMakerAPI::V1EntitiesUser](docs/V1EntitiesUser.md)
|
|
556
568
|
- [DealMakerAPI::V1EntitiesWebhooksDeal](docs/V1EntitiesWebhooksDeal.md)
|
|
557
569
|
- [DealMakerAPI::V1EntitiesWebhooksSecurityToken](docs/V1EntitiesWebhooksSecurityToken.md)
|
|
558
570
|
- [DealMakerAPI::V1EntitiesWebhooksSubscription](docs/V1EntitiesWebhooksSubscription.md)
|
data/docs/CompanyApi.md
CHANGED
|
@@ -15,6 +15,7 @@ All URIs are relative to *http://api.dealmaker.tech*
|
|
|
15
15
|
| [**get_company**](CompanyApi.md#get_company) | **GET** /companies/{id} | Get a Company |
|
|
16
16
|
| [**get_details_errors_grouped**](CompanyApi.md#get_details_errors_grouped) | **GET** /companies/{company_id}/documents/bulk_uploads/{bulk_upload_id}/details/grouped_errors | Return bulk upload details grouped by status |
|
|
17
17
|
| [**get_dividends**](CompanyApi.md#get_dividends) | **GET** /companies/{company_id}/portal/dividends | Return dividends |
|
|
18
|
+
| [**get_user_accessible_companies**](CompanyApi.md#get_user_accessible_companies) | **GET** /users/accessible_companies | Get list of all Companies accessible by the user |
|
|
18
19
|
| [**send_portal_invite**](CompanyApi.md#send_portal_invite) | **POST** /companies/{id}/shareholders/{shareholder_id}/send_portal_invite | Send portal invite to shareholder |
|
|
19
20
|
|
|
20
21
|
|
|
@@ -782,6 +783,78 @@ No authorization required
|
|
|
782
783
|
- **Accept**: application/json
|
|
783
784
|
|
|
784
785
|
|
|
786
|
+
## get_user_accessible_companies
|
|
787
|
+
|
|
788
|
+
> <V1EntitiesCompany> get_user_accessible_companies(opts)
|
|
789
|
+
|
|
790
|
+
Get list of all Companies accessible by the user
|
|
791
|
+
|
|
792
|
+
Get user accessible companies
|
|
793
|
+
|
|
794
|
+
### Examples
|
|
795
|
+
|
|
796
|
+
```ruby
|
|
797
|
+
require 'time'
|
|
798
|
+
require 'DealMakerAPI'
|
|
799
|
+
# setup authorization
|
|
800
|
+
DealMakerAPI.configure do |config|end
|
|
801
|
+
|
|
802
|
+
api_instance = DealMakerAPI::CompanyApi.new
|
|
803
|
+
opts = {
|
|
804
|
+
page: 56, # Integer | Page offset to fetch.
|
|
805
|
+
per_page: 56, # Integer | Number of results to return per page.
|
|
806
|
+
offset: 56 # Integer | Pad a number of results.
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
begin
|
|
810
|
+
# Get list of all Companies accessible by the user
|
|
811
|
+
result = api_instance.get_user_accessible_companies(opts)
|
|
812
|
+
p result
|
|
813
|
+
rescue DealMakerAPI::ApiError => e
|
|
814
|
+
puts "Error when calling CompanyApi->get_user_accessible_companies: #{e}"
|
|
815
|
+
end
|
|
816
|
+
```
|
|
817
|
+
|
|
818
|
+
#### Using the get_user_accessible_companies_with_http_info variant
|
|
819
|
+
|
|
820
|
+
This returns an Array which contains the response data, status code and headers.
|
|
821
|
+
|
|
822
|
+
> <Array(<V1EntitiesCompany>, Integer, Hash)> get_user_accessible_companies_with_http_info(opts)
|
|
823
|
+
|
|
824
|
+
```ruby
|
|
825
|
+
begin
|
|
826
|
+
# Get list of all Companies accessible by the user
|
|
827
|
+
data, status_code, headers = api_instance.get_user_accessible_companies_with_http_info(opts)
|
|
828
|
+
p status_code # => 2xx
|
|
829
|
+
p headers # => { ... }
|
|
830
|
+
p data # => <V1EntitiesCompany>
|
|
831
|
+
rescue DealMakerAPI::ApiError => e
|
|
832
|
+
puts "Error when calling CompanyApi->get_user_accessible_companies_with_http_info: #{e}"
|
|
833
|
+
end
|
|
834
|
+
```
|
|
835
|
+
|
|
836
|
+
### Parameters
|
|
837
|
+
|
|
838
|
+
| Name | Type | Description | Notes |
|
|
839
|
+
| ---- | ---- | ----------- | ----- |
|
|
840
|
+
| **page** | **Integer** | Page offset to fetch. | [optional][default to 1] |
|
|
841
|
+
| **per_page** | **Integer** | Number of results to return per page. | [optional][default to 25] |
|
|
842
|
+
| **offset** | **Integer** | Pad a number of results. | [optional][default to 0] |
|
|
843
|
+
|
|
844
|
+
### Return type
|
|
845
|
+
|
|
846
|
+
[**V1EntitiesCompany**](V1EntitiesCompany.md)
|
|
847
|
+
|
|
848
|
+
### Authorization
|
|
849
|
+
|
|
850
|
+
No authorization required
|
|
851
|
+
|
|
852
|
+
### HTTP request headers
|
|
853
|
+
|
|
854
|
+
- **Content-Type**: Not defined
|
|
855
|
+
- **Accept**: application/json
|
|
856
|
+
|
|
857
|
+
|
|
785
858
|
## send_portal_invite
|
|
786
859
|
|
|
787
860
|
> send_portal_invite(id, shareholder_id, opts)
|
data/docs/DefaultApi.md
CHANGED
|
@@ -4,6 +4,7 @@ All URIs are relative to *http://api.dealmaker.tech*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data**](DefaultApi.md#get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data) | **GET** /deals/{deal_id}/payment_onboarding/questionnaire/digital_payments_connection/data | Load data for the digital payments connection stage |
|
|
7
8
|
| [**get_deals_id_investors_investor_id_payments_express_wire_instructions**](DefaultApi.md#get_deals_id_investors_investor_id_payments_express_wire_instructions) | **GET** /deals/{id}/investors/{investor_id}/payments/express_wire/instructions | Displays the express wire instructions for an investor on a deal |
|
|
8
9
|
| [**get_deals_id_investors_payments_express_wire_instructions**](DefaultApi.md#get_deals_id_investors_payments_express_wire_instructions) | **GET** /deals/{id}/investors/payments/express_wire/instructions | Displays the express wire instructions for all the investors on a deal |
|
|
9
10
|
| [**get_webhooks**](DefaultApi.md#get_webhooks) | **GET** /webhooks | Returns a list of webhook subscription which is associated to the user |
|
|
@@ -17,6 +18,72 @@ All URIs are relative to *http://api.dealmaker.tech*
|
|
|
17
18
|
| [**put_webhooks_id**](DefaultApi.md#put_webhooks_id) | **PUT** /webhooks/{id} | Updates webhook subscription and webhooks subcription deals |
|
|
18
19
|
|
|
19
20
|
|
|
21
|
+
## get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data
|
|
22
|
+
|
|
23
|
+
> <V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData> get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data(deal_id)
|
|
24
|
+
|
|
25
|
+
Load data for the digital payments connection stage
|
|
26
|
+
|
|
27
|
+
Load data for the digital payments connection stage
|
|
28
|
+
|
|
29
|
+
### Examples
|
|
30
|
+
|
|
31
|
+
```ruby
|
|
32
|
+
require 'time'
|
|
33
|
+
require 'DealMakerAPI'
|
|
34
|
+
# setup authorization
|
|
35
|
+
DealMakerAPI.configure do |config|end
|
|
36
|
+
|
|
37
|
+
api_instance = DealMakerAPI::DefaultApi.new
|
|
38
|
+
deal_id = 56 # Integer |
|
|
39
|
+
|
|
40
|
+
begin
|
|
41
|
+
# Load data for the digital payments connection stage
|
|
42
|
+
result = api_instance.get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data(deal_id)
|
|
43
|
+
p result
|
|
44
|
+
rescue DealMakerAPI::ApiError => e
|
|
45
|
+
puts "Error when calling DefaultApi->get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data: #{e}"
|
|
46
|
+
end
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
#### Using the get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data_with_http_info variant
|
|
50
|
+
|
|
51
|
+
This returns an Array which contains the response data, status code and headers.
|
|
52
|
+
|
|
53
|
+
> <Array(<V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData>, Integer, Hash)> get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data_with_http_info(deal_id)
|
|
54
|
+
|
|
55
|
+
```ruby
|
|
56
|
+
begin
|
|
57
|
+
# Load data for the digital payments connection stage
|
|
58
|
+
data, status_code, headers = api_instance.get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data_with_http_info(deal_id)
|
|
59
|
+
p status_code # => 2xx
|
|
60
|
+
p headers # => { ... }
|
|
61
|
+
p data # => <V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData>
|
|
62
|
+
rescue DealMakerAPI::ApiError => e
|
|
63
|
+
puts "Error when calling DefaultApi->get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data_with_http_info: #{e}"
|
|
64
|
+
end
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Parameters
|
|
68
|
+
|
|
69
|
+
| Name | Type | Description | Notes |
|
|
70
|
+
| ---- | ---- | ----------- | ----- |
|
|
71
|
+
| **deal_id** | **Integer** | | |
|
|
72
|
+
|
|
73
|
+
### Return type
|
|
74
|
+
|
|
75
|
+
[**V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData**](V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData.md)
|
|
76
|
+
|
|
77
|
+
### Authorization
|
|
78
|
+
|
|
79
|
+
No authorization required
|
|
80
|
+
|
|
81
|
+
### HTTP request headers
|
|
82
|
+
|
|
83
|
+
- **Content-Type**: Not defined
|
|
84
|
+
- **Accept**: application/json
|
|
85
|
+
|
|
86
|
+
|
|
20
87
|
## get_deals_id_investors_investor_id_payments_express_wire_instructions
|
|
21
88
|
|
|
22
89
|
> <V1EntitiesExpressWireInstruction> get_deals_id_investors_investor_id_payments_express_wire_instructions(id, investor_id)
|
data/docs/InvestorApi.md
CHANGED
|
@@ -12,6 +12,7 @@ All URIs are relative to *http://api.dealmaker.tech*
|
|
|
12
12
|
| [**delete_investor_profile**](InvestorApi.md#delete_investor_profile) | **DELETE** /investor_profiles/{type}/{id} | Delete investor profile. |
|
|
13
13
|
| [**edit_investor_tags**](InvestorApi.md#edit_investor_tags) | **POST** /deals/{id}/investors/{investor_id}/edit_tags | Append or replace tag(s) for a specific investor |
|
|
14
14
|
| [**get_enforcements**](InvestorApi.md#get_enforcements) | **GET** /deals/{id}/investors/{investor_id}/background_checks/{search_entity_id}/enforcements | Get enforcements for a background search |
|
|
15
|
+
| [**get_incentive_plan**](InvestorApi.md#get_incentive_plan) | **GET** /deals/{id}/investors/{investor_id}/incentive_plan | Get investor incentive plan by investor id |
|
|
15
16
|
| [**get_investor**](InvestorApi.md#get_investor) | **GET** /deals/{id}/investors/{investor_id} | Get a deal investor by id |
|
|
16
17
|
| [**get_investor_otp_link**](InvestorApi.md#get_investor_otp_link) | **GET** /deals/{id}/investors/{investor_id}/otp_access_link | Get OTP access link for deal investor |
|
|
17
18
|
| [**list_investors**](InvestorApi.md#list_investors) | **GET** /deals/{id}/investors | List deal investors |
|
|
@@ -572,6 +573,74 @@ No authorization required
|
|
|
572
573
|
- **Accept**: application/json
|
|
573
574
|
|
|
574
575
|
|
|
576
|
+
## get_incentive_plan
|
|
577
|
+
|
|
578
|
+
> <V1EntitiesInvestorPriceDetails> get_incentive_plan(id, investor_id)
|
|
579
|
+
|
|
580
|
+
Get investor incentive plan by investor id
|
|
581
|
+
|
|
582
|
+
Gets a single investor incentive plan by the investor id.
|
|
583
|
+
|
|
584
|
+
### Examples
|
|
585
|
+
|
|
586
|
+
```ruby
|
|
587
|
+
require 'time'
|
|
588
|
+
require 'DealMakerAPI'
|
|
589
|
+
# setup authorization
|
|
590
|
+
DealMakerAPI.configure do |config|end
|
|
591
|
+
|
|
592
|
+
api_instance = DealMakerAPI::InvestorApi.new
|
|
593
|
+
id = 56 # Integer | The deal id.
|
|
594
|
+
investor_id = 56 # Integer | The investor id.
|
|
595
|
+
|
|
596
|
+
begin
|
|
597
|
+
# Get investor incentive plan by investor id
|
|
598
|
+
result = api_instance.get_incentive_plan(id, investor_id)
|
|
599
|
+
p result
|
|
600
|
+
rescue DealMakerAPI::ApiError => e
|
|
601
|
+
puts "Error when calling InvestorApi->get_incentive_plan: #{e}"
|
|
602
|
+
end
|
|
603
|
+
```
|
|
604
|
+
|
|
605
|
+
#### Using the get_incentive_plan_with_http_info variant
|
|
606
|
+
|
|
607
|
+
This returns an Array which contains the response data, status code and headers.
|
|
608
|
+
|
|
609
|
+
> <Array(<V1EntitiesInvestorPriceDetails>, Integer, Hash)> get_incentive_plan_with_http_info(id, investor_id)
|
|
610
|
+
|
|
611
|
+
```ruby
|
|
612
|
+
begin
|
|
613
|
+
# Get investor incentive plan by investor id
|
|
614
|
+
data, status_code, headers = api_instance.get_incentive_plan_with_http_info(id, investor_id)
|
|
615
|
+
p status_code # => 2xx
|
|
616
|
+
p headers # => { ... }
|
|
617
|
+
p data # => <V1EntitiesInvestorPriceDetails>
|
|
618
|
+
rescue DealMakerAPI::ApiError => e
|
|
619
|
+
puts "Error when calling InvestorApi->get_incentive_plan_with_http_info: #{e}"
|
|
620
|
+
end
|
|
621
|
+
```
|
|
622
|
+
|
|
623
|
+
### Parameters
|
|
624
|
+
|
|
625
|
+
| Name | Type | Description | Notes |
|
|
626
|
+
| ---- | ---- | ----------- | ----- |
|
|
627
|
+
| **id** | **Integer** | The deal id. | |
|
|
628
|
+
| **investor_id** | **Integer** | The investor id. | |
|
|
629
|
+
|
|
630
|
+
### Return type
|
|
631
|
+
|
|
632
|
+
[**V1EntitiesInvestorPriceDetails**](V1EntitiesInvestorPriceDetails.md)
|
|
633
|
+
|
|
634
|
+
### Authorization
|
|
635
|
+
|
|
636
|
+
No authorization required
|
|
637
|
+
|
|
638
|
+
### HTTP request headers
|
|
639
|
+
|
|
640
|
+
- **Content-Type**: Not defined
|
|
641
|
+
- **Accept**: application/json
|
|
642
|
+
|
|
643
|
+
|
|
575
644
|
## get_investor
|
|
576
645
|
|
|
577
646
|
> <V1EntitiesInvestor> get_investor(id, investor_id)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# DealMakerAPI::UpdateUserPasswordRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **password** | **String** | The user password. | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'DealMakerAPI'
|
|
13
|
+
|
|
14
|
+
instance = DealMakerAPI::UpdateUserPasswordRequest.new(
|
|
15
|
+
password: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
data/docs/UserApi.md
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# DealMakerAPI::UserApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://api.dealmaker.tech*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**get_user**](UserApi.md#get_user) | **GET** /users/{id} | Get user by User ID |
|
|
8
|
+
| [**update_user_password**](UserApi.md#update_user_password) | **PUT** /users/{id}/update_password | Update user password |
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## get_user
|
|
12
|
+
|
|
13
|
+
> <V1EntitiesUser> get_user(id)
|
|
14
|
+
|
|
15
|
+
Get user by User ID
|
|
16
|
+
|
|
17
|
+
Get a single user using the User ID
|
|
18
|
+
|
|
19
|
+
### Examples
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'time'
|
|
23
|
+
require 'DealMakerAPI'
|
|
24
|
+
# setup authorization
|
|
25
|
+
DealMakerAPI.configure do |config|end
|
|
26
|
+
|
|
27
|
+
api_instance = DealMakerAPI::UserApi.new
|
|
28
|
+
id = 56 # Integer |
|
|
29
|
+
|
|
30
|
+
begin
|
|
31
|
+
# Get user by User ID
|
|
32
|
+
result = api_instance.get_user(id)
|
|
33
|
+
p result
|
|
34
|
+
rescue DealMakerAPI::ApiError => e
|
|
35
|
+
puts "Error when calling UserApi->get_user: #{e}"
|
|
36
|
+
end
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
#### Using the get_user_with_http_info variant
|
|
40
|
+
|
|
41
|
+
This returns an Array which contains the response data, status code and headers.
|
|
42
|
+
|
|
43
|
+
> <Array(<V1EntitiesUser>, Integer, Hash)> get_user_with_http_info(id)
|
|
44
|
+
|
|
45
|
+
```ruby
|
|
46
|
+
begin
|
|
47
|
+
# Get user by User ID
|
|
48
|
+
data, status_code, headers = api_instance.get_user_with_http_info(id)
|
|
49
|
+
p status_code # => 2xx
|
|
50
|
+
p headers # => { ... }
|
|
51
|
+
p data # => <V1EntitiesUser>
|
|
52
|
+
rescue DealMakerAPI::ApiError => e
|
|
53
|
+
puts "Error when calling UserApi->get_user_with_http_info: #{e}"
|
|
54
|
+
end
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Parameters
|
|
58
|
+
|
|
59
|
+
| Name | Type | Description | Notes |
|
|
60
|
+
| ---- | ---- | ----------- | ----- |
|
|
61
|
+
| **id** | **Integer** | | |
|
|
62
|
+
|
|
63
|
+
### Return type
|
|
64
|
+
|
|
65
|
+
[**V1EntitiesUser**](V1EntitiesUser.md)
|
|
66
|
+
|
|
67
|
+
### Authorization
|
|
68
|
+
|
|
69
|
+
No authorization required
|
|
70
|
+
|
|
71
|
+
### HTTP request headers
|
|
72
|
+
|
|
73
|
+
- **Content-Type**: Not defined
|
|
74
|
+
- **Accept**: application/json
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
## update_user_password
|
|
78
|
+
|
|
79
|
+
> <V1EntitiesUser> update_user_password(id, update_user_password_request)
|
|
80
|
+
|
|
81
|
+
Update user password
|
|
82
|
+
|
|
83
|
+
Update user password
|
|
84
|
+
|
|
85
|
+
### Examples
|
|
86
|
+
|
|
87
|
+
```ruby
|
|
88
|
+
require 'time'
|
|
89
|
+
require 'DealMakerAPI'
|
|
90
|
+
# setup authorization
|
|
91
|
+
DealMakerAPI.configure do |config|end
|
|
92
|
+
|
|
93
|
+
api_instance = DealMakerAPI::UserApi.new
|
|
94
|
+
id = 56 # Integer |
|
|
95
|
+
update_user_password_request = DealMakerAPI::UpdateUserPasswordRequest.new({password: 'password_example'}) # UpdateUserPasswordRequest |
|
|
96
|
+
|
|
97
|
+
begin
|
|
98
|
+
# Update user password
|
|
99
|
+
result = api_instance.update_user_password(id, update_user_password_request)
|
|
100
|
+
p result
|
|
101
|
+
rescue DealMakerAPI::ApiError => e
|
|
102
|
+
puts "Error when calling UserApi->update_user_password: #{e}"
|
|
103
|
+
end
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
#### Using the update_user_password_with_http_info variant
|
|
107
|
+
|
|
108
|
+
This returns an Array which contains the response data, status code and headers.
|
|
109
|
+
|
|
110
|
+
> <Array(<V1EntitiesUser>, Integer, Hash)> update_user_password_with_http_info(id, update_user_password_request)
|
|
111
|
+
|
|
112
|
+
```ruby
|
|
113
|
+
begin
|
|
114
|
+
# Update user password
|
|
115
|
+
data, status_code, headers = api_instance.update_user_password_with_http_info(id, update_user_password_request)
|
|
116
|
+
p status_code # => 2xx
|
|
117
|
+
p headers # => { ... }
|
|
118
|
+
p data # => <V1EntitiesUser>
|
|
119
|
+
rescue DealMakerAPI::ApiError => e
|
|
120
|
+
puts "Error when calling UserApi->update_user_password_with_http_info: #{e}"
|
|
121
|
+
end
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Parameters
|
|
125
|
+
|
|
126
|
+
| Name | Type | Description | Notes |
|
|
127
|
+
| ---- | ---- | ----------- | ----- |
|
|
128
|
+
| **id** | **Integer** | | |
|
|
129
|
+
| **update_user_password_request** | [**UpdateUserPasswordRequest**](UpdateUserPasswordRequest.md) | | |
|
|
130
|
+
|
|
131
|
+
### Return type
|
|
132
|
+
|
|
133
|
+
[**V1EntitiesUser**](V1EntitiesUser.md)
|
|
134
|
+
|
|
135
|
+
### Authorization
|
|
136
|
+
|
|
137
|
+
No authorization required
|
|
138
|
+
|
|
139
|
+
### HTTP request headers
|
|
140
|
+
|
|
141
|
+
- **Content-Type**: application/json
|
|
142
|
+
- **Accept**: application/json
|
|
143
|
+
|
data/docs/V1EntitiesInvestor.md
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
| **ranking_score** | **Float** | A value `[0, 1]` that represents the propensity for the investor to complete payment for the investment. A larger value indicates a higher likelihood of payment, as predicted by DealMaker’s machine learning algorithm. This field will only populate if DealMaker Compass is enabled for a deal and the investor `funds_state` value is not `funded` or `overfunded` | [optional] |
|
|
31
31
|
| **investor_profile** | **String** | | [optional] |
|
|
32
32
|
| **investor_profile_id** | **Integer** | The investor profile id. | [optional] |
|
|
33
|
-
| **checkout_state** | **String** | Current state on checkout page. | [optional] |
|
|
33
|
+
| **checkout_state** | **String** | Current state on the checkout page. | [optional] |
|
|
34
34
|
| **legacy_flow_link** | **String** | The legacy link for the investor. If the investor is already on the legacy flow, this link will be null. | [optional] |
|
|
35
35
|
|
|
36
36
|
## Example
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# DealMakerAPI::V1EntitiesInvestorIncentivePlan
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **Integer** | The incentive plan id. | [optional] |
|
|
8
|
+
| **deal_id** | **Integer** | The deal id. | [optional] |
|
|
9
|
+
| **plan_type** | **String** | The incentive plan type. | [optional] |
|
|
10
|
+
| **funded_by_offset** | **Integer** | The incentive plan funded by offset. | [optional] |
|
|
11
|
+
| **active_at** | **Time** | The incentive plan active date. | [optional] |
|
|
12
|
+
| **created_at** | **Time** | The creation time. | [optional] |
|
|
13
|
+
| **updated_at** | **Time** | The last update time. | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'DealMakerAPI'
|
|
19
|
+
|
|
20
|
+
instance = DealMakerAPI::V1EntitiesInvestorIncentivePlan.new(
|
|
21
|
+
id: null,
|
|
22
|
+
deal_id: null,
|
|
23
|
+
plan_type: null,
|
|
24
|
+
funded_by_offset: null,
|
|
25
|
+
active_at: null,
|
|
26
|
+
created_at: null,
|
|
27
|
+
updated_at: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# DealMakerAPI::V1EntitiesInvestorIncentiveTier
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **Integer** | The incentive tier id. | [optional] |
|
|
8
|
+
| **incentive_percentage** | **Float** | The incentive tier percentage. | [optional] |
|
|
9
|
+
| **end_at** | **Time** | The incentive tier end date. | [optional] |
|
|
10
|
+
| **created_at** | **Time** | The creation time. | [optional] |
|
|
11
|
+
| **updated_at** | **Time** | The last update time. | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'DealMakerAPI'
|
|
17
|
+
|
|
18
|
+
instance = DealMakerAPI::V1EntitiesInvestorIncentiveTier.new(
|
|
19
|
+
id: null,
|
|
20
|
+
incentive_percentage: null,
|
|
21
|
+
end_at: null,
|
|
22
|
+
created_at: null,
|
|
23
|
+
updated_at: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# DealMakerAPI::V1EntitiesInvestorPriceDetails
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **full_price** | [**V1EntitiesMoneyEntity**](V1EntitiesMoneyEntity.md) | | [optional] |
|
|
8
|
+
| **final_price** | [**V1EntitiesMoneyEntity**](V1EntitiesMoneyEntity.md) | | [optional] |
|
|
9
|
+
| **effective_tier** | [**V1EntitiesInvestorIncentiveTier**](V1EntitiesInvestorIncentiveTier.md) | | [optional] |
|
|
10
|
+
| **incentive_plan** | [**V1EntitiesInvestorIncentivePlan**](V1EntitiesInvestorIncentivePlan.md) | | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'DealMakerAPI'
|
|
16
|
+
|
|
17
|
+
instance = DealMakerAPI::V1EntitiesInvestorPriceDetails.new(
|
|
18
|
+
full_price: null,
|
|
19
|
+
final_price: null,
|
|
20
|
+
effective_tier: null,
|
|
21
|
+
incentive_plan: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# DealMakerAPI::V1EntitiesMoneyEntity
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **amount** | **Float** | The amount of money. | [optional] |
|
|
8
|
+
| **currency** | **String** | The currency of the money. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'DealMakerAPI'
|
|
14
|
+
|
|
15
|
+
instance = DealMakerAPI::V1EntitiesMoneyEntity.new(
|
|
16
|
+
amount: null,
|
|
17
|
+
currency: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# DealMakerAPI::V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **connect_account_link** | **String** | A link to complete the setup for a Stripe connect account | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'DealMakerAPI'
|
|
13
|
+
|
|
14
|
+
instance = DealMakerAPI::V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData.new(
|
|
15
|
+
connect_account_link: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|