DealMakerAPI 0.104.2 → 0.105.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e14a95ecb4a896241b9303ae221757ef37dd0427b56bef4ccf9c92041cffdd4
4
- data.tar.gz: 8e5e49486b4cf6aa00a25955e3170efa99f07814d03d47ead89137ad3c2badf8
3
+ metadata.gz: bc1ee0e7f4ecab24ec3d0ae6b975aaa8113745f95632582d4b2fa2b9e885101b
4
+ data.tar.gz: a41230e409a2350b00f89376724e24d0585098f46d6f34532596723d5ce2c030
5
5
  SHA512:
6
- metadata.gz: 7de5580f28d5c5e41cef9217647432eaec0d842226d39f90323146f92ae95fe7e3cbe6b434746a694d6d605d3406fe49dc53dbb2a335916d59863a510b970c3b
7
- data.tar.gz: 4d8f054e24cdbbbfc1928a33f4c88d3b4da38f4b9e94df827fdf3cc93b64396a1b78cc7eac5a2b1dd71904950a0d98156dea8b81fd072a7cc991c20cf91dc0ad
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.104.2
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.104.2.gem
358
+ gem install ./DealMakerAPI-0.105.1.gem
359
359
  ```
360
360
 
361
- (for development, run `gem install --dev ./DealMakerAPI-0.104.2.gem` to install the development dependencies)
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.104.2'
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)
@@ -9,6 +9,9 @@
9
9
  | **total_proceeds** | [**V1EntitiesDealsProgressPageSummaryItem**](V1EntitiesDealsProgressPageSummaryItem.md) | | [optional] |
10
10
  | **processing_fees** | [**V1EntitiesDealsProgressPageSummaryItem**](V1EntitiesDealsProgressPageSummaryItem.md) | | [optional] |
11
11
  | **invoice_deductions** | [**V1EntitiesDealsProgressPageSummaryItem**](V1EntitiesDealsProgressPageSummaryItem.md) | | [optional] |
12
+ | **accounts_receivable** | [**V1EntitiesDealsProgressPageSummaryItem**](V1EntitiesDealsProgressPageSummaryItem.md) | | [optional] |
13
+ | **upcoming_adspend** | [**V1EntitiesDealsProgressPageSummaryItem**](V1EntitiesDealsProgressPageSummaryItem.md) | | [optional] |
14
+ | **other_reserves** | [**V1EntitiesDealsProgressPageSummaryItem**](V1EntitiesDealsProgressPageSummaryItem.md) | | [optional] |
12
15
  | **holdback** | [**V1EntitiesDealsProgressPageSummaryItem**](V1EntitiesDealsProgressPageSummaryItem.md) | | [optional] |
13
16
  | **paid_out** | [**V1EntitiesDealsProgressPageSummaryItem**](V1EntitiesDealsProgressPageSummaryItem.md) | | [optional] |
14
17
  | **available_for_payout** | [**V1EntitiesDealsProgressPageSummaryItem**](V1EntitiesDealsProgressPageSummaryItem.md) | | [optional] |
@@ -24,6 +27,9 @@ instance = DealMakerAPI::V1EntitiesDealsProgressPageSummary.new(
24
27
  total_proceeds: null,
25
28
  processing_fees: null,
26
29
  invoice_deductions: null,
30
+ accounts_receivable: null,
31
+ upcoming_adspend: null,
32
+ other_reserves: null,
27
33
  holdback: null,
28
34
  paid_out: null,
29
35
  available_for_payout: null
@@ -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]
@@ -26,6 +26,12 @@ module DealMakerAPI
26
26
 
27
27
  attr_accessor :invoice_deductions
28
28
 
29
+ attr_accessor :accounts_receivable
30
+
31
+ attr_accessor :upcoming_adspend
32
+
33
+ attr_accessor :other_reserves
34
+
29
35
  attr_accessor :holdback
30
36
 
31
37
  attr_accessor :paid_out
@@ -40,6 +46,9 @@ module DealMakerAPI
40
46
  :'total_proceeds' => :'total_proceeds',
41
47
  :'processing_fees' => :'processing_fees',
42
48
  :'invoice_deductions' => :'invoice_deductions',
49
+ :'accounts_receivable' => :'accounts_receivable',
50
+ :'upcoming_adspend' => :'upcoming_adspend',
51
+ :'other_reserves' => :'other_reserves',
43
52
  :'holdback' => :'holdback',
44
53
  :'paid_out' => :'paid_out',
45
54
  :'available_for_payout' => :'available_for_payout'
@@ -59,6 +68,9 @@ module DealMakerAPI
59
68
  :'total_proceeds' => :'V1EntitiesDealsProgressPageSummaryItem',
60
69
  :'processing_fees' => :'V1EntitiesDealsProgressPageSummaryItem',
61
70
  :'invoice_deductions' => :'V1EntitiesDealsProgressPageSummaryItem',
71
+ :'accounts_receivable' => :'V1EntitiesDealsProgressPageSummaryItem',
72
+ :'upcoming_adspend' => :'V1EntitiesDealsProgressPageSummaryItem',
73
+ :'other_reserves' => :'V1EntitiesDealsProgressPageSummaryItem',
62
74
  :'holdback' => :'V1EntitiesDealsProgressPageSummaryItem',
63
75
  :'paid_out' => :'V1EntitiesDealsProgressPageSummaryItem',
64
76
  :'available_for_payout' => :'V1EntitiesDealsProgressPageSummaryItem'
@@ -106,6 +118,18 @@ module DealMakerAPI
106
118
  self.invoice_deductions = attributes[:'invoice_deductions']
107
119
  end
108
120
 
121
+ if attributes.key?(:'accounts_receivable')
122
+ self.accounts_receivable = attributes[:'accounts_receivable']
123
+ end
124
+
125
+ if attributes.key?(:'upcoming_adspend')
126
+ self.upcoming_adspend = attributes[:'upcoming_adspend']
127
+ end
128
+
129
+ if attributes.key?(:'other_reserves')
130
+ self.other_reserves = attributes[:'other_reserves']
131
+ end
132
+
109
133
  if attributes.key?(:'holdback')
110
134
  self.holdback = attributes[:'holdback']
111
135
  end
@@ -144,6 +168,9 @@ module DealMakerAPI
144
168
  total_proceeds == o.total_proceeds &&
145
169
  processing_fees == o.processing_fees &&
146
170
  invoice_deductions == o.invoice_deductions &&
171
+ accounts_receivable == o.accounts_receivable &&
172
+ upcoming_adspend == o.upcoming_adspend &&
173
+ other_reserves == o.other_reserves &&
147
174
  holdback == o.holdback &&
148
175
  paid_out == o.paid_out &&
149
176
  available_for_payout == o.available_for_payout
@@ -158,7 +185,7 @@ module DealMakerAPI
158
185
  # Calculates hash code according to all attributes.
159
186
  # @return [Integer] Hash code
160
187
  def hash
161
- [investment_proceeds, fees_and_adjustments, total_proceeds, processing_fees, invoice_deductions, holdback, paid_out, available_for_payout].hash
188
+ [investment_proceeds, fees_and_adjustments, total_proceeds, processing_fees, invoice_deductions, accounts_receivable, upcoming_adspend, other_reserves, holdback, paid_out, available_for_payout].hash
162
189
  end
163
190
 
164
191
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.7.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module DealMakerAPI
14
- VERSION = '0.104.2'
14
+ VERSION = '0.105.1'
15
15
  end
@@ -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
@@ -57,6 +57,24 @@ describe DealMakerAPI::V1EntitiesDealsProgressPageSummary do
57
57
  end
58
58
  end
59
59
 
60
+ describe 'test attribute "accounts_receivable"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "upcoming_adspend"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "other_reserves"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
60
78
  describe 'test attribute "holdback"' do
61
79
  it 'should work' do
62
80
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
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.104.2
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-05-30 00:00:00.000000000 Z
11
+ date: 2024-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus