Skip to content

Commit

Permalink
Update SDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
DealMaker committed Jun 14, 2024
1 parent 8bf1ff1 commit 6e7e1d6
Show file tree
Hide file tree
Showing 182 changed files with 2,809 additions and 179 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 @@ -6,6 +6,7 @@ README.md
docs/Add506cDocumentRequest.md
docs/AddDocumentRequest.md
docs/BulkUploadInvestorsRequest.md
docs/CampaignApi.md
docs/CompanyApi.md
docs/CountryApi.md
docs/CreateBulkUploadDetailRequest.md
Expand Down Expand Up @@ -139,6 +140,7 @@ docs/V1EntitiesShareholders.md
docs/V1EntitiesShareholdersTags.md
docs/V1EntitiesState.md
docs/V1EntitiesSubscriptionAgreement.md
docs/V1EntitiesTtwCampaignResponse.md
docs/V1EntitiesUser.md
docs/V1EntitiesUsersBinding.md
docs/V1EntitiesUsersFactor.md
Expand All @@ -156,6 +158,7 @@ git_push.sh
mocha.opts
package.json
src/ApiClient.js
src/api/CampaignApi.js
src/api/CompanyApi.js
src/api/CountryApi.js
src/api/CustomEmailsApi.js
Expand Down Expand Up @@ -293,6 +296,7 @@ src/model/V1EntitiesShareholders.js
src/model/V1EntitiesShareholdersTags.js
src/model/V1EntitiesState.js
src/model/V1EntitiesSubscriptionAgreement.js
src/model/V1EntitiesTtwCampaignResponse.js
src/model/V1EntitiesUser.js
src/model/V1EntitiesUsersBinding.js
src/model/V1EntitiesUsersFactor.js
Expand All @@ -306,6 +310,7 @@ src/model/V1EntitiesWebhooksSubscriptionDeal.js
src/model/V1EntitiesWebhooksSubscriptionDeals.js
src/model/VerifyFactorRequest.js
src/model/VerifySmsVerificationRequest.js
test/api/CampaignApi.spec.js
test/api/CompanyApi.spec.js
test/api/CountryApi.spec.js
test/api/CustomEmailsApi.spec.js
Expand Down Expand Up @@ -442,6 +447,7 @@ test/model/V1EntitiesShareholders.spec.js
test/model/V1EntitiesShareholdersTags.spec.js
test/model/V1EntitiesState.spec.js
test/model/V1EntitiesSubscriptionAgreement.spec.js
test/model/V1EntitiesTtwCampaignResponse.spec.js
test/model/V1EntitiesUser.spec.js
test/model/V1EntitiesUsersBinding.spec.js
test/model/V1EntitiesUsersFactor.spec.js
Expand Down
11 changes: 6 additions & 5 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.105.2
- Package version: 0.105.3
- Generator version: 7.7.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

Expand Down Expand Up @@ -434,17 +434,16 @@ var Api = require('api');

var defaultClient = Api.ApiClient.instance;

var api = new Api.CompanyApi()
var id = 56; // {Number} The company id
var createBulkUploadRequest = new Api.CreateBulkUploadRequest(); // {CreateBulkUploadRequest}
var api = new Api.CampaignApi()
var id = 56; // {Number}
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.createBulkUpload(id, createBulkUploadRequest, callback);
api.getTtwCampaign(id, callback);

