Skip to content

Commit

Permalink
Update SDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
DealMaker committed Jul 8, 2024
1 parent 77d05d6 commit 628d167
Show file tree
Hide file tree
Showing 203 changed files with 1,963 additions and 189 deletions.
3 changes: 3 additions & 0 deletions v1/clients/javascript/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ docs/V1EntitiesTtwCampaignList.md
docs/V1EntitiesTtwCampaignResponse.md
docs/V1EntitiesTtwReservationCreate.md
docs/V1EntitiesTtwReservationResponse.md
docs/V1EntitiesTtwReservationUserId.md
docs/V1EntitiesUser.md
docs/V1EntitiesUsersBinding.md
docs/V1EntitiesUsersContext.md
Expand Down Expand Up @@ -319,6 +320,7 @@ src/model/V1EntitiesTtwCampaignList.js
src/model/V1EntitiesTtwCampaignResponse.js
src/model/V1EntitiesTtwReservationCreate.js
src/model/V1EntitiesTtwReservationResponse.js
src/model/V1EntitiesTtwReservationUserId.js
src/model/V1EntitiesUser.js
src/model/V1EntitiesUsersBinding.js
src/model/V1EntitiesUsersContext.js
Expand Down Expand Up @@ -482,6 +484,7 @@ test/model/V1EntitiesTtwCampaignList.spec.js
test/model/V1EntitiesTtwCampaignResponse.spec.js
test/model/V1EntitiesTtwReservationCreate.spec.js
test/model/V1EntitiesTtwReservationResponse.spec.js
test/model/V1EntitiesTtwReservationUserId.spec.js
test/model/V1EntitiesUser.spec.js
test/model/V1EntitiesUsersBinding.spec.js
test/model/V1EntitiesUsersContext.spec.js
Expand Down
4 changes: 3 additions & 1 deletion 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.106.4
- Package version: 0.107.0
- Generator version: 7.8.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

Expand Down Expand Up @@ -455,6 +455,7 @@ 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.CampaignApi* | [**getTtwCampaigns**](docs/CampaignApi.md#getTtwCampaigns) | **GET** /ttw/companies/{company_id}/campaigns | Gets a list TTW campaigns for a given company
*Api.CampaignApi* | [**getUserTtwReservation**](docs/CampaignApi.md#getUserTtwReservation) | **GET** /ttw/campaign/{id}/reservation/{reservation_id}/user_id | Gets User ID for a TTW reservation
*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 @@ -698,6 +699,7 @@ Class | Method | HTTP request | Description
- [Api.V1EntitiesTtwCampaignResponse](docs/V1EntitiesTtwCampaignResponse.md)
- [Api.V1EntitiesTtwReservationCreate](docs/V1EntitiesTtwReservationCreate.md)
- [Api.V1EntitiesTtwReservationResponse](docs/V1EntitiesTtwReservationResponse.md)
- [Api.V1EntitiesTtwReservationUserId](docs/V1EntitiesTtwReservationUserId.md)
- [Api.V1EntitiesUser](docs/V1EntitiesUser.md)
- [Api.V1EntitiesUsersBinding](docs/V1EntitiesUsersBinding.md)
- [Api.V1EntitiesUsersContext](docs/V1EntitiesUsersContext.md)
Expand Down
49 changes: 49 additions & 0 deletions v1/clients/javascript/docs/CampaignApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Method | HTTP request | Description
------------- | ------------- | -------------
[**getTtwCampaign**](CampaignApi.md#getTtwCampaign) | **GET** /ttw/campaigns/{id} | Gets a TTW campaign for a given company
[**getTtwCampaigns**](CampaignApi.md#getTtwCampaigns) | **GET** /ttw/companies/{company_id}/campaigns | Gets a list TTW campaigns for a given company
[**getUserTtwReservation**](CampaignApi.md#getUserTtwReservation) | **GET** /ttw/campaign/{id}/reservation/{reservation_id}/user_id | Gets User ID for a TTW reservation



Expand Down Expand Up @@ -100,3 +101,51 @@ No authorization required
- **Content-Type**: Not defined
- **Accept**: application/json


## getUserTtwReservation

> V1EntitiesTtwReservationUserId getUserTtwReservation(id, reservationId)
Gets User ID for a TTW reservation

Gets a TTW reservation

### Example

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

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

### Parameters


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

### Return type

[**V1EntitiesTtwReservationUserId**](V1EntitiesTtwReservationUserId.md)

### Authorization

No authorization required

### HTTP request headers

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

1 change: 1 addition & 0 deletions v1/clients/javascript/docs/V1EntitiesEmailEvent.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ Name | Type | Description | Notes
**opened** | **Number** | The number of email opened. | [optional]
**clicked** | **Number** | The number of email clicked. | [optional]
**bounced** | **Number** | The number of email bounced. | [optional]
**blocked** | **Number** | The number of email blocked. | [optional]


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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**userId** | **Number** | The ID of user associated with reservation. | [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.106.4",
"version": "0.107.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.106.4
* @version 0.107.0
*/

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

/**
Expand Down
52 changes: 51 additions & 1 deletion v1/clients/javascript/src/api/CampaignApi.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/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.106.4
* @version 0.107.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 @@ -27,7 +27,7 @@ import V1EntitiesDealsPriceDetails from '../model/V1EntitiesDealsPriceDetails';
/**
* Deal service.
* @module api/DealApi
* @version 0.106.4
* @version 0.107.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.

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 @@ -32,7 +32,7 @@ import V1EntitiesWebhooksSubscription from '../model/V1EntitiesWebhooksSubscript
/**
* Default service.
* @module api/DefaultApi
* @version 0.106.4
* @version 0.107.0
*/
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.106.4
* @version 0.107.0
*/
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.106.4
* @version 0.107.0
*/
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/ReservationApi.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.106.4
* @version 0.107.0
*/
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.

9 changes: 8 additions & 1 deletion v1/clients/javascript/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ import V1EntitiesTtwCampaignList from './model/V1EntitiesTtwCampaignList';
import V1EntitiesTtwCampaignResponse from './model/V1EntitiesTtwCampaignResponse';
import V1EntitiesTtwReservationCreate from './model/V1EntitiesTtwReservationCreate';
import V1EntitiesTtwReservationResponse from './model/V1EntitiesTtwReservationResponse';
import V1EntitiesTtwReservationUserId from './model/V1EntitiesTtwReservationUserId';
import V1EntitiesUser from './model/V1EntitiesUser';
import V1EntitiesUsersBinding from './model/V1EntitiesUsersBinding';
import V1EntitiesUsersContext from './model/V1EntitiesUsersContext';
Expand Down Expand Up @@ -207,7 +208,7 @@ import UsersApi from './api/UsersApi';
* </pre>
* </p>
* @module index
* @version 0.106.4
* @version 0.107.0
*/
export {
/**
Expand Down Expand Up @@ -1008,6 +1009,12 @@ export {
*/
V1EntitiesTtwReservationResponse,

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

/**
* The V1EntitiesUser model constructor.
* @property {module:model/V1EntitiesUser}
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.

Loading

0 comments on commit 628d167

Please sign in to comment.