DealMakerAPI 0.103.6 → 0.104.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 +9 -5
- data/docs/DefaultApi.md +12 -14
- data/docs/UserApi.md +135 -0
- data/docs/V1EntitiesDealsProgress.md +2 -2
- data/docs/V1EntitiesDealsProgressKinds.md +22 -0
- data/docs/V1EntitiesDeleteResult.md +20 -0
- data/docs/V1EntitiesUsersTwoFactorChannel.md +1 -1
- data/lib/DealMakerAPI/api/default_api.rb +10 -21
- data/lib/DealMakerAPI/api/user_api.rb +130 -0
- data/lib/DealMakerAPI/models/v1_entities_deals_progress.rb +4 -4
- data/lib/DealMakerAPI/models/v1_entities_deals_progress_kinds.rb +232 -0
- data/lib/DealMakerAPI/models/v1_entities_delete_result.rb +226 -0
- data/lib/DealMakerAPI/models/v1_entities_users_two_factor_channel.rb +1 -1
- data/lib/DealMakerAPI/version.rb +1 -1
- data/lib/DealMakerAPI.rb +2 -0
- data/spec/api/default_api_spec.rb +3 -4
- data/spec/api/user_api_spec.rb +25 -0
- data/spec/models/v1_entities_deals_progress_kinds_spec.rb +48 -0
- data/spec/models/v1_entities_delete_result_spec.rb +42 -0
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c1de153c793d5a5ca8a5e6295679643d8d10292c390abd4cd9406ea7d6478cc
|
4
|
+
data.tar.gz: 7fb4740050b8cc726a4e124f7457201826ffda87aeec3db2e6cfd200ce96113d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a73c5f0cfaa4c2c1b754822b604c356af9d306a313266281ebb47499fce0a5dd721b5137c28fba7743a63e5b383ae2a08906b540116266e7986c71c01f2ea1cd
|
7
|
+
data.tar.gz: d244f8a4f16e8682ba15eb0a3c5c8ead76908186d74f8148a1904e208cf1ef1b8cf797f563f9cd38a1f9bae60078a87b3bb522bdcde0d1220214aa2896db081e
|
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.104.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.104.1.gem
|
359
359
|
```
|
360
360
|
|
361
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.
|
361
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.104.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.104.1'
|
368
368
|
|
369
369
|
### Install from Git
|
370
370
|
|
@@ -448,7 +448,7 @@ Class | Method | HTTP request | Description
|
|
448
448
|
*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
|
449
449
|
*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
|
450
450
|
*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
|
451
|
-
*DealMakerAPI::DefaultApi* | [**
|
451
|
+
*DealMakerAPI::DefaultApi* | [**get_deals_id_progress_page**](docs/DefaultApi.md#get_deals_id_progress_page) | **GET** /deals/{id}/progress_page | Get deal progress
|
452
452
|
*DealMakerAPI::DefaultApi* | [**get_deals_id_progress_page_summary**](docs/DefaultApi.md#get_deals_id_progress_page_summary) | **GET** /deals/{id}/progress_page/summary | Get the deal progress summary
|
453
453
|
*DealMakerAPI::DefaultApi* | [**get_deals_id_summary**](docs/DefaultApi.md#get_deals_id_summary) | **GET** /deals/{id}/summary | Get Deal Overview
|
454
454
|
*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
|
@@ -499,6 +499,8 @@ Class | Method | HTTP request | Description
|
|
499
499
|
*DealMakerAPI::ShareholderApi* | [**get_shareholders_tags**](docs/ShareholderApi.md#get_shareholders_tags) | **GET** /companies/{id}/shareholders/tags | Get a company shareholders list grouped by tags
|
500
500
|
*DealMakerAPI::UploadApi* | [**generate_url**](docs/UploadApi.md#generate_url) | **POST** /uploads/generate_url | Create a presigned URL for Amazon S3
|
501
501
|
*DealMakerAPI::UserApi* | [**create_factor**](docs/UserApi.md#create_factor) | **POST** /users/{id}/create_factor | Creates an API endpoint for creating a new TOTP factor
|
502
|
+
*DealMakerAPI::UserApi* | [**delete_channel**](docs/UserApi.md#delete_channel) | **DELETE** /users/{id}/two_factor_channels/delete/{channel} | Creates an API endpoint to delete a specific two factor channel\"
|
503
|
+
*DealMakerAPI::UserApi* | [**disable_mfa**](docs/UserApi.md#disable_mfa) | **DELETE** /users/{id}/disable_mfa | Disable all the multi-factor authentication integrations for a user
|
502
504
|
*DealMakerAPI::UserApi* | [**get_two_factor_channels**](docs/UserApi.md#get_two_factor_channels) | **GET** /users/{id}/two_factor_channels | Creates an API endpoint to return a list of existing TOTP factor
|
503
505
|
*DealMakerAPI::UserApi* | [**get_user**](docs/UserApi.md#get_user) | **GET** /users/{id} | Get user by User ID
|
504
506
|
*DealMakerAPI::UserApi* | [**setup_sms_verification**](docs/UserApi.md#setup_sms_verification) | **POST** /users/{id}/setup_sms_verification | Start a setup for a SMS Verification by creating a two factor channel of sms type
|
@@ -580,7 +582,9 @@ Class | Method | HTTP request | Description
|
|
580
582
|
- [DealMakerAPI::V1EntitiesDealsPriceDetails](docs/V1EntitiesDealsPriceDetails.md)
|
581
583
|
- [DealMakerAPI::V1EntitiesDealsProgress](docs/V1EntitiesDealsProgress.md)
|
582
584
|
- [DealMakerAPI::V1EntitiesDealsProgressColumn](docs/V1EntitiesDealsProgressColumn.md)
|
585
|
+
- [DealMakerAPI::V1EntitiesDealsProgressKinds](docs/V1EntitiesDealsProgressKinds.md)
|
583
586
|
- [DealMakerAPI::V1EntitiesDealsProgressPageSummary](docs/V1EntitiesDealsProgressPageSummary.md)
|
587
|
+
- [DealMakerAPI::V1EntitiesDeleteResult](docs/V1EntitiesDeleteResult.md)
|
584
588
|
- [DealMakerAPI::V1EntitiesDividend](docs/V1EntitiesDividend.md)
|
585
589
|
- [DealMakerAPI::V1EntitiesDividends](docs/V1EntitiesDividends.md)
|
586
590
|
- [DealMakerAPI::V1EntitiesEmailEvent](docs/V1EntitiesEmailEvent.md)
|
data/docs/DefaultApi.md
CHANGED
@@ -8,7 +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
|
-
| [**
|
11
|
+
| [**get_deals_id_progress_page**](DefaultApi.md#get_deals_id_progress_page) | **GET** /deals/{id}/progress_page | Get deal progress |
|
12
12
|
| [**get_deals_id_progress_page_summary**](DefaultApi.md#get_deals_id_progress_page_summary) | **GET** /deals/{id}/progress_page/summary | Get the deal progress summary |
|
13
13
|
| [**get_deals_id_summary**](DefaultApi.md#get_deals_id_summary) | **GET** /deals/{id}/summary | Get Deal Overview |
|
14
14
|
| [**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 |
|
@@ -289,11 +289,11 @@ No authorization required
|
|
289
289
|
- **Accept**: application/json
|
290
290
|
|
291
291
|
|
292
|
-
##
|
292
|
+
## get_deals_id_progress_page
|
293
293
|
|
294
|
-
> <V1EntitiesDealsProgress>
|
294
|
+
> <V1EntitiesDealsProgress> get_deals_id_progress_page(id)
|
295
295
|
|
296
|
-
Get deal progress
|
296
|
+
Get deal progress
|
297
297
|
|
298
298
|
Get deal progress
|
299
299
|
|
@@ -307,32 +307,31 @@ DealMakerAPI.configure do |config|end
|
|
307
307
|
|
308
308
|
api_instance = DealMakerAPI::DefaultApi.new
|
309
309
|
id = 56 # Integer | The deal id.
|
310
|
-
kind = 'investment_amount' # String | Kind of progress.
|
311
310
|
|
312
311
|
begin
|
313
|
-
# Get deal progress
|
314
|
-
result = api_instance.
|
312
|
+
# Get deal progress
|
313
|
+
result = api_instance.get_deals_id_progress_page(id)
|
315
314
|
p result
|
316
315
|
rescue DealMakerAPI::ApiError => e
|
317
|
-
puts "Error when calling DefaultApi->
|
316
|
+
puts "Error when calling DefaultApi->get_deals_id_progress_page: #{e}"
|
318
317
|
end
|
319
318
|
```
|
320
319
|
|
321
|
-
#### Using the
|
320
|
+
#### Using the get_deals_id_progress_page_with_http_info variant
|
322
321
|
|
323
322
|
This returns an Array which contains the response data, status code and headers.
|
324
323
|
|
325
|
-
> <Array(<V1EntitiesDealsProgress>, Integer, Hash)>
|
324
|
+
> <Array(<V1EntitiesDealsProgress>, Integer, Hash)> get_deals_id_progress_page_with_http_info(id)
|
326
325
|
|
327
326
|
```ruby
|
328
327
|
begin
|
329
|
-
# Get deal progress
|
330
|
-
data, status_code, headers = api_instance.
|
328
|
+
# Get deal progress
|
329
|
+
data, status_code, headers = api_instance.get_deals_id_progress_page_with_http_info(id)
|
331
330
|
p status_code # => 2xx
|
332
331
|
p headers # => { ... }
|
333
332
|
p data # => <V1EntitiesDealsProgress>
|
334
333
|
rescue DealMakerAPI::ApiError => e
|
335
|
-
puts "Error when calling DefaultApi->
|
334
|
+
puts "Error when calling DefaultApi->get_deals_id_progress_page_with_http_info: #{e}"
|
336
335
|
end
|
337
336
|
```
|
338
337
|
|
@@ -341,7 +340,6 @@ end
|
|
341
340
|
| Name | Type | Description | Notes |
|
342
341
|
| ---- | ---- | ----------- | ----- |
|
343
342
|
| **id** | **Integer** | The deal id. | |
|
344
|
-
| **kind** | **String** | Kind of progress. | |
|
345
343
|
|
346
344
|
### Return type
|
347
345
|
|
data/docs/UserApi.md
CHANGED
@@ -5,6 +5,8 @@ All URIs are relative to *http://api.dealmaker.tech*
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**create_factor**](UserApi.md#create_factor) | **POST** /users/{id}/create_factor | Creates an API endpoint for creating a new TOTP factor |
|
8
|
+
| [**delete_channel**](UserApi.md#delete_channel) | **DELETE** /users/{id}/two_factor_channels/delete/{channel} | Creates an API endpoint to delete a specific two factor channel\" |
|
9
|
+
| [**disable_mfa**](UserApi.md#disable_mfa) | **DELETE** /users/{id}/disable_mfa | Disable all the multi-factor authentication integrations for a user |
|
8
10
|
| [**get_two_factor_channels**](UserApi.md#get_two_factor_channels) | **GET** /users/{id}/two_factor_channels | Creates an API endpoint to return a list of existing TOTP factor |
|
9
11
|
| [**get_user**](UserApi.md#get_user) | **GET** /users/{id} | Get user by User ID |
|
10
12
|
| [**setup_sms_verification**](UserApi.md#setup_sms_verification) | **POST** /users/{id}/setup_sms_verification | Start a setup for a SMS Verification by creating a two factor channel of sms type |
|
@@ -79,6 +81,139 @@ No authorization required
|
|
79
81
|
- **Accept**: application/json
|
80
82
|
|
81
83
|
|
84
|
+
## delete_channel
|
85
|
+
|
86
|
+
> <V1EntitiesDeleteResult> delete_channel(id, channel)
|
87
|
+
|
88
|
+
Creates an API endpoint to delete a specific two factor channel\"
|
89
|
+
|
90
|
+
Create an API endpoint to delete a specific two factor channel
|
91
|
+
|
92
|
+
### Examples
|
93
|
+
|
94
|
+
```ruby
|
95
|
+
require 'time'
|
96
|
+
require 'DealMakerAPI'
|
97
|
+
# setup authorization
|
98
|
+
DealMakerAPI.configure do |config|end
|
99
|
+
|
100
|
+
api_instance = DealMakerAPI::UserApi.new
|
101
|
+
id = 56 # Integer |
|
102
|
+
channel = 56 # Integer |
|
103
|
+
|
104
|
+
begin
|
105
|
+
# Creates an API endpoint to delete a specific two factor channel\"
|
106
|
+
result = api_instance.delete_channel(id, channel)
|
107
|
+
p result
|
108
|
+
rescue DealMakerAPI::ApiError => e
|
109
|
+
puts "Error when calling UserApi->delete_channel: #{e}"
|
110
|
+
end
|
111
|
+
```
|
112
|
+
|
113
|
+
#### Using the delete_channel_with_http_info variant
|
114
|
+
|
115
|
+
This returns an Array which contains the response data, status code and headers.
|
116
|
+
|
117
|
+
> <Array(<V1EntitiesDeleteResult>, Integer, Hash)> delete_channel_with_http_info(id, channel)
|
118
|
+
|
119
|
+
```ruby
|
120
|
+
begin
|
121
|
+
# Creates an API endpoint to delete a specific two factor channel\"
|
122
|
+
data, status_code, headers = api_instance.delete_channel_with_http_info(id, channel)
|
123
|
+
p status_code # => 2xx
|
124
|
+
p headers # => { ... }
|
125
|
+
p data # => <V1EntitiesDeleteResult>
|
126
|
+
rescue DealMakerAPI::ApiError => e
|
127
|
+
puts "Error when calling UserApi->delete_channel_with_http_info: #{e}"
|
128
|
+
end
|
129
|
+
```
|
130
|
+
|
131
|
+
### Parameters
|
132
|
+
|
133
|
+
| Name | Type | Description | Notes |
|
134
|
+
| ---- | ---- | ----------- | ----- |
|
135
|
+
| **id** | **Integer** | | |
|
136
|
+
| **channel** | **Integer** | | |
|
137
|
+
|
138
|
+
### Return type
|
139
|
+
|
140
|
+
[**V1EntitiesDeleteResult**](V1EntitiesDeleteResult.md)
|
141
|
+
|
142
|
+
### Authorization
|
143
|
+
|
144
|
+
No authorization required
|
145
|
+
|
146
|
+
### HTTP request headers
|
147
|
+
|
148
|
+
- **Content-Type**: Not defined
|
149
|
+
- **Accept**: application/json
|
150
|
+
|
151
|
+
|
152
|
+
## disable_mfa
|
153
|
+
|
154
|
+
> disable_mfa(id)
|
155
|
+
|
156
|
+
Disable all the multi-factor authentication integrations for a user
|
157
|
+
|
158
|
+
Disable all the multi-factor authentication integrations for a user
|
159
|
+
|
160
|
+
### Examples
|
161
|
+
|
162
|
+
```ruby
|
163
|
+
require 'time'
|
164
|
+
require 'DealMakerAPI'
|
165
|
+
# setup authorization
|
166
|
+
DealMakerAPI.configure do |config|end
|
167
|
+
|
168
|
+
api_instance = DealMakerAPI::UserApi.new
|
169
|
+
id = 56 # Integer |
|
170
|
+
|
171
|
+
begin
|
172
|
+
# Disable all the multi-factor authentication integrations for a user
|
173
|
+
api_instance.disable_mfa(id)
|
174
|
+
rescue DealMakerAPI::ApiError => e
|
175
|
+
puts "Error when calling UserApi->disable_mfa: #{e}"
|
176
|
+
end
|
177
|
+
```
|
178
|
+
|
179
|
+
#### Using the disable_mfa_with_http_info variant
|
180
|
+
|
181
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
182
|
+
|
183
|
+
> <Array(nil, Integer, Hash)> disable_mfa_with_http_info(id)
|
184
|
+
|
185
|
+
```ruby
|
186
|
+
begin
|
187
|
+
# Disable all the multi-factor authentication integrations for a user
|
188
|
+
data, status_code, headers = api_instance.disable_mfa_with_http_info(id)
|
189
|
+
p status_code # => 2xx
|
190
|
+
p headers # => { ... }
|
191
|
+
p data # => nil
|
192
|
+
rescue DealMakerAPI::ApiError => e
|
193
|
+
puts "Error when calling UserApi->disable_mfa_with_http_info: #{e}"
|
194
|
+
end
|
195
|
+
```
|
196
|
+
|
197
|
+
### Parameters
|
198
|
+
|
199
|
+
| Name | Type | Description | Notes |
|
200
|
+
| ---- | ---- | ----------- | ----- |
|
201
|
+
| **id** | **Integer** | | |
|
202
|
+
|
203
|
+
### Return type
|
204
|
+
|
205
|
+
nil (empty response body)
|
206
|
+
|
207
|
+
### Authorization
|
208
|
+
|
209
|
+
No authorization required
|
210
|
+
|
211
|
+
### HTTP request headers
|
212
|
+
|
213
|
+
- **Content-Type**: Not defined
|
214
|
+
- **Accept**: Not defined
|
215
|
+
|
216
|
+
|
82
217
|
## get_two_factor_channels
|
83
218
|
|
84
219
|
> <V1EntitiesUsersTwoFactorChannels> get_two_factor_channels(id)
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **investor_funnel** | [**
|
8
|
-
| **incoming_payments** | [**
|
7
|
+
| **investor_funnel** | [**V1EntitiesDealsProgressKinds**](V1EntitiesDealsProgressKinds.md) | | [optional] |
|
8
|
+
| **incoming_payments** | [**V1EntitiesDealsProgressKinds**](V1EntitiesDealsProgressKinds.md) | | [optional] |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# DealMakerAPI::V1EntitiesDealsProgressKinds
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **investment_amount** | [**V1EntitiesDealsProgressColumn**](V1EntitiesDealsProgressColumn.md) | | [optional] |
|
8
|
+
| **number_of_investments** | [**V1EntitiesDealsProgressColumn**](V1EntitiesDealsProgressColumn.md) | | [optional] |
|
9
|
+
| **number_of_securities** | [**V1EntitiesDealsProgressColumn**](V1EntitiesDealsProgressColumn.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'DealMakerAPI'
|
15
|
+
|
16
|
+
instance = DealMakerAPI::V1EntitiesDealsProgressKinds.new(
|
17
|
+
investment_amount: null,
|
18
|
+
number_of_investments: null,
|
19
|
+
number_of_securities: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# DealMakerAPI::V1EntitiesDeleteResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **success** | **Boolean** | The status of the request. | [optional] |
|
8
|
+
| **message** | **String** | The message of the request. | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'DealMakerAPI'
|
14
|
+
|
15
|
+
instance = DealMakerAPI::V1EntitiesDeleteResult.new(
|
16
|
+
success: null,
|
17
|
+
message: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -8,7 +8,7 @@
|
|
8
8
|
| **factor_sid** | **String** | The unique string for the resource | [optional] |
|
9
9
|
| **user_id** | **Integer** | The user id for the two factor channel. | [optional] |
|
10
10
|
| **identity** | **String** | The identity for the two factor channel. | [optional] |
|
11
|
-
| **phone_number** | **String** | The phone number
|
11
|
+
| **phone_number** | **String** | The phone number for the two factor channel. | [optional] |
|
12
12
|
| **channel** | **String** | The channel for the two factor channel. | [optional] |
|
13
13
|
| **verified** | **Boolean** | The verification status for the two factor channel. | [optional] |
|
14
14
|
| **updated_at** | **String** | The time since the two factor channel was last updated/verified. | [optional] |
|
@@ -277,42 +277,31 @@ module DealMakerAPI
|
|
277
277
|
return data, status_code, headers
|
278
278
|
end
|
279
279
|
|
280
|
-
# Get deal progress
|
280
|
+
# Get deal progress
|
281
281
|
# Get deal progress
|
282
282
|
# @param id [Integer] The deal id.
|
283
|
-
# @param kind [String] Kind of progress.
|
284
283
|
# @param [Hash] opts the optional parameters
|
285
284
|
# @return [V1EntitiesDealsProgress]
|
286
|
-
def
|
287
|
-
data, _status_code, _headers =
|
285
|
+
def get_deals_id_progress_page(id, opts = {})
|
286
|
+
data, _status_code, _headers = get_deals_id_progress_page_with_http_info(id, opts)
|
288
287
|
data
|
289
288
|
end
|
290
289
|
|
291
|
-
# Get deal progress
|
290
|
+
# Get deal progress
|
292
291
|
# Get deal progress
|
293
292
|
# @param id [Integer] The deal id.
|
294
|
-
# @param kind [String] Kind of progress.
|
295
293
|
# @param [Hash] opts the optional parameters
|
296
294
|
# @return [Array<(V1EntitiesDealsProgress, Integer, Hash)>] V1EntitiesDealsProgress data, response status code and response headers
|
297
|
-
def
|
295
|
+
def get_deals_id_progress_page_with_http_info(id, opts = {})
|
298
296
|
if @api_client.config.debugging
|
299
|
-
@api_client.config.logger.debug 'Calling API: DefaultApi.
|
297
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_deals_id_progress_page ...'
|
300
298
|
end
|
301
299
|
# verify the required parameter 'id' is set
|
302
300
|
if @api_client.config.client_side_validation && id.nil?
|
303
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.
|
304
|
-
end
|
305
|
-
# verify the required parameter 'kind' is set
|
306
|
-
if @api_client.config.client_side_validation && kind.nil?
|
307
|
-
fail ArgumentError, "Missing the required parameter 'kind' when calling DefaultApi.get_deals_id_progress_page_kind"
|
308
|
-
end
|
309
|
-
# verify enum value
|
310
|
-
allowable_values = ["investment_amount", "number_of_securities", "number_of_investments"]
|
311
|
-
if @api_client.config.client_side_validation && !allowable_values.include?(kind)
|
312
|
-
fail ArgumentError, "invalid value for \"kind\", must be one of #{allowable_values}"
|
301
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_deals_id_progress_page"
|
313
302
|
end
|
314
303
|
# resource path
|
315
|
-
local_var_path = '/deals/{id}/progress_page
|
304
|
+
local_var_path = '/deals/{id}/progress_page'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
316
305
|
|
317
306
|
# query parameters
|
318
307
|
query_params = opts[:query_params] || {}
|
@@ -335,7 +324,7 @@ module DealMakerAPI
|
|
335
324
|
auth_names = opts[:debug_auth_names] || []
|
336
325
|
|
337
326
|
new_options = opts.merge(
|
338
|
-
:operation => :"DefaultApi.
|
327
|
+
:operation => :"DefaultApi.get_deals_id_progress_page",
|
339
328
|
:header_params => header_params,
|
340
329
|
:query_params => query_params,
|
341
330
|
:form_params => form_params,
|
@@ -346,7 +335,7 @@ module DealMakerAPI
|
|
346
335
|
|
347
336
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
348
337
|
if @api_client.config.debugging
|
349
|
-
@api_client.config.logger.debug "API called: DefaultApi#
|
338
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_deals_id_progress_page\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
350
339
|
end
|
351
340
|
return data, status_code, headers
|
352
341
|
end
|
@@ -82,6 +82,136 @@ module DealMakerAPI
|
|
82
82
|
return data, status_code, headers
|
83
83
|
end
|
84
84
|
|
85
|
+
# Creates an API endpoint to delete a specific two factor channel\"
|
86
|
+
# Create an API endpoint to delete a specific two factor channel
|
87
|
+
# @param id [Integer]
|
88
|
+
# @param channel [Integer]
|
89
|
+
# @param [Hash] opts the optional parameters
|
90
|
+
# @return [V1EntitiesDeleteResult]
|
91
|
+
def delete_channel(id, channel, opts = {})
|
92
|
+
data, _status_code, _headers = delete_channel_with_http_info(id, channel, opts)
|
93
|
+
data
|
94
|
+
end
|
95
|
+
|
96
|
+
# Creates an API endpoint to delete a specific two factor channel\"
|
97
|
+
# Create an API endpoint to delete a specific two factor channel
|
98
|
+
# @param id [Integer]
|
99
|
+
# @param channel [Integer]
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @return [Array<(V1EntitiesDeleteResult, Integer, Hash)>] V1EntitiesDeleteResult data, response status code and response headers
|
102
|
+
def delete_channel_with_http_info(id, channel, opts = {})
|
103
|
+
if @api_client.config.debugging
|
104
|
+
@api_client.config.logger.debug 'Calling API: UserApi.delete_channel ...'
|
105
|
+
end
|
106
|
+
# verify the required parameter 'id' is set
|
107
|
+
if @api_client.config.client_side_validation && id.nil?
|
108
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling UserApi.delete_channel"
|
109
|
+
end
|
110
|
+
# verify the required parameter 'channel' is set
|
111
|
+
if @api_client.config.client_side_validation && channel.nil?
|
112
|
+
fail ArgumentError, "Missing the required parameter 'channel' when calling UserApi.delete_channel"
|
113
|
+
end
|
114
|
+
# resource path
|
115
|
+
local_var_path = '/users/{id}/two_factor_channels/delete/{channel}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'channel' + '}', CGI.escape(channel.to_s))
|
116
|
+
|
117
|
+
# query parameters
|
118
|
+
query_params = opts[:query_params] || {}
|
119
|
+
|
120
|
+
# header parameters
|
121
|
+
header_params = opts[:header_params] || {}
|
122
|
+
# HTTP header 'Accept' (if needed)
|
123
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
124
|
+
|
125
|
+
# form parameters
|
126
|
+
form_params = opts[:form_params] || {}
|
127
|
+
|
128
|
+
# http body (model)
|
129
|
+
post_body = opts[:debug_body]
|
130
|
+
|
131
|
+
# return_type
|
132
|
+
return_type = opts[:debug_return_type] || 'V1EntitiesDeleteResult'
|
133
|
+
|
134
|
+
# auth_names
|
135
|
+
auth_names = opts[:debug_auth_names] || []
|
136
|
+
|
137
|
+
new_options = opts.merge(
|
138
|
+
:operation => :"UserApi.delete_channel",
|
139
|
+
:header_params => header_params,
|
140
|
+
:query_params => query_params,
|
141
|
+
:form_params => form_params,
|
142
|
+
:body => post_body,
|
143
|
+
:auth_names => auth_names,
|
144
|
+
:return_type => return_type
|
145
|
+
)
|
146
|
+
|
147
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
148
|
+
if @api_client.config.debugging
|
149
|
+
@api_client.config.logger.debug "API called: UserApi#delete_channel\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
150
|
+
end
|
151
|
+
return data, status_code, headers
|
152
|
+
end
|
153
|
+
|
154
|
+
# Disable all the multi-factor authentication integrations for a user
|
155
|
+
# Disable all the multi-factor authentication integrations for a user
|
156
|
+
# @param id [Integer]
|
157
|
+
# @param [Hash] opts the optional parameters
|
158
|
+
# @return [nil]
|
159
|
+
def disable_mfa(id, opts = {})
|
160
|
+
disable_mfa_with_http_info(id, opts)
|
161
|
+
nil
|
162
|
+
end
|
163
|
+
|
164
|
+
# Disable all the multi-factor authentication integrations for a user
|
165
|
+
# Disable all the multi-factor authentication integrations for a user
|
166
|
+
# @param id [Integer]
|
167
|
+
# @param [Hash] opts the optional parameters
|
168
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
169
|
+
def disable_mfa_with_http_info(id, opts = {})
|
170
|
+
if @api_client.config.debugging
|
171
|
+
@api_client.config.logger.debug 'Calling API: UserApi.disable_mfa ...'
|
172
|
+
end
|
173
|
+
# verify the required parameter 'id' is set
|
174
|
+
if @api_client.config.client_side_validation && id.nil?
|
175
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling UserApi.disable_mfa"
|
176
|
+
end
|
177
|
+
# resource path
|
178
|
+
local_var_path = '/users/{id}/disable_mfa'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
179
|
+
|
180
|
+
# query parameters
|
181
|
+
query_params = opts[:query_params] || {}
|
182
|
+
|
183
|
+
# header parameters
|
184
|
+
header_params = opts[:header_params] || {}
|
185
|
+
|
186
|
+
# form parameters
|
187
|
+
form_params = opts[:form_params] || {}
|
188
|
+
|
189
|
+
# http body (model)
|
190
|
+
post_body = opts[:debug_body]
|
191
|
+
|
192
|
+
# return_type
|
193
|
+
return_type = opts[:debug_return_type]
|
194
|
+
|
195
|
+
# auth_names
|
196
|
+
auth_names = opts[:debug_auth_names] || []
|
197
|
+
|
198
|
+
new_options = opts.merge(
|
199
|
+
:operation => :"UserApi.disable_mfa",
|
200
|
+
:header_params => header_params,
|
201
|
+
:query_params => query_params,
|
202
|
+
:form_params => form_params,
|
203
|
+
:body => post_body,
|
204
|
+
:auth_names => auth_names,
|
205
|
+
:return_type => return_type
|
206
|
+
)
|
207
|
+
|
208
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
209
|
+
if @api_client.config.debugging
|
210
|
+
@api_client.config.logger.debug "API called: UserApi#disable_mfa\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
211
|
+
end
|
212
|
+
return data, status_code, headers
|
213
|
+
end
|
214
|
+
|
85
215
|
# Creates an API endpoint to return a list of existing TOTP factor
|
86
216
|
# Create an API endpoint to return a list of existing TOTP factor
|
87
217
|
# @param id [Integer]
|
@@ -23,8 +23,8 @@ module DealMakerAPI
|
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
24
|
def self.attribute_map
|
25
25
|
{
|
26
|
-
:'investor_funnel' => :'
|
27
|
-
:'incoming_payments' => :'
|
26
|
+
:'investor_funnel' => :'investorFunnel',
|
27
|
+
:'incoming_payments' => :'incomingPayments'
|
28
28
|
}
|
29
29
|
end
|
30
30
|
|
@@ -36,8 +36,8 @@ module DealMakerAPI
|
|
36
36
|
# Attribute type mapping.
|
37
37
|
def self.openapi_types
|
38
38
|
{
|
39
|
-
:'investor_funnel' => :'
|
40
|
-
:'incoming_payments' => :'
|
39
|
+
:'investor_funnel' => :'V1EntitiesDealsProgressKinds',
|
40
|
+
:'incoming_payments' => :'V1EntitiesDealsProgressKinds'
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|