Skip to content

Commit

Permalink
Update SDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
DealMaker committed Oct 26, 2023
1 parent 2b597d2 commit 936ab3e
Show file tree
Hide file tree
Showing 241 changed files with 4,792 additions and 1,128 deletions.
9 changes: 6 additions & 3 deletions v1/clients/javascript/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ docs/CreateCompanyRequest.md
docs/CreateDealSetupRequest.md
docs/CreateShareholderActionRequest.md
docs/DealApi.md
docs/DealSetupApi.md
docs/DealsApi.md
docs/DefaultApi.md
docs/EditInvestorTagsRequest.md
Expand Down Expand Up @@ -86,6 +85,8 @@ docs/V1EntitiesInvestorProfileTrust.md
docs/V1EntitiesInvestorProfiles.md
docs/V1EntitiesInvestorUser.md
docs/V1EntitiesInvestors.md
docs/V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult.md
docs/V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult.md
docs/V1EntitiesPresignedUrlResult.md
docs/V1EntitiesShareholder.md
docs/V1EntitiesShareholders.md
Expand All @@ -104,7 +105,6 @@ src/ApiClient.js
src/api/CompanyApi.js
src/api/CountryApi.js
src/api/DealApi.js
src/api/DealSetupApi.js
src/api/DealsApi.js
src/api/DefaultApi.js
src/api/InvestorApi.js
Expand Down Expand Up @@ -185,6 +185,8 @@ src/model/V1EntitiesInvestorProfileTrust.js
src/model/V1EntitiesInvestorProfiles.js
src/model/V1EntitiesInvestorUser.js
src/model/V1EntitiesInvestors.js
src/model/V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult.js
src/model/V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult.js
src/model/V1EntitiesPresignedUrlResult.js
src/model/V1EntitiesShareholder.js
src/model/V1EntitiesShareholders.js
Expand All @@ -199,7 +201,6 @@ src/model/V1EntitiesWebhooksSubscriptionDeals.js
test/api/CompanyApi.spec.js
test/api/CountryApi.spec.js
test/api/DealApi.spec.js
test/api/DealSetupApi.spec.js
test/api/DealsApi.spec.js
test/api/DefaultApi.spec.js
test/api/InvestorApi.spec.js
Expand Down Expand Up @@ -279,6 +280,8 @@ test/model/V1EntitiesInvestorProfileTrust.spec.js
test/model/V1EntitiesInvestorProfiles.spec.js
test/model/V1EntitiesInvestorUser.spec.js
test/model/V1EntitiesInvestors.spec.js
test/model/V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult.spec.js
test/model/V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult.spec.js
test/model/V1EntitiesPresignedUrlResult.spec.js
test/model/V1EntitiesShareholder.spec.js
test/model/V1EntitiesShareholders.spec.js
Expand Down
9 changes: 7 additions & 2 deletions v1/clients/javascript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ Given the high number of updates our platform performs on any investor, we’ve
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.75.0
- Package version: 0.89.5
- Package version: 0.90.0
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

