DealMakerAPI 0.107.3 → 0.107.4

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: 31ca7f8a15f9974f39ddaf0f803520ef30f708d00c72a84009ed9a8bd09af51a
4
- data.tar.gz: d5b8dd5503edfdba6d34adcc756371f586b0eebaa0e5e6bf6ef56c49cd974315
3
+ metadata.gz: 34b9925eaf34b265ce731c165726ddc4f8481f1b8ed7ad845ecdba9f093fd64f
4
+ data.tar.gz: 8a895cf0361f1c9845fcaf4b17a5c4f351f55ab8dc10dbcfc180cb8bbcac0017
5
5
  SHA512:
6
- metadata.gz: c77499f0eae31f3e56f9a9b5f3d833255ea632586848577d20dc918572c6f89425125133f372f58754dcf00b18c3e7ef9257c95be1a9445819e184ee284874dc
7
- data.tar.gz: f2cc29077aecf671ae01c6049d83a60977e186b4ab9b3f30a9b2f58d8e0635fb8bded086fbab37b2feacb93ea286ba4e95fc3253e459cb8d6bd59b6ead7734a7
6
+ metadata.gz: ed56b378ec1ee8a408eedefd0d6e2bd26f56375aa50c25b8668a8f2b91d3fab691d63c6ed31810973a1b7349b0bd80d700f1486621ec654acc650cdaf748bd72
7
+ data.tar.gz: 9a0abdf6508e5b347e2302c1d12710975f38fb78fc70c14635202307fe0a6980673aecfcb8c89dd78f01f8098888c94bcbc6526372f56a65eb4c4d23d64f6e01
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.107.3
341
+ - Package version: 0.107.4
342
342
  - Generator version: 7.8.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.107.3.gem
358
+ gem install ./DealMakerAPI-0.107.4.gem
359
359
  ```
360
360
 
361
- (for development, run `gem install --dev ./DealMakerAPI-0.107.3.gem` to install the development dependencies)
361
+ (for development, run `gem install --dev ./DealMakerAPI-0.107.4.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.107.3'
367
+ gem 'DealMakerAPI', '~> 0.107.4'
368
368
 
369
369
  ### Install from Git
370
370
 
@@ -466,6 +466,7 @@ Class | Method | HTTP request | Description
466
466
  *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
467
467
  *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
468
468
  *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