```

Expand All @@ -454,6 +453,7 @@ All URIs are relative to *http://api.dealmaker.tech*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*Api.CampaignApi* | [**getTtwCampaign**](docs/CampaignApi.md#getTtwCampaign) | **GET** /ttw/campaigns/{id} | Gets a TTW campaign for a given company
*Api.CompanyApi* | [**createBulkUpload**](docs/CompanyApi.md#createBulkUpload) | **POST** /companies/{id}/documents/bulk_uploads | Create bulk upload record
*Api.CompanyApi* | [**createBulkUploadDetail**](docs/CompanyApi.md#createBulkUploadDetail) | **POST** /companies/{company_id}/documents/bulk_uploads/{bulk_upload_id}/details | Create a BulkUploadDetail class record
*Api.CompanyApi* | [**createCompany**](docs/CompanyApi.md#createCompany) | **POST** /companies | Create new company
Expand Down Expand Up @@ -680,6 +680,7 @@ Class | Method | HTTP request | Description
- [Api.V1EntitiesShareholdersTags](docs/V1EntitiesShareholdersTags.md)
- [Api.V1EntitiesState](docs/V1EntitiesState.md)
- [Api.V1EntitiesSubscriptionAgreement](docs/V1EntitiesSubscriptionAgreement.md)
- [Api.V1EntitiesTtwCampaignResponse](docs/V1EntitiesTtwCampaignResponse.md)
- [Api.V1EntitiesUser](docs/V1EntitiesUser.md)
- [Api.V1EntitiesUsersBinding](docs/V1EntitiesUsersBinding.md)
- [Api.V1EntitiesUsersFactor](docs/V1EntitiesUsersFactor.md)
Expand Down
55 changes: 55 additions & 0 deletions v1/clients/javascript/docs/CampaignApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Api.CampaignApi

All URIs are relative to *http://api.dealmaker.tech*

Method | HTTP request | Description
------------- | ------------- | -------------
[**getTtwCampaign**](CampaignApi.md#getTtwCampaign) | **GET** /ttw/campaigns/{id} | Gets a TTW campaign for a given company



## getTtwCampaign

> V1EntitiesTtwCampaignResponse getTtwCampaign(id)
Gets a TTW campaign for a given company

Gets a TTW campaign for a given company

### Example

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

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

### Parameters


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

### Return type

[**V1EntitiesTtwCampaignResponse**](V1EntitiesTtwCampaignResponse.md)

### Authorization

No authorization required

### HTTP request headers

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

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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Number** | The campaign ID | [optional]
**name** | **String** | Campaign name | [optional]
**redirectLink** | **String** | Redirect link for the campaign | [optional]
**introductionEmail** | **Boolean** | State of the introduction email | [optional]
**oneDayReminderEmail** | **Boolean** | State of the 1 day reminder email | [optional]
**twoDayReminderEmail** | **Boolean** | State of the 2 day reminder email | [optional]
**sevenDayReminderEmail** | **Boolean** | State of the 7 day reminder email | [optional]
**confirmationEmail** | **Boolean** | State of the confirmation email | [optional]


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.105.2",
"version": "0.105.3",
"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.105.2
* @version 0.105.3
*/

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

/**
Expand Down
81 changes: 81 additions & 0 deletions v1/clients/javascript/src/api/CampaignApi.js

Large diffs are not rendered by default.

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.105.2
* @version 0.105.3
*/
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.105.2
* @version 0.105.3
*/
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.

2 changes: 1 addition & 1 deletion 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.105.2
* @version 0.105.3
*/
export default class DefaultApi {

Expand Down
2 changes: 1 addition & 1 deletion v1/clients/javascript/src/api/IncentivePlanApi.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/InvestorApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import V1EntitiesInvestors from '../model/V1EntitiesInvestors';
/**
* Investor service.
* @module api/InvestorApi
* @version 0.105.2
* @version 0.105.3
*/
export default class InvestorApi {

Expand Down
2 changes: 1 addition & 1 deletion v1/clients/javascript/src/api/InvestorProfileApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import V1EntitiesInvestorProfiles from '../model/V1EntitiesInvestorProfiles';
/**
* InvestorProfile service.
* @module api/InvestorProfileApi
* @version 0.105.2
* @version 0.105.3
*/
export default class InvestorProfileApi {

Expand Down
2 changes: 1 addition & 1 deletion v1/clients/javascript/src/api/PaymentsApi.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/ShareholderApi.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/UploadApi.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/UserApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import VerifySmsVerificationRequest from '../model/VerifySmsVerificationRequest'
/**
* User service.
* @module api/UserApi
* @version 0.105.2
* @version 0.105.3
*/
export default class UserApi {

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

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

16 changes: 15 additions & 1 deletion v1/clients/javascript/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ import V1EntitiesShareholders from './model/V1EntitiesShareholders';
import V1EntitiesShareholdersTags from './model/V1EntitiesShareholdersTags';
import V1EntitiesState from './model/V1EntitiesState';
import V1EntitiesSubscriptionAgreement from './model/V1EntitiesSubscriptionAgreement';
import V1EntitiesTtwCampaignResponse from './model/V1EntitiesTtwCampaignResponse';
import V1EntitiesUser from './model/V1EntitiesUser';
import V1EntitiesUsersBinding from './model/V1EntitiesUsersBinding';
import V1EntitiesUsersFactor from './model/V1EntitiesUsersFactor';
Expand All @@ -148,6 +149,7 @@ import V1EntitiesWebhooksSubscriptionDeal from './model/V1EntitiesWebhooksSubscr
import V1EntitiesWebhooksSubscriptionDeals from './model/V1EntitiesWebhooksSubscriptionDeals';
import VerifyFactorRequest from './model/VerifyFactorRequest';
import VerifySmsVerificationRequest from './model/VerifySmsVerificationRequest';
import CampaignApi from './api/CampaignApi';
import CompanyApi from './api/CompanyApi';
import CountryApi from './api/CountryApi';
import CustomEmailsApi from './api/CustomEmailsApi';
Expand Down Expand Up @@ -193,7 +195,7 @@ import UsersApi from './api/UsersApi';
* </pre>
* </p>
* @module index
* @version 0.105.2
* @version 0.105.3
*/
export {
/**
Expand Down Expand Up @@ -934,6 +936,12 @@ export {
*/
V1EntitiesSubscriptionAgreement,

/**
* The V1EntitiesTtwCampaignResponse model constructor.
* @property {module:model/V1EntitiesTtwCampaignResponse}
*/
V1EntitiesTtwCampaignResponse,

/**
* The V1EntitiesUser model constructor.
* @property {module:model/V1EntitiesUser}
Expand Down Expand Up @@ -1012,6 +1020,12 @@ export {
*/
VerifySmsVerificationRequest,

/**
* The CampaignApi service constructor.
* @property {module:api/CampaignApi}
*/
CampaignApi,

/**
* The CompanyApi service constructor.
* @property {module:api/CompanyApi}
Expand Down
2 changes: 1 addition & 1 deletion v1/clients/javascript/src/model/Add506cDocumentRequest.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/model/AddDocumentRequest.js

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

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

Loading

0 comments on commit 6e7e1d6

Please sign in to comment.