Skip to content

Commit

Permalink
Update SDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
DealMaker committed May 23, 2024
1 parent 4c2469f commit 8207cde
Show file tree
Hide file tree
Showing 204 changed files with 3,832 additions and 382 deletions.
6 changes: 6 additions & 0 deletions v1/clients/javascript/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ docs/V1EntitiesDealsInvestorsPaymentAcssBankAccountSetupIntent.md
docs/V1EntitiesDealsPriceDetails.md
docs/V1EntitiesDealsProgress.md
docs/V1EntitiesDealsProgressColumn.md
docs/V1EntitiesDealsProgressKinds.md
docs/V1EntitiesDealsProgressPageSummary.md
docs/V1EntitiesDeleteResult.md
docs/V1EntitiesDividend.md
docs/V1EntitiesDividends.md
docs/V1EntitiesEmailEvent.md
Expand Down Expand Up @@ -236,7 +238,9 @@ src/model/V1EntitiesDealsInvestorsPaymentAcssBankAccountSetupIntent.js
src/model/V1EntitiesDealsPriceDetails.js
src/model/V1EntitiesDealsProgress.js
src/model/V1EntitiesDealsProgressColumn.js
src/model/V1EntitiesDealsProgressKinds.js
src/model/V1EntitiesDealsProgressPageSummary.js
src/model/V1EntitiesDeleteResult.js
src/model/V1EntitiesDividend.js
src/model/V1EntitiesDividends.js
src/model/V1EntitiesEmailEvent.js
Expand Down Expand Up @@ -380,7 +384,9 @@ test/model/V1EntitiesDealsInvestorsPaymentAcssBankAccountSetupIntent.spec.js
test/model/V1EntitiesDealsPriceDetails.spec.js
test/model/V1EntitiesDealsProgress.spec.js
test/model/V1EntitiesDealsProgressColumn.spec.js
test/model/V1EntitiesDealsProgressKinds.spec.js
test/model/V1EntitiesDealsProgressPageSummary.spec.js
test/model/V1EntitiesDeleteResult.spec.js
test/model/V1EntitiesDividend.spec.js
test/model/V1EntitiesDividends.spec.js
test/model/V1EntitiesEmailEvent.spec.js
Expand Down
8 changes: 6 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.103.6
- Package version: 0.104.0
- Generator version: 7.7.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

