DealMakerAPI 0.89.5 → 0.90.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/DealMakerAPI.gemspec +1 -0
  3. data/README.md +10 -5
  4. data/docs/DealApi.md +67 -0
  5. data/docs/DefaultApi.md +200 -0
  6. data/docs/InvestorApi.md +1 -1
  7. data/docs/V1EntitiesInvestor.md +3 -1
  8. data/docs/V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult.md +20 -0
  9. data/docs/V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult.md +20 -0
  10. data/lib/DealMakerAPI/api/deal_api.rb +68 -0
  11. data/lib/DealMakerAPI/api/default_api.rb +187 -0
  12. data/lib/DealMakerAPI/api/investor_api.rb +2 -2
  13. data/lib/DealMakerAPI/models/add506c_document_request.rb +1 -1
  14. data/lib/DealMakerAPI/models/add_document_request.rb +1 -1
  15. data/lib/DealMakerAPI/models/bulk_upload_investors_request.rb +1 -1
  16. data/lib/DealMakerAPI/models/create_bulk_upload_detail_request.rb +1 -1
  17. data/lib/DealMakerAPI/models/create_bulk_upload_request.rb +1 -1
  18. data/lib/DealMakerAPI/models/create_company_request.rb +1 -1
  19. data/lib/DealMakerAPI/models/create_deal_setup_request.rb +1 -1
  20. data/lib/DealMakerAPI/models/create_shareholder_action_request.rb +1 -1
  21. data/lib/DealMakerAPI/models/edit_investor_tags_request.rb +1 -1
  22. data/lib/DealMakerAPI/models/generate_url_request.rb +1 -1
  23. data/lib/DealMakerAPI/models/patch_investor_profiles_corporations.rb +1 -1
  24. data/lib/DealMakerAPI/models/patch_investor_profiles_corporations_beneficial_owners_inner.rb +1 -1
  25. data/lib/DealMakerAPI/models/patch_investor_profiles_individuals.rb +1 -1
  26. data/lib/DealMakerAPI/models/patch_investor_profiles_joints.rb +1 -1
  27. data/lib/DealMakerAPI/models/patch_investor_profiles_trusts.rb +1 -1
  28. data/lib/DealMakerAPI/models/patch_investor_profiles_trusts_trustees_inner.rb +1 -1
  29. data/lib/DealMakerAPI/models/patch_investor_request.rb +1 -1
  30. data/lib/DealMakerAPI/models/post_deals_id_investors.rb +1 -1
  31. data/lib/DealMakerAPI/models/post_investor_profiles_corporations.rb +1 -1
  32. data/lib/DealMakerAPI/models/post_investor_profiles_corporations_beneficial_owners_inner.rb +1 -1
  33. data/lib/DealMakerAPI/models/post_investor_profiles_individuals.rb +1 -1
  34. data/lib/DealMakerAPI/models/post_investor_profiles_joints.rb +1 -1
  35. data/lib/DealMakerAPI/models/post_investor_profiles_trusts.rb +1 -1
  36. data/lib/DealMakerAPI/models/post_investor_profiles_trusts_trustees_inner.rb +1 -1
  37. data/lib/DealMakerAPI/models/post_webhooks_request.rb +1 -1
  38. data/lib/DealMakerAPI/models/put_deals_id_investors.rb +1 -1
  39. data/lib/DealMakerAPI/models/put_deals_id_script_tag_environment_request.rb +1 -1
  40. data/lib/DealMakerAPI/models/put_webhooks_id_request.rb +1 -1
  41. data/lib/DealMakerAPI/models/v1_entities_address.rb +1 -1
  42. data/lib/DealMakerAPI/models/v1_entities_addresses.rb +1 -1
  43. data/lib/DealMakerAPI/models/v1_entities_attachment.rb +1 -1
  44. data/lib/DealMakerAPI/models/v1_entities_background_check_search.rb +1 -1
  45. data/lib/DealMakerAPI/models/v1_entities_bulk_upload.rb +1 -1
  46. data/lib/DealMakerAPI/models/v1_entities_bulk_upload_detail.rb +1 -1
  47. data/lib/DealMakerAPI/models/v1_entities_bulk_upload_details.rb +1 -1
  48. data/lib/DealMakerAPI/models/v1_entities_bulk_uploads.rb +1 -1
  49. data/lib/DealMakerAPI/models/v1_entities_company.rb +1 -1
  50. data/lib/DealMakerAPI/models/v1_entities_company_deal.rb +1 -1
  51. data/lib/DealMakerAPI/models/v1_entities_company_deals.rb +1 -1
  52. data/lib/DealMakerAPI/models/v1_entities_countries.rb +1 -1
  53. data/lib/DealMakerAPI/models/v1_entities_country.rb +1 -1
  54. data/lib/DealMakerAPI/models/v1_entities_deal.rb +1 -1
  55. data/lib/DealMakerAPI/models/v1_entities_deal_enterprise.rb +1 -1
  56. data/lib/DealMakerAPI/models/v1_entities_deal_funding_metrics.rb +1 -1
  57. data/lib/DealMakerAPI/models/v1_entities_deal_investor_metrics.rb +1 -1
  58. data/lib/DealMakerAPI/models/v1_entities_deal_issuer.rb +1 -1
  59. data/lib/DealMakerAPI/models/v1_entities_deal_setup.rb +1 -1
  60. data/lib/DealMakerAPI/models/v1_entities_deal_setup_user.rb +1 -1
  61. data/lib/DealMakerAPI/models/v1_entities_deals.rb +1 -1
  62. data/lib/DealMakerAPI/models/v1_entities_dividend.rb +1 -1
  63. data/lib/DealMakerAPI/models/v1_entities_dividends.rb +1 -1
  64. data/lib/DealMakerAPI/models/v1_entities_express_wire_instruction.rb +1 -1
  65. data/lib/DealMakerAPI/models/v1_entities_express_wire_instructions.rb +1 -1
  66. data/lib/DealMakerAPI/models/v1_entities_generic_response.rb +1 -1
  67. data/lib/DealMakerAPI/models/v1_entities_investor.rb +15 -5
  68. data/lib/DealMakerAPI/models/v1_entities_investor_otp_access_link.rb +1 -1
  69. data/lib/DealMakerAPI/models/v1_entities_investor_profile_address.rb +1 -1
  70. data/lib/DealMakerAPI/models/v1_entities_investor_profile_corporation.rb +1 -1
  71. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_account_holder.rb +1 -1
  72. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_beneficial_owner.rb +1 -1
  73. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_corporation.rb +1 -1
  74. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_primary_holder.rb +1 -1
  75. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_signing_officer.rb +1 -1
  76. data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_trust.rb +1 -1
  77. data/lib/DealMakerAPI/models/v1_entities_investor_profile_individual.rb +1 -1
  78. data/lib/DealMakerAPI/models/v1_entities_investor_profile_item.rb +1 -1
  79. data/lib/DealMakerAPI/models/v1_entities_investor_profile_joint.rb +1 -1
  80. data/lib/DealMakerAPI/models/v1_entities_investor_profile_owner.rb +1 -1
  81. data/lib/DealMakerAPI/models/v1_entities_investor_profile_trust.rb +1 -1
  82. data/lib/DealMakerAPI/models/v1_entities_investor_profiles.rb +1 -1
  83. data/lib/DealMakerAPI/models/v1_entities_investor_user.rb +1 -1
  84. data/lib/DealMakerAPI/models/v1_entities_investors.rb +1 -1
  85. data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_payout_account_details_result.rb +226 -0
  86. data/lib/DealMakerAPI/models/v1_entities_payments_self_serve_onboarding_qualification_questionnaire_result.rb +226 -0
  87. data/lib/DealMakerAPI/models/v1_entities_presigned_url_result.rb +1 -1
  88. data/lib/DealMakerAPI/models/v1_entities_shareholder.rb +1 -1
  89. data/lib/DealMakerAPI/models/v1_entities_shareholders.rb +1 -1
  90. data/lib/DealMakerAPI/models/v1_entities_shareholders_tags.rb +1 -1
  91. data/lib/DealMakerAPI/models/v1_entities_state.rb +1 -1
  92. data/lib/DealMakerAPI/models/v1_entities_subscription_agreement.rb +1 -1
  93. data/lib/DealMakerAPI/models/v1_entities_webhooks_deal.rb +1 -1
  94. data/lib/DealMakerAPI/models/v1_entities_webhooks_security_token.rb +1 -1
  95. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription.rb +1 -1
  96. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deal.rb +1 -1
  97. data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deals.rb +1 -1
  98. data/lib/DealMakerAPI/version.rb +1 -1
  99. data/lib/DealMakerAPI.rb +2 -1
  100. data/spec/api/deal_api_spec.rb +12 -0
  101. data/spec/api/default_api_spec.rb +36 -0
  102. data/spec/api/investor_api_spec.rb +1 -1
  103. data/spec/models/v1_entities_investor_spec.rb +6 -0
  104. data/spec/{api/deal_setup_api_spec.rb → models/v1_entities_payments_self_serve_onboarding_payout_account_details_result_spec.rb} +13 -18
  105. data/{lib/DealMakerAPI/api/deal_setup_api.rb → spec/models/v1_entities_payments_self_serve_onboarding_qualification_questionnaire_result_spec.rb} +24 -72
  106. metadata +84 -80
  107. data/docs/DealSetupApi.md +0 -74
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fbf6611ed7663c8cdd83c2e554a0df5acef49862b7abdbb3dd5e6c7ba1970339
4
- data.tar.gz: f71a80255820527088c1ca102e025aa7226f862347761020d1005fc93b335507
3
+ metadata.gz: cb92d124d385e24970df9936695ecb92591692f2ac4e11e457e8eab82c96f68b
4
+ data.tar.gz: 36e97971ff8ac0e724b2ad4dd08474f25be1c596e6cb1cbab227185ef6a676c7
5
5
  SHA512:
