DealMakerAPI 0.84.1 → 0.84.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -5
  3. data/docs/CompanyApi.md +161 -13
  4. data/docs/CreateShareholderActionRequest.md +20 -0
  5. data/docs/DealsApi.md +75 -0
  6. data/docs/PutDealsIdScriptTagEnvironmentRequest.md +18 -0
  7. data/docs/V1EntitiesBulkUpload.md +6 -0
  8. data/docs/V1EntitiesBulkUploadDetail.md +2 -0
  9. data/docs/V1EntitiesDealIssuer.md +3 -1
  10. data/docs/V1EntitiesGenericResponse.md +20 -0
  11. data/docs/V1EntitiesInvestor.md +1 -1
  12. data/lib/DealMakerAPI/api/company_api.rb +171 -13
  13. data/lib/DealMakerAPI/api/deals_api.rb +94 -0
  14. data/lib/DealMakerAPI/models/create_individual_profile_request.rb +2 -2
  15. data/lib/DealMakerAPI/models/create_joint_profile_request.rb +2 -2
  16. data/lib/DealMakerAPI/models/create_shareholder_action_request.rb +239 -0
  17. data/lib/DealMakerAPI/models/patch_individual_profile_request.rb +2 -2
  18. data/lib/DealMakerAPI/models/patch_joint_profile_request.rb +2 -2
  19. data/lib/DealMakerAPI/models/put_deals_id_script_tag_environment_request.rb +222 -0
  20. data/lib/DealMakerAPI/models/v1_entities_bulk_upload.rb +31 -1
  21. data/lib/DealMakerAPI/models/v1_entities_bulk_upload_detail.rb +11 -1
  22. data/lib/DealMakerAPI/models/v1_entities_deal_issuer.rb +14 -4
  23. data/lib/DealMakerAPI/models/v1_entities_generic_response.rb +226 -0
  24. data/lib/DealMakerAPI/models/v1_entities_investor.rb +1 -1
  25. data/lib/DealMakerAPI/version.rb +1 -1
  26. data/lib/DealMakerAPI.rb +4 -0
  27. data/spec/api/company_api_spec.rb +34 -4
  28. data/spec/api/deals_api_spec.rb +48 -0
  29. data/spec/models/create_individual_profile_request_spec.rb +1 -1
  30. data/spec/models/create_joint_profile_request_spec.rb +1 -1
  31. data/spec/models/create_shareholder_action_request_spec.rb +40 -0
  32. data/spec/models/patch_individual_profile_request_spec.rb +1 -1
  33. data/spec/models/patch_joint_profile_request_spec.rb +1 -1
  34. data/spec/models/put_deals_id_script_tag_environment_request_spec.rb +34 -0
  35. data/spec/models/v1_entities_bulk_upload_detail_spec.rb +6 -0
  36. data/spec/models/v1_entities_bulk_upload_spec.rb +18 -0
  37. data/spec/models/v1_entities_deal_issuer_spec.rb +6 -0
  38. data/spec/models/v1_entities_generic_response_spec.rb +40 -0
  39. metadata +18 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8bf8eeb48a326ca7564d8d90a708781da95f409252028b26806822d5a483f116
4
- data.tar.gz: e2c021d22d82d2e66c41b08ff58f1dab555fcaee85dda4a53450bd2451c73baa
3
+ metadata.gz: 050e62b940c2cd84e5fc23491c1fb88b064a416f231c8c1d69ae815348033d99
4
+ data.tar.gz: b7a4d15633e1bd751a4780599d87654a5e880bb8fe89039d8a2e844a338a2fe1
5
5
  SHA512:
6
- metadata.gz: 28907bd6324770189c3eba7a2c92d42c3cd744c042281bfa59b4ef051c3fdb3002a393b9de21d9809e24a8981b0746241ef3c5c8821252c89acdfbade2d27882
7
- data.tar.gz: 767d37b855e7560595dd2728778413cf3cbeac6206a647eead2d5478d70a1da2f1fe03a34fe221375904f7b3d696cfb47daa455ac5802e7e4a43f23bc6046cec
6
+ metadata.gz: d00f8c7f676a643c046d85fe35ff7afb5368f54b2d431cdd5666be216ae4e3318ab47a2c470f6a5022df5ad33d5c907c8a22e1fc682d38fa77224083db34c808
7
+ data.tar.gz: 78a6d322ad75ee8882101e87b7e230fb533273a2a81dea24ec704b0a9bba862046f27eda462be54fc58b52c6d53f2df8ecefa949217a76fea9f84660a2e72dd0
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.84.1
341
+ - Package version: 0.84.4
342
342
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
343
343
 
344
344
  ## Installation
@@ -354,16 +354,16 @@ gem build DealMakerAPI.gemspec
354
354
  Then either install the gem locally:
355
355
 
356
356
  ```shell
357
- gem install ./DealMakerAPI-0.84.1.gem
357
+ gem install ./DealMakerAPI-0.84.4.gem
358
358
  ```
359
359
 
360
- (for development, run `gem install --dev ./DealMakerAPI-0.84.1.gem` to install the development dependencies)
360
+ (for development, run `gem install --dev ./DealMakerAPI-0.84.4.gem` to install the development dependencies)
361
361
 
362
362
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
363
363
 
364
364
  Finally add this to the Gemfile:
365
365
 
366
- gem 'DealMakerAPI', '~> 0.84.1'
366
+ gem 'DealMakerAPI', '~> 0.84.4'
367
367
 
368
368
  ### Install from Git
369
369
 