469
+ *DealMakerAPI::DefaultApi* | [**post_investors_investor_id_delete_investment_process**](docs/DefaultApi.md#post_investors_investor_id_delete_investment_process) | **POST** /investors/{investor_id}/delete_investment/process | Delete investment
469
470
  *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
470
471
  *DealMakerAPI::DefaultApi* | [**post_webhooks**](docs/DefaultApi.md#post_webhooks) | **POST** /webhooks | Creates a webhook subscription which is associated to the user
471
472
  *DealMakerAPI::DefaultApi* | [**put_webhooks_id**](docs/DefaultApi.md#put_webhooks_id) | **PUT** /webhooks/{id} | Updates webhook subscription and webhooks subcription deals
data/docs/DefaultApi.md CHANGED
@@ -21,6 +21,7 @@ All URIs are relative to *http://api.dealmaker.tech*
21
21
  | [**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 |
22
22
  | [**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 |
23
23
  | [**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 |
24
+ | [**post_investors_investor_id_delete_investment_process**](DefaultApi.md#post_investors_investor_id_delete_investment_process) | **POST** /investors/{investor_id}/delete_investment/process | Delete investment |
24
25
  | [**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 |
25
26
  | [**post_webhooks**](DefaultApi.md#post_webhooks) | **POST** /webhooks | Creates a webhook subscription which is associated to the user |
26
27
  | [**put_webhooks_id**](DefaultApi.md#put_webhooks_id) | **PUT** /webhooks/{id} | Updates webhook subscription and webhooks subcription deals |
@@ -1143,6 +1144,71 @@ No authorization required
1143
1144
  - **Accept**: application/json
1144
1145
 
1145
1146
 
1147
+ ## post_investors_investor_id_delete_investment_process
1148
+
1149
+ > post_investors_investor_id_delete_investment_process(investor_id)
1150
+
1151
+ Delete investment
1152
+
1153
+ Delete investment
1154
+
1155
+ ### Examples
1156
+
1157
+ ```ruby
1158
+ require 'time'
1159
+ require 'DealMakerAPI'
1160
+ # setup authorization
1161
+ DealMakerAPI.configure do |config|end
1162
+
1163
+ api_instance = DealMakerAPI::DefaultApi.new
1164
+ investor_id = 56 # Integer |
1165
+
1166
+ begin
1167
+ # Delete investment
1168
+ api_instance.post_investors_investor_id_delete_investment_process(investor_id)
1169
+ rescue DealMakerAPI::ApiError => e
1170
+ puts "Error when calling DefaultApi->post_investors_investor_id_delete_investment_process: #{e}"
1171
+ end
1172
+ ```
1173
+
1174
+ #### Using the post_investors_investor_id_delete_investment_process_with_http_info variant
1175
+
1176
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1177
+
1178
+ > <Array(nil, Integer, Hash)> post_investors_investor_id_delete_investment_process_with_http_info(investor_id)
1179
+
1180
+ ```ruby
1181
+ begin
1182
+ # Delete investment
1183
+ data, status_code, headers = api_instance.post_investors_investor_id_delete_investment_process_with_http_info(investor_id)
1184
+ p status_code # => 2xx
1185
+ p headers # => { ... }
1186
+ p data # => nil
1187
+ rescue DealMakerAPI::ApiError => e
1188
+ puts "Error when calling DefaultApi->post_investors_investor_id_delete_investment_process_with_http_info: #{e}"
1189
+ end
1190
+ ```
1191
+
1192
+ ### Parameters
1193
+
1194
+ | Name | Type | Description | Notes |
1195
+ | ---- | ---- | ----------- | ----- |
1196
+ | **investor_id** | **Integer** | | |
1197
+
1198
+ ### Return type
1199
+
1200
+ nil (empty response body)
1201
+
1202
+ ### Authorization
1203
+
1204
+ No authorization required
1205
+
1206
+ ### HTTP request headers
1207
+
1208
+ - **Content-Type**: Not defined
1209
+ - **Accept**: Not defined
1210
+
1211
+
1146
1212
  ## post_investors_investor_id_transactions_request_refund_process
1147
1213
 
1148
1214
  > post_investors_investor_id_transactions_request_refund_process(investor_id)
@@ -1084,6 +1084,67 @@ module DealMakerAPI
1084
1084
  return data, status_code, headers
1085
1085
  end
1086
1086
 
1087
+ # Delete investment
1088
+ # Delete investment
1089
+ # @param investor_id [Integer]
1090
+ # @param [Hash] opts the optional parameters
1091
+ # @return [nil]
1092
+ def post_investors_investor_id_delete_investment_process(investor_id, opts = {})
1093
+ post_investors_investor_id_delete_investment_process_with_http_info(investor_id, opts)
1094
+ nil
1095
+ end
1096
+
1097
+ # Delete investment
1098
+ # Delete investment
1099
+ # @param investor_id [Integer]
1100
+ # @param [Hash] opts the optional parameters
1101
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1102
+ def post_investors_investor_id_delete_investment_process_with_http_info(investor_id, opts = {})
1103
+ if @api_client.config.debugging
1104
+ @api_client.config.logger.debug 'Calling API: DefaultApi.post_investors_investor_id_delete_investment_process ...'
1105
+ end
1106
+ # verify the required parameter 'investor_id' is set
1107
+ if @api_client.config.client_side_validation && investor_id.nil?
1108
+ fail ArgumentError, "Missing the required parameter 'investor_id' when calling DefaultApi.post_investors_investor_id_delete_investment_process"
1109
+ end
1110
+ # resource path
1111
+ local_var_path = '/investors/{investor_id}/delete_investment/process'.sub('{' + 'investor_id' + '}', CGI.escape(investor_id.to_s))
1112
+
1113
+ # query parameters
1114
+ query_params = opts[:query_params] || {}
1115
+
1116
+ # header parameters
1117
+ header_params = opts[:header_params] || {}
1118
+
1119
+ # form parameters
1120
+ form_params = opts[:form_params] || {}
1121
+
1122
+ # http body (model)
1123
+ post_body = opts[:debug_body]
1124
+
1125
+ # return_type
1126
+ return_type = opts[:debug_return_type]
1127
+
1128
+ # auth_names
1129
+ auth_names = opts[:debug_auth_names] || []
1130
+
1131
+ new_options = opts.merge(
1132
+ :operation => :"DefaultApi.post_investors_investor_id_delete_investment_process",
1133
+ :header_params => header_params,
1134
+ :query_params => query_params,
1135
+ :form_params => form_params,
1136
+ :body => post_body,
1137
+ :auth_names => auth_names,
1138
+ :return_type => return_type
1139
+ )
1140
+
1141
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1142
+ if @api_client.config.debugging
1143
+ @api_client.config.logger.debug "API called: DefaultApi#post_investors_investor_id_delete_investment_process\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1144
+ end
1145
+ return data, status_code, headers
1146
+ end
1147
+
1087
1148
  # Request refund for investor transactions
1088
1149
  # Request refund for investor transactions
1089
1150
  # @param investor_id [Integer]
@@ -11,5 +11,5 @@ Generator version: 7.8.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module DealMakerAPI
14
- VERSION = '0.107.3'
14
+ VERSION = '0.107.4'
15
15
  end
@@ -237,6 +237,18 @@ describe 'DefaultApi' do
237
237
  end
238
238
  end
239
239
 
240
+ # unit tests for post_investors_investor_id_delete_investment_process
241
+ # Delete investment
242
+ # Delete investment
243
+ # @param investor_id
244
+ # @param [Hash] opts the optional parameters
245
+ # @return [nil]
246
+ describe 'post_investors_investor_id_delete_investment_process test' do
247
+ it 'should work' do
248
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
249
+ end
250
+ end
251
+
240
252
  # unit tests for post_investors_investor_id_transactions_request_refund_process
241
253
  # Request refund for investor transactions
242
254
  # Request refund for investor transactions
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.107.3
4
+ version: 0.107.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - DealMaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-18 00:00:00.000000000 Z
11
+ date: 2024-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus