DealMakerAPI 0.104.3 → 0.105.2

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: adb9cbad649e6db5868ebba069589cbee333926018c58b9e9ba49faf9c21c863
4
- data.tar.gz: 392919e5d966fc56c347c5d004e60597f94c7311c8ed20b7d15b99524ca31c7d
3
+ metadata.gz: 5112eac88df13248c00c908eafb24cc0ec2867b5d2633c7e9ec3e7b2cb7f5408
4
+ data.tar.gz: 0075eb81f5e51bb41470e212625e4e51f6c0390c75ca3e65083dc3b3db226c28
5
5
  SHA512:
6
- metadata.gz: 05f0c74064392e301da6313ffaafb4fdfc46646b9fa0b691590005e4974284e2830270d78221d4b3f611fabfa37153c6e54c37f2b6acfe764b5a089c28260d0e
7
- data.tar.gz: 8d8d105104225c13c83cef3f58116a9e967b3ecb60e9163f1fa36672e34ac3a960db053159e47108816a1e6573724f43cb0ceffd90b8c2276ef7be7125ebdf8f
6
+ metadata.gz: 9e8e46d28850031faec40cf88a36f649b506c3f1df6828f627538a4f774b99300d3cf92871aa53ebeff8551629a2a163080f4a32d0ad05c2ec2ce1c4cc966807
7
+ data.tar.gz: da67a7dd7ff345c0aa4c165c8cd0378cb4e8c516b954f6e954cf245f94f0a17b7b3d595b419335df6d698742259a59c7e3eceaff7e183711235a42a7125b91a8
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.3
341
+ - Package version: 0.105.2
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.3.gem
358
+ gem install ./DealMakerAPI-0.105.2.gem
359
359
  ```
360
360
 
361
- (for development, run `gem install --dev ./DealMakerAPI-0.104.3.gem` to install the development dependencies)
361
+ (for development, run `gem install --dev ./DealMakerAPI-0.105.2.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.3'
367
+ gem 'DealMakerAPI', '~> 0.105.2'
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)
@@ -10,6 +10,7 @@
10
10
  | **value** | **Float** | Value | [optional] |
11
11
  | **link** | **String** | Link | [optional] |
12
12
  | **description** | **String** | Description | [optional] |
13
+ | **link_label** | **String** | Link Label | [optional] |
13
14
 
14
15
  ## Example
15
16
 
@@ -22,7 +23,8 @@ instance = DealMakerAPI::V1EntitiesDealsProgressPageSummaryItem.new(
22
23
  negative: null,
23
24
  value: null,
24
25
  link: null,
25
- description: null
26
+ description: null,
27
+ link_label: null
26
28
  )
27
29
  ```
28
30
 
@@ -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]
@@ -33,6 +33,9 @@ module DealMakerAPI
33
33
  # Description
34
34
  attr_accessor :description
35
35
 
36
+ # Link Label
37
+ attr_accessor :link_label
38
+
36
39
  # Attribute mapping from ruby-style variable name to JSON key.
37
40
  def self.attribute_map
38
41
  {
@@ -41,7 +44,8 @@ module DealMakerAPI
41
44
  :'negative' => :'negative',
42
45
  :'value' => :'value',
43
46
  :'link' => :'link',
44
- :'description' => :'description'
47
+ :'description' => :'description',
48
+ :'link_label' => :'link_label'
45
49
  }
46
50
  end
47
51
 
@@ -58,7 +62,8 @@ module DealMakerAPI
58
62
  :'negative' => :'Boolean',
59
63
  :'value' => :'Float',
60
64
  :'link' => :'String',
61
- :'description' => :'String'
65
+ :'description' => :'String',
66
+ :'link_label' => :'String'
62
67
  }
63
68
  end
64
69
 
@@ -106,6 +111,10 @@ module DealMakerAPI
106
111
  if attributes.key?(:'description')
107
112
  self.description = attributes[:'description']
108
113
  end
114
+
115
+ if attributes.key?(:'link_label')
116
+ self.link_label = attributes[:'link_label']
117
+ end
109
118
  end
110
119
 
111
120
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -133,7 +142,8 @@ module DealMakerAPI
133
142
  negative == o.negative &&
134
143
  value == o.value &&
135
144
  link == o.link &&
136
- description == o.description
145
+ description == o.description &&
146
+ link_label == o.link_label
137
147
  end
138
148
 
139
149
  # @see the `==` method
@@ -145,7 +155,7 @@ module DealMakerAPI
145
155
  # Calculates hash code according to all attributes.
146
156
  # @return [Integer] Hash code
147
157
  def hash
148
- [label, highlighted, negative, value, link, description].hash
158
+ [label, highlighted, negative, value, link, description, link_label].hash
149
159
  end
150
160
 
151
161
  # 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.3'
14
+ VERSION = '0.105.2'
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
@@ -63,4 +63,10 @@ describe DealMakerAPI::V1EntitiesDealsProgressPageSummaryItem do
63
63
  end
64
64
  end
65
65
 
66
+ describe 'test attribute "link_label"' 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
+
66
72
  end
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.3
4
+ version: 0.105.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-06-03 00:00:00.000000000 Z
11
+ date: 2024-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus