DealMakerAPI 0.104.3 → 0.105.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/DefaultApi.md +66 -0
- data/lib/DealMakerAPI/api/default_api.rb +61 -0
- data/lib/DealMakerAPI/version.rb +1 -1
- data/spec/api/default_api_spec.rb +12 -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: bc1ee0e7f4ecab24ec3d0ae6b975aaa8113745f95632582d4b2fa2b9e885101b
|
4
|
+
data.tar.gz: a41230e409a2350b00f89376724e24d0585098f46d6f34532596723d5ce2c030
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87fec6b1eea6673e22292318805a237d69ae40322fa0c22806bc9dfc3f8b8350d256b190e0452306aa1d55ddb3dbb71602cdc822bd8474ddc87d53084d2be20b
|
7
|
+
data.tar.gz: 73059218fa536d6a8f9d1fc01157c79869871483084a63eda228df6bcc109a61a86e172f19b99ea1cc2697128b6f3ed5ece2e7020c7bee58914c4f9149e91778
|
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.
|
341
|
+
- Package version: 0.105.1
|
342
342
|
- Generator version: 7.7.0-SNAPSHOT
|
343
343
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
344
344
|
|
@@ -355,16 +355,16 @@ gem build DealMakerAPI.gemspec
|
|
355
355
|
Then either install the gem locally:
|
356
356
|
|
357
357
|
```shell
|
358
|
-
gem install ./DealMakerAPI-0.
|
358
|
+
gem install ./DealMakerAPI-0.105.1.gem
|
359
359
|
```
|
360
360
|
|
361
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.
|
361
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.105.1.gem` to install the development dependencies)
|
362
362
|
|
363
363
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
364
364
|
|
365
365
|
Finally add this to the Gemfile:
|
366
366
|
|
367
|
-
gem 'DealMakerAPI', '~> 0.
|
367
|
+
gem 'DealMakerAPI', '~> 0.105.1'
|
368
368
|
|
369
369
|
### Install from Git
|
370
370
|
|
@@ -459,6 +459,7 @@ Class | Method | HTTP request | Description
|
|
459
459
|
*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
|
460
460
|
*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
|
461
461
|
*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
|
462
|
+
*DealMakerAPI::DefaultApi* | [**post_investors_investor_id_transactions_request_refund_process**](docs/DefaultApi.md#post_investors_investor_id_transactions_request_refund_process) | **POST** /investors/{investor_id}/transactions/request_refund/process | Request refund for investor transactions
|
462
463
|
*DealMakerAPI::DefaultApi* | [**post_webhooks**](docs/DefaultApi.md#post_webhooks) | **POST** /webhooks | Creates a webhook subscription which is associated to the user
|
463
464
|
*DealMakerAPI::DefaultApi* | [**put_webhooks_id**](docs/DefaultApi.md#put_webhooks_id) | **PUT** /webhooks/{id} | Updates webhook subscription and webhooks subcription deals
|
464
465
|
*DealMakerAPI::IncentivePlanApi* | [**get_deal_incentive_plans_time**](docs/IncentivePlanApi.md#get_deal_incentive_plans_time) | **GET** /deals/{id}/incentive_plans/time | Get incentive plans by deal id
|
data/docs/DefaultApi.md
CHANGED
@@ -19,6 +19,7 @@ All URIs are relative to *http://api.dealmaker.tech*
|
|
19
19
|
| [**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 |
|
20
20
|
| [**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 |
|
21
21
|
| [**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 |
|
22
|
+
| [**post_investors_investor_id_transactions_request_refund_process**](DefaultApi.md#post_investors_investor_id_transactions_request_refund_process) | **POST** /investors/{investor_id}/transactions/request_refund/process | Request refund for investor transactions |
|
22
23
|
| [**post_webhooks**](DefaultApi.md#post_webhooks) | **POST** /webhooks | Creates a webhook subscription which is associated to the user |
|
23
24
|
| [**put_webhooks_id**](DefaultApi.md#put_webhooks_id) | **PUT** /webhooks/{id} | Updates webhook subscription and webhooks subcription deals |
|
24
25
|
|
@@ -1007,6 +1008,71 @@ No authorization required
|
|
1007
1008
|
- **Accept**: application/json
|
1008
1009
|
|
1009
1010
|
|
1011
|
+
## post_investors_investor_id_transactions_request_refund_process
|
1012
|
+
|
1013
|
+
> post_investors_investor_id_transactions_request_refund_process(investor_id)
|
1014
|
+
|
1015
|
+
Request refund for investor transactions
|
1016
|
+
|
1017
|
+
Request refund for investor transactions
|
1018
|
+
|
1019
|
+
### Examples
|
1020
|
+
|
1021
|
+
```ruby
|
1022
|
+
require 'time'
|
1023
|
+
require 'DealMakerAPI'
|
1024
|
+
# setup authorization
|
1025
|
+
DealMakerAPI.configure do |config|end
|
1026
|
+
|
1027
|
+
api_instance = DealMakerAPI::DefaultApi.new
|
1028
|
+
investor_id = 56 # Integer |
|
1029
|
+
|
1030
|
+
begin
|
1031
|
+
# Request refund for investor transactions
|
1032
|
+
api_instance.post_investors_investor_id_transactions_request_refund_process(investor_id)
|
1033
|
+
rescue DealMakerAPI::ApiError => e
|
1034
|
+
puts "Error when calling DefaultApi->post_investors_investor_id_transactions_request_refund_process: #{e}"
|
1035
|
+
end
|
1036
|
+
```
|
1037
|
+
|
1038
|
+
#### Using the post_investors_investor_id_transactions_request_refund_process_with_http_info variant
|
1039
|
+
|
1040
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1041
|
+
|
1042
|
+
> <Array(nil, Integer, Hash)> post_investors_investor_id_transactions_request_refund_process_with_http_info(investor_id)
|
1043
|
+
|
1044
|
+
```ruby
|
1045
|
+
begin
|
1046
|
+
# Request refund for investor transactions
|
1047
|
+
data, status_code, headers = api_instance.post_investors_investor_id_transactions_request_refund_process_with_http_info(investor_id)
|
1048
|
+
p status_code # => 2xx
|
1049
|
+
p headers # => { ... }
|
1050
|
+
p data # => nil
|
1051
|
+
rescue DealMakerAPI::ApiError => e
|
1052
|
+
puts "Error when calling DefaultApi->post_investors_investor_id_transactions_request_refund_process_with_http_info: #{e}"
|
1053
|
+
end
|
1054
|
+
```
|
1055
|
+
|
1056
|
+
### Parameters
|
1057
|
+
|
1058
|
+
| Name | Type | Description | Notes |
|
1059
|
+
| ---- | ---- | ----------- | ----- |
|
1060
|
+
| **investor_id** | **Integer** | | |
|
1061
|
+
|
1062
|
+
### Return type
|
1063
|
+
|
1064
|
+
nil (empty response body)
|
1065
|
+
|
1066
|
+
### Authorization
|
1067
|
+
|
1068
|
+
No authorization required
|
1069
|
+
|
1070
|
+
### HTTP request headers
|
1071
|
+
|
1072
|
+
- **Content-Type**: Not defined
|
1073
|
+
- **Accept**: Not defined
|
1074
|
+
|
1075
|
+
|
1010
1076
|
## post_webhooks
|
1011
1077
|
|
1012
1078
|
> <V1EntitiesWebhooksSubscription> post_webhooks(post_webhooks_request)
|
@@ -949,6 +949,67 @@ module DealMakerAPI
|
|
949
949
|
return data, status_code, headers
|
950
950
|
end
|
951
951
|
|
952
|
+
# Request refund for investor transactions
|
953
|
+
# Request refund for investor transactions
|
954
|
+
# @param investor_id [Integer]
|
955
|
+
# @param [Hash] opts the optional parameters
|
956
|
+
# @return [nil]
|
957
|
+
def post_investors_investor_id_transactions_request_refund_process(investor_id, opts = {})
|
958
|
+
post_investors_investor_id_transactions_request_refund_process_with_http_info(investor_id, opts)
|
959
|
+
nil
|
960
|
+
end
|
961
|
+
|
962
|
+
# Request refund for investor transactions
|
963
|
+
# Request refund for investor transactions
|
964
|
+
# @param investor_id [Integer]
|
965
|
+
# @param [Hash] opts the optional parameters
|
966
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
967
|
+
def post_investors_investor_id_transactions_request_refund_process_with_http_info(investor_id, opts = {})
|
968
|
+
if @api_client.config.debugging
|
969
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.post_investors_investor_id_transactions_request_refund_process ...'
|
970
|
+
end
|
971
|
+
# verify the required parameter 'investor_id' is set
|
972
|
+
if @api_client.config.client_side_validation && investor_id.nil?
|
973
|
+
fail ArgumentError, "Missing the required parameter 'investor_id' when calling DefaultApi.post_investors_investor_id_transactions_request_refund_process"
|
974
|
+
end
|
975
|
+
# resource path
|
976
|
+
local_var_path = '/investors/{investor_id}/transactions/request_refund/process'.sub('{' + 'investor_id' + '}', CGI.escape(investor_id.to_s))
|
977
|
+
|
978
|
+
# query parameters
|
979
|
+
query_params = opts[:query_params] || {}
|
980
|
+
|
981
|
+
# header parameters
|
982
|
+
header_params = opts[:header_params] || {}
|
983
|
+
|
984
|
+
# form parameters
|
985
|
+
form_params = opts[:form_params] || {}
|
986
|
+
|
987
|
+
# http body (model)
|
988
|
+
post_body = opts[:debug_body]
|
989
|
+
|
990
|
+
# return_type
|
991
|
+
return_type = opts[:debug_return_type]
|
992
|
+
|
993
|
+
# auth_names
|
994
|
+
auth_names = opts[:debug_auth_names] || []
|
995
|
+
|
996
|
+
new_options = opts.merge(
|
997
|
+
:operation => :"DefaultApi.post_investors_investor_id_transactions_request_refund_process",
|
998
|
+
:header_params => header_params,
|
999
|
+
:query_params => query_params,
|
1000
|
+
:form_params => form_params,
|
1001
|
+
:body => post_body,
|
1002
|
+
:auth_names => auth_names,
|
1003
|
+
:return_type => return_type
|
1004
|
+
)
|
1005
|
+
|
1006
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1007
|
+
if @api_client.config.debugging
|
1008
|
+
@api_client.config.logger.debug "API called: DefaultApi#post_investors_investor_id_transactions_request_refund_process\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1009
|
+
end
|
1010
|
+
return data, status_code, headers
|
1011
|
+
end
|
1012
|
+
|
952
1013
|
# Creates a webhook subscription which is associated to the user
|
953
1014
|
# Creates new webhook subscription
|
954
1015
|
# @param post_webhooks_request [PostWebhooksRequest]
|
data/lib/DealMakerAPI/version.rb
CHANGED
@@ -212,6 +212,18 @@ describe 'DefaultApi' do
|
|
212
212
|
end
|
213
213
|
end
|
214
214
|
|
215
|
+
# unit tests for post_investors_investor_id_transactions_request_refund_process
|
216
|
+
# Request refund for investor transactions
|
217
|
+
# Request refund for investor transactions
|
218
|
+
# @param investor_id
|
219
|
+
# @param [Hash] opts the optional parameters
|
220
|
+
# @return [nil]
|
221
|
+
describe 'post_investors_investor_id_transactions_request_refund_process test' do
|
222
|
+
it 'should work' do
|
223
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
215
227
|
# unit tests for post_webhooks
|
216
228
|
# Creates a webhook subscription which is associated to the user
|
217
229
|
# Creates new 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.
|
4
|
+
version: 0.105.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DealMaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|