6
- metadata.gz: 1e1b507ae45d0c23393c0cac2f02631b06a944e4a16f8bd5c2b0bcaead315e20a05755a7c92245e2a3b742406790afeaa610af68e08f2d6019b5dd7928987c82
7
- data.tar.gz: 360d60a402cad34c3e06e266cbdd84c5e8f7afac95d077b4f54bd5e8ec8bc34f8768479aaa642dfd0c8269234701f3c5b55aa8a40651c54e3e01348d1af0f9a0
6
+ metadata.gz: 38863eb19f8fbccab2637f7f691f740f909a96bc8ccfafba8adee26116fd1a688769ea0a0ec41b455d6a072c370d467ce4902b0d32d0d2d4ba50aeb2f7f025a1
7
+ data.tar.gz: f8144b715e9018eeec7f3bf3c9e3d9231fb7257a0bb45d8105ae2172feb020d5b436deece94181001fecc9347138b395e9eb165e67b4706520aa1c22e9049fd1
data/DealMakerAPI.gemspec CHANGED
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
26
26
  s.description = "A ruby wrapper for the DealMaker API"
27
27
  s.license = "MIT"
28
28
  s.required_ruby_version = ">= 2.7"
29
+ s.metadata = {}
29
30
 
30
31
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
32
 
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.89.5
341
+ - Package version: 0.90.0
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.89.5.gem
357
+ gem install ./DealMakerAPI-0.90.0.gem
358
358
  ```
359
359
 
360
- (for development, run `gem install --dev ./DealMakerAPI-0.89.5.gem` to install the development dependencies)
360
+ (for development, run `gem install --dev ./DealMakerAPI-0.90.0.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.89.5'
366
+ gem 'DealMakerAPI', '~> 0.90.0'
367
367
 