@@ -413,7 +413,9 @@ Class | Method | HTTP request | Description
413
413
  *DealMakerAPI::CompanyApi* | [**create_bulk_upload**](docs/CompanyApi.md#create_bulk_upload) | **POST** /companies/{id}/documents/bulk_uploads | Create bulk upload record
414
414
  *DealMakerAPI::CompanyApi* | [**create_bulk_upload_detail**](docs/CompanyApi.md#create_bulk_upload_detail) | **POST** /companies/{company_id}/documents/bulk_uploads/{bulk_upload_id}/details | Create a BulkUploadDetail class record
415
415
  *DealMakerAPI::CompanyApi* | [**create_company**](docs/CompanyApi.md#create_company) | **POST** /companies | Create new company
416
- *DealMakerAPI::CompanyApi* | [**get_bulk_upload_details**](docs/CompanyApi.md#get_bulk_upload_details) | **GET** /companies/{company_id}/documents/bulk_uploads/{bulk_upload_id}/details | Return full list of bulk upload details order by status desc and id asc
416
+ *DealMakerAPI::CompanyApi* | [**create_shareholder_action**](docs/CompanyApi.md#create_shareholder_action) | **POST** /companies/{company_id}/shareholders/{shareholder_id}/actions | Create a shareholder action
417
+ *DealMakerAPI::CompanyApi* | [**get_bulk_upload**](docs/CompanyApi.md#get_bulk_upload) | **GET** /companies/{id}/documents/bulk_uploads/{bulk_upload_id} | Return a given bulk upload by id
418
+ *DealMakerAPI::CompanyApi* | [**get_bulk_upload_details_errors**](docs/CompanyApi.md#get_bulk_upload_details_errors) | **GET** /companies/{company_id}/documents/bulk_uploads/{bulk_upload_id}/details/errors | Returns a full list of details with errors of the given bulk upload ordered by status desc and id asc
417
419
  *DealMakerAPI::CompanyApi* | [**get_bulk_uploads**](docs/CompanyApi.md#get_bulk_uploads) | **GET** /companies/{id}/documents/bulk_uploads | Return bulk uploads
418
420
  *DealMakerAPI::CompanyApi* | [**get_companies**](docs/CompanyApi.md#get_companies) | **GET** /companies | Get list of Companies
419
421
  *DealMakerAPI::CompanyApi* | [**get_company**](docs/CompanyApi.md#get_company) | **GET** /companies/{id} | Get a Company
@@ -422,6 +424,7 @@ Class | Method | HTTP request | Description
422
424
  *DealMakerAPI::DealApi* | [**get_deal**](docs/DealApi.md#get_deal) | **GET** /deals/{id} | Get deal by Deal ID
423
425
  *DealMakerAPI::DealApi* | [**list_deals**](docs/DealApi.md#list_deals) | **GET** /deals | List available deals
424
426
  *DealMakerAPI::DealSetupApi* | [**create_deal_setup**](docs/DealSetupApi.md#create_deal_setup) | **POST** /deal_setups | Create deal setup
427
+ *DealMakerAPI::DealsApi* | [**put_deals_id_script_tag_environment**](docs/DealsApi.md#put_deals_id_script_tag_environment) | **PUT** /deals/{id}/script_tag_environment | Update script tag environment for the deal.
425
428
  *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
426
429
  *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
427
430
  *DealMakerAPI::DefaultApi* | [**get_webhooks**](docs/DefaultApi.md#get_webhooks) | **GET** /webhooks | Returns a list of webhook subscription which is associated to the user
@@ -471,6 +474,7 @@ Class | Method | HTTP request | Description
471
474
  - [DealMakerAPI::CreateIndividualProfileRequest](docs/CreateIndividualProfileRequest.md)
472
475
  - [DealMakerAPI::CreateInvestorRequest](docs/CreateInvestorRequest.md)
473
476
  - [DealMakerAPI::CreateJointProfileRequest](docs/CreateJointProfileRequest.md)
477
+ - [DealMakerAPI::CreateShareholderActionRequest](docs/CreateShareholderActionRequest.md)
474
478
  - [DealMakerAPI::CreateTrustProfileRequest](docs/CreateTrustProfileRequest.md)
475
479
  - [DealMakerAPI::EditInvestorTagsRequest](docs/EditInvestorTagsRequest.md)
476
480
  - [DealMakerAPI::GenerateUrlRequest](docs/GenerateUrlRequest.md)
@@ -480,6 +484,7 @@ Class | Method | HTTP request | Description
480
484
  - [DealMakerAPI::PatchJointProfileRequest](docs/PatchJointProfileRequest.md)
481
485
  - [DealMakerAPI::PatchTrustProfileRequest](docs/PatchTrustProfileRequest.md)
482
486
  - [DealMakerAPI::PostWebhooksRequest](docs/PostWebhooksRequest.md)
487
+ - [DealMakerAPI::PutDealsIdScriptTagEnvironmentRequest](docs/PutDealsIdScriptTagEnvironmentRequest.md)
483
488
  - [DealMakerAPI::PutWebhooksIdRequest](docs/PutWebhooksIdRequest.md)
484
489
  - [DealMakerAPI::UpdateInvestorRequest](docs/UpdateInvestorRequest.md)
485
490
  - [DealMakerAPI::V1EntitiesAddress](docs/V1EntitiesAddress.md)
@@ -503,6 +508,7 @@ Class | Method | HTTP request | Description
503
508
  - [DealMakerAPI::V1EntitiesDeals](docs/V1EntitiesDeals.md)
504
509
  - [DealMakerAPI::V1EntitiesExpressWireInstruction](docs/V1EntitiesExpressWireInstruction.md)
505
510
  - [DealMakerAPI::V1EntitiesExpressWireInstructions](docs/V1EntitiesExpressWireInstructions.md)
511
+ - [DealMakerAPI::V1EntitiesGenericResponse](docs/V1EntitiesGenericResponse.md)
506
512
  - [DealMakerAPI::V1EntitiesInvestor](docs/V1EntitiesInvestor.md)
507
513
  - [DealMakerAPI::V1EntitiesInvestorOtpAccessLink](docs/V1EntitiesInvestorOtpAccessLink.md)
508
514
  - [DealMakerAPI::V1EntitiesInvestorProfileAddress](docs/V1EntitiesInvestorProfileAddress.md)
data/docs/CompanyApi.md CHANGED
@@ -7,7 +7,9 @@ All URIs are relative to *http://api.dealmaker.tech*
7
7
  | [**create_bulk_upload**](CompanyApi.md#create_bulk_upload) | **POST** /companies/{id}/documents/bulk_uploads | Create bulk upload record |
8
8
  | [**create_bulk_upload_detail**](CompanyApi.md#create_bulk_upload_detail) | **POST** /companies/{company_id}/documents/bulk_uploads/{bulk_upload_id}/details | Create a BulkUploadDetail class record |
9
9
  | [**create_company**](CompanyApi.md#create_company) | **POST** /companies | Create new company |
10
- | [**get_bulk_upload_details**](CompanyApi.md#get_bulk_upload_details) | **GET** /companies/{company_id}/documents/bulk_uploads/{bulk_upload_id}/details | Return full list of bulk upload details order by status desc and id asc |
10
+ | [**create_shareholder_action**](CompanyApi.md#create_shareholder_action) | **POST** /companies/{company_id}/shareholders/{shareholder_id}/actions | Create a shareholder action |
11
+ | [**get_bulk_upload**](CompanyApi.md#get_bulk_upload) | **GET** /companies/{id}/documents/bulk_uploads/{bulk_upload_id} | Return a given bulk upload by id |
12
+ | [**get_bulk_upload_details_errors**](CompanyApi.md#get_bulk_upload_details_errors) | **GET** /companies/{company_id}/documents/bulk_uploads/{bulk_upload_id}/details/errors | Returns a full list of details with errors of the given bulk upload ordered by status desc and id asc |
11
13
  | [**get_bulk_uploads**](CompanyApi.md#get_bulk_uploads) | **GET** /companies/{id}/documents/bulk_uploads | Return bulk uploads |
12
14
  | [**get_companies**](CompanyApi.md#get_companies) | **GET** /companies | Get list of Companies |
13
15
  | [**get_company**](CompanyApi.md#get_company) | **GET** /companies/{id} | Get a Company |
@@ -218,13 +220,159 @@ No authorization required
218
220
  - **Accept**: application/json
219
221
 
220
222
 
221
- ## get_bulk_upload_details
223
+ ## create_shareholder_action
222
224
 
223
- > <V1EntitiesBulkUploadDetails> get_bulk_upload_details(company_id, bulk_upload_id)
225
+ > <V1EntitiesGenericResponse> create_shareholder_action(company_id, shareholder_id, create_shareholder_action_request)
224
226
 
225
- Return full list of bulk upload details order by status desc and id asc
227
+ Create a shareholder action
226
228
 
227
- Return full list of bulk upload details
229
+ Create a shareholder action
230
+
231
+ ### Examples
232
+
233
+ ```ruby
234
+ require 'time'
235
+ require 'DealMakerAPI'
236
+ # setup authorization
237
+ DealMakerAPI.configure do |config|end
238
+
239
+ api_instance = DealMakerAPI::CompanyApi.new
240
+ company_id = 56 # Integer | The company id
241
+ shareholder_id = 56 # Integer | The shareholder id
242
+ create_shareholder_action_request = DealMakerAPI::CreateShareholderActionRequest.new({request_type: 'request_type_example', description: 'description_example'}) # CreateShareholderActionRequest |
243
+
244
+ begin
245
+ # Create a shareholder action
246
+ result = api_instance.create_shareholder_action(company_id, shareholder_id, create_shareholder_action_request)
247
+ p result
248
+ rescue DealMakerAPI::ApiError => e
249
+ puts "Error when calling CompanyApi->create_shareholder_action: #{e}"
250
+ end
251
+ ```
252
+
253
+ #### Using the create_shareholder_action_with_http_info variant
254
+
255
+ This returns an Array which contains the response data, status code and headers.
256
+
257
+ > <Array(<V1EntitiesGenericResponse>, Integer, Hash)> create_shareholder_action_with_http_info(company_id, shareholder_id, create_shareholder_action_request)
258
+
259
+ ```ruby
260
+ begin
261
+ # Create a shareholder action
262
+ data, status_code, headers = api_instance.create_shareholder_action_with_http_info(company_id, shareholder_id, create_shareholder_action_request)
263
+ p status_code # => 2xx
264
+ p headers # => { ... }
265
+ p data # => <V1EntitiesGenericResponse>
266
+ rescue DealMakerAPI::ApiError => e
267
+ puts "Error when calling CompanyApi->create_shareholder_action_with_http_info: #{e}"
268
+ end
269
+ ```
270
+
271
+ ### Parameters
272
+
273
+ | Name | Type | Description | Notes |
274
+ | ---- | ---- | ----------- | ----- |
275
+ | **company_id** | **Integer** | The company id | |
276
+ | **shareholder_id** | **Integer** | The shareholder id | |
277
+ | **create_shareholder_action_request** | [**CreateShareholderActionRequest**](CreateShareholderActionRequest.md) | | |
278
+
279
+ ### Return type
280
+
281
+ [**V1EntitiesGenericResponse**](V1EntitiesGenericResponse.md)
282
+
283
+ ### Authorization
284
+
285
+ No authorization required
286
+
287
+ ### HTTP request headers
288
+
289
+ - **Content-Type**: application/json
290
+ - **Accept**: application/json
291
+
292
+
293
+ ## get_bulk_upload
294
+
295
+ > <V1EntitiesBulkUpload> get_bulk_upload(id, bulk_upload_id, opts)
296
+
297
+ Return a given bulk upload by id
298
+
299
+ Return a given bulk upload by id
300
+
301
+ ### Examples
302
+
303
+ ```ruby
304
+ require 'time'
305
+ require 'DealMakerAPI'
306
+ # setup authorization
307
+ DealMakerAPI.configure do |config|end
308
+
309
+ api_instance = DealMakerAPI::CompanyApi.new
310
+ id = 56 # Integer |
311
+ bulk_upload_id = 56 # Integer |
312
+ opts = {
313
+ page: 56, # Integer | Page offset to fetch.
314
+ per_page: 56, # Integer | Number of results to return per page.
315
+ offset: 56 # Integer | Pad a number of results.
316
+ }
317
+
318
+ begin
319
+ # Return a given bulk upload by id
320
+ result = api_instance.get_bulk_upload(id, bulk_upload_id, opts)
321
+ p result
322
+ rescue DealMakerAPI::ApiError => e
323
+ puts "Error when calling CompanyApi->get_bulk_upload: #{e}"
324
+ end
325
+ ```
326
+
327
+ #### Using the get_bulk_upload_with_http_info variant
328
+
329
+ This returns an Array which contains the response data, status code and headers.
330
+
331
+ > <Array(<V1EntitiesBulkUpload>, Integer, Hash)> get_bulk_upload_with_http_info(id, bulk_upload_id, opts)
332
+
333
+ ```ruby
334
+ begin
335
+ # Return a given bulk upload by id
336
+ data, status_code, headers = api_instance.get_bulk_upload_with_http_info(id, bulk_upload_id, opts)
337
+ p status_code # => 2xx
338
+ p headers # => { ... }
339
+ p data # => <V1EntitiesBulkUpload>
340
+ rescue DealMakerAPI::ApiError => e
341
+ puts "Error when calling CompanyApi->get_bulk_upload_with_http_info: #{e}"
342
+ end
343
+ ```
344
+
345
+ ### Parameters
346
+
347
+ | Name | Type | Description | Notes |
348
+ | ---- | ---- | ----------- | ----- |
349
+ | **id** | **Integer** | | |
350
+ | **bulk_upload_id** | **Integer** | | |
351
+ | **page** | **Integer** | Page offset to fetch. | [optional][default to 1] |
352
+ | **per_page** | **Integer** | Number of results to return per page. | [optional][default to 25] |
353
+ | **offset** | **Integer** | Pad a number of results. | [optional][default to 0] |
354
+
355
+ ### Return type
356
+
357
+ [**V1EntitiesBulkUpload**](V1EntitiesBulkUpload.md)
358
+
359
+ ### Authorization
360
+
361
+ No authorization required
362
+
363
+ ### HTTP request headers
364
+
365
+ - **Content-Type**: Not defined
366
+ - **Accept**: application/json
367
+
368
+
369
+ ## get_bulk_upload_details_errors
370
+
371
+ > <V1EntitiesBulkUploadDetails> get_bulk_upload_details_errors(company_id, bulk_upload_id)
372
+
373
+ Returns a full list of details with errors of the given bulk upload ordered by status desc and id asc
374
+
375
+ Returns a full list of details with errors of the given bulk upload
228
376
 
229
377
  ### Examples
230
378
 
@@ -239,29 +387,29 @@ company_id = 56 # Integer |
239
387
  bulk_upload_id = 56 # Integer |
240
388
 
241
389
  begin
242
- # Return full list of bulk upload details order by status desc and id asc
243
- result = api_instance.get_bulk_upload_details(company_id, bulk_upload_id)
390
+ # Returns a full list of details with errors of the given bulk upload ordered by status desc and id asc
391
+ result = api_instance.get_bulk_upload_details_errors(company_id, bulk_upload_id)
244
392
  p result
245
393
  rescue DealMakerAPI::ApiError => e
246
- puts "Error when calling CompanyApi->get_bulk_upload_details: #{e}"
394
+ puts "Error when calling CompanyApi->get_bulk_upload_details_errors: #{e}"
247
395
  end
248
396
  ```
249
397
 
250
- #### Using the get_bulk_upload_details_with_http_info variant
398
+ #### Using the get_bulk_upload_details_errors_with_http_info variant
251
399
 
252
400
  This returns an Array which contains the response data, status code and headers.
253
401
 
254
- > <Array(<V1EntitiesBulkUploadDetails>, Integer, Hash)> get_bulk_upload_details_with_http_info(company_id, bulk_upload_id)
402
+ > <Array(<V1EntitiesBulkUploadDetails>, Integer, Hash)> get_bulk_upload_details_errors_with_http_info(company_id, bulk_upload_id)
255
403
 
256
404
  ```ruby
257
405
  begin
258
- # Return full list of bulk upload details order by status desc and id asc
259
- data, status_code, headers = api_instance.get_bulk_upload_details_with_http_info(company_id, bulk_upload_id)
406
+ # Returns a full list of details with errors of the given bulk upload ordered by status desc and id asc
407
+ data, status_code, headers = api_instance.get_bulk_upload_details_errors_with_http_info(company_id, bulk_upload_id)
260
408
  p status_code # => 2xx
261
409
  p headers # => { ... }
262
410
  p data # => <V1EntitiesBulkUploadDetails>
263
411
  rescue DealMakerAPI::ApiError => e
264
- puts "Error when calling CompanyApi->get_bulk_upload_details_with_http_info: #{e}"
412
+ puts "Error when calling CompanyApi->get_bulk_upload_details_errors_with_http_info: #{e}"
265
413
  end
266
414
  ```
267
415
 
@@ -0,0 +1,20 @@
1
+ # DealMakerAPI::CreateShareholderActionRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **request_type** | **String** | The request type of the shareholder action | |
8
+ | **description** | **String** | The description of the shareholder action | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'DealMakerAPI'
14
+
15
+ instance = DealMakerAPI::CreateShareholderActionRequest.new(
16
+ request_type: null,
17
+ description: null
18
+ )
19
+ ```
20
+
data/docs/DealsApi.md ADDED
@@ -0,0 +1,75 @@
1
+ # DealMakerAPI::DealsApi
2
+
3
+ All URIs are relative to *http://api.dealmaker.tech*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**put_deals_id_script_tag_environment**](DealsApi.md#put_deals_id_script_tag_environment) | **PUT** /deals/{id}/script_tag_environment | Update script tag environment for the deal. |
8
+
9
+
10
+ ## put_deals_id_script_tag_environment
11
+
12
+ > put_deals_id_script_tag_environment(id, put_deals_id_script_tag_environment_request)
13
+
14
+ Update script tag environment for the deal.
15
+
16
+ Update script tag environment for the deal.
17
+
18
+ ### Examples
19
+
20
+ ```ruby
21
+ require 'time'
22
+ require 'DealMakerAPI'
23
+ # setup authorization
24
+ DealMakerAPI.configure do |config|end
25
+
26
+ api_instance = DealMakerAPI::DealsApi.new
27
+ id = 56 # Integer | The deal id.
28
+ put_deals_id_script_tag_environment_request = DealMakerAPI::PutDealsIdScriptTagEnvironmentRequest.new({is_production: false}) # PutDealsIdScriptTagEnvironmentRequest |
29
+
30
+ begin
31
+ # Update script tag environment for the deal.
32
+ api_instance.put_deals_id_script_tag_environment(id, put_deals_id_script_tag_environment_request)
33
+ rescue DealMakerAPI::ApiError => e
34
+ puts "Error when calling DealsApi->put_deals_id_script_tag_environment: #{e}"
35
+ end
36
+ ```
37
+
38
+ #### Using the put_deals_id_script_tag_environment_with_http_info variant
39
+
40
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
41
+
42
+ > <Array(nil, Integer, Hash)> put_deals_id_script_tag_environment_with_http_info(id, put_deals_id_script_tag_environment_request)
43
+
44
+ ```ruby
45
+ begin
46
+ # Update script tag environment for the deal.
47
+ data, status_code, headers = api_instance.put_deals_id_script_tag_environment_with_http_info(id, put_deals_id_script_tag_environment_request)
48
+ p status_code # => 2xx
49
+ p headers # => { ... }
50
+ p data # => nil
51
+ rescue DealMakerAPI::ApiError => e
52
+ puts "Error when calling DealsApi->put_deals_id_script_tag_environment_with_http_info: #{e}"
53
+ end
54
+ ```
55
+
56
+ ### Parameters
57
+
58
+ | Name | Type | Description | Notes |
59
+ | ---- | ---- | ----------- | ----- |
60
+ | **id** | **Integer** | The deal id. | |
61
+ | **put_deals_id_script_tag_environment_request** | [**PutDealsIdScriptTagEnvironmentRequest**](PutDealsIdScriptTagEnvironmentRequest.md) | | |
62
+
63
+ ### Return type
64
+
65
+ nil (empty response body)
66
+
67
+ ### Authorization
68
+
69
+ No authorization required
70
+
71
+ ### HTTP request headers
72
+
73
+ - **Content-Type**: application/json
74
+ - **Accept**: Not defined
75
+
@@ -0,0 +1,18 @@
1
+ # DealMakerAPI::PutDealsIdScriptTagEnvironmentRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **is_production** | **Boolean** | True if environment is production. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'DealMakerAPI'
13
+
14
+ instance = DealMakerAPI::PutDealsIdScriptTagEnvironmentRequest.new(
15
+ is_production: null
16
+ )
17
+ ```
18
+
@@ -9,6 +9,9 @@
9
9
  | **file_identifier** | **String** | The file identifier [shareholder, investor] | [optional] |
10
10
  | **document_type** | **String** | The document type [drs_statement, shareholder_statement, book_entry_statement] | [optional] |
11
11
  | **upload_name** | **String** | The bulk upload name | [optional] |
12
+ | **files_count** | **Integer** | The number of files in the bulk upload | [optional] |
13
+ | **errors_count** | **Integer** | The number of errors in the bulk upload | [optional] |
14
+ | **success_count** | **Integer** | The number of succeeded files in the bulk upload | [optional] |
12
15
  | **status** | **String** | The status [pending, processing, completed, failed] | [optional] |
13
16
  | **created_at** | **String** | The created at timestamp | [optional] |
14
17
  | **updated_at** | **String** | The updated at timestamp | [optional] |
@@ -24,6 +27,9 @@ instance = DealMakerAPI::V1EntitiesBulkUpload.new(
24
27
  file_identifier: null,
25
28
  document_type: null,
26
29
  upload_name: null,
30
+ files_count: null,
31
+ errors_count: null,
32
+ success_count: null,
27
33
  status: null,
28
34
  created_at: null,
29
35
  updated_at: null
@@ -9,6 +9,7 @@
9
9
  | **file_key** | **String** | The generated identifier for the file | [optional] |
10
10
  | **file_name** | **String** | The name of the file | [optional] |
11
11
  | **status** | **Integer** | The status of the bulk upload detail | [optional] |
12
+ | **readable_status** | **String** | The readable status of the bulk upload detail | [optional] |
12
13
  | **created_at** | **String** | The created at date | [optional] |
13
14
  | **updated_at** | **String** | The updated at date | [optional] |
14
15
 
@@ -23,6 +24,7 @@ instance = DealMakerAPI::V1EntitiesBulkUploadDetail.new(
23
24
  file_key: null,
24
25
  file_name: null,
25
26
  status: null,
27
+ readable_status: null,
26
28
  created_at: null,
27
29
  updated_at: null
28
30
  )
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **Integer** | The issuer&#39;s unique id. | [optional] |
8
8
  | **name** | **String** | The issuer name. | [optional] |
9
+ | **logo** | **String** | The issuer&#39;s logo. | [optional] |
9
10
 
10
11
  ## Example
11
12
 
@@ -14,7 +15,8 @@ require 'DealMakerAPI'
14
15
 
15
16
  instance = DealMakerAPI::V1EntitiesDealIssuer.new(
16
17
  id: null,
17
- name: null
18
+ name: null,
19
+ logo: null
18
20
  )
19
21
  ```
20
22
 
@@ -0,0 +1,20 @@
1
+ # DealMakerAPI::V1EntitiesGenericResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **success** | **Boolean** | The status of the creation response | [optional] |
8
+ | **message** | **String** | The message of the creation response | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'DealMakerAPI'
14
+
15
+ instance = DealMakerAPI::V1EntitiesGenericResponse.new(
16
+ success: null,
17
+ message: null
18
+ )
19
+ ```
20
+
@@ -20,7 +20,7 @@
20
20
  | **investment_value** | **Float** | The current investment value. | [optional] |
21
21
  | **allocated_amount** | **Float** | The amount allocated. | [optional] |
22
22
  | **funds_value** | **Float** | The current amount that has been funded. | [optional] |
23
- | **access_link** | **String** | The access link for the investor. This is the access link for the specific investment, not the user. If the same user has multiple investments, each one will have a different access link. | [optional] |
23
+ | **access_link** | **String** | The access link for the investor. This is the access link for the specific investment, not the user. If the same user has multiple investments, each one will have a different access link. Please note that this access link expires every hour. In order to redirect the investor into their authentication screen, use the https://app.dealmaker.tech/deals/{{deal_id}}/investors/{{investor_id}}/otp_access url. | [optional] |
24
24
  | **subscription_agreement** | [**V1EntitiesSubscriptionAgreement**](V1EntitiesSubscriptionAgreement.md) | | [optional] |
25
25
  | **attachments** | [**V1EntitiesAttachment**](V1EntitiesAttachment.md) | | [optional] |
26
26
  | **background_check_searches** | [**V1EntitiesBackgroundCheckSearch**](V1EntitiesBackgroundCheckSearch.md) | | [optional] |