Expand Down Expand Up @@ -491,7 +491,7 @@ Class | Method | HTTP request | Description
*Api.DefaultApi* | [**getDealsDealIdPaymentOnboardingQuestionnairePayoutAccountDetailsData**](docs/DefaultApi.md#getDealsDealIdPaymentOnboardingQuestionnairePayoutAccountDetailsData) | **GET** /deals/{deal_id}/payment_onboarding/questionnaire/payout_account_details/data | Get payout account data
*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* | [**getDealsIdProgressPageKind**](docs/DefaultApi.md#getDealsIdProgressPageKind) | **GET** /deals/{id}/progress_page/{kind} | Get deal progress for a specific kind
*Api.DefaultApi* | [**getDealsIdProgressPage**](docs/DefaultApi.md#getDealsIdProgressPage) | **GET** /deals/{id}/progress_page | Get deal progress
*Api.DefaultApi* | [**getDealsIdProgressPageSummary**](docs/DefaultApi.md#getDealsIdProgressPageSummary) | **GET** /deals/{id}/progress_page/summary | Get the deal progress summary
*Api.DefaultApi* | [**getDealsIdSummary**](docs/DefaultApi.md#getDealsIdSummary) | **GET** /deals/{id}/summary | Get Deal Overview
*Api.DefaultApi* | [**getDealsPaymentOnboardingQuestionnaireInitialQuestions**](docs/DefaultApi.md#getDealsPaymentOnboardingQuestionnaireInitialQuestions) | **GET** /deals/payment_onboarding/questionnaire/initial_questions | Get initial questions
Expand Down Expand Up @@ -542,6 +542,8 @@ Class | Method | HTTP request | Description
*Api.ShareholderApi* | [**getShareholdersTags**](docs/ShareholderApi.md#getShareholdersTags) | **GET** /companies/{id}/shareholders/tags | Get a company shareholders list grouped by tags
*Api.UploadApi* | [**generateUrl**](docs/UploadApi.md#generateUrl) | **POST** /uploads/generate_url | Create a presigned URL for Amazon S3
*Api.UserApi* | [**createFactor**](docs/UserApi.md#createFactor) | **POST** /users/{id}/create_factor | Creates an API endpoint for creating a new TOTP factor
*Api.UserApi* | [**deleteChannel**](docs/UserApi.md#deleteChannel) | **DELETE** /users/{id}/two_factor_channels/delete/{channel} | Creates an API endpoint to delete a specific two factor channel\"
*Api.UserApi* | [**disableMfa**](docs/UserApi.md#disableMfa) | **DELETE** /users/{id}/disable_mfa | Disable all the multi-factor authentication integrations for a user
*Api.UserApi* | [**getTwoFactorChannels**](docs/UserApi.md#getTwoFactorChannels) | **GET** /users/{id}/two_factor_channels | Creates an API endpoint to return a list of existing TOTP factor
*Api.UserApi* | [**getUser**](docs/UserApi.md#getUser) | **GET** /users/{id} | Get user by User ID
*Api.UserApi* | [**setupSmsVerification**](docs/UserApi.md#setupSmsVerification) | **POST** /users/{id}/setup_sms_verification | Start a setup for a SMS Verification by creating a two factor channel of sms type
Expand Down Expand Up @@ -623,7 +625,9 @@ Class | Method | HTTP request | Description
- [Api.V1EntitiesDealsPriceDetails](docs/V1EntitiesDealsPriceDetails.md)
- [Api.V1EntitiesDealsProgress](docs/V1EntitiesDealsProgress.md)
- [Api.V1EntitiesDealsProgressColumn](docs/V1EntitiesDealsProgressColumn.md)
- [Api.V1EntitiesDealsProgressKinds](docs/V1EntitiesDealsProgressKinds.md)
- [Api.V1EntitiesDealsProgressPageSummary](docs/V1EntitiesDealsProgressPageSummary.md)
- [Api.V1EntitiesDeleteResult](docs/V1EntitiesDeleteResult.md)
- [Api.V1EntitiesDividend](docs/V1EntitiesDividend.md)
- [Api.V1EntitiesDividends](docs/V1EntitiesDividends.md)
- [Api.V1EntitiesEmailEvent](docs/V1EntitiesEmailEvent.md)
Expand Down
12 changes: 5 additions & 7 deletions v1/clients/javascript/docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Method | HTTP request | Description
[**getDealsDealIdPaymentOnboardingQuestionnairePayoutAccountDetailsData**](DefaultApi.md#getDealsDealIdPaymentOnboardingQuestionnairePayoutAccountDetailsData) | **GET** /deals/{deal_id}/payment_onboarding/questionnaire/payout_account_details/data | Get payout account data
[**getDealsIdInvestorsInvestorIdPaymentsExpressWireInstructions**](DefaultApi.md#getDealsIdInvestorsInvestorIdPaymentsExpressWireInstructions) | **GET** /deals/{id}/investors/{investor_id}/payments/express_wire/instructions | Displays the express wire instructions for an investor on a deal
[**getDealsIdInvestorsPaymentsExpressWireInstructions**](DefaultApi.md#getDealsIdInvestorsPaymentsExpressWireInstructions) | **GET** /deals/{id}/investors/payments/express_wire/instructions | Displays the express wire instructions for all the investors on a deal
[**getDealsIdProgressPageKind**](DefaultApi.md#getDealsIdProgressPageKind) | **GET** /deals/{id}/progress_page/{kind} | Get deal progress for a specific kind
[**getDealsIdProgressPage**](DefaultApi.md#getDealsIdProgressPage) | **GET** /deals/{id}/progress_page | Get deal progress
[**getDealsIdProgressPageSummary**](DefaultApi.md#getDealsIdProgressPageSummary) | **GET** /deals/{id}/progress_page/summary | Get the deal progress summary
[**getDealsIdSummary**](DefaultApi.md#getDealsIdSummary) | **GET** /deals/{id}/summary | Get Deal Overview
[**getDealsPaymentOnboardingQuestionnaireInitialQuestions**](DefaultApi.md#getDealsPaymentOnboardingQuestionnaireInitialQuestions) | **GET** /deals/payment_onboarding/questionnaire/initial_questions | Get initial questions
Expand Down Expand Up @@ -210,11 +210,11 @@ No authorization required
- **Accept**: application/json


## getDealsIdProgressPageKind
## getDealsIdProgressPage

> V1EntitiesDealsProgress getDealsIdProgressPageKind(id, kind)
> V1EntitiesDealsProgress getDealsIdProgressPage(id)
Get deal progress for a specific kind
Get deal progress

Get deal progress

Expand All @@ -226,8 +226,7 @@ let defaultClient = Api.ApiClient.instance;

let apiInstance = new Api.DefaultApi();
let id = 56; // Number | The deal id.
let kind = "kind_example"; // String | Kind of progress.
apiInstance.getDealsIdProgressPageKind(id, kind, (error, data, response) => {
apiInstance.getDealsIdProgressPage(id, (error, data, response) => {
if (error) {
console.error(error);
} else {
Expand All @@ -242,7 +241,6 @@ apiInstance.getDealsIdProgressPageKind(id, kind, (error, data, response) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Number**| The deal id. |
**kind** | **String**| Kind of progress. |

### Return type

Expand Down
96 changes: 96 additions & 0 deletions v1/clients/javascript/docs/UserApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ All URIs are relative to *http://api.dealmaker.tech*
Method | HTTP request | Description
------------- | ------------- | -------------
[**createFactor**](UserApi.md#createFactor) | **POST** /users/{id}/create_factor | Creates an API endpoint for creating a new TOTP factor
[**deleteChannel**](UserApi.md#deleteChannel) | **DELETE** /users/{id}/two_factor_channels/delete/{channel} | Creates an API endpoint to delete a specific two factor channel\"
[**disableMfa**](UserApi.md#disableMfa) | **DELETE** /users/{id}/disable_mfa | Disable all the multi-factor authentication integrations for a user
[**getTwoFactorChannels**](UserApi.md#getTwoFactorChannels) | **GET** /users/{id}/two_factor_channels | Creates an API endpoint to return a list of existing TOTP factor
[**getUser**](UserApi.md#getUser) | **GET** /users/{id} | Get user by User ID
[**setupSmsVerification**](UserApi.md#setupSmsVerification) | **POST** /users/{id}/setup_sms_verification | Start a setup for a SMS Verification by creating a two factor channel of sms type
Expand Down Expand Up @@ -60,6 +62,100 @@ No authorization required
- **Accept**: application/json


## deleteChannel

> V1EntitiesDeleteResult deleteChannel(id, channel)
Creates an API endpoint to delete a specific two factor channel\"

Create an API endpoint to delete a specific two factor channel

### Example

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

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

### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Number**| |
**channel** | **Number**| |

### Return type

[**V1EntitiesDeleteResult**](V1EntitiesDeleteResult.md)

### Authorization

No authorization required

### HTTP request headers

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


## disableMfa

> disableMfa(id)
Disable all the multi-factor authentication integrations for a user

Disable all the multi-factor authentication integrations for a user

### Example

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

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

### Parameters


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

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

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


## getTwoFactorChannels

> V1EntitiesUsersTwoFactorChannels getTwoFactorChannels(id)
Expand Down
4 changes: 2 additions & 2 deletions v1/clients/javascript/docs/V1EntitiesDealsProgress.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**investorFunnel** | [**V1EntitiesDealsProgressColumn**](V1EntitiesDealsProgressColumn.md) | | [optional]
**incomingPayments** | [**V1EntitiesDealsProgressColumn**](V1EntitiesDealsProgressColumn.md) | | [optional]
**investorFunnel** | [**V1EntitiesDealsProgressKinds**](V1EntitiesDealsProgressKinds.md) | | [optional]
**incomingPayments** | [**V1EntitiesDealsProgressKinds**](V1EntitiesDealsProgressKinds.md) | | [optional]


11 changes: 11 additions & 0 deletions v1/clients/javascript/docs/V1EntitiesDealsProgressKinds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Api.V1EntitiesDealsProgressKinds

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**investmentAmount** | [**V1EntitiesDealsProgressColumn**](V1EntitiesDealsProgressColumn.md) | | [optional]
**numberOfInvestments** | [**V1EntitiesDealsProgressColumn**](V1EntitiesDealsProgressColumn.md) | | [optional]
**numberOfSecurities** | [**V1EntitiesDealsProgressColumn**](V1EntitiesDealsProgressColumn.md) | | [optional]


10 changes: 10 additions & 0 deletions v1/clients/javascript/docs/V1EntitiesDeleteResult.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Api.V1EntitiesDeleteResult

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**success** | **Boolean** | The status of the request. | [optional]
**message** | **String** | The message of the request. | [optional]


Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**factorSid** | **String** | The unique string for the resource | [optional]
**userId** | **Number** | The user id for the two factor channel. | [optional]
**identity** | **String** | The identity for the two factor channel. | [optional]
**phoneNumber** | **String** | The phone number of the user. | [optional]
**phoneNumber** | **String** | The phone number for the two factor channel. | [optional]
**channel** | **String** | The channel for the two factor channel. | [optional]
**verified** | **Boolean** | The verification status for the two factor channel. | [optional]
**updatedAt** | **String** | The time since the two factor channel was last updated/verified. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion v1/clients/javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dealmakertech/api",
"version": "0.103.6",
"version": "0.104.0",
"description": "A javascript wrapper for the DealMaker API",
"license": "MIT",
"main": "dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions v1/clients/javascript/src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import querystring from "querystring";

/**
* @module ApiClient
* @version 0.103.6
* @version 0.104.0
*/

/**
Expand Down Expand Up @@ -54,7 +54,7 @@ class ApiClient {
* @default {}
*/
this.defaultHeaders = {
'User-Agent': 'OpenAPI-Generator/0.103.6/Javascript'
'User-Agent': 'OpenAPI-Generator/0.104.0/Javascript'
};

/**
Expand Down
2 changes: 1 addition & 1 deletion v1/clients/javascript/src/api/CompanyApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import V1EntitiesShareholderLedger from '../model/V1EntitiesShareholderLedger';
/**
* Company service.
* @module api/CompanyApi
* @version 0.103.6
* @version 0.104.0
*/
export default class CompanyApi {

Expand Down
2 changes: 1 addition & 1 deletion v1/clients/javascript/src/api/CountryApi.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/clients/javascript/src/api/CustomEmailsApi.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/clients/javascript/src/api/DealApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import V1EntitiesDealsPriceDetails from '../model/V1EntitiesDealsPriceDetails';
/**
* Deal service.
* @module api/DealApi
* @version 0.103.6
* @version 0.104.0
*/
export default class DealApi {

Expand Down
2 changes: 1 addition & 1 deletion v1/clients/javascript/src/api/DealsApi.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 9 additions & 15 deletions v1/clients/javascript/src/api/DefaultApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import V1EntitiesWebhooksSubscription from '../model/V1EntitiesWebhooksSubscript
/**
* Default service.
* @module api/DefaultApi
* @version 0.103.6
* @version 0.104.0
*/
export default class DefaultApi {

Expand Down Expand Up @@ -225,35 +225,29 @@ export default class DefaultApi {
}

/**
* Callback function to receive the result of the getDealsIdProgressPageKind operation.
* @callback module:api/DefaultApi~getDealsIdProgressPageKindCallback
* Callback function to receive the result of the getDealsIdProgressPage operation.
* @callback module:api/DefaultApi~getDealsIdProgressPageCallback
* @param {String} error Error message, if any.
* @param {module:model/V1EntitiesDealsProgress} data The data returned by the service call.
* @param {String} response The complete HTTP response.
*/

/**
* Get deal progress for a specific kind
* Get deal progress
* Get deal progress
* @param {Number} id The deal id.
* @param {module:model/String} kind Kind of progress.
* @param {module:api/DefaultApi~getDealsIdProgressPageKindCallback} callback The callback function, accepting three arguments: error, data, response
* @param {module:api/DefaultApi~getDealsIdProgressPageCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link module:model/V1EntitiesDealsProgress}
*/
getDealsIdProgressPageKind(id, kind, callback) {
getDealsIdProgressPage(id, callback) {
let postBody = null;
// verify the required parameter 'id' is set
if (id === undefined || id === null) {
throw new Error("Missing the required parameter 'id' when calling getDealsIdProgressPageKind");
}
// verify the required parameter 'kind' is set
if (kind === undefined || kind === null) {
throw new Error("Missing the required parameter 'kind' when calling getDealsIdProgressPageKind");
throw new Error("Missing the required parameter 'id' when calling getDealsIdProgressPage");
}

let pathParams = {
'id': id,
'kind': kind
'id': id
};
let queryParams = {
};
Expand All @@ -267,7 +261,7 @@ export default class DefaultApi {
let accepts = ['application/json'];
let returnType = V1EntitiesDealsProgress;
return this.apiClient.callApi(
'/deals/{id}/progress_page/{kind}', 'GET',
'/deals/{id}/progress_page', 'GET',
pathParams, queryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, null, callback
);
Expand Down
Loading

0 comments on commit 8207cde

Please sign in to comment.