368
368
  ### Install from Git
369
369
 
@@ -422,9 +422,9 @@ Class | Method | HTTP request | Description
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
424
  *DealMakerAPI::CountryApi* | [**get_country_states**](docs/CountryApi.md#get_country_states) | **GET** /country/states | Returns a list of all valid countries and it states
425
+ *DealMakerAPI::DealApi* | [**create_deal_setup**](docs/DealApi.md#create_deal_setup) | **POST** /deal_setups | Create deal setup
425
426
  *DealMakerAPI::DealApi* | [**get_deal**](docs/DealApi.md#get_deal) | **GET** /deals/{id} | Get deal by Deal ID
426
427
  *DealMakerAPI::DealApi* | [**list_deals**](docs/DealApi.md#list_deals) | **GET** /deals | List available deals
427
- *DealMakerAPI::DealSetupApi* | [**create_deal_setup**](docs/DealSetupApi.md#create_deal_setup) | **POST** /deal_setups | Create deal setup
428
428
  *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.
429
429
  *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
430
430
  *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,6 +432,9 @@ Class | Method | HTTP request | Description
432
432
  *DealMakerAPI::DefaultApi* | [**get_webhooks_deal_id**](docs/DefaultApi.md#get_webhooks_deal_id) | **GET** /webhooks/deal/{id} | Finds a deal using the id
433
433
  *DealMakerAPI::DefaultApi* | [**get_webhooks_deals_search**](docs/DefaultApi.md#get_webhooks_deals_search) | **GET** /webhooks/deals/search | Searches for deals for a given user
434
434
  *DealMakerAPI::DefaultApi* | [**get_webhooks_security_token**](docs/DefaultApi.md#get_webhooks_security_token) | **GET** /webhooks/security_token | Creates a new security token for webhook subscription
435
+ *DealMakerAPI::DefaultApi* | [**post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit**](docs/DefaultApi.md#post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit) | **POST** /deals/{deal_id}/payment_onboarding/questionnaire/payout_account_details/submit | Submit a payout account details form
436
+ *DealMakerAPI::DefaultApi* | [**post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit**](docs/DefaultApi.md#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit) | **POST** /deals/{deal_id}/payment_onboarding/questionnaire/qualification_questionnaire/response/submit | Submit a qualification questionnaire response
437
+ *DealMakerAPI::DefaultApi* | [**post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit**](docs/DefaultApi.md#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit) | **POST** /deals/{deal_id}/payment_onboarding/questionnaire/qualification_questionnaire/submit | Submit a qualification questionnaire form
435
438
  *DealMakerAPI::DefaultApi* | [**post_webhooks**](docs/DefaultApi.md#post_webhooks) | **POST** /webhooks | Creates a webhook subscription which is associated to the user
436
439
  *DealMakerAPI::DefaultApi* | [**put_webhooks_id**](docs/DefaultApi.md#put_webhooks_id) | **PUT** /webhooks/{id} | Updates webhook subscription and webhooks subcription deals
437
440
  *DealMakerAPI::InvestorApi* | [**add506c_document**](docs/InvestorApi.md#add506c_document) | **POST** /deals/{id}/investors/{investor_id}/add_506c_document | Add 506c document for deal investor
@@ -539,6 +542,8 @@ Class | Method | HTTP request | Description
539
542
  - [DealMakerAPI::V1EntitiesInvestorProfiles](docs/V1EntitiesInvestorProfiles.md)
540
543
  - [DealMakerAPI::V1EntitiesInvestorUser](docs/V1EntitiesInvestorUser.md)
541
544
  - [DealMakerAPI::V1EntitiesInvestors](docs/V1EntitiesInvestors.md)
545
+ - [DealMakerAPI::V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult](docs/V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult.md)
546
+ - [DealMakerAPI::V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult](docs/V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult.md)
542
547
  - [DealMakerAPI::V1EntitiesPresignedUrlResult](docs/V1EntitiesPresignedUrlResult.md)
543
548
  - [DealMakerAPI::V1EntitiesShareholder](docs/V1EntitiesShareholder.md)
544
549
  - [DealMakerAPI::V1EntitiesShareholders](docs/V1EntitiesShareholders.md)
data/docs/DealApi.md CHANGED
@@ -4,10 +4,77 @@ All URIs are relative to *http://api.dealmaker.tech*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
+ | [**create_deal_setup**](DealApi.md#create_deal_setup) | **POST** /deal_setups | Create deal setup |
7
8
  | [**get_deal**](DealApi.md#get_deal) | **GET** /deals/{id} | Get deal by Deal ID |
8
9
  | [**list_deals**](DealApi.md#list_deals) | **GET** /deals | List available deals |
9
10
 
10
11
 
12
+ ## create_deal_setup
13
+
14
+ > <V1EntitiesDealSetup> create_deal_setup(create_deal_setup_request)
15
+
16
+ Create deal setup
17
+
18
+ Create deal setup
19
+
20
+ ### Examples
21
+
22
+ ```ruby
23
+ require 'time'
24
+ require 'DealMakerAPI'
25
+ # setup authorization
26
+ DealMakerAPI.configure do |config|end
27
+
28
+ api_instance = DealMakerAPI::DealApi.new
29
+ create_deal_setup_request = DealMakerAPI::CreateDealSetupRequest.new({invoicing_email: 'invoicing_email_example', offering_type: 'other', title: 'title_example', company_id: 37}) # CreateDealSetupRequest |
30
+
31
+ begin
32
+ # Create deal setup
33
+ result = api_instance.create_deal_setup(create_deal_setup_request)
34
+ p result
35
+ rescue DealMakerAPI::ApiError => e
36
+ puts "Error when calling DealApi->create_deal_setup: #{e}"
37
+ end
38
+ ```
39
+
40
+ #### Using the create_deal_setup_with_http_info variant
41
+
42
+ This returns an Array which contains the response data, status code and headers.
43
+
44
+ > <Array(<V1EntitiesDealSetup>, Integer, Hash)> create_deal_setup_with_http_info(create_deal_setup_request)
45
+
46
+ ```ruby
47
+ begin
48
+ # Create deal setup
49
+ data, status_code, headers = api_instance.create_deal_setup_with_http_info(create_deal_setup_request)
50
+ p status_code # => 2xx
51
+ p headers # => { ... }
52
+ p data # => <V1EntitiesDealSetup>
53
+ rescue DealMakerAPI::ApiError => e
54
+ puts "Error when calling DealApi->create_deal_setup_with_http_info: #{e}"
55
+ end
56
+ ```
57
+
58
+ ### Parameters
59
+
60
+ | Name | Type | Description | Notes |
61
+ | ---- | ---- | ----------- | ----- |
62
+ | **create_deal_setup_request** | [**CreateDealSetupRequest**](CreateDealSetupRequest.md) | | |
63
+
64
+ ### Return type
65
+
66
+ [**V1EntitiesDealSetup**](V1EntitiesDealSetup.md)
67
+
68
+ ### Authorization
69
+
70
+ No authorization required
71
+
72
+ ### HTTP request headers
73
+
74
+ - **Content-Type**: application/json
75
+ - **Accept**: application/json
76
+
77
+
11
78
  ## get_deal
12
79
 
13
80
  > <V1EntitiesDeal> get_deal(id)
data/docs/DefaultApi.md CHANGED
@@ -10,6 +10,9 @@ All URIs are relative to *http://api.dealmaker.tech*
10
10
  | [**get_webhooks_deal_id**](DefaultApi.md#get_webhooks_deal_id) | **GET** /webhooks/deal/{id} | Finds a deal using the id |
11
11
  | [**get_webhooks_deals_search**](DefaultApi.md#get_webhooks_deals_search) | **GET** /webhooks/deals/search | Searches for deals for a given user |
12
12
  | [**get_webhooks_security_token**](DefaultApi.md#get_webhooks_security_token) | **GET** /webhooks/security_token | Creates a new security token for webhook subscription |
13
+ | [**post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit**](DefaultApi.md#post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit) | **POST** /deals/{deal_id}/payment_onboarding/questionnaire/payout_account_details/submit | Submit a payout account details form |
14
+ | [**post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit**](DefaultApi.md#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit) | **POST** /deals/{deal_id}/payment_onboarding/questionnaire/qualification_questionnaire/response/submit | Submit a qualification questionnaire response |
15
+ | [**post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit**](DefaultApi.md#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit) | **POST** /deals/{deal_id}/payment_onboarding/questionnaire/qualification_questionnaire/submit | Submit a qualification questionnaire form |
13
16
  | [**post_webhooks**](DefaultApi.md#post_webhooks) | **POST** /webhooks | Creates a webhook subscription which is associated to the user |
14
17
  | [**put_webhooks_id**](DefaultApi.md#put_webhooks_id) | **PUT** /webhooks/{id} | Updates webhook subscription and webhooks subcription deals |
15
18
 
@@ -412,6 +415,203 @@ No authorization required
412
415
  - **Accept**: application/json
413
416
 
414
417
 
418
+ ## post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit
419
+
420
+ > <V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult> post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit(deal_id)
421
+
422
+ Submit a payout account details form
423
+
424
+ Submit a payout account details form
425
+
426
+ ### Examples
427
+
428
+ ```ruby
429
+ require 'time'
430
+ require 'DealMakerAPI'
431
+ # setup authorization
432
+ DealMakerAPI.configure do |config|end
433
+
434
+ api_instance = DealMakerAPI::DefaultApi.new
435
+ deal_id = 56 # Integer |
436
+
437
+ begin
438
+ # Submit a payout account details form
439
+ result = api_instance.post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit(deal_id)
440
+ p result
441
+ rescue DealMakerAPI::ApiError => e
442
+ puts "Error when calling DefaultApi->post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit: #{e}"
443
+ end
444
+ ```
445
+
446
+ #### Using the post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit_with_http_info variant
447
+
448
+ This returns an Array which contains the response data, status code and headers.
449
+
450
+ > <Array(<V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult>, Integer, Hash)> post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit_with_http_info(deal_id)
451
+
452
+ ```ruby
453
+ begin
454
+ # Submit a payout account details form
455
+ data, status_code, headers = api_instance.post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit_with_http_info(deal_id)
456
+ p status_code # => 2xx
457
+ p headers # => { ... }
458
+ p data # => <V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult>
459
+ rescue DealMakerAPI::ApiError => e
460
+ puts "Error when calling DefaultApi->post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit_with_http_info: #{e}"
461
+ end
462
+ ```
463
+
464
+ ### Parameters
465
+
466
+ | Name | Type | Description | Notes |
467
+ | ---- | ---- | ----------- | ----- |
468
+ | **deal_id** | **Integer** | | |
469
+
470
+ ### Return type
471
+
472
+ [**V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult**](V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult.md)
473
+
474
+ ### Authorization
475
+
476
+ No authorization required
477
+
478
+ ### HTTP request headers
479
+
480
+ - **Content-Type**: Not defined
481
+ - **Accept**: application/json
482
+
483
+
484
+ ## post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit
485
+
486
+ > post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit(deal_id)
487
+
488
+ Submit a qualification questionnaire response
489
+
490
+ Submit a qualification questionnaire response
491
+
492
+ ### Examples
493
+
494
+ ```ruby
495
+ require 'time'
496
+ require 'DealMakerAPI'
497
+ # setup authorization
498
+ DealMakerAPI.configure do |config|end
499
+
500
+ api_instance = DealMakerAPI::DefaultApi.new
501
+ deal_id = 56 # Integer |
502
+
503
+ begin
504
+ # Submit a qualification questionnaire response
505
+ api_instance.post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit(deal_id)
506
+ rescue DealMakerAPI::ApiError => e
507
+ puts "Error when calling DefaultApi->post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit: #{e}"
508
+ end
509
+ ```
510
+
511
+ #### Using the post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit_with_http_info variant
512
+
513
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
514
+
515
+ > <Array(nil, Integer, Hash)> post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit_with_http_info(deal_id)
516
+
517
+ ```ruby
518
+ begin
519
+ # Submit a qualification questionnaire response
520
+ data, status_code, headers = api_instance.post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit_with_http_info(deal_id)
521
+ p status_code # => 2xx
522
+ p headers # => { ... }
523
+ p data # => nil
524
+ rescue DealMakerAPI::ApiError => e
525
+ puts "Error when calling DefaultApi->post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit_with_http_info: #{e}"
526
+ end
527
+ ```
528
+
529
+ ### Parameters
530
+
531
+ | Name | Type | Description | Notes |
532
+ | ---- | ---- | ----------- | ----- |
533
+ | **deal_id** | **Integer** | | |
534
+
535
+ ### Return type
536
+
537
+ nil (empty response body)
538
+
539
+ ### Authorization
540
+
541
+ No authorization required
542
+
543
+ ### HTTP request headers
544
+
545
+ - **Content-Type**: Not defined
546
+ - **Accept**: Not defined
547
+
548
+
549
+ ## post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit
550
+
551
+ > <V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult> post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit(deal_id)
552
+
553
+ Submit a qualification questionnaire form
554
+
555
+ Submit a qualification questionnaire form
556
+
557
+ ### Examples
558
+
559
+ ```ruby
560
+ require 'time'
561
+ require 'DealMakerAPI'
562
+ # setup authorization
563
+ DealMakerAPI.configure do |config|end
564
+
565
+ api_instance = DealMakerAPI::DefaultApi.new
566
+ deal_id = 56 # Integer |
567
+
568
+ begin
569
+ # Submit a qualification questionnaire form
570
+ result = api_instance.post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit(deal_id)
571
+ p result
572
+ rescue DealMakerAPI::ApiError => e
573
+ puts "Error when calling DefaultApi->post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit: #{e}"
574
+ end
575
+ ```
576
+
577
+ #### Using the post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit_with_http_info variant
578
+
579
+ This returns an Array which contains the response data, status code and headers.
580
+
581
+ > <Array(<V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult>, Integer, Hash)> post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit_with_http_info(deal_id)
582
+
583
+ ```ruby
584
+ begin
585
+ # Submit a qualification questionnaire form
586
+ data, status_code, headers = api_instance.post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit_with_http_info(deal_id)
587
+ p status_code # => 2xx
588
+ p headers # => { ... }
589
+ p data # => <V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult>
590
+ rescue DealMakerAPI::ApiError => e
591
+ puts "Error when calling DefaultApi->post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit_with_http_info: #{e}"
592
+ end
593
+ ```
594
+
595
+ ### Parameters
596
+
597
+ | Name | Type | Description | Notes |
598
+ | ---- | ---- | ----------- | ----- |
599
+ | **deal_id** | **Integer** | | |
600
+
601
+ ### Return type
602
+
603
+ [**V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult**](V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult.md)
604
+
605
+ ### Authorization
606
+
607
+ No authorization required
608
+
609
+ ### HTTP request headers
610
+
611
+ - **Content-Type**: Not defined
612
+ - **Accept**: application/json
613
+
614
+
415
615
  ## post_webhooks
416
616
 
417
617
  > <V1EntitiesWebhooksSubscription> post_webhooks(post_webhooks_request)
data/docs/InvestorApi.md CHANGED
@@ -646,7 +646,7 @@ No authorization required
646
646
 
647
647
  Get OTP access link for deal investor
648
648
 
649
- Get OTP access link for deal investor by id
649
+ The access link for the investor. This is the access link for the specific investment, not the user. If the same user has multiple investments, each one will have a different access link. Please note that this access link expires every hour. In order to redirect the investor into their authentication screen, use the https://app.dealmaker.tech/deals/{{deal_id}}/investors/{{investor_id}}/otp_access url.
650
650
 
651
651
  ### Examples
652
652
 
@@ -31,6 +31,7 @@
31
31
  | **investor_profile** | **String** | | [optional] |
32
32
  | **investor_profile_id** | **Integer** | The investor profile id. | [optional] |
33
33
  | **checkout_state** | **String** | Current state on checkout page. | [optional] |
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] |
34
35
 
35
36
  ## Example
36
37
 
@@ -64,7 +65,8 @@ instance = DealMakerAPI::V1EntitiesInvestor.new(
64
65
  ranking_score: null,
65
66
  investor_profile: null,
66
67
  investor_profile_id: null,
67
- checkout_state: null
68
+ checkout_state: null,
69
+ legacy_flow_link: null
68
70
  )
69
71
  ```
70
72
 
@@ -0,0 +1,20 @@
1
+ # DealMakerAPI::V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | **Object** | Data after successful payout account updating | [optional] |
8
+ | **error** | **Object** | Error after failed payout account updating | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'DealMakerAPI'
14
+
15
+ instance = DealMakerAPI::V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult.new(
16
+ data: null,
17
+ error: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # DealMakerAPI::V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **onboarding_stage** | **String** | Onboarding stage | [optional] |
8
+ | **payout_account_country** | **String** | Payout account country | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'DealMakerAPI'
14
+
15
+ instance = DealMakerAPI::V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult.new(
16
+ onboarding_stage: null,
17
+ payout_account_country: null
18
+ )
19
+ ```
20
+
@@ -19,6 +19,74 @@ module DealMakerAPI
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Create deal setup
23
+ # Create deal setup
24
+ # @param create_deal_setup_request [CreateDealSetupRequest]
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [V1EntitiesDealSetup]
27
+ def create_deal_setup(create_deal_setup_request, opts = {})
28
+ data, _status_code, _headers = create_deal_setup_with_http_info(create_deal_setup_request, opts)
29
+ data
30
+ end
31
+
32
+ # Create deal setup
33
+ # Create deal setup
34
+ # @param create_deal_setup_request [CreateDealSetupRequest]
35
+ # @param [Hash] opts the optional parameters
36
+ # @return [Array<(V1EntitiesDealSetup, Integer, Hash)>] V1EntitiesDealSetup data, response status code and response headers
37
+ def create_deal_setup_with_http_info(create_deal_setup_request, opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: DealApi.create_deal_setup ...'
40
+ end
41
+ # verify the required parameter 'create_deal_setup_request' is set
42
+ if @api_client.config.client_side_validation && create_deal_setup_request.nil?
43
+ fail ArgumentError, "Missing the required parameter 'create_deal_setup_request' when calling DealApi.create_deal_setup"
44
+ end
45
+ # resource path
46
+ local_var_path = '/deal_setups'
47
+
48
+ # query parameters
49
+ query_params = opts[:query_params] || {}
50
+
51
+ # header parameters
52
+ header_params = opts[:header_params] || {}
53
+ # HTTP header 'Accept' (if needed)
54
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
55
+ # HTTP header 'Content-Type'
56
+ content_type = @api_client.select_header_content_type(['application/json'])
57
+ if !content_type.nil?
58
+ header_params['Content-Type'] = content_type
59
+ end
60
+
61
+ # form parameters
62
+ form_params = opts[:form_params] || {}
63
+
64
+ # http body (model)
65
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_deal_setup_request)
66
+
67
+ # return_type
68
+ return_type = opts[:debug_return_type] || 'V1EntitiesDealSetup'
69
+
70
+ # auth_names
71
+ auth_names = opts[:debug_auth_names] || []
72
+
73
+ new_options = opts.merge(
74
+ :operation => :"DealApi.create_deal_setup",
75
+ :header_params => header_params,
76
+ :query_params => query_params,
77
+ :form_params => form_params,
78
+ :body => post_body,
79
+ :auth_names => auth_names,
80
+ :return_type => return_type
81
+ )
82
+
83
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
84
+ if @api_client.config.debugging
85
+ @api_client.config.logger.debug "API called: DealApi#create_deal_setup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
+ end
87
+ return data, status_code, headers
88
+ end
89
+
22
90
  # Get deal by Deal ID
23
91
  # Gets a single deal using the Deal ID
24
92
  # @param id [Integer] The deal id.