DealMakerAPI 0.94.1 → 0.94.2
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 +5 -4
- data/docs/DefaultApi.md +61 -0
- data/lib/DealMakerAPI/api/default_api.rb +55 -0
- data/lib/DealMakerAPI/version.rb +1 -1
- data/spec/api/default_api_spec.rb +11 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40c6fad35b463047ae05a9419cb3557299cda1648e694e324987dd7d58ef4bda
|
4
|
+
data.tar.gz: d42c7a4a714f5eba961d05e051ec816246065d9dd169b5ec3b6d13ed2e672b62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e56d49a1f13f515374d4e61796e19a6574076a326bd0f45e9299ec3feafb505a0aae242ff15074a182eccfecc5819f5394e33c4f6a12d80199c4770b98681a7
|
7
|
+
data.tar.gz: 570a1263f37e4a2436366495ccd02af9e9641d01596928066846c696cbb87d7bb758a856067ec25b2e2c808e3692a423741bb4a445b111764355892be3515e25
|
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.94.
|
341
|
+
- Package version: 0.94.2
|
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.94.
|
357
|
+
gem install ./DealMakerAPI-0.94.2.gem
|
358
358
|
```
|
359
359
|
|
360
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.94.
|
360
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.94.2.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.94.
|
366
|
+
gem 'DealMakerAPI', '~> 0.94.2'
|
367
367
|
|
368
368
|
### Install from Git
|
369
369
|
|
@@ -433,6 +433,7 @@ Class | Method | HTTP request | Description
|
|
433
433
|
*DealMakerAPI::DefaultApi* | [**get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data**](docs/DefaultApi.md#get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data) | **GET** /deals/{deal_id}/payment_onboarding/questionnaire/payout_account_details/data | Get payout account data
|
434
434
|
*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
|
435
435
|
*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
|
436
|
+
*DealMakerAPI::DefaultApi* | [**get_deals_payment_onboarding_questionnaire_initial_questions**](docs/DefaultApi.md#get_deals_payment_onboarding_questionnaire_initial_questions) | **GET** /deals/payment_onboarding/questionnaire/initial_questions | Get initial questions
|
436
437
|
*DealMakerAPI::DefaultApi* | [**get_webhooks**](docs/DefaultApi.md#get_webhooks) | **GET** /webhooks | Returns a list of webhook subscription which is associated to the user
|
437
438
|
*DealMakerAPI::DefaultApi* | [**get_webhooks_deal_id**](docs/DefaultApi.md#get_webhooks_deal_id) | **GET** /webhooks/deal/{id} | Finds a deal using the id
|
438
439
|
*DealMakerAPI::DefaultApi* | [**get_webhooks_deals_search**](docs/DefaultApi.md#get_webhooks_deals_search) | **GET** /webhooks/deals/search | Searches for deals for a given user
|
data/docs/DefaultApi.md
CHANGED
@@ -8,6 +8,7 @@ All URIs are relative to *http://api.dealmaker.tech*
|
|
8
8
|
| [**get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data**](DefaultApi.md#get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data) | **GET** /deals/{deal_id}/payment_onboarding/questionnaire/payout_account_details/data | Get payout account data |
|
9
9
|
| [**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 |
|
10
10
|
| [**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 |
|
11
|
+
| [**get_deals_payment_onboarding_questionnaire_initial_questions**](DefaultApi.md#get_deals_payment_onboarding_questionnaire_initial_questions) | **GET** /deals/payment_onboarding/questionnaire/initial_questions | Get initial questions |
|
11
12
|
| [**get_webhooks**](DefaultApi.md#get_webhooks) | **GET** /webhooks | Returns a list of webhook subscription which is associated to the user |
|
12
13
|
| [**get_webhooks_deal_id**](DefaultApi.md#get_webhooks_deal_id) | **GET** /webhooks/deal/{id} | Finds a deal using the id |
|
13
14
|
| [**get_webhooks_deals_search**](DefaultApi.md#get_webhooks_deals_search) | **GET** /webhooks/deals/search | Searches for deals for a given user |
|
@@ -285,6 +286,66 @@ No authorization required
|
|
285
286
|
- **Accept**: application/json
|
286
287
|
|
287
288
|
|
289
|
+
## get_deals_payment_onboarding_questionnaire_initial_questions
|
290
|
+
|
291
|
+
> get_deals_payment_onboarding_questionnaire_initial_questions
|
292
|
+
|
293
|
+
Get initial questions
|
294
|
+
|
295
|
+
Get initial questions
|
296
|
+
|
297
|
+
### Examples
|
298
|
+
|
299
|
+
```ruby
|
300
|
+
require 'time'
|
301
|
+
require 'DealMakerAPI'
|
302
|
+
|
303
|
+
api_instance = DealMakerAPI::DefaultApi.new
|
304
|
+
|
305
|
+
begin
|
306
|
+
# Get initial questions
|
307
|
+
api_instance.get_deals_payment_onboarding_questionnaire_initial_questions
|
308
|
+
rescue DealMakerAPI::ApiError => e
|
309
|
+
puts "Error when calling DefaultApi->get_deals_payment_onboarding_questionnaire_initial_questions: #{e}"
|
310
|
+
end
|
311
|
+
```
|
312
|
+
|
313
|
+
#### Using the get_deals_payment_onboarding_questionnaire_initial_questions_with_http_info variant
|
314
|
+
|
315
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
316
|
+
|
317
|
+
> <Array(nil, Integer, Hash)> get_deals_payment_onboarding_questionnaire_initial_questions_with_http_info
|
318
|
+
|
319
|
+
```ruby
|
320
|
+
begin
|
321
|
+
# Get initial questions
|
322
|
+
data, status_code, headers = api_instance.get_deals_payment_onboarding_questionnaire_initial_questions_with_http_info
|
323
|
+
p status_code # => 2xx
|
324
|
+
p headers # => { ... }
|
325
|
+
p data # => nil
|
326
|
+
rescue DealMakerAPI::ApiError => e
|
327
|
+
puts "Error when calling DefaultApi->get_deals_payment_onboarding_questionnaire_initial_questions_with_http_info: #{e}"
|
328
|
+
end
|
329
|
+
```
|
330
|
+
|
331
|
+
### Parameters
|
332
|
+
|
333
|
+
This endpoint does not need any parameter.
|
334
|
+
|
335
|
+
### Return type
|
336
|
+
|
337
|
+
nil (empty response body)
|
338
|
+
|
339
|
+
### Authorization
|
340
|
+
|
341
|
+
No authorization required
|
342
|
+
|
343
|
+
### HTTP request headers
|
344
|
+
|
345
|
+
- **Content-Type**: Not defined
|
346
|
+
- **Accept**: Not defined
|
347
|
+
|
348
|
+
|
288
349
|
## get_webhooks
|
289
350
|
|
290
351
|
> <V1EntitiesWebhooksSubscription> get_webhooks(opts)
|
@@ -277,6 +277,61 @@ module DealMakerAPI
|
|
277
277
|
return data, status_code, headers
|
278
278
|
end
|
279
279
|
|
280
|
+
# Get initial questions
|
281
|
+
# Get initial questions
|
282
|
+
# @param [Hash] opts the optional parameters
|
283
|
+
# @return [nil]
|
284
|
+
def get_deals_payment_onboarding_questionnaire_initial_questions(opts = {})
|
285
|
+
get_deals_payment_onboarding_questionnaire_initial_questions_with_http_info(opts)
|
286
|
+
nil
|
287
|
+
end
|
288
|
+
|
289
|
+
# Get initial questions
|
290
|
+
# Get initial questions
|
291
|
+
# @param [Hash] opts the optional parameters
|
292
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
293
|
+
def get_deals_payment_onboarding_questionnaire_initial_questions_with_http_info(opts = {})
|
294
|
+
if @api_client.config.debugging
|
295
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_deals_payment_onboarding_questionnaire_initial_questions ...'
|
296
|
+
end
|
297
|
+
# resource path
|
298
|
+
local_var_path = '/deals/payment_onboarding/questionnaire/initial_questions'
|
299
|
+
|
300
|
+
# query parameters
|
301
|
+
query_params = opts[:query_params] || {}
|
302
|
+
|
303
|
+
# header parameters
|
304
|
+
header_params = opts[:header_params] || {}
|
305
|
+
|
306
|
+
# form parameters
|
307
|
+
form_params = opts[:form_params] || {}
|
308
|
+
|
309
|
+
# http body (model)
|
310
|
+
post_body = opts[:debug_body]
|
311
|
+
|
312
|
+
# return_type
|
313
|
+
return_type = opts[:debug_return_type]
|
314
|
+
|
315
|
+
# auth_names
|
316
|
+
auth_names = opts[:debug_auth_names] || []
|
317
|
+
|
318
|
+
new_options = opts.merge(
|
319
|
+
:operation => :"DefaultApi.get_deals_payment_onboarding_questionnaire_initial_questions",
|
320
|
+
:header_params => header_params,
|
321
|
+
:query_params => query_params,
|
322
|
+
:form_params => form_params,
|
323
|
+
:body => post_body,
|
324
|
+
:auth_names => auth_names,
|
325
|
+
:return_type => return_type
|
326
|
+
)
|
327
|
+
|
328
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
329
|
+
if @api_client.config.debugging
|
330
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_deals_payment_onboarding_questionnaire_initial_questions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
331
|
+
end
|
332
|
+
return data, status_code, headers
|
333
|
+
end
|
334
|
+
|
280
335
|
# Returns a list of webhook subscription which is associated to the user
|
281
336
|
# Returns a list of webhook subscription
|
282
337
|
# @param [Hash] opts the optional parameters
|
data/lib/DealMakerAPI/version.rb
CHANGED
@@ -81,6 +81,17 @@ describe 'DefaultApi' do
|
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
+
# unit tests for get_deals_payment_onboarding_questionnaire_initial_questions
|
85
|
+
# Get initial questions
|
86
|
+
# Get initial questions
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @return [nil]
|
89
|
+
describe 'get_deals_payment_onboarding_questionnaire_initial_questions test' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
84
95
|
# unit tests for get_webhooks
|
85
96
|
# Returns a list of webhook subscription which is associated to the user
|
86
97
|
# Returns a list of webhook subscription
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: DealMakerAPI
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.94.
|
4
|
+
version: 0.94.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DealMaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|