## Installation
Expand Down Expand Up @@ -465,16 +465,19 @@ Class | Method | HTTP request | Description
*Api.CompanyApi* | [**getDetailsErrorsGrouped**](docs/CompanyApi.md#getDetailsErrorsGrouped) | **GET** /companies/{company_id}/documents/bulk_uploads/{bulk_upload_id}/details/grouped_errors | Return bulk upload details grouped by status
*Api.CompanyApi* | [**getDividends**](docs/CompanyApi.md#getDividends) | **GET** /companies/{company_id}/portal/dividends | Return dividends
*Api.CountryApi* | [**getCountryStates**](docs/CountryApi.md#getCountryStates) | **GET** /country/states | Returns a list of all valid countries and it states
*Api.DealApi* | [**createDealSetup**](docs/DealApi.md#createDealSetup) | **POST** /deal_setups | Create deal setup
*Api.DealApi* | [**getDeal**](docs/DealApi.md#getDeal) | **GET** /deals/{id} | Get deal by Deal ID
*Api.DealApi* | [**listDeals**](docs/DealApi.md#listDeals) | **GET** /deals | List available deals
*Api.DealSetupApi* | [**createDealSetup**](docs/DealSetupApi.md#createDealSetup) | **POST** /deal_setups | Create deal setup
*Api.DealsApi* | [**putDealsIdScriptTagEnvironment**](docs/DealsApi.md#putDealsIdScriptTagEnvironment) | **PUT** /deals/{id}/script_tag_environment | Update script tag environment for the deal.
*Api.DefaultApi* | [**getDealsIdInvestorsInvestorIdPaymentsExpressWireInstructions**](docs/DefaultApi.md#getDealsIdInvestorsInvestorIdPaymentsExpressWireInstructions) | **GET** /deals/{id}/investors/{investor_id}/payments/express_wire/instructions | Displays the express wire instructions for an investor on a deal
*Api.DefaultApi* | [**getDealsIdInvestorsPaymentsExpressWireInstructions**](docs/DefaultApi.md#getDealsIdInvestorsPaymentsExpressWireInstructions) | **GET** /deals/{id}/investors/payments/express_wire/instructions | Displays the express wire instructions for all the investors on a deal
*Api.DefaultApi* | [**getWebhooks**](docs/DefaultApi.md#getWebhooks) | **GET** /webhooks | Returns a list of webhook subscription which is associated to the user
*Api.DefaultApi* | [**getWebhooksDealId**](docs/DefaultApi.md#getWebhooksDealId) | **GET** /webhooks/deal/{id} | Finds a deal using the id
*Api.DefaultApi* | [**getWebhooksDealsSearch**](docs/DefaultApi.md#getWebhooksDealsSearch) | **GET** /webhooks/deals/search | Searches for deals for a given user
*Api.DefaultApi* | [**getWebhooksSecurityToken**](docs/DefaultApi.md#getWebhooksSecurityToken) | **GET** /webhooks/security_token | Creates a new security token for webhook subscription
*Api.DefaultApi* | [**postDealsDealIdPaymentOnboardingQuestionnairePayoutAccountDetailsSubmit**](docs/DefaultApi.md#postDealsDealIdPaymentOnboardingQuestionnairePayoutAccountDetailsSubmit) | **POST** /deals/{deal_id}/payment_onboarding/questionnaire/payout_account_details/submit | Submit a payout account details form
*Api.DefaultApi* | [**postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireResponseSubmit**](docs/DefaultApi.md#postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireResponseSubmit) | **POST** /deals/{deal_id}/payment_onboarding/questionnaire/qualification_questionnaire/response/submit | Submit a qualification questionnaire response
*Api.DefaultApi* | [**postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireSubmit**](docs/DefaultApi.md#postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireSubmit) | **POST** /deals/{deal_id}/payment_onboarding/questionnaire/qualification_questionnaire/submit | Submit a qualification questionnaire form
*Api.DefaultApi* | [**postWebhooks**](docs/DefaultApi.md#postWebhooks) | **POST** /webhooks | Creates a webhook subscription which is associated to the user
*Api.DefaultApi* | [**putWebhooksId**](docs/DefaultApi.md#putWebhooksId) | **PUT** /webhooks/{id} | Updates webhook subscription and webhooks subcription deals
*Api.InvestorApi* | [**add506cDocument**](docs/InvestorApi.md#add506cDocument) | **POST** /deals/{id}/investors/{investor_id}/add_506c_document | Add 506c document for deal investor
Expand Down Expand Up @@ -582,6 +585,8 @@ Class | Method | HTTP request | Description
- [Api.V1EntitiesInvestorProfiles](docs/V1EntitiesInvestorProfiles.md)
- [Api.V1EntitiesInvestorUser](docs/V1EntitiesInvestorUser.md)
- [Api.V1EntitiesInvestors](docs/V1EntitiesInvestors.md)
- [Api.V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult](docs/V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult.md)
- [Api.V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult](docs/V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult.md)
- [Api.V1EntitiesPresignedUrlResult](docs/V1EntitiesPresignedUrlResult.md)
- [Api.V1EntitiesShareholder](docs/V1EntitiesShareholder.md)
- [Api.V1EntitiesShareholders](docs/V1EntitiesShareholders.md)
Expand Down
47 changes: 47 additions & 0 deletions v1/clients/javascript/docs/DealApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,58 @@ All URIs are relative to *http://api.dealmaker.tech*

Method | HTTP request | Description
------------- | ------------- | -------------
[**createDealSetup**](DealApi.md#createDealSetup) | **POST** /deal_setups | Create deal setup
[**getDeal**](DealApi.md#getDeal) | **GET** /deals/{id} | Get deal by Deal ID
[**listDeals**](DealApi.md#listDeals) | **GET** /deals | List available deals



## createDealSetup

> V1EntitiesDealSetup createDealSetup(createDealSetupRequest)
Create deal setup

Create deal setup

### Example

```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

let apiInstance = new Api.DealApi();
let createDealSetupRequest = new Api.CreateDealSetupRequest(); // CreateDealSetupRequest |
apiInstance.createDealSetup(createDealSetupRequest, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
```

### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**createDealSetupRequest** | [**CreateDealSetupRequest**](CreateDealSetupRequest.md)| |

### Return type

[**V1EntitiesDealSetup**](V1EntitiesDealSetup.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json


## getDeal

> V1EntitiesDeal getDeal(id)
Expand Down
55 changes: 0 additions & 55 deletions v1/clients/javascript/docs/DealSetupApi.md

This file was deleted.

141 changes: 141 additions & 0 deletions v1/clients/javascript/docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Method | HTTP request | Description
[**getWebhooksDealId**](DefaultApi.md#getWebhooksDealId) | **GET** /webhooks/deal/{id} | Finds a deal using the id
[**getWebhooksDealsSearch**](DefaultApi.md#getWebhooksDealsSearch) | **GET** /webhooks/deals/search | Searches for deals for a given user
[**getWebhooksSecurityToken**](DefaultApi.md#getWebhooksSecurityToken) | **GET** /webhooks/security_token | Creates a new security token for webhook subscription
[**postDealsDealIdPaymentOnboardingQuestionnairePayoutAccountDetailsSubmit**](DefaultApi.md#postDealsDealIdPaymentOnboardingQuestionnairePayoutAccountDetailsSubmit) | **POST** /deals/{deal_id}/payment_onboarding/questionnaire/payout_account_details/submit | Submit a payout account details form
[**postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireResponseSubmit**](DefaultApi.md#postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireResponseSubmit) | **POST** /deals/{deal_id}/payment_onboarding/questionnaire/qualification_questionnaire/response/submit | Submit a qualification questionnaire response
[**postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireSubmit**](DefaultApi.md#postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireSubmit) | **POST** /deals/{deal_id}/payment_onboarding/questionnaire/qualification_questionnaire/submit | Submit a qualification questionnaire form
[**postWebhooks**](DefaultApi.md#postWebhooks) | **POST** /webhooks | Creates a webhook subscription which is associated to the user
[**putWebhooksId**](DefaultApi.md#putWebhooksId) | **PUT** /webhooks/{id} | Updates webhook subscription and webhooks subcription deals

Expand Down Expand Up @@ -291,6 +294,144 @@ No authorization required
- **Accept**: application/json


## postDealsDealIdPaymentOnboardingQuestionnairePayoutAccountDetailsSubmit

> V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult postDealsDealIdPaymentOnboardingQuestionnairePayoutAccountDetailsSubmit(dealId)
Submit a payout account details form

Submit a payout account details form

### Example

```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

let apiInstance = new Api.DefaultApi();
let dealId = 56; // Number |
apiInstance.postDealsDealIdPaymentOnboardingQuestionnairePayoutAccountDetailsSubmit(dealId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
```

### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**dealId** | **Number**| |

### Return type

[**V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult**](V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json


## postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireResponseSubmit

> postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireResponseSubmit(dealId)
Submit a qualification questionnaire response

Submit a qualification questionnaire response

### Example

```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

let apiInstance = new Api.DefaultApi();
let dealId = 56; // Number |
apiInstance.postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireResponseSubmit(dealId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});
```

### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**dealId** | **Number**| |

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined


## postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireSubmit

> V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireSubmit(dealId)
Submit a qualification questionnaire form

Submit a qualification questionnaire form

### Example

```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

let apiInstance = new Api.DefaultApi();
let dealId = 56; // Number |
apiInstance.postDealsDealIdPaymentOnboardingQuestionnaireQualificationQuestionnaireSubmit(dealId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
```

### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**dealId** | **Number**| |

### Return type

[**V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult**](V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json


## postWebhooks

> V1EntitiesWebhooksSubscription postWebhooks(postWebhooksRequest)
Expand Down
2 changes: 1 addition & 1 deletion v1/clients/javascript/docs/InvestorApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ No authorization required
Get OTP access link for deal investor

Get OTP access link for deal investor by id
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.

### Example

Expand Down
1 change: 1 addition & 0 deletions v1/clients/javascript/docs/V1EntitiesInvestor.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Name | Type | Description | Notes
**investorProfile** | **String** | | [optional]
**investorProfileId** | **Number** | The investor profile id. | [optional]
**checkoutState** | **String** | Current state on checkout page. | [optional]
**legacyFlowLink** | **String** | The legacy link for the investor. If the investor is already on the legacy flow, this link will be null. | [optional]



Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Api.V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **Object** | Data after successful payout account updating | [optional]
**error** | **Object** | Error after failed payout account updating | [optional]


Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Api.V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**onboardingStage** | **String** | Onboarding stage | [optional]
**payoutAccountCountry** | **String** | Payout account country | [optional]


Loading

0 comments on commit 936ab3e

Please sign in to comment.