mirror of https://github.com/vernonkeenan/lib
parent
4eb67e1bf0
commit
7e1f6bbe91
|
@ -1,33 +0,0 @@
|
||||||
{
|
|
||||||
"presets": [
|
|
||||||
"@babel/preset-env"
|
|
||||||
],
|
|
||||||
"plugins": [
|
|
||||||
"@babel/plugin-syntax-dynamic-import",
|
|
||||||
"@babel/plugin-syntax-import-meta",
|
|
||||||
"@babel/plugin-proposal-class-properties",
|
|
||||||
"@babel/plugin-proposal-json-strings",
|
|
||||||
[
|
|
||||||
"@babel/plugin-proposal-decorators",
|
|
||||||
{
|
|
||||||
"legacy": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@babel/plugin-proposal-function-sent",
|
|
||||||
"@babel/plugin-proposal-export-namespace-from",
|
|
||||||
"@babel/plugin-proposal-numeric-separator",
|
|
||||||
"@babel/plugin-proposal-throw-expressions",
|
|
||||||
"@babel/plugin-proposal-export-default-from",
|
|
||||||
"@babel/plugin-proposal-logical-assignment-operators",
|
|
||||||
"@babel/plugin-proposal-optional-chaining",
|
|
||||||
[
|
|
||||||
"@babel/plugin-proposal-pipeline-operator",
|
|
||||||
{
|
|
||||||
"proposal": "minimal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@babel/plugin-proposal-nullish-coalescing-operator",
|
|
||||||
"@babel/plugin-proposal-do-expressions",
|
|
||||||
"@babel/plugin-proposal-function-bind"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,33 +0,0 @@
|
||||||
# Logs
|
|
||||||
logs
|
|
||||||
*.log
|
|
||||||
npm-debug.log*
|
|
||||||
|
|
||||||
# Runtime data
|
|
||||||
pids
|
|
||||||
*.pid
|
|
||||||
*.seed
|
|
||||||
|
|
||||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
||||||
lib-cov
|
|
||||||
|
|
||||||
# Coverage directory used by tools like istanbul
|
|
||||||
coverage
|
|
||||||
|
|
||||||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
|
||||||
.grunt
|
|
||||||
|
|
||||||
# node-waf configuration
|
|
||||||
.lock-wscript
|
|
||||||
|
|
||||||
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
|
||||||
build/Release
|
|
||||||
|
|
||||||
# Dependency directory
|
|
||||||
node_modules
|
|
||||||
|
|
||||||
# Optional npm cache directory
|
|
||||||
.npm
|
|
||||||
|
|
||||||
# Optional REPL history
|
|
||||||
.node_repl_history
|
|
|
@ -1,23 +0,0 @@
|
||||||
# OpenAPI Generator Ignore
|
|
||||||
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
||||||
|
|
||||||
# Use this file to prevent files from being overwritten by the generator.
|
|
||||||
# The patterns follow closely to .gitignore or .dockerignore.
|
|
||||||
|
|
||||||
# As an example, the C# client generator defines ApiClient.cs.
|
|
||||||
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
||||||
#ApiClient.cs
|
|
||||||
|
|
||||||
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
||||||
#foo/*/qux
|
|
||||||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
||||||
|
|
||||||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
||||||
#foo/**/qux
|
|
||||||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
||||||
|
|
||||||
# You can also negate patterns with an exclamation (!).
|
|
||||||
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
||||||
#docs/*.md
|
|
||||||
# Then explicitly reverse the ignore rule for a single file:
|
|
||||||
#!docs/README.md
|
|
|
@ -1,34 +0,0 @@
|
||||||
.babelrc
|
|
||||||
.gitignore
|
|
||||||
.openapi-generator-ignore
|
|
||||||
.travis.yml
|
|
||||||
README.md
|
|
||||||
docs/Address.md
|
|
||||||
docs/Error.md
|
|
||||||
docs/ResponseMeta.md
|
|
||||||
docs/TenantUser.md
|
|
||||||
docs/User.md
|
|
||||||
docs/UserApi.md
|
|
||||||
docs/UserResponse.md
|
|
||||||
docs/UserRole.md
|
|
||||||
git_push.sh
|
|
||||||
mocha.opts
|
|
||||||
package.json
|
|
||||||
src/ApiClient.js
|
|
||||||
src/api/UserApi.js
|
|
||||||
src/index.js
|
|
||||||
src/model/Address.js
|
|
||||||
src/model/Error.js
|
|
||||||
src/model/ResponseMeta.js
|
|
||||||
src/model/TenantUser.js
|
|
||||||
src/model/User.js
|
|
||||||
src/model/UserResponse.js
|
|
||||||
src/model/UserRole.js
|
|
||||||
test/api/UserApi.spec.js
|
|
||||||
test/model/Address.spec.js
|
|
||||||
test/model/Error.spec.js
|
|
||||||
test/model/ResponseMeta.spec.js
|
|
||||||
test/model/TenantUser.spec.js
|
|
||||||
test/model/User.spec.js
|
|
||||||
test/model/UserResponse.spec.js
|
|
||||||
test/model/UserRole.spec.js
|
|
|
@ -1 +0,0 @@
|
||||||
6.0.1
|
|
|
@ -1,5 +0,0 @@
|
||||||
language: node_js
|
|
||||||
cache: npm
|
|
||||||
node_js:
|
|
||||||
- "6"
|
|
||||||
- "6.1"
|
|
|
@ -1,155 +0,0 @@
|
||||||
# auth
|
|
||||||
|
|
||||||
Auth - JavaScript client for auth
|
|
||||||
Authentication Microservice
|
|
||||||
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
||||||
|
|
||||||
- API version: 0.0.2
|
|
||||||
- Package version: 0.0.2
|
|
||||||
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
### For [Node.js](https://nodejs.org/)
|
|
||||||
|
|
||||||
#### npm
|
|
||||||
|
|
||||||
To publish the library as a [npm](https://www.npmjs.com/), please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).
|
|
||||||
|
|
||||||
Then install it via:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm install auth --save
|
|
||||||
```
|
|
||||||
|
|
||||||
Finally, you need to build the module:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm run build
|
|
||||||
```
|
|
||||||
|
|
||||||
##### Local development
|
|
||||||
|
|
||||||
To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm install
|
|
||||||
```
|
|
||||||
|
|
||||||
Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm link
|
|
||||||
```
|
|
||||||
|
|
||||||
To use the link you just defined in your project, switch to the directory you want to use your auth from, and run:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>
|
|
||||||
```
|
|
||||||
|
|
||||||
Finally, you need to build the module:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm run build
|
|
||||||
```
|
|
||||||
|
|
||||||
#### git
|
|
||||||
|
|
||||||
If the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID
|
|
||||||
then install it via:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm install GIT_USER_ID/GIT_REPO_ID --save
|
|
||||||
```
|
|
||||||
|
|
||||||
### For browser
|
|
||||||
|
|
||||||
The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
|
|
||||||
the above steps with Node.js and installing browserify with `npm install -g browserify`,
|
|
||||||
perform the following (assuming *main.js* is your entry file):
|
|
||||||
|
|
||||||
```shell
|
|
||||||
browserify main.js > bundle.js
|
|
||||||
```
|
|
||||||
|
|
||||||
Then include *bundle.js* in the HTML pages.
|
|
||||||
|
|
||||||
### Webpack Configuration
|
|
||||||
|
|
||||||
Using Webpack you may encounter the following error: "Module not found: Error:
|
|
||||||
Cannot resolve module", most certainly you should disable AMD loader. Add/merge
|
|
||||||
the following section to your webpack config:
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
module: {
|
|
||||||
rules: [
|
|
||||||
{
|
|
||||||
parser: {
|
|
||||||
amd: false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Getting Started
|
|
||||||
|
|
||||||
Please follow the [installation](#installation) instruction and execute the following JS code:
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
var Auth = require('auth');
|
|
||||||
|
|
||||||
var defaultClient = Auth.ApiClient.instance;
|
|
||||||
// Configure API key authorization: ApiKeyAuth
|
|
||||||
var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
|
|
||||||
ApiKeyAuth.apiKey = "YOUR API KEY"
|
|
||||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
||||||
//ApiKeyAuth.apiKeyPrefix['X-API-Key'] = "Token"
|
|
||||||
|
|
||||||
var api = new Auth.UserApi()
|
|
||||||
var opts = {
|
|
||||||
'apikey': "apikey_example" // {String} Service account or developer API key
|
|
||||||
};
|
|
||||||
var callback = function(error, data, response) {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully. Returned data: ' + data);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
api.getUsers(opts, callback);
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
## Documentation for API Endpoints
|
|
||||||
|
|
||||||
All URIs are relative to *http://auth.vernonkeenan.com:8080/v1*
|
|
||||||
|
|
||||||
Class | Method | HTTP request | Description
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
*Auth.UserApi* | [**getUsers**](docs/UserApi.md#getUsers) | **GET** /users | Check API Key
|
|
||||||
|
|
||||||
|
|
||||||
## Documentation for Models
|
|
||||||
|
|
||||||
- [Auth.Address](docs/Address.md)
|
|
||||||
- [Auth.Error](docs/Error.md)
|
|
||||||
- [Auth.ResponseMeta](docs/ResponseMeta.md)
|
|
||||||
- [Auth.TenantUser](docs/TenantUser.md)
|
|
||||||
- [Auth.User](docs/User.md)
|
|
||||||
- [Auth.UserResponse](docs/UserResponse.md)
|
|
||||||
- [Auth.UserRole](docs/UserRole.md)
|
|
||||||
|
|
||||||
|
|
||||||
## Documentation for Authorization
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### ApiKeyAuth
|
|
||||||
|
|
||||||
|
|
||||||
- **Type**: API key
|
|
||||||
- **API key parameter name**: X-API-Key
|
|
||||||
- **Location**: HTTP header
|
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
# Auth.Address
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**city** | **String** | City | [optional]
|
|
||||||
**country** | **String** | Country full name | [optional]
|
|
||||||
**countryCode** | **String** | Country Code | [optional]
|
|
||||||
**postalCode** | **String** | Postal Code | [optional]
|
|
||||||
**state** | **String** | State full name | [optional]
|
|
||||||
**stateCode** | **String** | State Code | [optional]
|
|
||||||
**street** | **String** | Street number and name | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
# Auth.Error
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**code** | **Number** | | [optional]
|
|
||||||
**fields** | **String** | | [optional]
|
|
||||||
**message** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
# Auth.ResponseMeta
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**contact** | **String** | Microservice Contact Info | [optional]
|
|
||||||
**copyright** | **String** | Copyright Info | [optional]
|
|
||||||
**license** | **String** | License Information and Restrictions | [optional]
|
|
||||||
**operationID** | **String** | Operation ID | [optional]
|
|
||||||
**requestIP** | **String** | Request IP Address | [optional]
|
|
||||||
**requestType** | **String** | Request Type | [optional]
|
|
||||||
**requestURL** | **String** | Request URL | [optional]
|
|
||||||
**serverInfo** | **String** | Data Server Info | [optional]
|
|
||||||
**serverResponseTime** | **String** | Data Server Response Time (ms) | [optional]
|
|
||||||
**serverTimestamp** | **String** | Backend Server Timestamp | [optional]
|
|
||||||
**taxnexusAccount** | **String** | Taxnexus Account Number used for recording transactions | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
# Auth.TenantUser
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**accessLevel** | **String** | The makeTenantUser access level for this User | [optional]
|
|
||||||
**auth0UserID** | **String** | Auth0 User ID | [optional]
|
|
||||||
**accountID** | **String** | Account ID | [optional]
|
|
||||||
**contactID** | **String** | Contact ID | [optional]
|
|
||||||
**companyName** | **String** | Account Name | [optional]
|
|
||||||
**taxnexusAccount** | **String** | Taxnexus Account | [optional]
|
|
||||||
**tenantActive** | **Boolean** | Tenant active? | [optional]
|
|
||||||
**tenantID** | **String** | The Tenant ID | [optional]
|
|
||||||
**tenantName** | **String** | Tenant Name | [optional]
|
|
||||||
**tenantStatus** | **String** | Tenant Status | [optional]
|
|
||||||
**tenantType** | **String** | Tenant type | [optional]
|
|
||||||
**tenantVersion** | **String** | Tenant Version | [optional]
|
|
||||||
**username** | **String** | Username | [optional]
|
|
||||||
**userEmail** | **String** | User Email Address | [optional]
|
|
||||||
**userFullName** | **String** | User Full Name | [optional]
|
|
||||||
**userID** | **String** | The User ID | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,66 +0,0 @@
|
||||||
# Auth.User
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**aboutMe** | **String** | About Me | [optional]
|
|
||||||
**accountID** | **String** | Account ID | [optional]
|
|
||||||
**address** | [**Address**](Address.md) | | [optional]
|
|
||||||
**alias** | **String** | Alias | [optional]
|
|
||||||
**aPIKey** | **String** | API Key | [optional]
|
|
||||||
**auth0UserID** | **String** | Auth0 User Id | [optional]
|
|
||||||
**communityNickname** | **String** | Nickname | [optional]
|
|
||||||
**companyName** | **String** | Company Name | [optional]
|
|
||||||
**contactID** | **String** | Contact | [optional]
|
|
||||||
**createdByID** | **String** | Created User ID | [optional]
|
|
||||||
**createdDate** | **String** | Date Created | [optional]
|
|
||||||
**delegatedApproverID** | **String** | Delegated Approver | [optional]
|
|
||||||
**department** | **String** | Department | [optional]
|
|
||||||
**division** | **String** | Division | [optional]
|
|
||||||
**email** | **String** | Email address | [optional]
|
|
||||||
**employeeNumber** | **String** | Employee Number | [optional]
|
|
||||||
**endOfDay** | **String** | Time day ends | [optional]
|
|
||||||
**environment** | **String** | Environment | [optional]
|
|
||||||
**extension** | **String** | Extension | [optional]
|
|
||||||
**fabricAPIKey** | **String** | Fabric API Key | [optional]
|
|
||||||
**fax** | **String** | Fax | [optional]
|
|
||||||
**firstName** | **String** | The first name | [optional]
|
|
||||||
**forecastEnabled** | **Boolean** | Allow Forecasting | [optional]
|
|
||||||
**fullPhotoURL** | **String** | Full Photo URL | [optional]
|
|
||||||
**ID** | **String** | Taxnexus ID | [optional]
|
|
||||||
**isActive** | **Boolean** | Active | [optional]
|
|
||||||
**isPortalEnabled** | **Boolean** | Is the user enabled for Communities? | [optional]
|
|
||||||
**isProphilePhotoActive** | **Boolean** | Has Profile Photo | [optional]
|
|
||||||
**isSystemControlled** | **Boolean** | | [optional]
|
|
||||||
**lastModifiedByID** | **String** | Last Modified User ID | [optional]
|
|
||||||
**lastModifiedDate** | **String** | Last Modified Date | [optional]
|
|
||||||
**lastLogin** | **String** | Last login time | [optional]
|
|
||||||
**lastIP** | **String** | IP address of last login | [optional]
|
|
||||||
**loginCount** | **Number** | Number of times user has logged in | [optional]
|
|
||||||
**lastName** | **String** | The Last Name | [optional]
|
|
||||||
**managerID** | **String** | Manager | [optional]
|
|
||||||
**mobilePhone** | **String** | Mobile | [optional]
|
|
||||||
**name** | **String** | Name | [optional]
|
|
||||||
**outOfOfficeMessage** | **String** | Out of office message | [optional]
|
|
||||||
**phone** | **String** | Phone | [optional]
|
|
||||||
**portalRole** | **String** | Portal Role Level | [optional]
|
|
||||||
**profileID** | **String** | Profile | [optional]
|
|
||||||
**receivesAdminInfoEmails** | **Boolean** | Admin Info Emails | [optional]
|
|
||||||
**receivesAdminEmails** | **Boolean** | Info Emails | [optional]
|
|
||||||
**senderEmail** | **String** | Email Sender Address | [optional]
|
|
||||||
**senderName** | **String** | Email Sender Name | [optional]
|
|
||||||
**signature** | **String** | Email Signature | [optional]
|
|
||||||
**smallPhotoURL** | **String** | Small Photo URL | [optional]
|
|
||||||
**startOfDay** | **String** | The time day starts | [optional]
|
|
||||||
**taxnexusAccount** | **String** | Taxnexus Account | [optional]
|
|
||||||
**tenantID** | **String** | Tenant ID associated with this user | [optional]
|
|
||||||
**timeZone** | **String** | Time Zone | [optional]
|
|
||||||
**title** | **String** | Title | [optional]
|
|
||||||
**username** | **String** | Username | [optional]
|
|
||||||
**userRoleID** | **String** | Role | [optional]
|
|
||||||
**userType** | **String** | User Type | [optional]
|
|
||||||
**userRoles** | [**[UserRole]**](UserRole.md) | | [optional]
|
|
||||||
**tenantUsers** | [**[TenantUser]**](TenantUser.md) | | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,62 +0,0 @@
|
||||||
# Auth.UserApi
|
|
||||||
|
|
||||||
All URIs are relative to *http://auth.vernonkeenan.com:8080/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**getUsers**](UserApi.md#getUsers) | **GET** /users | Check API Key
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## getUsers
|
|
||||||
|
|
||||||
> UserResponse getUsers(opts)
|
|
||||||
|
|
||||||
Check API Key
|
|
||||||
|
|
||||||
Checks for a valid API key, and returns full user record
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import Auth from 'auth';
|
|
||||||
let defaultClient = Auth.ApiClient.instance;
|
|
||||||
// Configure API key authorization: ApiKeyAuth
|
|
||||||
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
|
|
||||||
ApiKeyAuth.apiKey = 'YOUR API KEY';
|
|
||||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
||||||
//ApiKeyAuth.apiKeyPrefix = 'Token';
|
|
||||||
|
|
||||||
let apiInstance = new Auth.UserApi();
|
|
||||||
let opts = {
|
|
||||||
'apikey': "apikey_example" // String | Service account or developer API key
|
|
||||||
};
|
|
||||||
apiInstance.getUsers(opts, (error, data, response) => {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully. Returned data: ' + data);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**apikey** | **String**| Service account or developer API key | [optional]
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**UserResponse**](UserResponse.md)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
# Auth.UserResponse
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**data** | [**[User]**](User.md) | | [optional]
|
|
||||||
**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
# Auth.UserRole
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**accountID** | **String** | Account Id | [optional]
|
|
||||||
**auth0RoleID** | **String** | Linked role ID | [optional]
|
|
||||||
**auth0UserID** | **String** | Auth0 User ID | [optional]
|
|
||||||
**companyName** | **String** | Company Name | [optional]
|
|
||||||
**contactID** | **String** | Contact ID | [optional]
|
|
||||||
**roleDescription** | **String** | Role description | [optional]
|
|
||||||
**roleID** | **String** | The Role ID | [optional]
|
|
||||||
**roleName** | **String** | Role Name | [optional]
|
|
||||||
**taxnexusAccount** | **String** | Taxnexus Account Number | [optional]
|
|
||||||
**userEmail** | **String** | User Email Address | [optional]
|
|
||||||
**userFullName** | **String** | User Full Name | [optional]
|
|
||||||
**userID** | **String** | The User ID | [optional]
|
|
||||||
**username** | **String** | Username | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,57 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
||||||
#
|
|
||||||
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
|
||||||
|
|
||||||
git_user_id=$1
|
|
||||||
git_repo_id=$2
|
|
||||||
release_note=$3
|
|
||||||
git_host=$4
|
|
||||||
|
|
||||||
if [ "$git_host" = "" ]; then
|
|
||||||
git_host="github.com"
|
|
||||||
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$git_user_id" = "" ]; then
|
|
||||||
git_user_id="GIT_USER_ID"
|
|
||||||
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$git_repo_id" = "" ]; then
|
|
||||||
git_repo_id="GIT_REPO_ID"
|
|
||||||
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$release_note" = "" ]; then
|
|
||||||
release_note="Minor update"
|
|
||||||
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Initialize the local directory as a Git repository
|
|
||||||
git init
|
|
||||||
|
|
||||||
# Adds the files in the local repository and stages them for commit.
|
|
||||||
git add .
|
|
||||||
|
|
||||||
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
||||||
git commit -m "$release_note"
|
|
||||||
|
|
||||||
# Sets the new remote
|
|
||||||
git_remote=$(git remote)
|
|
||||||
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
||||||
|
|
||||||
if [ "$GIT_TOKEN" = "" ]; then
|
|
||||||
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
||||||
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
||||||
else
|
|
||||||
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
git pull origin master
|
|
||||||
|
|
||||||
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
||||||
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
||||||
git push origin master 2>&1 | grep -v 'To https'
|
|
|
@ -1 +0,0 @@
|
||||||
--timeout 10000
|
|
|
@ -1,46 +0,0 @@
|
||||||
{
|
|
||||||
"name": "auth",
|
|
||||||
"version": "0.0.2",
|
|
||||||
"description": "Authentication_Microservice",
|
|
||||||
"license": "Proprietary - Copyright (c) 2018-2021 by Taxnexus, Inc.",
|
|
||||||
"main": "dist/index.js",
|
|
||||||
"scripts": {
|
|
||||||
"build": "babel src -d dist",
|
|
||||||
"prepare": "npm run build",
|
|
||||||
"test": "mocha --require @babel/register --recursive"
|
|
||||||
},
|
|
||||||
"browser": {
|
|
||||||
"fs": false
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@babel/cli": "^7.0.0",
|
|
||||||
"superagent": "^5.3.0"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@babel/core": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-decorators": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-do-expressions": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-export-default-from": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-function-bind": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-function-sent": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-json-strings": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
|
|
||||||
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
||||||
"@babel/plugin-syntax-import-meta": "^7.0.0",
|
|
||||||
"@babel/preset-env": "^7.0.0",
|
|
||||||
"@babel/register": "^7.0.0",
|
|
||||||
"expect.js": "^0.3.1",
|
|
||||||
"mocha": "^8.0.1",
|
|
||||||
"sinon": "^7.2.0"
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"dist"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,692 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import superagent from "superagent";
|
|
||||||
import querystring from "querystring";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @module ApiClient
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
||||||
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
||||||
* contents of this file should be regarded as internal but are documented for completeness.
|
|
||||||
* @alias module:ApiClient
|
|
||||||
* @class
|
|
||||||
*/
|
|
||||||
class ApiClient {
|
|
||||||
/**
|
|
||||||
* The base URL against which to resolve every API call's (relative) path.
|
|
||||||
* Overrides the default value set in spec file if present
|
|
||||||
* @param {String} basePath
|
|
||||||
*/
|
|
||||||
constructor(basePath = 'http://auth.vernonkeenan.com:8080/v1') {
|
|
||||||
/**
|
|
||||||
* The base URL against which to resolve every API call's (relative) path.
|
|
||||||
* @type {String}
|
|
||||||
* @default http://auth.vernonkeenan.com:8080/v1
|
|
||||||
*/
|
|
||||||
this.basePath = basePath.replace(/\/+$/, '');
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The authentication methods to be included for all API calls.
|
|
||||||
* @type {Array.<String>}
|
|
||||||
*/
|
|
||||||
this.authentications = {
|
|
||||||
'ApiKeyAuth': {type: 'apiKey', 'in': 'header', name: 'X-API-Key'}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The default HTTP headers to be included for all API calls.
|
|
||||||
* @type {Array.<String>}
|
|
||||||
* @default {}
|
|
||||||
*/
|
|
||||||
this.defaultHeaders = {
|
|
||||||
'User-Agent': 'OpenAPI-Generator/0.0.2/Javascript'
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The default HTTP timeout for all API calls.
|
|
||||||
* @type {Number}
|
|
||||||
* @default 60000
|
|
||||||
*/
|
|
||||||
this.timeout = 60000;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* If set to false an additional timestamp parameter is added to all API GET calls to
|
|
||||||
* prevent browser caching
|
|
||||||
* @type {Boolean}
|
|
||||||
* @default true
|
|
||||||
*/
|
|
||||||
this.cache = true;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* If set to true, the client will save the cookies from each server
|
|
||||||
* response, and return them in the next request.
|
|
||||||
* @default false
|
|
||||||
*/
|
|
||||||
this.enableCookies = false;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Used to save and return cookies in a node.js (non-browser) setting,
|
|
||||||
* if this.enableCookies is set to true.
|
|
||||||
*/
|
|
||||||
if (typeof window === 'undefined') {
|
|
||||||
this.agent = new superagent.agent();
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Allow user to override superagent agent
|
|
||||||
*/
|
|
||||||
this.requestAgent = null;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Allow user to add superagent plugins
|
|
||||||
*/
|
|
||||||
this.plugins = null;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a string representation for an actual parameter.
|
|
||||||
* @param param The actual parameter.
|
|
||||||
* @returns {String} The string representation of <code>param</code>.
|
|
||||||
*/
|
|
||||||
paramToString(param) {
|
|
||||||
if (param == undefined || param == null) {
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
if (param instanceof Date) {
|
|
||||||
return param.toJSON();
|
|
||||||
}
|
|
||||||
if (ApiClient.canBeJsonified(param)) {
|
|
||||||
return JSON.stringify(param);
|
|
||||||
}
|
|
||||||
|
|
||||||
return param.toString();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a boolean indicating if the parameter could be JSON.stringified
|
|
||||||
* @param param The actual parameter
|
|
||||||
* @returns {Boolean} Flag indicating if <code>param</code> can be JSON.stringified
|
|
||||||
*/
|
|
||||||
static canBeJsonified(str) {
|
|
||||||
if (typeof str !== 'string' && typeof str !== 'object') return false;
|
|
||||||
try {
|
|
||||||
const type = str.toString();
|
|
||||||
return type === '[object Object]'
|
|
||||||
|| type === '[object Array]';
|
|
||||||
} catch (err) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.
|
|
||||||
* NOTE: query parameters are not handled here.
|
|
||||||
* @param {String} path The path to append to the base URL.
|
|
||||||
* @param {Object} pathParams The parameter values to append.
|
|
||||||
* @param {String} apiBasePath Base path defined in the path, operation level to override the default one
|
|
||||||
* @returns {String} The encoded path with parameter values substituted.
|
|
||||||
*/
|
|
||||||
buildUrl(path, pathParams, apiBasePath) {
|
|
||||||
if (!path.match(/^\//)) {
|
|
||||||
path = '/' + path;
|
|
||||||
}
|
|
||||||
|
|
||||||
var url = this.basePath + path;
|
|
||||||
|
|
||||||
// use API (operation, path) base path if defined
|
|
||||||
if (apiBasePath !== null && apiBasePath !== undefined) {
|
|
||||||
url = apiBasePath + path;
|
|
||||||
}
|
|
||||||
|
|
||||||
url = url.replace(/\{([\w-\.]+)\}/g, (fullMatch, key) => {
|
|
||||||
var value;
|
|
||||||
if (pathParams.hasOwnProperty(key)) {
|
|
||||||
value = this.paramToString(pathParams[key]);
|
|
||||||
} else {
|
|
||||||
value = fullMatch;
|
|
||||||
}
|
|
||||||
|
|
||||||
return encodeURIComponent(value);
|
|
||||||
});
|
|
||||||
|
|
||||||
return url;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Checks whether the given content type represents JSON.<br>
|
|
||||||
* JSON content type examples:<br>
|
|
||||||
* <ul>
|
|
||||||
* <li>application/json</li>
|
|
||||||
* <li>application/json; charset=UTF8</li>
|
|
||||||
* <li>APPLICATION/JSON</li>
|
|
||||||
* </ul>
|
|
||||||
* @param {String} contentType The MIME content type to check.
|
|
||||||
* @returns {Boolean} <code>true</code> if <code>contentType</code> represents JSON, otherwise <code>false</code>.
|
|
||||||
*/
|
|
||||||
isJsonMime(contentType) {
|
|
||||||
return Boolean(contentType != null && contentType.match(/^application\/json(;.*)?$/i));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.
|
|
||||||
* @param {Array.<String>} contentTypes
|
|
||||||
* @returns {String} The chosen content type, preferring JSON.
|
|
||||||
*/
|
|
||||||
jsonPreferredMime(contentTypes) {
|
|
||||||
for (var i = 0; i < contentTypes.length; i++) {
|
|
||||||
if (this.isJsonMime(contentTypes[i])) {
|
|
||||||
return contentTypes[i];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return contentTypes[0];
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Checks whether the given parameter value represents file-like content.
|
|
||||||
* @param param The parameter to check.
|
|
||||||
* @returns {Boolean} <code>true</code> if <code>param</code> represents a file.
|
|
||||||
*/
|
|
||||||
isFileParam(param) {
|
|
||||||
// fs.ReadStream in Node.js and Electron (but not in runtime like browserify)
|
|
||||||
if (typeof require === 'function') {
|
|
||||||
let fs;
|
|
||||||
try {
|
|
||||||
fs = require('fs');
|
|
||||||
} catch (err) {}
|
|
||||||
if (fs && fs.ReadStream && param instanceof fs.ReadStream) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Buffer in Node.js
|
|
||||||
if (typeof Buffer === 'function' && param instanceof Buffer) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Blob in browser
|
|
||||||
if (typeof Blob === 'function' && param instanceof Blob) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// File in browser (it seems File object is also instance of Blob, but keep this for safe)
|
|
||||||
if (typeof File === 'function' && param instanceof File) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Normalizes parameter values:
|
|
||||||
* <ul>
|
|
||||||
* <li>remove nils</li>
|
|
||||||
* <li>keep files and arrays</li>
|
|
||||||
* <li>format to string with `paramToString` for other cases</li>
|
|
||||||
* </ul>
|
|
||||||
* @param {Object.<String, Object>} params The parameters as object properties.
|
|
||||||
* @returns {Object.<String, Object>} normalized parameters.
|
|
||||||
*/
|
|
||||||
normalizeParams(params) {
|
|
||||||
var newParams = {};
|
|
||||||
for (var key in params) {
|
|
||||||
if (params.hasOwnProperty(key) && params[key] != undefined && params[key] != null) {
|
|
||||||
var value = params[key];
|
|
||||||
if (this.isFileParam(value) || Array.isArray(value)) {
|
|
||||||
newParams[key] = value;
|
|
||||||
} else {
|
|
||||||
newParams[key] = this.paramToString(value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return newParams;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Builds a string representation of an array-type actual parameter, according to the given collection format.
|
|
||||||
* @param {Array} param An array parameter.
|
|
||||||
* @param {module:ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy.
|
|
||||||
* @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns
|
|
||||||
* <code>param</code> as is if <code>collectionFormat</code> is <code>multi</code>.
|
|
||||||
*/
|
|
||||||
buildCollectionParam(param, collectionFormat) {
|
|
||||||
if (param == null) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
switch (collectionFormat) {
|
|
||||||
case 'csv':
|
|
||||||
return param.map(this.paramToString, this).join(',');
|
|
||||||
case 'ssv':
|
|
||||||
return param.map(this.paramToString, this).join(' ');
|
|
||||||
case 'tsv':
|
|
||||||
return param.map(this.paramToString, this).join('\t');
|
|
||||||
case 'pipes':
|
|
||||||
return param.map(this.paramToString, this).join('|');
|
|
||||||
case 'multi':
|
|
||||||
//return the array directly as SuperAgent will handle it as expected
|
|
||||||
return param.map(this.paramToString, this);
|
|
||||||
case 'passthrough':
|
|
||||||
return param;
|
|
||||||
default:
|
|
||||||
throw new Error('Unknown collection format: ' + collectionFormat);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Applies authentication headers to the request.
|
|
||||||
* @param {Object} request The request object created by a <code>superagent()</code> call.
|
|
||||||
* @param {Array.<String>} authNames An array of authentication method names.
|
|
||||||
*/
|
|
||||||
applyAuthToRequest(request, authNames) {
|
|
||||||
authNames.forEach((authName) => {
|
|
||||||
var auth = this.authentications[authName];
|
|
||||||
switch (auth.type) {
|
|
||||||
case 'basic':
|
|
||||||
if (auth.username || auth.password) {
|
|
||||||
request.auth(auth.username || '', auth.password || '');
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
|
||||||
case 'bearer':
|
|
||||||
if (auth.accessToken) {
|
|
||||||
var localVarBearerToken = typeof auth.accessToken === 'function'
|
|
||||||
? auth.accessToken()
|
|
||||||
: auth.accessToken
|
|
||||||
request.set({'Authorization': 'Bearer ' + localVarBearerToken});
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
|
||||||
case 'apiKey':
|
|
||||||
if (auth.apiKey) {
|
|
||||||
var data = {};
|
|
||||||
if (auth.apiKeyPrefix) {
|
|
||||||
data[auth.name] = auth.apiKeyPrefix + ' ' + auth.apiKey;
|
|
||||||
} else {
|
|
||||||
data[auth.name] = auth.apiKey;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (auth['in'] === 'header') {
|
|
||||||
request.set(data);
|
|
||||||
} else {
|
|
||||||
request.query(data);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
|
||||||
case 'oauth2':
|
|
||||||
if (auth.accessToken) {
|
|
||||||
request.set({'Authorization': 'Bearer ' + auth.accessToken});
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
throw new Error('Unknown authentication type: ' + auth.type);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Deserializes an HTTP response body into a value of the specified type.
|
|
||||||
* @param {Object} response A SuperAgent response object.
|
|
||||||
* @param {(String|Array.<String>|Object.<String, Object>|Function)} returnType The type to return. Pass a string for simple types
|
|
||||||
* or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
|
|
||||||
* return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
|
|
||||||
* all properties on <code>data<code> will be converted to this type.
|
|
||||||
* @returns A value of the specified type.
|
|
||||||
*/
|
|
||||||
deserialize(response, returnType) {
|
|
||||||
if (response == null || returnType == null || response.status == 204) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Rely on SuperAgent for parsing response body.
|
|
||||||
// See http://visionmedia.github.io/superagent/#parsing-response-bodies
|
|
||||||
var data = response.body;
|
|
||||||
if (data == null || (typeof data === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length)) {
|
|
||||||
// SuperAgent does not always produce a body; use the unparsed response as a fallback
|
|
||||||
data = response.text;
|
|
||||||
}
|
|
||||||
|
|
||||||
return ApiClient.convertToType(data, returnType);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the operation.
|
|
||||||
* @callback module:ApiClient~callApiCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param data The data returned by the service call.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Invokes the REST service using the supplied settings and parameters.
|
|
||||||
* @param {String} path The base URL to invoke.
|
|
||||||
* @param {String} httpMethod The HTTP method to use.
|
|
||||||
* @param {Object.<String, String>} pathParams A map of path parameters and their values.
|
|
||||||
* @param {Object.<String, Object>} queryParams A map of query parameters and their values.
|
|
||||||
* @param {Object.<String, Object>} headerParams A map of header parameters and their values.
|
|
||||||
* @param {Object.<String, Object>} formParams A map of form parameters and their values.
|
|
||||||
* @param {Object} bodyParam The value to pass as the request body.
|
|
||||||
* @param {Array.<String>} authNames An array of authentication type names.
|
|
||||||
* @param {Array.<String>} contentTypes An array of request MIME types.
|
|
||||||
* @param {Array.<String>} accepts An array of acceptable response MIME types.
|
|
||||||
* @param {(String|Array|ObjectFunction)} returnType The required type to return; can be a string for simple types or the
|
|
||||||
* constructor for a complex type.
|
|
||||||
* @param {String} apiBasePath base path defined in the operation/path level to override the default one
|
|
||||||
* @param {module:ApiClient~callApiCallback} callback The callback function.
|
|
||||||
* @returns {Object} The SuperAgent request object.
|
|
||||||
*/
|
|
||||||
callApi(path, httpMethod, pathParams,
|
|
||||||
queryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts,
|
|
||||||
returnType, apiBasePath, callback) {
|
|
||||||
|
|
||||||
var url = this.buildUrl(path, pathParams, apiBasePath);
|
|
||||||
var request = superagent(httpMethod, url);
|
|
||||||
|
|
||||||
if (this.plugins !== null) {
|
|
||||||
for (var index in this.plugins) {
|
|
||||||
if (this.plugins.hasOwnProperty(index)) {
|
|
||||||
request.use(this.plugins[index])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// apply authentications
|
|
||||||
this.applyAuthToRequest(request, authNames);
|
|
||||||
|
|
||||||
// set query parameters
|
|
||||||
if (httpMethod.toUpperCase() === 'GET' && this.cache === false) {
|
|
||||||
queryParams['_'] = new Date().getTime();
|
|
||||||
}
|
|
||||||
|
|
||||||
request.query(this.normalizeParams(queryParams));
|
|
||||||
|
|
||||||
// set header parameters
|
|
||||||
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
|
|
||||||
|
|
||||||
// set requestAgent if it is set by user
|
|
||||||
if (this.requestAgent) {
|
|
||||||
request.agent(this.requestAgent);
|
|
||||||
}
|
|
||||||
|
|
||||||
// set request timeout
|
|
||||||
request.timeout(this.timeout);
|
|
||||||
|
|
||||||
var contentType = this.jsonPreferredMime(contentTypes);
|
|
||||||
if (contentType) {
|
|
||||||
// Issue with superagent and multipart/form-data (https://github.com/visionmedia/superagent/issues/746)
|
|
||||||
if(contentType != 'multipart/form-data') {
|
|
||||||
request.type(contentType);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (contentType === 'application/x-www-form-urlencoded') {
|
|
||||||
request.send(querystring.stringify(this.normalizeParams(formParams)));
|
|
||||||
} else if (contentType == 'multipart/form-data') {
|
|
||||||
var _formParams = this.normalizeParams(formParams);
|
|
||||||
for (var key in _formParams) {
|
|
||||||
if (_formParams.hasOwnProperty(key)) {
|
|
||||||
let _formParamsValue = _formParams[key];
|
|
||||||
if (this.isFileParam(_formParamsValue)) {
|
|
||||||
// file field
|
|
||||||
request.attach(key, _formParamsValue);
|
|
||||||
} else if (Array.isArray(_formParamsValue) && _formParamsValue.length
|
|
||||||
&& this.isFileParam(_formParamsValue[0])) {
|
|
||||||
// multiple files
|
|
||||||
_formParamsValue.forEach(file => request.attach(key, file));
|
|
||||||
} else {
|
|
||||||
request.field(key, _formParamsValue);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else if (bodyParam !== null && bodyParam !== undefined) {
|
|
||||||
if (!request.header['Content-Type']) {
|
|
||||||
request.type('application/json');
|
|
||||||
}
|
|
||||||
request.send(bodyParam);
|
|
||||||
}
|
|
||||||
|
|
||||||
var accept = this.jsonPreferredMime(accepts);
|
|
||||||
if (accept) {
|
|
||||||
request.accept(accept);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (returnType === 'Blob') {
|
|
||||||
request.responseType('blob');
|
|
||||||
} else if (returnType === 'String') {
|
|
||||||
request.responseType('text');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Attach previously saved cookies, if enabled
|
|
||||||
if (this.enableCookies){
|
|
||||||
if (typeof window === 'undefined') {
|
|
||||||
this.agent._attachCookies(request);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
request.withCredentials();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
request.end((error, response) => {
|
|
||||||
if (callback) {
|
|
||||||
var data = null;
|
|
||||||
if (!error) {
|
|
||||||
try {
|
|
||||||
data = this.deserialize(response, returnType);
|
|
||||||
if (this.enableCookies && typeof window === 'undefined'){
|
|
||||||
this.agent._saveCookies(response);
|
|
||||||
}
|
|
||||||
} catch (err) {
|
|
||||||
error = err;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
callback(error, data, response);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
return request;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Parses an ISO-8601 string representation or epoch representation of a date value.
|
|
||||||
* @param {String} str The date value as a string.
|
|
||||||
* @returns {Date} The parsed date object.
|
|
||||||
*/
|
|
||||||
static parseDate(str) {
|
|
||||||
if (isNaN(str)) {
|
|
||||||
return new Date(str.replace(/(\d)(T)(\d)/i, '$1 $3'));
|
|
||||||
}
|
|
||||||
return new Date(+str);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Converts a value to the specified type.
|
|
||||||
* @param {(String|Object)} data The data to convert, as a string or object.
|
|
||||||
* @param {(String|Array.<String>|Object.<String, Object>|Function)} type The type to return. Pass a string for simple types
|
|
||||||
* or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
|
|
||||||
* return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
|
|
||||||
* all properties on <code>data<code> will be converted to this type.
|
|
||||||
* @returns An instance of the specified type or null or undefined if data is null or undefined.
|
|
||||||
*/
|
|
||||||
static convertToType(data, type) {
|
|
||||||
if (data === null || data === undefined)
|
|
||||||
return data
|
|
||||||
|
|
||||||
switch (type) {
|
|
||||||
case 'Boolean':
|
|
||||||
return Boolean(data);
|
|
||||||
case 'Integer':
|
|
||||||
return parseInt(data, 10);
|
|
||||||
case 'Number':
|
|
||||||
return parseFloat(data);
|
|
||||||
case 'String':
|
|
||||||
return String(data);
|
|
||||||
case 'Date':
|
|
||||||
return ApiClient.parseDate(String(data));
|
|
||||||
case 'Blob':
|
|
||||||
return data;
|
|
||||||
default:
|
|
||||||
if (type === Object) {
|
|
||||||
// generic object, return directly
|
|
||||||
return data;
|
|
||||||
} else if (typeof type.constructFromObject === 'function') {
|
|
||||||
// for model type like User and enum class
|
|
||||||
return type.constructFromObject(data);
|
|
||||||
} else if (Array.isArray(type)) {
|
|
||||||
// for array type like: ['String']
|
|
||||||
var itemType = type[0];
|
|
||||||
|
|
||||||
return data.map((item) => {
|
|
||||||
return ApiClient.convertToType(item, itemType);
|
|
||||||
});
|
|
||||||
} else if (typeof type === 'object') {
|
|
||||||
// for plain object type like: {'String': 'Integer'}
|
|
||||||
var keyType, valueType;
|
|
||||||
for (var k in type) {
|
|
||||||
if (type.hasOwnProperty(k)) {
|
|
||||||
keyType = k;
|
|
||||||
valueType = type[k];
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var result = {};
|
|
||||||
for (var k in data) {
|
|
||||||
if (data.hasOwnProperty(k)) {
|
|
||||||
var key = ApiClient.convertToType(k, keyType);
|
|
||||||
var value = ApiClient.convertToType(data[k], valueType);
|
|
||||||
result[key] = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
} else {
|
|
||||||
// for unknown type, return the data directly
|
|
||||||
return data;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets an array of host settings
|
|
||||||
* @returns An array of host settings
|
|
||||||
*/
|
|
||||||
hostSettings() {
|
|
||||||
return [
|
|
||||||
{
|
|
||||||
'url': "http://auth.vernonkeenan.com:8080/v1",
|
|
||||||
'description': "No description provided",
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
getBasePathFromSettings(index, variables={}) {
|
|
||||||
var servers = this.hostSettings();
|
|
||||||
|
|
||||||
// check array index out of bound
|
|
||||||
if (index < 0 || index >= servers.length) {
|
|
||||||
throw new Error("Invalid index " + index + " when selecting the host settings. Must be less than " + servers.length);
|
|
||||||
}
|
|
||||||
|
|
||||||
var server = servers[index];
|
|
||||||
var url = server['url'];
|
|
||||||
|
|
||||||
// go through variable and assign a value
|
|
||||||
for (var variable_name in server['variables']) {
|
|
||||||
if (variable_name in variables) {
|
|
||||||
let variable = server['variables'][variable_name];
|
|
||||||
if ( !('enum_values' in variable) || variable['enum_values'].includes(variables[variable_name]) ) {
|
|
||||||
url = url.replace("{" + variable_name + "}", variables[variable_name]);
|
|
||||||
} else {
|
|
||||||
throw new Error("The variable `" + variable_name + "` in the host URL has invalid value " + variables[variable_name] + ". Must be " + server['variables'][variable_name]['enum_values'] + ".");
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
// use default value
|
|
||||||
url = url.replace("{" + variable_name + "}", server['variables'][variable_name]['default_value'])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return url;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a new map or array model from REST data.
|
|
||||||
* @param data {Object|Array} The REST data.
|
|
||||||
* @param obj {Object|Array} The target object or array.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj, itemType) {
|
|
||||||
if (Array.isArray(data)) {
|
|
||||||
for (var i = 0; i < data.length; i++) {
|
|
||||||
if (data.hasOwnProperty(i))
|
|
||||||
obj[i] = ApiClient.convertToType(data[i], itemType);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
for (var k in data) {
|
|
||||||
if (data.hasOwnProperty(k))
|
|
||||||
obj[k] = ApiClient.convertToType(data[k], itemType);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Enumeration of collection format separator strategies.
|
|
||||||
* @enum {String}
|
|
||||||
* @readonly
|
|
||||||
*/
|
|
||||||
ApiClient.CollectionFormatEnum = {
|
|
||||||
/**
|
|
||||||
* Comma-separated values. Value: <code>csv</code>
|
|
||||||
* @const
|
|
||||||
*/
|
|
||||||
CSV: ',',
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Space-separated values. Value: <code>ssv</code>
|
|
||||||
* @const
|
|
||||||
*/
|
|
||||||
SSV: ' ',
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tab-separated values. Value: <code>tsv</code>
|
|
||||||
* @const
|
|
||||||
*/
|
|
||||||
TSV: '\t',
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Pipe(|)-separated values. Value: <code>pipes</code>
|
|
||||||
* @const
|
|
||||||
*/
|
|
||||||
PIPES: '|',
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Native array. Value: <code>multi</code>
|
|
||||||
* @const
|
|
||||||
*/
|
|
||||||
MULTI: 'multi'
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The default API client implementation.
|
|
||||||
* @type {module:ApiClient}
|
|
||||||
*/
|
|
||||||
ApiClient.instance = new ApiClient();
|
|
||||||
export default ApiClient;
|
|
|
@ -1,80 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import ApiClient from "../ApiClient";
|
|
||||||
import Error from '../model/Error';
|
|
||||||
import UserResponse from '../model/UserResponse';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* User service.
|
|
||||||
* @module api/UserApi
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
export default class UserApi {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a new UserApi.
|
|
||||||
* @alias module:api/UserApi
|
|
||||||
* @class
|
|
||||||
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
||||||
* default to {@link module:ApiClient#instance} if unspecified.
|
|
||||||
*/
|
|
||||||
constructor(apiClient) {
|
|
||||||
this.apiClient = apiClient || ApiClient.instance;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the getUsers operation.
|
|
||||||
* @callback module:api/UserApi~getUsersCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param {module:model/UserResponse} data The data returned by the service call.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Check API Key
|
|
||||||
* Checks for a valid API key, and returns full user record
|
|
||||||
* @param {Object} opts Optional parameters
|
|
||||||
* @param {String} opts.apikey Service account or developer API key
|
|
||||||
* @param {module:api/UserApi~getUsersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
||||||
* data is of type: {@link module:model/UserResponse}
|
|
||||||
*/
|
|
||||||
getUsers(opts, callback) {
|
|
||||||
opts = opts || {};
|
|
||||||
let postBody = null;
|
|
||||||
|
|
||||||
let pathParams = {
|
|
||||||
};
|
|
||||||
let queryParams = {
|
|
||||||
'apikey': opts['apikey']
|
|
||||||
};
|
|
||||||
let headerParams = {
|
|
||||||
};
|
|
||||||
let formParams = {
|
|
||||||
};
|
|
||||||
|
|
||||||
let authNames = ['ApiKeyAuth'];
|
|
||||||
let contentTypes = [];
|
|
||||||
let accepts = ['application/json'];
|
|
||||||
let returnType = UserResponse;
|
|
||||||
return this.apiClient.callApi(
|
|
||||||
'/users', 'GET',
|
|
||||||
pathParams, queryParams, headerParams, formParams, postBody,
|
|
||||||
authNames, contentTypes, accepts, returnType, null, callback
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,111 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import ApiClient from './ApiClient';
|
|
||||||
import Address from './model/Address';
|
|
||||||
import Error from './model/Error';
|
|
||||||
import ResponseMeta from './model/ResponseMeta';
|
|
||||||
import TenantUser from './model/TenantUser';
|
|
||||||
import User from './model/User';
|
|
||||||
import UserResponse from './model/UserResponse';
|
|
||||||
import UserRole from './model/UserRole';
|
|
||||||
import UserApi from './api/UserApi';
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Authentication_Microservice.<br>
|
|
||||||
* The <code>index</code> module provides access to constructors for all the classes which comprise the public API.
|
|
||||||
* <p>
|
|
||||||
* An AMD (recommended!) or CommonJS application will generally do something equivalent to the following:
|
|
||||||
* <pre>
|
|
||||||
* var Auth = require('index'); // See note below*.
|
|
||||||
* var xxxSvc = new Auth.XxxApi(); // Allocate the API class we're going to use.
|
|
||||||
* var yyyModel = new Auth.Yyy(); // Construct a model instance.
|
|
||||||
* yyyModel.someProperty = 'someValue';
|
|
||||||
* ...
|
|
||||||
* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
|
|
||||||
* ...
|
|
||||||
* </pre>
|
|
||||||
* <em>*NOTE: For a top-level AMD script, use require(['index'], function(){...})
|
|
||||||
* and put the application logic within the callback function.</em>
|
|
||||||
* </p>
|
|
||||||
* <p>
|
|
||||||
* A non-AMD browser application (discouraged) might do something like this:
|
|
||||||
* <pre>
|
|
||||||
* var xxxSvc = new Auth.XxxApi(); // Allocate the API class we're going to use.
|
|
||||||
* var yyy = new Auth.Yyy(); // Construct a model instance.
|
|
||||||
* yyyModel.someProperty = 'someValue';
|
|
||||||
* ...
|
|
||||||
* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
|
|
||||||
* ...
|
|
||||||
* </pre>
|
|
||||||
* </p>
|
|
||||||
* @module index
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
export {
|
|
||||||
/**
|
|
||||||
* The ApiClient constructor.
|
|
||||||
* @property {module:ApiClient}
|
|
||||||
*/
|
|
||||||
ApiClient,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Address model constructor.
|
|
||||||
* @property {module:model/Address}
|
|
||||||
*/
|
|
||||||
Address,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Error model constructor.
|
|
||||||
* @property {module:model/Error}
|
|
||||||
*/
|
|
||||||
Error,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The ResponseMeta model constructor.
|
|
||||||
* @property {module:model/ResponseMeta}
|
|
||||||
*/
|
|
||||||
ResponseMeta,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The TenantUser model constructor.
|
|
||||||
* @property {module:model/TenantUser}
|
|
||||||
*/
|
|
||||||
TenantUser,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The User model constructor.
|
|
||||||
* @property {module:model/User}
|
|
||||||
*/
|
|
||||||
User,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The UserResponse model constructor.
|
|
||||||
* @property {module:model/UserResponse}
|
|
||||||
*/
|
|
||||||
UserResponse,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The UserRole model constructor.
|
|
||||||
* @property {module:model/UserRole}
|
|
||||||
*/
|
|
||||||
UserRole,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The UserApi service constructor.
|
|
||||||
* @property {module:api/UserApi}
|
|
||||||
*/
|
|
||||||
UserApi
|
|
||||||
};
|
|
|
@ -1,126 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Address model module.
|
|
||||||
* @module model/Address
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class Address {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>Address</code>.
|
|
||||||
* @alias module:model/Address
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
Address.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>Address</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/Address} obj Optional instance to populate.
|
|
||||||
* @return {module:model/Address} The populated <code>Address</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new Address();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('City')) {
|
|
||||||
obj['City'] = ApiClient.convertToType(data['City'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Country')) {
|
|
||||||
obj['Country'] = ApiClient.convertToType(data['Country'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CountryCode')) {
|
|
||||||
obj['CountryCode'] = ApiClient.convertToType(data['CountryCode'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('PostalCode')) {
|
|
||||||
obj['PostalCode'] = ApiClient.convertToType(data['PostalCode'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('State')) {
|
|
||||||
obj['State'] = ApiClient.convertToType(data['State'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('StateCode')) {
|
|
||||||
obj['StateCode'] = ApiClient.convertToType(data['StateCode'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Street')) {
|
|
||||||
obj['Street'] = ApiClient.convertToType(data['Street'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* City
|
|
||||||
* @member {String} City
|
|
||||||
*/
|
|
||||||
Address.prototype['City'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Country full name
|
|
||||||
* @member {String} Country
|
|
||||||
*/
|
|
||||||
Address.prototype['Country'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Country Code
|
|
||||||
* @member {String} CountryCode
|
|
||||||
*/
|
|
||||||
Address.prototype['CountryCode'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Postal Code
|
|
||||||
* @member {String} PostalCode
|
|
||||||
*/
|
|
||||||
Address.prototype['PostalCode'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* State full name
|
|
||||||
* @member {String} State
|
|
||||||
*/
|
|
||||||
Address.prototype['State'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* State Code
|
|
||||||
* @member {String} StateCode
|
|
||||||
*/
|
|
||||||
Address.prototype['StateCode'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Street number and name
|
|
||||||
* @member {String} Street
|
|
||||||
*/
|
|
||||||
Address.prototype['Street'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default Address;
|
|
||||||
|
|
|
@ -1,87 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Error model module.
|
|
||||||
* @module model/Error
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class Error {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>Error</code>.
|
|
||||||
* @alias module:model/Error
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
Error.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>Error</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/Error} obj Optional instance to populate.
|
|
||||||
* @return {module:model/Error} The populated <code>Error</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new Error();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('Code')) {
|
|
||||||
obj['Code'] = ApiClient.convertToType(data['Code'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Fields')) {
|
|
||||||
obj['Fields'] = ApiClient.convertToType(data['Fields'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Message')) {
|
|
||||||
obj['Message'] = ApiClient.convertToType(data['Message'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {Number} Code
|
|
||||||
*/
|
|
||||||
Error.prototype['Code'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {String} Fields
|
|
||||||
*/
|
|
||||||
Error.prototype['Fields'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {String} Message
|
|
||||||
*/
|
|
||||||
Error.prototype['Message'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default Error;
|
|
||||||
|
|
|
@ -1,162 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The ResponseMeta model module.
|
|
||||||
* @module model/ResponseMeta
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class ResponseMeta {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>ResponseMeta</code>.
|
|
||||||
* @alias module:model/ResponseMeta
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
ResponseMeta.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>ResponseMeta</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/ResponseMeta} obj Optional instance to populate.
|
|
||||||
* @return {module:model/ResponseMeta} The populated <code>ResponseMeta</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new ResponseMeta();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('Contact')) {
|
|
||||||
obj['Contact'] = ApiClient.convertToType(data['Contact'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Copyright')) {
|
|
||||||
obj['Copyright'] = ApiClient.convertToType(data['Copyright'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('License')) {
|
|
||||||
obj['License'] = ApiClient.convertToType(data['License'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('OperationID')) {
|
|
||||||
obj['OperationID'] = ApiClient.convertToType(data['OperationID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RequestIP')) {
|
|
||||||
obj['RequestIP'] = ApiClient.convertToType(data['RequestIP'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RequestType')) {
|
|
||||||
obj['RequestType'] = ApiClient.convertToType(data['RequestType'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RequestURL')) {
|
|
||||||
obj['RequestURL'] = ApiClient.convertToType(data['RequestURL'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ServerInfo')) {
|
|
||||||
obj['ServerInfo'] = ApiClient.convertToType(data['ServerInfo'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ServerResponseTime')) {
|
|
||||||
obj['ServerResponseTime'] = ApiClient.convertToType(data['ServerResponseTime'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ServerTimestamp')) {
|
|
||||||
obj['ServerTimestamp'] = ApiClient.convertToType(data['ServerTimestamp'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TaxnexusAccount')) {
|
|
||||||
obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Microservice Contact Info
|
|
||||||
* @member {String} Contact
|
|
||||||
*/
|
|
||||||
ResponseMeta.prototype['Contact'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Copyright Info
|
|
||||||
* @member {String} Copyright
|
|
||||||
*/
|
|
||||||
ResponseMeta.prototype['Copyright'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* License Information and Restrictions
|
|
||||||
* @member {String} License
|
|
||||||
*/
|
|
||||||
ResponseMeta.prototype['License'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Operation ID
|
|
||||||
* @member {String} OperationID
|
|
||||||
*/
|
|
||||||
ResponseMeta.prototype['OperationID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Request IP Address
|
|
||||||
* @member {String} RequestIP
|
|
||||||
*/
|
|
||||||
ResponseMeta.prototype['RequestIP'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Request Type
|
|
||||||
* @member {String} RequestType
|
|
||||||
*/
|
|
||||||
ResponseMeta.prototype['RequestType'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Request URL
|
|
||||||
* @member {String} RequestURL
|
|
||||||
*/
|
|
||||||
ResponseMeta.prototype['RequestURL'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Data Server Info
|
|
||||||
* @member {String} ServerInfo
|
|
||||||
*/
|
|
||||||
ResponseMeta.prototype['ServerInfo'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Data Server Response Time (ms)
|
|
||||||
* @member {String} ServerResponseTime
|
|
||||||
*/
|
|
||||||
ResponseMeta.prototype['ServerResponseTime'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Backend Server Timestamp
|
|
||||||
* @member {String} ServerTimestamp
|
|
||||||
*/
|
|
||||||
ResponseMeta.prototype['ServerTimestamp'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus Account Number used for recording transactions
|
|
||||||
* @member {String} TaxnexusAccount
|
|
||||||
*/
|
|
||||||
ResponseMeta.prototype['TaxnexusAccount'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default ResponseMeta;
|
|
||||||
|
|
|
@ -1,208 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The TenantUser model module.
|
|
||||||
* @module model/TenantUser
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class TenantUser {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>TenantUser</code>.
|
|
||||||
* Relationship object that connects users to a tenant
|
|
||||||
* @alias module:model/TenantUser
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
TenantUser.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>TenantUser</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/TenantUser} obj Optional instance to populate.
|
|
||||||
* @return {module:model/TenantUser} The populated <code>TenantUser</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new TenantUser();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('AccessLevel')) {
|
|
||||||
obj['AccessLevel'] = ApiClient.convertToType(data['AccessLevel'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Auth0UserID')) {
|
|
||||||
obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AccountID')) {
|
|
||||||
obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ContactID')) {
|
|
||||||
obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CompanyName')) {
|
|
||||||
obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TaxnexusAccount')) {
|
|
||||||
obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantActive')) {
|
|
||||||
obj['TenantActive'] = ApiClient.convertToType(data['TenantActive'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantID')) {
|
|
||||||
obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantName')) {
|
|
||||||
obj['TenantName'] = ApiClient.convertToType(data['TenantName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantStatus')) {
|
|
||||||
obj['TenantStatus'] = ApiClient.convertToType(data['TenantStatus'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantType')) {
|
|
||||||
obj['TenantType'] = ApiClient.convertToType(data['TenantType'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantVersion')) {
|
|
||||||
obj['TenantVersion'] = ApiClient.convertToType(data['TenantVersion'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Username')) {
|
|
||||||
obj['Username'] = ApiClient.convertToType(data['Username'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserEmail')) {
|
|
||||||
obj['UserEmail'] = ApiClient.convertToType(data['UserEmail'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserFullName')) {
|
|
||||||
obj['UserFullName'] = ApiClient.convertToType(data['UserFullName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserID')) {
|
|
||||||
obj['UserID'] = ApiClient.convertToType(data['UserID'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The makeTenantUser access level for this User
|
|
||||||
* @member {String} AccessLevel
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['AccessLevel'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Auth0 User ID
|
|
||||||
* @member {String} Auth0UserID
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['Auth0UserID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account ID
|
|
||||||
* @member {String} AccountID
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['AccountID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contact ID
|
|
||||||
* @member {String} ContactID
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['ContactID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account Name
|
|
||||||
* @member {String} CompanyName
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['CompanyName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus Account
|
|
||||||
* @member {String} TaxnexusAccount
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TaxnexusAccount'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tenant active?
|
|
||||||
* @member {Boolean} TenantActive
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TenantActive'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Tenant ID
|
|
||||||
* @member {String} TenantID
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TenantID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tenant Name
|
|
||||||
* @member {String} TenantName
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TenantName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tenant Status
|
|
||||||
* @member {String} TenantStatus
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TenantStatus'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tenant type
|
|
||||||
* @member {String} TenantType
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TenantType'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tenant Version
|
|
||||||
* @member {String} TenantVersion
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TenantVersion'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Username
|
|
||||||
* @member {String} Username
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['Username'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* User Email Address
|
|
||||||
* @member {String} UserEmail
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['UserEmail'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* User Full Name
|
|
||||||
* @member {String} UserFullName
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['UserFullName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The User ID
|
|
||||||
* @member {String} UserID
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['UserID'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default TenantUser;
|
|
||||||
|
|
|
@ -1,584 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
import Address from './Address';
|
|
||||||
import TenantUser from './TenantUser';
|
|
||||||
import UserRole from './UserRole';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The User model module.
|
|
||||||
* @module model/User
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class User {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>User</code>.
|
|
||||||
* @alias module:model/User
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
User.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>User</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/User} obj Optional instance to populate.
|
|
||||||
* @return {module:model/User} The populated <code>User</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new User();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('AboutMe')) {
|
|
||||||
obj['AboutMe'] = ApiClient.convertToType(data['AboutMe'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AccountID')) {
|
|
||||||
obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Address')) {
|
|
||||||
obj['Address'] = Address.constructFromObject(data['Address']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Alias')) {
|
|
||||||
obj['Alias'] = ApiClient.convertToType(data['Alias'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('APIKey')) {
|
|
||||||
obj['APIKey'] = ApiClient.convertToType(data['APIKey'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Auth0UserID')) {
|
|
||||||
obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CommunityNickname')) {
|
|
||||||
obj['CommunityNickname'] = ApiClient.convertToType(data['CommunityNickname'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CompanyName')) {
|
|
||||||
obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ContactID')) {
|
|
||||||
obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedByID')) {
|
|
||||||
obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedDate')) {
|
|
||||||
obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('DelegatedApproverID')) {
|
|
||||||
obj['DelegatedApproverID'] = ApiClient.convertToType(data['DelegatedApproverID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Department')) {
|
|
||||||
obj['Department'] = ApiClient.convertToType(data['Department'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Division')) {
|
|
||||||
obj['Division'] = ApiClient.convertToType(data['Division'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Email')) {
|
|
||||||
obj['Email'] = ApiClient.convertToType(data['Email'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('EmployeeNumber')) {
|
|
||||||
obj['EmployeeNumber'] = ApiClient.convertToType(data['EmployeeNumber'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('EndOfDay')) {
|
|
||||||
obj['EndOfDay'] = ApiClient.convertToType(data['EndOfDay'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Environment')) {
|
|
||||||
obj['Environment'] = ApiClient.convertToType(data['Environment'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Extension')) {
|
|
||||||
obj['Extension'] = ApiClient.convertToType(data['Extension'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('FabricAPIKey')) {
|
|
||||||
obj['FabricAPIKey'] = ApiClient.convertToType(data['FabricAPIKey'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Fax')) {
|
|
||||||
obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('FirstName')) {
|
|
||||||
obj['FirstName'] = ApiClient.convertToType(data['FirstName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ForecastEnabled')) {
|
|
||||||
obj['ForecastEnabled'] = ApiClient.convertToType(data['ForecastEnabled'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('FullPhotoURL')) {
|
|
||||||
obj['FullPhotoURL'] = ApiClient.convertToType(data['FullPhotoURL'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ID')) {
|
|
||||||
obj['ID'] = ApiClient.convertToType(data['ID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('IsActive')) {
|
|
||||||
obj['IsActive'] = ApiClient.convertToType(data['IsActive'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('IsPortalEnabled')) {
|
|
||||||
obj['IsPortalEnabled'] = ApiClient.convertToType(data['IsPortalEnabled'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('IsProphilePhotoActive')) {
|
|
||||||
obj['IsProphilePhotoActive'] = ApiClient.convertToType(data['IsProphilePhotoActive'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('IsSystemControlled')) {
|
|
||||||
obj['IsSystemControlled'] = ApiClient.convertToType(data['IsSystemControlled'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedByID')) {
|
|
||||||
obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedDate')) {
|
|
||||||
obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastLogin')) {
|
|
||||||
obj['LastLogin'] = ApiClient.convertToType(data['LastLogin'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastIP')) {
|
|
||||||
obj['LastIP'] = ApiClient.convertToType(data['LastIP'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LoginCount')) {
|
|
||||||
obj['LoginCount'] = ApiClient.convertToType(data['LoginCount'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastName')) {
|
|
||||||
obj['LastName'] = ApiClient.convertToType(data['LastName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ManagerID')) {
|
|
||||||
obj['ManagerID'] = ApiClient.convertToType(data['ManagerID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('MobilePhone')) {
|
|
||||||
obj['MobilePhone'] = ApiClient.convertToType(data['MobilePhone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Name')) {
|
|
||||||
obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('OutOfOfficeMessage')) {
|
|
||||||
obj['OutOfOfficeMessage'] = ApiClient.convertToType(data['OutOfOfficeMessage'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Phone')) {
|
|
||||||
obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('PortalRole')) {
|
|
||||||
obj['PortalRole'] = ApiClient.convertToType(data['PortalRole'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ProfileID')) {
|
|
||||||
obj['ProfileID'] = ApiClient.convertToType(data['ProfileID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ReceivesAdminInfoEmails')) {
|
|
||||||
obj['ReceivesAdminInfoEmails'] = ApiClient.convertToType(data['ReceivesAdminInfoEmails'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ReceivesAdminEmails')) {
|
|
||||||
obj['ReceivesAdminEmails'] = ApiClient.convertToType(data['ReceivesAdminEmails'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('SenderEmail')) {
|
|
||||||
obj['SenderEmail'] = ApiClient.convertToType(data['SenderEmail'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('SenderName')) {
|
|
||||||
obj['SenderName'] = ApiClient.convertToType(data['SenderName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Signature')) {
|
|
||||||
obj['Signature'] = ApiClient.convertToType(data['Signature'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('SmallPhotoURL')) {
|
|
||||||
obj['SmallPhotoURL'] = ApiClient.convertToType(data['SmallPhotoURL'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('StartOfDay')) {
|
|
||||||
obj['StartOfDay'] = ApiClient.convertToType(data['StartOfDay'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TaxnexusAccount')) {
|
|
||||||
obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantID')) {
|
|
||||||
obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TimeZone')) {
|
|
||||||
obj['TimeZone'] = ApiClient.convertToType(data['TimeZone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Title')) {
|
|
||||||
obj['Title'] = ApiClient.convertToType(data['Title'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Username')) {
|
|
||||||
obj['Username'] = ApiClient.convertToType(data['Username'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserRoleID')) {
|
|
||||||
obj['UserRoleID'] = ApiClient.convertToType(data['UserRoleID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserType')) {
|
|
||||||
obj['UserType'] = ApiClient.convertToType(data['UserType'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserRoles')) {
|
|
||||||
obj['UserRoles'] = ApiClient.convertToType(data['UserRoles'], [UserRole]);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantUsers')) {
|
|
||||||
obj['TenantUsers'] = ApiClient.convertToType(data['TenantUsers'], [TenantUser]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* About Me
|
|
||||||
* @member {String} AboutMe
|
|
||||||
*/
|
|
||||||
User.prototype['AboutMe'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account ID
|
|
||||||
* @member {String} AccountID
|
|
||||||
*/
|
|
||||||
User.prototype['AccountID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Address} Address
|
|
||||||
*/
|
|
||||||
User.prototype['Address'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Alias
|
|
||||||
* @member {String} Alias
|
|
||||||
*/
|
|
||||||
User.prototype['Alias'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* API Key
|
|
||||||
* @member {String} APIKey
|
|
||||||
*/
|
|
||||||
User.prototype['APIKey'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Auth0 User Id
|
|
||||||
* @member {String} Auth0UserID
|
|
||||||
*/
|
|
||||||
User.prototype['Auth0UserID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Nickname
|
|
||||||
* @member {String} CommunityNickname
|
|
||||||
*/
|
|
||||||
User.prototype['CommunityNickname'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Company Name
|
|
||||||
* @member {String} CompanyName
|
|
||||||
*/
|
|
||||||
User.prototype['CompanyName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contact
|
|
||||||
* @member {String} ContactID
|
|
||||||
*/
|
|
||||||
User.prototype['ContactID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created User ID
|
|
||||||
* @member {String} CreatedByID
|
|
||||||
*/
|
|
||||||
User.prototype['CreatedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Date Created
|
|
||||||
* @member {String} CreatedDate
|
|
||||||
*/
|
|
||||||
User.prototype['CreatedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Delegated Approver
|
|
||||||
* @member {String} DelegatedApproverID
|
|
||||||
*/
|
|
||||||
User.prototype['DelegatedApproverID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Department
|
|
||||||
* @member {String} Department
|
|
||||||
*/
|
|
||||||
User.prototype['Department'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Division
|
|
||||||
* @member {String} Division
|
|
||||||
*/
|
|
||||||
User.prototype['Division'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email address
|
|
||||||
* @member {String} Email
|
|
||||||
*/
|
|
||||||
User.prototype['Email'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Employee Number
|
|
||||||
* @member {String} EmployeeNumber
|
|
||||||
*/
|
|
||||||
User.prototype['EmployeeNumber'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Time day ends
|
|
||||||
* @member {String} EndOfDay
|
|
||||||
*/
|
|
||||||
User.prototype['EndOfDay'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Environment
|
|
||||||
* @member {String} Environment
|
|
||||||
*/
|
|
||||||
User.prototype['Environment'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Extension
|
|
||||||
* @member {String} Extension
|
|
||||||
*/
|
|
||||||
User.prototype['Extension'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Fabric API Key
|
|
||||||
* @member {String} FabricAPIKey
|
|
||||||
*/
|
|
||||||
User.prototype['FabricAPIKey'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Fax
|
|
||||||
* @member {String} Fax
|
|
||||||
*/
|
|
||||||
User.prototype['Fax'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The first name
|
|
||||||
* @member {String} FirstName
|
|
||||||
*/
|
|
||||||
User.prototype['FirstName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Allow Forecasting
|
|
||||||
* @member {Boolean} ForecastEnabled
|
|
||||||
*/
|
|
||||||
User.prototype['ForecastEnabled'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Full Photo URL
|
|
||||||
* @member {String} FullPhotoURL
|
|
||||||
*/
|
|
||||||
User.prototype['FullPhotoURL'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus ID
|
|
||||||
* @member {String} ID
|
|
||||||
*/
|
|
||||||
User.prototype['ID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Active
|
|
||||||
* @member {Boolean} IsActive
|
|
||||||
*/
|
|
||||||
User.prototype['IsActive'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Is the user enabled for Communities?
|
|
||||||
* @member {Boolean} IsPortalEnabled
|
|
||||||
*/
|
|
||||||
User.prototype['IsPortalEnabled'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Has Profile Photo
|
|
||||||
* @member {Boolean} IsProphilePhotoActive
|
|
||||||
*/
|
|
||||||
User.prototype['IsProphilePhotoActive'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {Boolean} IsSystemControlled
|
|
||||||
*/
|
|
||||||
User.prototype['IsSystemControlled'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modified User ID
|
|
||||||
* @member {String} LastModifiedByID
|
|
||||||
*/
|
|
||||||
User.prototype['LastModifiedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modified Date
|
|
||||||
* @member {String} LastModifiedDate
|
|
||||||
*/
|
|
||||||
User.prototype['LastModifiedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last login time
|
|
||||||
* @member {String} LastLogin
|
|
||||||
*/
|
|
||||||
User.prototype['LastLogin'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* IP address of last login
|
|
||||||
* @member {String} LastIP
|
|
||||||
*/
|
|
||||||
User.prototype['LastIP'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Number of times user has logged in
|
|
||||||
* @member {Number} LoginCount
|
|
||||||
*/
|
|
||||||
User.prototype['LoginCount'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Last Name
|
|
||||||
* @member {String} LastName
|
|
||||||
*/
|
|
||||||
User.prototype['LastName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Manager
|
|
||||||
* @member {String} ManagerID
|
|
||||||
*/
|
|
||||||
User.prototype['ManagerID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Mobile
|
|
||||||
* @member {String} MobilePhone
|
|
||||||
*/
|
|
||||||
User.prototype['MobilePhone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Name
|
|
||||||
* @member {String} Name
|
|
||||||
*/
|
|
||||||
User.prototype['Name'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Out of office message
|
|
||||||
* @member {String} OutOfOfficeMessage
|
|
||||||
*/
|
|
||||||
User.prototype['OutOfOfficeMessage'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Phone
|
|
||||||
* @member {String} Phone
|
|
||||||
*/
|
|
||||||
User.prototype['Phone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Portal Role Level
|
|
||||||
* @member {String} PortalRole
|
|
||||||
*/
|
|
||||||
User.prototype['PortalRole'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Profile
|
|
||||||
* @member {String} ProfileID
|
|
||||||
*/
|
|
||||||
User.prototype['ProfileID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Admin Info Emails
|
|
||||||
* @member {Boolean} ReceivesAdminInfoEmails
|
|
||||||
*/
|
|
||||||
User.prototype['ReceivesAdminInfoEmails'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Info Emails
|
|
||||||
* @member {Boolean} ReceivesAdminEmails
|
|
||||||
*/
|
|
||||||
User.prototype['ReceivesAdminEmails'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email Sender Address
|
|
||||||
* @member {String} SenderEmail
|
|
||||||
*/
|
|
||||||
User.prototype['SenderEmail'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email Sender Name
|
|
||||||
* @member {String} SenderName
|
|
||||||
*/
|
|
||||||
User.prototype['SenderName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email Signature
|
|
||||||
* @member {String} Signature
|
|
||||||
*/
|
|
||||||
User.prototype['Signature'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Small Photo URL
|
|
||||||
* @member {String} SmallPhotoURL
|
|
||||||
*/
|
|
||||||
User.prototype['SmallPhotoURL'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The time day starts
|
|
||||||
* @member {String} StartOfDay
|
|
||||||
*/
|
|
||||||
User.prototype['StartOfDay'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus Account
|
|
||||||
* @member {String} TaxnexusAccount
|
|
||||||
*/
|
|
||||||
User.prototype['TaxnexusAccount'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tenant ID associated with this user
|
|
||||||
* @member {String} TenantID
|
|
||||||
*/
|
|
||||||
User.prototype['TenantID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Time Zone
|
|
||||||
* @member {String} TimeZone
|
|
||||||
*/
|
|
||||||
User.prototype['TimeZone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Title
|
|
||||||
* @member {String} Title
|
|
||||||
*/
|
|
||||||
User.prototype['Title'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Username
|
|
||||||
* @member {String} Username
|
|
||||||
*/
|
|
||||||
User.prototype['Username'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Role
|
|
||||||
* @member {String} UserRoleID
|
|
||||||
*/
|
|
||||||
User.prototype['UserRoleID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* User Type
|
|
||||||
* @member {String} UserType
|
|
||||||
*/
|
|
||||||
User.prototype['UserType'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {Array.<module:model/UserRole>} UserRoles
|
|
||||||
*/
|
|
||||||
User.prototype['UserRoles'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {Array.<module:model/TenantUser>} TenantUsers
|
|
||||||
*/
|
|
||||||
User.prototype['TenantUsers'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default User;
|
|
||||||
|
|
|
@ -1,82 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
import ResponseMeta from './ResponseMeta';
|
|
||||||
import User from './User';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The UserResponse model module.
|
|
||||||
* @module model/UserResponse
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class UserResponse {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>UserResponse</code>.
|
|
||||||
* An array Taxnexus user objects
|
|
||||||
* @alias module:model/UserResponse
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
UserResponse.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>UserResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/UserResponse} obj Optional instance to populate.
|
|
||||||
* @return {module:model/UserResponse} The populated <code>UserResponse</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new UserResponse();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('Data')) {
|
|
||||||
obj['Data'] = ApiClient.convertToType(data['Data'], [User]);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Meta')) {
|
|
||||||
obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {Array.<module:model/User>} Data
|
|
||||||
*/
|
|
||||||
UserResponse.prototype['Data'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/ResponseMeta} Meta
|
|
||||||
*/
|
|
||||||
UserResponse.prototype['Meta'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default UserResponse;
|
|
||||||
|
|
|
@ -1,181 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The UserRole model module.
|
|
||||||
* @module model/UserRole
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class UserRole {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>UserRole</code>.
|
|
||||||
* Relationship object that connects user to a role
|
|
||||||
* @alias module:model/UserRole
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
UserRole.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>UserRole</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/UserRole} obj Optional instance to populate.
|
|
||||||
* @return {module:model/UserRole} The populated <code>UserRole</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new UserRole();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('AccountID')) {
|
|
||||||
obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Auth0RoleID')) {
|
|
||||||
obj['Auth0RoleID'] = ApiClient.convertToType(data['Auth0RoleID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Auth0UserID')) {
|
|
||||||
obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CompanyName')) {
|
|
||||||
obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ContactID')) {
|
|
||||||
obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RoleDescription')) {
|
|
||||||
obj['RoleDescription'] = ApiClient.convertToType(data['RoleDescription'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RoleID')) {
|
|
||||||
obj['RoleID'] = ApiClient.convertToType(data['RoleID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RoleName')) {
|
|
||||||
obj['RoleName'] = ApiClient.convertToType(data['RoleName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TaxnexusAccount')) {
|
|
||||||
obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserEmail')) {
|
|
||||||
obj['UserEmail'] = ApiClient.convertToType(data['UserEmail'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserFullName')) {
|
|
||||||
obj['UserFullName'] = ApiClient.convertToType(data['UserFullName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserID')) {
|
|
||||||
obj['UserID'] = ApiClient.convertToType(data['UserID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Username')) {
|
|
||||||
obj['Username'] = ApiClient.convertToType(data['Username'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account Id
|
|
||||||
* @member {String} AccountID
|
|
||||||
*/
|
|
||||||
UserRole.prototype['AccountID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Linked role ID
|
|
||||||
* @member {String} Auth0RoleID
|
|
||||||
*/
|
|
||||||
UserRole.prototype['Auth0RoleID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Auth0 User ID
|
|
||||||
* @member {String} Auth0UserID
|
|
||||||
*/
|
|
||||||
UserRole.prototype['Auth0UserID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Company Name
|
|
||||||
* @member {String} CompanyName
|
|
||||||
*/
|
|
||||||
UserRole.prototype['CompanyName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contact ID
|
|
||||||
* @member {String} ContactID
|
|
||||||
*/
|
|
||||||
UserRole.prototype['ContactID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Role description
|
|
||||||
* @member {String} RoleDescription
|
|
||||||
*/
|
|
||||||
UserRole.prototype['RoleDescription'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Role ID
|
|
||||||
* @member {String} RoleID
|
|
||||||
*/
|
|
||||||
UserRole.prototype['RoleID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Role Name
|
|
||||||
* @member {String} RoleName
|
|
||||||
*/
|
|
||||||
UserRole.prototype['RoleName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus Account Number
|
|
||||||
* @member {String} TaxnexusAccount
|
|
||||||
*/
|
|
||||||
UserRole.prototype['TaxnexusAccount'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* User Email Address
|
|
||||||
* @member {String} UserEmail
|
|
||||||
*/
|
|
||||||
UserRole.prototype['UserEmail'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* User Full Name
|
|
||||||
* @member {String} UserFullName
|
|
||||||
*/
|
|
||||||
UserRole.prototype['UserFullName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The User ID
|
|
||||||
* @member {String} UserID
|
|
||||||
*/
|
|
||||||
UserRole.prototype['UserID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Username
|
|
||||||
* @member {String} Username
|
|
||||||
*/
|
|
||||||
UserRole.prototype['Username'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default UserRole;
|
|
||||||
|
|
|
@ -1,63 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Auth);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Auth) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Auth.UserApi();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('UserApi', function() {
|
|
||||||
describe('getUsers', function() {
|
|
||||||
it('should call getUsers successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test getUsers
|
|
||||||
//instance.getUsers(function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,101 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Auth);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Auth) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Auth.Address();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('Address', function() {
|
|
||||||
it('should create an instance of Address', function() {
|
|
||||||
// uncomment below and update the code to test Address
|
|
||||||
//var instance = new Auth.Address();
|
|
||||||
//expect(instance).to.be.a(Auth.Address);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property city (base name: "City")', function() {
|
|
||||||
// uncomment below and update the code to test the property city
|
|
||||||
//var instance = new Auth.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property country (base name: "Country")', function() {
|
|
||||||
// uncomment below and update the code to test the property country
|
|
||||||
//var instance = new Auth.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property countryCode (base name: "CountryCode")', function() {
|
|
||||||
// uncomment below and update the code to test the property countryCode
|
|
||||||
//var instance = new Auth.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property postalCode (base name: "PostalCode")', function() {
|
|
||||||
// uncomment below and update the code to test the property postalCode
|
|
||||||
//var instance = new Auth.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property state (base name: "State")', function() {
|
|
||||||
// uncomment below and update the code to test the property state
|
|
||||||
//var instance = new Auth.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property stateCode (base name: "StateCode")', function() {
|
|
||||||
// uncomment below and update the code to test the property stateCode
|
|
||||||
//var instance = new Auth.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property street (base name: "Street")', function() {
|
|
||||||
// uncomment below and update the code to test the property street
|
|
||||||
//var instance = new Auth.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,77 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Auth);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Auth) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Auth.Error();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('Error', function() {
|
|
||||||
it('should create an instance of Error', function() {
|
|
||||||
// uncomment below and update the code to test Error
|
|
||||||
//var instance = new Auth.Error();
|
|
||||||
//expect(instance).to.be.a(Auth.Error);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property code (base name: "Code")', function() {
|
|
||||||
// uncomment below and update the code to test the property code
|
|
||||||
//var instance = new Auth.Error();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property fields (base name: "Fields")', function() {
|
|
||||||
// uncomment below and update the code to test the property fields
|
|
||||||
//var instance = new Auth.Error();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property message (base name: "Message")', function() {
|
|
||||||
// uncomment below and update the code to test the property message
|
|
||||||
//var instance = new Auth.Error();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,125 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Auth);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Auth) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Auth.ResponseMeta();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('ResponseMeta', function() {
|
|
||||||
it('should create an instance of ResponseMeta', function() {
|
|
||||||
// uncomment below and update the code to test ResponseMeta
|
|
||||||
//var instance = new Auth.ResponseMeta();
|
|
||||||
//expect(instance).to.be.a(Auth.ResponseMeta);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property contact (base name: "Contact")', function() {
|
|
||||||
// uncomment below and update the code to test the property contact
|
|
||||||
//var instance = new Auth.ResponseMeta();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property copyright (base name: "Copyright")', function() {
|
|
||||||
// uncomment below and update the code to test the property copyright
|
|
||||||
//var instance = new Auth.ResponseMeta();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property license (base name: "License")', function() {
|
|
||||||
// uncomment below and update the code to test the property license
|
|
||||||
//var instance = new Auth.ResponseMeta();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property operationID (base name: "OperationID")', function() {
|
|
||||||
// uncomment below and update the code to test the property operationID
|
|
||||||
//var instance = new Auth.ResponseMeta();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property requestIP (base name: "RequestIP")', function() {
|
|
||||||
// uncomment below and update the code to test the property requestIP
|
|
||||||
//var instance = new Auth.ResponseMeta();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property requestType (base name: "RequestType")', function() {
|
|
||||||
// uncomment below and update the code to test the property requestType
|
|
||||||
//var instance = new Auth.ResponseMeta();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property requestURL (base name: "RequestURL")', function() {
|
|
||||||
// uncomment below and update the code to test the property requestURL
|
|
||||||
//var instance = new Auth.ResponseMeta();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property serverInfo (base name: "ServerInfo")', function() {
|
|
||||||
// uncomment below and update the code to test the property serverInfo
|
|
||||||
//var instance = new Auth.ResponseMeta();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property serverResponseTime (base name: "ServerResponseTime")', function() {
|
|
||||||
// uncomment below and update the code to test the property serverResponseTime
|
|
||||||
//var instance = new Auth.ResponseMeta();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property serverTimestamp (base name: "ServerTimestamp")', function() {
|
|
||||||
// uncomment below and update the code to test the property serverTimestamp
|
|
||||||
//var instance = new Auth.ResponseMeta();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() {
|
|
||||||
// uncomment below and update the code to test the property taxnexusAccount
|
|
||||||
//var instance = new Auth.ResponseMeta();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,155 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Auth);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Auth) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Auth.TenantUser();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('TenantUser', function() {
|
|
||||||
it('should create an instance of TenantUser', function() {
|
|
||||||
// uncomment below and update the code to test TenantUser
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be.a(Auth.TenantUser);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property accessLevel (base name: "AccessLevel")', function() {
|
|
||||||
// uncomment below and update the code to test the property accessLevel
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property auth0UserID (base name: "Auth0UserID")', function() {
|
|
||||||
// uncomment below and update the code to test the property auth0UserID
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property accountID (base name: "AccountID")', function() {
|
|
||||||
// uncomment below and update the code to test the property accountID
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property contactID (base name: "ContactID")', function() {
|
|
||||||
// uncomment below and update the code to test the property contactID
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property companyName (base name: "CompanyName")', function() {
|
|
||||||
// uncomment below and update the code to test the property companyName
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() {
|
|
||||||
// uncomment below and update the code to test the property taxnexusAccount
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property tenantActive (base name: "TenantActive")', function() {
|
|
||||||
// uncomment below and update the code to test the property tenantActive
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property tenantID (base name: "TenantID")', function() {
|
|
||||||
// uncomment below and update the code to test the property tenantID
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property tenantName (base name: "TenantName")', function() {
|
|
||||||
// uncomment below and update the code to test the property tenantName
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property tenantStatus (base name: "TenantStatus")', function() {
|
|
||||||
// uncomment below and update the code to test the property tenantStatus
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property tenantType (base name: "TenantType")', function() {
|
|
||||||
// uncomment below and update the code to test the property tenantType
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property tenantVersion (base name: "TenantVersion")', function() {
|
|
||||||
// uncomment below and update the code to test the property tenantVersion
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property username (base name: "Username")', function() {
|
|
||||||
// uncomment below and update the code to test the property username
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property userEmail (base name: "UserEmail")', function() {
|
|
||||||
// uncomment below and update the code to test the property userEmail
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property userFullName (base name: "UserFullName")', function() {
|
|
||||||
// uncomment below and update the code to test the property userFullName
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property userID (base name: "UserID")', function() {
|
|
||||||
// uncomment below and update the code to test the property userID
|
|
||||||
//var instance = new Auth.TenantUser();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,407 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Auth);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Auth) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Auth.User();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('User', function() {
|
|
||||||
it('should create an instance of User', function() {
|
|
||||||
// uncomment below and update the code to test User
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be.a(Auth.User);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property aboutMe (base name: "AboutMe")', function() {
|
|
||||||
// uncomment below and update the code to test the property aboutMe
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property accountID (base name: "AccountID")', function() {
|
|
||||||
// uncomment below and update the code to test the property accountID
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property address (base name: "Address")', function() {
|
|
||||||
// uncomment below and update the code to test the property address
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property alias (base name: "Alias")', function() {
|
|
||||||
// uncomment below and update the code to test the property alias
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property aPIKey (base name: "APIKey")', function() {
|
|
||||||
// uncomment below and update the code to test the property aPIKey
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property auth0UserID (base name: "Auth0UserID")', function() {
|
|
||||||
// uncomment below and update the code to test the property auth0UserID
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property communityNickname (base name: "CommunityNickname")', function() {
|
|
||||||
// uncomment below and update the code to test the property communityNickname
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property companyName (base name: "CompanyName")', function() {
|
|
||||||
// uncomment below and update the code to test the property companyName
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property contactID (base name: "ContactID")', function() {
|
|
||||||
// uncomment below and update the code to test the property contactID
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property createdByID (base name: "CreatedByID")', function() {
|
|
||||||
// uncomment below and update the code to test the property createdByID
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property createdDate (base name: "CreatedDate")', function() {
|
|
||||||
// uncomment below and update the code to test the property createdDate
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property delegatedApproverID (base name: "DelegatedApproverID")', function() {
|
|
||||||
// uncomment below and update the code to test the property delegatedApproverID
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property department (base name: "Department")', function() {
|
|
||||||
// uncomment below and update the code to test the property department
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property division (base name: "Division")', function() {
|
|
||||||
// uncomment below and update the code to test the property division
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property email (base name: "Email")', function() {
|
|
||||||
// uncomment below and update the code to test the property email
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property employeeNumber (base name: "EmployeeNumber")', function() {
|
|
||||||
// uncomment below and update the code to test the property employeeNumber
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property endOfDay (base name: "EndOfDay")', function() {
|
|
||||||
// uncomment below and update the code to test the property endOfDay
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property environment (base name: "Environment")', function() {
|
|
||||||
// uncomment below and update the code to test the property environment
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property extension (base name: "Extension")', function() {
|
|
||||||
// uncomment below and update the code to test the property extension
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property fabricAPIKey (base name: "FabricAPIKey")', function() {
|
|
||||||
// uncomment below and update the code to test the property fabricAPIKey
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property fax (base name: "Fax")', function() {
|
|
||||||
// uncomment below and update the code to test the property fax
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property firstName (base name: "FirstName")', function() {
|
|
||||||
// uncomment below and update the code to test the property firstName
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property forecastEnabled (base name: "ForecastEnabled")', function() {
|
|
||||||
// uncomment below and update the code to test the property forecastEnabled
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property fullPhotoURL (base name: "FullPhotoURL")', function() {
|
|
||||||
// uncomment below and update the code to test the property fullPhotoURL
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property ID (base name: "ID")', function() {
|
|
||||||
// uncomment below and update the code to test the property ID
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property isActive (base name: "IsActive")', function() {
|
|
||||||
// uncomment below and update the code to test the property isActive
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property isPortalEnabled (base name: "IsPortalEnabled")', function() {
|
|
||||||
// uncomment below and update the code to test the property isPortalEnabled
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property isProphilePhotoActive (base name: "IsProphilePhotoActive")', function() {
|
|
||||||
// uncomment below and update the code to test the property isProphilePhotoActive
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property isSystemControlled (base name: "IsSystemControlled")', function() {
|
|
||||||
// uncomment below and update the code to test the property isSystemControlled
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() {
|
|
||||||
// uncomment below and update the code to test the property lastModifiedByID
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() {
|
|
||||||
// uncomment below and update the code to test the property lastModifiedDate
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property lastLogin (base name: "LastLogin")', function() {
|
|
||||||
// uncomment below and update the code to test the property lastLogin
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property lastIP (base name: "LastIP")', function() {
|
|
||||||
// uncomment below and update the code to test the property lastIP
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property loginCount (base name: "LoginCount")', function() {
|
|
||||||
// uncomment below and update the code to test the property loginCount
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property lastName (base name: "LastName")', function() {
|
|
||||||
// uncomment below and update the code to test the property lastName
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property managerID (base name: "ManagerID")', function() {
|
|
||||||
// uncomment below and update the code to test the property managerID
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property mobilePhone (base name: "MobilePhone")', function() {
|
|
||||||
// uncomment below and update the code to test the property mobilePhone
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property name (base name: "Name")', function() {
|
|
||||||
// uncomment below and update the code to test the property name
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property outOfOfficeMessage (base name: "OutOfOfficeMessage")', function() {
|
|
||||||
// uncomment below and update the code to test the property outOfOfficeMessage
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property phone (base name: "Phone")', function() {
|
|
||||||
// uncomment below and update the code to test the property phone
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property portalRole (base name: "PortalRole")', function() {
|
|
||||||
// uncomment below and update the code to test the property portalRole
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property profileID (base name: "ProfileID")', function() {
|
|
||||||
// uncomment below and update the code to test the property profileID
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property receivesAdminInfoEmails (base name: "ReceivesAdminInfoEmails")', function() {
|
|
||||||
// uncomment below and update the code to test the property receivesAdminInfoEmails
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property receivesAdminEmails (base name: "ReceivesAdminEmails")', function() {
|
|
||||||
// uncomment below and update the code to test the property receivesAdminEmails
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property senderEmail (base name: "SenderEmail")', function() {
|
|
||||||
// uncomment below and update the code to test the property senderEmail
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property senderName (base name: "SenderName")', function() {
|
|
||||||
// uncomment below and update the code to test the property senderName
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property signature (base name: "Signature")', function() {
|
|
||||||
// uncomment below and update the code to test the property signature
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property smallPhotoURL (base name: "SmallPhotoURL")', function() {
|
|
||||||
// uncomment below and update the code to test the property smallPhotoURL
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property startOfDay (base name: "StartOfDay")', function() {
|
|
||||||
// uncomment below and update the code to test the property startOfDay
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() {
|
|
||||||
// uncomment below and update the code to test the property taxnexusAccount
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property tenantID (base name: "TenantID")', function() {
|
|
||||||
// uncomment below and update the code to test the property tenantID
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property timeZone (base name: "TimeZone")', function() {
|
|
||||||
// uncomment below and update the code to test the property timeZone
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property title (base name: "Title")', function() {
|
|
||||||
// uncomment below and update the code to test the property title
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property username (base name: "Username")', function() {
|
|
||||||
// uncomment below and update the code to test the property username
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property userRoleID (base name: "UserRoleID")', function() {
|
|
||||||
// uncomment below and update the code to test the property userRoleID
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property userType (base name: "UserType")', function() {
|
|
||||||
// uncomment below and update the code to test the property userType
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property userRoles (base name: "UserRoles")', function() {
|
|
||||||
// uncomment below and update the code to test the property userRoles
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property tenantUsers (base name: "TenantUsers")', function() {
|
|
||||||
// uncomment below and update the code to test the property tenantUsers
|
|
||||||
//var instance = new Auth.User();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,71 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Auth);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Auth) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Auth.UserResponse();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('UserResponse', function() {
|
|
||||||
it('should create an instance of UserResponse', function() {
|
|
||||||
// uncomment below and update the code to test UserResponse
|
|
||||||
//var instance = new Auth.UserResponse();
|
|
||||||
//expect(instance).to.be.a(Auth.UserResponse);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property data (base name: "Data")', function() {
|
|
||||||
// uncomment below and update the code to test the property data
|
|
||||||
//var instance = new Auth.UserResponse();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property meta (base name: "Meta")', function() {
|
|
||||||
// uncomment below and update the code to test the property meta
|
|
||||||
//var instance = new Auth.UserResponse();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,137 +0,0 @@
|
||||||
/**
|
|
||||||
* auth
|
|
||||||
* Authentication Microservice
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Auth);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Auth) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Auth.UserRole();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('UserRole', function() {
|
|
||||||
it('should create an instance of UserRole', function() {
|
|
||||||
// uncomment below and update the code to test UserRole
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be.a(Auth.UserRole);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property accountID (base name: "AccountID")', function() {
|
|
||||||
// uncomment below and update the code to test the property accountID
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property auth0RoleID (base name: "Auth0RoleID")', function() {
|
|
||||||
// uncomment below and update the code to test the property auth0RoleID
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property auth0UserID (base name: "Auth0UserID")', function() {
|
|
||||||
// uncomment below and update the code to test the property auth0UserID
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property companyName (base name: "CompanyName")', function() {
|
|
||||||
// uncomment below and update the code to test the property companyName
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property contactID (base name: "ContactID")', function() {
|
|
||||||
// uncomment below and update the code to test the property contactID
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property roleDescription (base name: "RoleDescription")', function() {
|
|
||||||
// uncomment below and update the code to test the property roleDescription
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property roleID (base name: "RoleID")', function() {
|
|
||||||
// uncomment below and update the code to test the property roleID
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property roleName (base name: "RoleName")', function() {
|
|
||||||
// uncomment below and update the code to test the property roleName
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() {
|
|
||||||
// uncomment below and update the code to test the property taxnexusAccount
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property userEmail (base name: "UserEmail")', function() {
|
|
||||||
// uncomment below and update the code to test the property userEmail
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property userFullName (base name: "UserFullName")', function() {
|
|
||||||
// uncomment below and update the code to test the property userFullName
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property userID (base name: "UserID")', function() {
|
|
||||||
// uncomment below and update the code to test the property userID
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property username (base name: "Username")', function() {
|
|
||||||
// uncomment below and update the code to test the property username
|
|
||||||
//var instance = new Auth.UserRole();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,33 +0,0 @@
|
||||||
{
|
|
||||||
"presets": [
|
|
||||||
"@babel/preset-env"
|
|
||||||
],
|
|
||||||
"plugins": [
|
|
||||||
"@babel/plugin-syntax-dynamic-import",
|
|
||||||
"@babel/plugin-syntax-import-meta",
|
|
||||||
"@babel/plugin-proposal-class-properties",
|
|
||||||
"@babel/plugin-proposal-json-strings",
|
|
||||||
[
|
|
||||||
"@babel/plugin-proposal-decorators",
|
|
||||||
{
|
|
||||||
"legacy": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@babel/plugin-proposal-function-sent",
|
|
||||||
"@babel/plugin-proposal-export-namespace-from",
|
|
||||||
"@babel/plugin-proposal-numeric-separator",
|
|
||||||
"@babel/plugin-proposal-throw-expressions",
|
|
||||||
"@babel/plugin-proposal-export-default-from",
|
|
||||||
"@babel/plugin-proposal-logical-assignment-operators",
|
|
||||||
"@babel/plugin-proposal-optional-chaining",
|
|
||||||
[
|
|
||||||
"@babel/plugin-proposal-pipeline-operator",
|
|
||||||
{
|
|
||||||
"proposal": "minimal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@babel/plugin-proposal-nullish-coalescing-operator",
|
|
||||||
"@babel/plugin-proposal-do-expressions",
|
|
||||||
"@babel/plugin-proposal-function-bind"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,33 +0,0 @@
|
||||||
# Logs
|
|
||||||
logs
|
|
||||||
*.log
|
|
||||||
npm-debug.log*
|
|
||||||
|
|
||||||
# Runtime data
|
|
||||||
pids
|
|
||||||
*.pid
|
|
||||||
*.seed
|
|
||||||
|
|
||||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
||||||
lib-cov
|
|
||||||
|
|
||||||
# Coverage directory used by tools like istanbul
|
|
||||||
coverage
|
|
||||||
|
|
||||||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
|
||||||
.grunt
|
|
||||||
|
|
||||||
# node-waf configuration
|
|
||||||
.lock-wscript
|
|
||||||
|
|
||||||
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
|
||||||
build/Release
|
|
||||||
|
|
||||||
# Dependency directory
|
|
||||||
node_modules
|
|
||||||
|
|
||||||
# Optional npm cache directory
|
|
||||||
.npm
|
|
||||||
|
|
||||||
# Optional REPL history
|
|
||||||
.node_repl_history
|
|
|
@ -1,23 +0,0 @@
|
||||||
# OpenAPI Generator Ignore
|
|
||||||
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
||||||
|
|
||||||
# Use this file to prevent files from being overwritten by the generator.
|
|
||||||
# The patterns follow closely to .gitignore or .dockerignore.
|
|
||||||
|
|
||||||
# As an example, the C# client generator defines ApiClient.cs.
|
|
||||||
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
||||||
#ApiClient.cs
|
|
||||||
|
|
||||||
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
||||||
#foo/*/qux
|
|
||||||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
||||||
|
|
||||||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
||||||
#foo/**/qux
|
|
||||||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
||||||
|
|
||||||
# You can also negate patterns with an exclamation (!).
|
|
||||||
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
||||||
#docs/*.md
|
|
||||||
# Then explicitly reverse the ignore rule for a single file:
|
|
||||||
#!docs/README.md
|
|
|
@ -1,76 +0,0 @@
|
||||||
.babelrc
|
|
||||||
.gitignore
|
|
||||||
.openapi-generator-ignore
|
|
||||||
.travis.yml
|
|
||||||
README.md
|
|
||||||
docs/Account.md
|
|
||||||
docs/Address.md
|
|
||||||
docs/Contact.md
|
|
||||||
docs/CorsApi.md
|
|
||||||
docs/Database.md
|
|
||||||
docs/Developer.md
|
|
||||||
docs/DevelopersApi.md
|
|
||||||
docs/Error.md
|
|
||||||
docs/IQ.md
|
|
||||||
docs/IqApi.md
|
|
||||||
docs/Lead.md
|
|
||||||
docs/LeadsApi.md
|
|
||||||
docs/PaymentMethod.md
|
|
||||||
docs/Role.md
|
|
||||||
docs/RuleExecution.md
|
|
||||||
docs/Tenant.md
|
|
||||||
docs/TenantUser.md
|
|
||||||
docs/User.md
|
|
||||||
docs/UserAuth.md
|
|
||||||
docs/UserAuthApi.md
|
|
||||||
docs/UserRole.md
|
|
||||||
docs/UsersApi.md
|
|
||||||
git_push.sh
|
|
||||||
mocha.opts
|
|
||||||
package.json
|
|
||||||
src/ApiClient.js
|
|
||||||
src/api/CorsApi.js
|
|
||||||
src/api/DevelopersApi.js
|
|
||||||
src/api/IqApi.js
|
|
||||||
src/api/LeadsApi.js
|
|
||||||
src/api/UserAuthApi.js
|
|
||||||
src/api/UsersApi.js
|
|
||||||
src/index.js
|
|
||||||
src/model/Account.js
|
|
||||||
src/model/Address.js
|
|
||||||
src/model/Contact.js
|
|
||||||
src/model/Database.js
|
|
||||||
src/model/Developer.js
|
|
||||||
src/model/Error.js
|
|
||||||
src/model/IQ.js
|
|
||||||
src/model/Lead.js
|
|
||||||
src/model/PaymentMethod.js
|
|
||||||
src/model/Role.js
|
|
||||||
src/model/RuleExecution.js
|
|
||||||
src/model/Tenant.js
|
|
||||||
src/model/TenantUser.js
|
|
||||||
src/model/User.js
|
|
||||||
src/model/UserAuth.js
|
|
||||||
src/model/UserRole.js
|
|
||||||
test/api/CorsApi.spec.js
|
|
||||||
test/api/DevelopersApi.spec.js
|
|
||||||
test/api/IqApi.spec.js
|
|
||||||
test/api/LeadsApi.spec.js
|
|
||||||
test/api/UserAuthApi.spec.js
|
|
||||||
test/api/UsersApi.spec.js
|
|
||||||
test/model/Account.spec.js
|
|
||||||
test/model/Address.spec.js
|
|
||||||
test/model/Contact.spec.js
|
|
||||||
test/model/Database.spec.js
|
|
||||||
test/model/Developer.spec.js
|
|
||||||
test/model/Error.spec.js
|
|
||||||
test/model/IQ.spec.js
|
|
||||||
test/model/Lead.spec.js
|
|
||||||
test/model/PaymentMethod.spec.js
|
|
||||||
test/model/Role.spec.js
|
|
||||||
test/model/RuleExecution.spec.js
|
|
||||||
test/model/Tenant.spec.js
|
|
||||||
test/model/TenantUser.spec.js
|
|
||||||
test/model/User.spec.js
|
|
||||||
test/model/UserAuth.spec.js
|
|
||||||
test/model/UserRole.spec.js
|
|
|
@ -1 +0,0 @@
|
||||||
6.0.1
|
|
|
@ -1,5 +0,0 @@
|
||||||
language: node_js
|
|
||||||
cache: npm
|
|
||||||
node_js:
|
|
||||||
- "6"
|
|
||||||
- "6.1"
|
|
|
@ -1,165 +0,0 @@
|
||||||
# board
|
|
||||||
|
|
||||||
Board - JavaScript client for board
|
|
||||||
Taxnexus Onboarding Service
|
|
||||||
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
||||||
|
|
||||||
- API version: 0.0.2
|
|
||||||
- Package version: 0.0.2
|
|
||||||
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
### For [Node.js](https://nodejs.org/)
|
|
||||||
|
|
||||||
#### npm
|
|
||||||
|
|
||||||
To publish the library as a [npm](https://www.npmjs.com/), please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).
|
|
||||||
|
|
||||||
Then install it via:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm install board --save
|
|
||||||
```
|
|
||||||
|
|
||||||
Finally, you need to build the module:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm run build
|
|
||||||
```
|
|
||||||
|
|
||||||
##### Local development
|
|
||||||
|
|
||||||
To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm install
|
|
||||||
```
|
|
||||||
|
|
||||||
Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm link
|
|
||||||
```
|
|
||||||
|
|
||||||
To use the link you just defined in your project, switch to the directory you want to use your board from, and run:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>
|
|
||||||
```
|
|
||||||
|
|
||||||
Finally, you need to build the module:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm run build
|
|
||||||
```
|
|
||||||
|
|
||||||
#### git
|
|
||||||
|
|
||||||
If the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID
|
|
||||||
then install it via:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
npm install GIT_USER_ID/GIT_REPO_ID --save
|
|
||||||
```
|
|
||||||
|
|
||||||
### For browser
|
|
||||||
|
|
||||||
The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
|
|
||||||
the above steps with Node.js and installing browserify with `npm install -g browserify`,
|
|
||||||
perform the following (assuming *main.js* is your entry file):
|
|
||||||
|
|
||||||
```shell
|
|
||||||
browserify main.js > bundle.js
|
|
||||||
```
|
|
||||||
|
|
||||||
Then include *bundle.js* in the HTML pages.
|
|
||||||
|
|
||||||
### Webpack Configuration
|
|
||||||
|
|
||||||
Using Webpack you may encounter the following error: "Module not found: Error:
|
|
||||||
Cannot resolve module", most certainly you should disable AMD loader. Add/merge
|
|
||||||
the following section to your webpack config:
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
module: {
|
|
||||||
rules: [
|
|
||||||
{
|
|
||||||
parser: {
|
|
||||||
amd: false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Getting Started
|
|
||||||
|
|
||||||
Please follow the [installation](#installation) instruction and execute the following JS code:
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
var Board = require('board');
|
|
||||||
|
|
||||||
|
|
||||||
var api = new Board.CorsApi()
|
|
||||||
var callback = function(error, data, response) {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully.');
|
|
||||||
}
|
|
||||||
};
|
|
||||||
api.developerOptions(callback);
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
## Documentation for API Endpoints
|
|
||||||
|
|
||||||
All URIs are relative to *http://board.vernonkeenan.com:8080/v1*
|
|
||||||
|
|
||||||
Class | Method | HTTP request | Description
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
*Board.CorsApi* | [**developerOptions**](docs/CorsApi.md#developerOptions) | **OPTIONS** /developers |
|
|
||||||
*Board.CorsApi* | [**iqOptions**](docs/CorsApi.md#iqOptions) | **OPTIONS** /iqs |
|
|
||||||
*Board.CorsApi* | [**leadsOptions**](docs/CorsApi.md#leadsOptions) | **OPTIONS** /leads |
|
|
||||||
*Board.CorsApi* | [**userAuthOptions**](docs/CorsApi.md#userAuthOptions) | **OPTIONS** /userauths |
|
|
||||||
*Board.CorsApi* | [**userOptions**](docs/CorsApi.md#userOptions) | **OPTIONS** /users |
|
|
||||||
*Board.DevelopersApi* | [**postDevelopers**](docs/DevelopersApi.md#postDevelopers) | **POST** /developers | Onboard new developer
|
|
||||||
*Board.IqApi* | [**postIQ**](docs/IqApi.md#postIQ) | **POST** /iqs | Onboard new new Taxnexus IQ Customer
|
|
||||||
*Board.LeadsApi* | [**postLeads**](docs/LeadsApi.md#postLeads) | **POST** /leads | Add a new Lead record
|
|
||||||
*Board.LeadsApi* | [**putLeads**](docs/LeadsApi.md#putLeads) | **PUT** /leads | Update Leads
|
|
||||||
*Board.UserAuthApi* | [**getUserAuth**](docs/UserAuthApi.md#getUserAuth) | **GET** /userauths/{usernamePath} | Get a single UserAuth object
|
|
||||||
*Board.UsersApi* | [**getUsers**](docs/UsersApi.md#getUsers) | **GET** /users |
|
|
||||||
|
|
||||||
|
|
||||||
## Documentation for Models
|
|
||||||
|
|
||||||
- [Board.Account](docs/Account.md)
|
|
||||||
- [Board.Address](docs/Address.md)
|
|
||||||
- [Board.Contact](docs/Contact.md)
|
|
||||||
- [Board.Database](docs/Database.md)
|
|
||||||
- [Board.Developer](docs/Developer.md)
|
|
||||||
- [Board.Error](docs/Error.md)
|
|
||||||
- [Board.IQ](docs/IQ.md)
|
|
||||||
- [Board.Lead](docs/Lead.md)
|
|
||||||
- [Board.PaymentMethod](docs/PaymentMethod.md)
|
|
||||||
- [Board.Role](docs/Role.md)
|
|
||||||
- [Board.RuleExecution](docs/RuleExecution.md)
|
|
||||||
- [Board.Tenant](docs/Tenant.md)
|
|
||||||
- [Board.TenantUser](docs/TenantUser.md)
|
|
||||||
- [Board.User](docs/User.md)
|
|
||||||
- [Board.UserAuth](docs/UserAuth.md)
|
|
||||||
- [Board.UserRole](docs/UserRole.md)
|
|
||||||
|
|
||||||
|
|
||||||
## Documentation for Authorization
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### ApiKeyAuth
|
|
||||||
|
|
||||||
|
|
||||||
- **Type**: API key
|
|
||||||
- **API key parameter name**: X-API-Key
|
|
||||||
- **Location**: HTTP header
|
|
||||||
|
|
|
@ -1,95 +0,0 @@
|
||||||
# Board.Account
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**accountNumber** | **String** | Account Number | [optional]
|
|
||||||
**accountSource** | **String** | The marketing orgin of this account | [optional]
|
|
||||||
**active** | **Boolean** | Active | [optional]
|
|
||||||
**administrativeLevel** | **String** | For tax authorities, this account's administrative level, e.g. Local, County, State or Federal | [optional]
|
|
||||||
**amount** | **Number** | Rollup Tax Amount | [optional]
|
|
||||||
**amountInvoiced** | **Number** | Amount Invoiced | [optional]
|
|
||||||
**amountPaid** | **Number** | Amount Paid | [optional]
|
|
||||||
**annualRevenue** | **Number** | Annual Revenue Estimate | [optional]
|
|
||||||
**balance** | **Number** | Account Balance | [optional]
|
|
||||||
**billingAddress** | [**Address**](Address.md) | | [optional]
|
|
||||||
**billingContactID** | **String** | Contact ID | [optional]
|
|
||||||
**billingPreference** | **String** | Billing Preference | [optional]
|
|
||||||
**businessAddress** | [**Address**](Address.md) | | [optional]
|
|
||||||
**cannabisCustomer** | **Boolean** | Is this a cannabis customer? | [optional]
|
|
||||||
**channelProgramLevelName** | **String** | Channel Program Level Name | [optional]
|
|
||||||
**channelProgramName** | **String** | Channel Program Name | [optional]
|
|
||||||
**clientEndDate** | **String** | Client End Date | [optional]
|
|
||||||
**clientStartDate** | **String** | Client Start Date | [optional]
|
|
||||||
**companyID** | **String** | The Company ID of this Account | [optional]
|
|
||||||
**coordinateID** | **String** | The Id of the geo coordinates of this account | [optional]
|
|
||||||
**createdByID** | **String** | Created By User ID | [optional]
|
|
||||||
**createdDate** | **String** | Created Date | [optional]
|
|
||||||
**customerID** | **String** | Customer ID from source system | [optional]
|
|
||||||
**customerPriority** | **String** | Customer Priority | [optional]
|
|
||||||
**DBA** | **String** | This Account's 'Doing Business As' name | [optional]
|
|
||||||
**dUNSNumber** | **String** | D-U-N-S Number | [optional]
|
|
||||||
**dandBCompanyID** | **String** | D-n-B Company | [optional]
|
|
||||||
**defaultAddress** | [**Address**](Address.md) | | [optional]
|
|
||||||
**defaultBackendID** | **String** | Default Backend ID | [optional]
|
|
||||||
**defaultDeliveryContactID** | **String** | Default Delivery Address Contact ID | [optional]
|
|
||||||
**defaultEndUserID** | **String** | Default End User Contact ID | [optional]
|
|
||||||
**description** | **String** | Description | [optional]
|
|
||||||
**EIN** | **String** | EIN | [optional]
|
|
||||||
**email** | **String** | Main Account Email | [optional]
|
|
||||||
**enrollmentStatus** | **String** | Enrollment Status | [optional]
|
|
||||||
**fax** | **String** | Fax | [optional]
|
|
||||||
**ID** | **String** | Taxnexus Account Id | [optional]
|
|
||||||
**iSPCustomer** | **Boolean** | ISP Customer? | [optional]
|
|
||||||
**industry** | **String** | Industry | [optional]
|
|
||||||
**isCustomerPortal** | **Boolean** | Customer Portal Account | [optional]
|
|
||||||
**isPartner** | **Boolean** | Partner Account | [optional]
|
|
||||||
**jigSaw** | **String** | Data.com Key | [optional]
|
|
||||||
**lastModifiedByID** | **String** | Last Modified By User ID | [optional]
|
|
||||||
**lastModifiedDate** | **String** | Last Modified Date | [optional]
|
|
||||||
**mSPCustomer** | **Boolean** | MSP Customer? | [optional]
|
|
||||||
**nAICSCode** | **String** | NAICS Code | [optional]
|
|
||||||
**nAICSDesc** | **String** | NAICS Description | [optional]
|
|
||||||
**name** | **String** | Account Name | [optional]
|
|
||||||
**numberOfEmployees** | **Number** | Employee Count Estimate | [optional]
|
|
||||||
**numberOfLocations** | **Number** | Number of Locations Estimate | [optional]
|
|
||||||
**openCharges** | **Number** | Open Charges | [optional]
|
|
||||||
**orderContactID** | **String** | Vendor Order Contact ID | [optional]
|
|
||||||
**orderEmail** | **String** | Order Email | [optional]
|
|
||||||
**ownerID** | **String** | Account Owner User ID | [optional]
|
|
||||||
**ownership** | **String** | Ownership | [optional]
|
|
||||||
**parentFK** | **String** | Parent Foreign Key | [optional]
|
|
||||||
**parentID** | **String** | Parent Account | [optional]
|
|
||||||
**phone** | **String** | Phone | [optional]
|
|
||||||
**placeID** | **String** | The ID of the Place situs record that applies to this Account | [optional]
|
|
||||||
**preparerID** | **String** | Tax Preparer Contact ID | [optional]
|
|
||||||
**rating** | **String** | Rating | [optional]
|
|
||||||
**ratingEngineID** | **String** | Rating Engine identifier | [optional]
|
|
||||||
**ref** | **String** | External Reference ID | [optional]
|
|
||||||
**revenueBase** | **Number** | Rollup Revenue Base | [optional]
|
|
||||||
**revenueNet** | **Number** | Rollup Revenue Net | [optional]
|
|
||||||
**revenueNotTaxable** | **Number** | Rollup Revenue Not Taxable | [optional]
|
|
||||||
**SIC** | **String** | SIC Code | [optional]
|
|
||||||
**sICDesc** | **String** | SIC Description | [optional]
|
|
||||||
**shippingAddress** | [**Address**](Address.md) | | [optional]
|
|
||||||
**shippingCensusTract** | **String** | Shipping Census Tract | [optional]
|
|
||||||
**shippingConactID** | **String** | Shipping Contact ID | [optional]
|
|
||||||
**shippingCounty** | **String** | Shipping County | [optional]
|
|
||||||
**site** | **String** | Account Site | [optional]
|
|
||||||
**status** | **String** | Account Status | [optional]
|
|
||||||
**taxExemption** | **String** | Tax Exemption | [optional]
|
|
||||||
**taxOnTax** | **Number** | Rollup Tax On Tax | [optional]
|
|
||||||
**telecomCustomer** | **Boolean** | Telecom Customer? | [optional]
|
|
||||||
**tickerSymbol** | **String** | Ticker Symbol | [optional]
|
|
||||||
**tradeStyle** | **String** | Tradestyle | [optional]
|
|
||||||
**type** | **String** | Type | [optional]
|
|
||||||
**unappliedPayments** | **Number** | Unapplied Payments | [optional]
|
|
||||||
**unitBase** | **Number** | Rollup Unit Base | [optional]
|
|
||||||
**upsellOpportunity** | **String** | Upsell Opportunity | [optional]
|
|
||||||
**wHMCSClientID** | **Number** | WHMCS Client ID | [optional]
|
|
||||||
**website** | **String** | Website | [optional]
|
|
||||||
**xeroContactID** | **String** | Xero Contact ID | [optional]
|
|
||||||
**yearStarted** | **String** | Year Started | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
# Board.Address
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**city** | **String** | City | [optional]
|
|
||||||
**country** | **String** | Country full name | [optional]
|
|
||||||
**countryCode** | **String** | Country Code | [optional]
|
|
||||||
**postalCode** | **String** | Postal Code | [optional]
|
|
||||||
**state** | **String** | State full name | [optional]
|
|
||||||
**stateCode** | **String** | State Code | [optional]
|
|
||||||
**street** | **String** | Street number and name | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,53 +0,0 @@
|
||||||
# Board.Contact
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**accountID** | **String** | The primary account ID of this contact | [optional]
|
|
||||||
**assistantName** | **String** | Assistant Name | [optional]
|
|
||||||
**assistantPhone** | **String** | Asst. Phone | [optional]
|
|
||||||
**birthDate** | **String** | Birthdate | [optional]
|
|
||||||
**createdByID** | **String** | Created By User ID | [optional]
|
|
||||||
**createdDate** | **String** | Created Date | [optional]
|
|
||||||
**department** | **String** | Department | [optional]
|
|
||||||
**description** | **String** | Description | [optional]
|
|
||||||
**doNotCall** | **Boolean** | Do Not Call? | [optional]
|
|
||||||
**email** | **String** | Email address | [optional]
|
|
||||||
**emailBounceDate** | **String** | Email Bounce Date | [optional]
|
|
||||||
**emailBouncedReason** | **String** | Email Bounce Reason | [optional]
|
|
||||||
**enrollmentStatus** | **String** | Taxnexus Enrollment Status | [optional]
|
|
||||||
**fax** | **String** | Fax Number | [optional]
|
|
||||||
**firstName** | **String** | First Name | [optional]
|
|
||||||
**hasOptedOutOfEmail** | **Boolean** | Email Opt Out | [optional]
|
|
||||||
**hasOptedOutOfFax** | **Boolean** | Fax Opt Out | [optional]
|
|
||||||
**homePhone** | **String** | Home Phone | [optional]
|
|
||||||
**ID** | **String** | Taxnexus Record Id | [optional]
|
|
||||||
**isEmailBounced** | **Boolean** | Does this contact have bounced emails? | [optional]
|
|
||||||
**isProvisioned** | **Boolean** | Is Provisioned? | [optional]
|
|
||||||
**lastModifiedByID** | **String** | Last Modified By User ID | [optional]
|
|
||||||
**lastModifiedDate** | **String** | Last Modified Date | [optional]
|
|
||||||
**lastName** | **String** | Last Name | [optional]
|
|
||||||
**leadSource** | **String** | Lead Source | [optional]
|
|
||||||
**level** | **String** | Level | [optional]
|
|
||||||
**linkedIn** | **String** | LinkedIn Page | [optional]
|
|
||||||
**mailingAddress** | [**Address**](Address.md) | | [optional]
|
|
||||||
**mailingLists** | **String** | Mailing Lists | [optional]
|
|
||||||
**mobilePhone** | **String** | Mobile Phone | [optional]
|
|
||||||
**name** | **String** | Full Name | [optional]
|
|
||||||
**otherAddress** | [**Address**](Address.md) | | [optional]
|
|
||||||
**otherPhone** | **String** | Other Phone | [optional]
|
|
||||||
**ownerID** | **String** | The User ID of the user who owns this Contact | [optional]
|
|
||||||
**personalEmail** | **String** | Personal Email Address for this Contact | [optional]
|
|
||||||
**phone** | **String** | Phone Number | [optional]
|
|
||||||
**photoURL** | **String** | URL of a photograph of this User | [optional]
|
|
||||||
**recruitingStatus** | **String** | Recruiting Status | [optional]
|
|
||||||
**ref** | **String** | External reference to this contact, if any | [optional]
|
|
||||||
**reportsToID** | **String** | Reports To Contact ID | [optional]
|
|
||||||
**salutation** | **String** | Contact Salutation | [optional]
|
|
||||||
**status** | **String** | The Contact Status | [optional]
|
|
||||||
**tenantID** | **String** | Tenant Identifier | [optional]
|
|
||||||
**title** | **String** | Contact Title | [optional]
|
|
||||||
**type** | **String** | Contact Type | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,218 +0,0 @@
|
||||||
# Board.CorsApi
|
|
||||||
|
|
||||||
All URIs are relative to *http://board.vernonkeenan.com:8080/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**developerOptions**](CorsApi.md#developerOptions) | **OPTIONS** /developers |
|
|
||||||
[**iqOptions**](CorsApi.md#iqOptions) | **OPTIONS** /iqs |
|
|
||||||
[**leadsOptions**](CorsApi.md#leadsOptions) | **OPTIONS** /leads |
|
|
||||||
[**userAuthOptions**](CorsApi.md#userAuthOptions) | **OPTIONS** /userauths |
|
|
||||||
[**userOptions**](CorsApi.md#userOptions) | **OPTIONS** /users |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## developerOptions
|
|
||||||
|
|
||||||
> developerOptions()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CORS support
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import Board from 'board';
|
|
||||||
|
|
||||||
let apiInstance = new Board.CorsApi();
|
|
||||||
apiInstance.developerOptions((error, data, response) => {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully.');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
null (empty response body)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: Not defined
|
|
||||||
|
|
||||||
|
|
||||||
## iqOptions
|
|
||||||
|
|
||||||
> iqOptions()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CORS support
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import Board from 'board';
|
|
||||||
|
|
||||||
let apiInstance = new Board.CorsApi();
|
|
||||||
apiInstance.iqOptions((error, data, response) => {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully.');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
null (empty response body)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: Not defined
|
|
||||||
|
|
||||||
|
|
||||||
## leadsOptions
|
|
||||||
|
|
||||||
> leadsOptions()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CORS support
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import Board from 'board';
|
|
||||||
|
|
||||||
let apiInstance = new Board.CorsApi();
|
|
||||||
apiInstance.leadsOptions((error, data, response) => {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully.');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
null (empty response body)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: Not defined
|
|
||||||
|
|
||||||
|
|
||||||
## userAuthOptions
|
|
||||||
|
|
||||||
> userAuthOptions()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CORS support
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import Board from 'board';
|
|
||||||
|
|
||||||
let apiInstance = new Board.CorsApi();
|
|
||||||
apiInstance.userAuthOptions((error, data, response) => {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully.');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
null (empty response body)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: Not defined
|
|
||||||
|
|
||||||
|
|
||||||
## userOptions
|
|
||||||
|
|
||||||
> userOptions()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CORS support
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import Board from 'board';
|
|
||||||
|
|
||||||
let apiInstance = new Board.CorsApi();
|
|
||||||
apiInstance.userOptions((error, data, response) => {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully.');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
null (empty response body)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: Not defined
|
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
# Board.Database
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**active** | **Boolean** | Is this database active? | [optional]
|
|
||||||
**clusterID** | **String** | The ID of the Cluster in which this database is deployed | [optional]
|
|
||||||
**createdByID** | **String** | Created By | [optional]
|
|
||||||
**createdDate** | **String** | Created Date | [optional]
|
|
||||||
**DSN** | **String** | Database connection string | [optional]
|
|
||||||
**databaseName** | **String** | The name of the physical database in the cluster | [optional]
|
|
||||||
**ID** | **String** | Record Id | [optional]
|
|
||||||
**lastModifiedByID** | **String** | Last Modified By | [optional]
|
|
||||||
**lastModifiedDate** | **String** | Last Modifed Date | [optional]
|
|
||||||
**microservices** | **String** | List of Taxnexus microservices implemented by this Database | [optional]
|
|
||||||
**status** | **String** | The current status of this Tenant | [optional]
|
|
||||||
**tenantID** | **String** | The ID of the tenant who owns this Database | [optional]
|
|
||||||
**type** | **String** | The type of Database (mysql, etc) | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
# Board.Developer
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**account** | [**Account**](Account.md) | | [optional]
|
|
||||||
**contact** | [**Contact**](Contact.md) | | [optional]
|
|
||||||
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,60 +0,0 @@
|
||||||
# Board.DevelopersApi
|
|
||||||
|
|
||||||
All URIs are relative to *http://board.vernonkeenan.com:8080/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**postDevelopers**](DevelopersApi.md#postDevelopers) | **POST** /developers | Onboard new developer
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## postDevelopers
|
|
||||||
|
|
||||||
> RuleExecution postDevelopers(developerRequest)
|
|
||||||
|
|
||||||
Onboard new developer
|
|
||||||
|
|
||||||
Register new developers with POST
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import Board from 'board';
|
|
||||||
let defaultClient = Board.ApiClient.instance;
|
|
||||||
// Configure API key authorization: ApiKeyAuth
|
|
||||||
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
|
|
||||||
ApiKeyAuth.apiKey = 'YOUR API KEY';
|
|
||||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
||||||
//ApiKeyAuth.apiKeyPrefix = 'Token';
|
|
||||||
|
|
||||||
let apiInstance = new Board.DevelopersApi();
|
|
||||||
let developerRequest = new Board.Developer(); // Developer | A single Developer struct for onboarding
|
|
||||||
apiInstance.postDevelopers(developerRequest, (error, data, response) => {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully. Returned data: ' + data);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**developerRequest** | [**Developer**](Developer.md)| A single Developer struct for onboarding |
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**RuleExecution**](RuleExecution.md)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
# Board.Error
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**code** | **Number** | | [optional]
|
|
||||||
**fields** | **String** | | [optional]
|
|
||||||
**message** | **String** | | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
# Board.IQ
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**account** | [**Account**](Account.md) | | [optional]
|
|
||||||
**contact** | [**Contact**](Contact.md) | | [optional]
|
|
||||||
**lead** | [**Lead**](Lead.md) | | [optional]
|
|
||||||
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional]
|
|
||||||
**tenant** | [**Tenant**](Tenant.md) | | [optional]
|
|
||||||
**user** | [**User**](User.md) | | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,60 +0,0 @@
|
||||||
# Board.IqApi
|
|
||||||
|
|
||||||
All URIs are relative to *http://board.vernonkeenan.com:8080/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**postIQ**](IqApi.md#postIQ) | **POST** /iqs | Onboard new new Taxnexus IQ Customer
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## postIQ
|
|
||||||
|
|
||||||
> RuleExecution postIQ(iqRequest)
|
|
||||||
|
|
||||||
Onboard new new Taxnexus IQ Customer
|
|
||||||
|
|
||||||
Register new Taxnexus IQ Customer with POST
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import Board from 'board';
|
|
||||||
let defaultClient = Board.ApiClient.instance;
|
|
||||||
// Configure API key authorization: ApiKeyAuth
|
|
||||||
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
|
|
||||||
ApiKeyAuth.apiKey = 'YOUR API KEY';
|
|
||||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
||||||
//ApiKeyAuth.apiKeyPrefix = 'Token';
|
|
||||||
|
|
||||||
let apiInstance = new Board.IqApi();
|
|
||||||
let iqRequest = new Board.IQ(); // IQ | A single Taxnexus IQ Customer struct for onboarding
|
|
||||||
apiInstance.postIQ(iqRequest, (error, data, response) => {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully. Returned data: ' + data);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**iqRequest** | [**IQ**](IQ.md)| A single Taxnexus IQ Customer struct for onboarding |
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**RuleExecution**](RuleExecution.md)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
# Board.Lead
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**address** | [**Address**](Address.md) | | [optional]
|
|
||||||
**company** | **String** | Company | [optional]
|
|
||||||
**description** | **String** | Description | [optional]
|
|
||||||
**email** | **String** | Email | [optional]
|
|
||||||
**firstName** | **String** | First Name | [optional]
|
|
||||||
**ID** | **String** | Taxnexus Record Id | [optional]
|
|
||||||
**lastName** | **String** | Last Name | [optional]
|
|
||||||
**mobilePhone** | **String** | Mobile | [optional]
|
|
||||||
**name** | **String** | Name | [optional]
|
|
||||||
**ownerId** | **String** | LeadBasic Owner | [optional]
|
|
||||||
**partnerAccountId** | **String** | Partner Account | [optional]
|
|
||||||
**phone** | **String** | Phone | [optional]
|
|
||||||
**productID** | **String** | Product | [optional]
|
|
||||||
**refererURL** | **String** | referer_url | [optional]
|
|
||||||
**status** | **String** | LeadBasic Status | [optional]
|
|
||||||
**title** | **String** | Title | [optional]
|
|
||||||
**type** | **String** | Type | [optional]
|
|
||||||
**uTMCampaign** | **String** | utm_campaign | [optional]
|
|
||||||
**uTMContent** | **String** | utm_content | [optional]
|
|
||||||
**uTMMedium** | **String** | utm_medium | [optional]
|
|
||||||
**uTMSource** | **String** | utm_source | [optional]
|
|
||||||
**uTMTerm** | **String** | utm_term | [optional]
|
|
||||||
**website** | **String** | Website | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,112 +0,0 @@
|
||||||
# Board.LeadsApi
|
|
||||||
|
|
||||||
All URIs are relative to *http://board.vernonkeenan.com:8080/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**postLeads**](LeadsApi.md#postLeads) | **POST** /leads | Add a new Lead record
|
|
||||||
[**putLeads**](LeadsApi.md#putLeads) | **PUT** /leads | Update Leads
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## postLeads
|
|
||||||
|
|
||||||
> RuleExecution postLeads(leadRequest)
|
|
||||||
|
|
||||||
Add a new Lead record
|
|
||||||
|
|
||||||
Add a new full Lead Record
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import Board from 'board';
|
|
||||||
let defaultClient = Board.ApiClient.instance;
|
|
||||||
// Configure API key authorization: ApiKeyAuth
|
|
||||||
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
|
|
||||||
ApiKeyAuth.apiKey = 'YOUR API KEY';
|
|
||||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
||||||
//ApiKeyAuth.apiKeyPrefix = 'Token';
|
|
||||||
|
|
||||||
let apiInstance = new Board.LeadsApi();
|
|
||||||
let leadRequest = new Board.Lead(); // Lead | A new Lead record as a single JSON object
|
|
||||||
apiInstance.postLeads(leadRequest, (error, data, response) => {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully. Returned data: ' + data);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**leadRequest** | [**Lead**](Lead.md)| A new Lead record as a single JSON object |
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**RuleExecution**](RuleExecution.md)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
||||||
|
|
||||||
## putLeads
|
|
||||||
|
|
||||||
> RuleExecution putLeads(leadRequest)
|
|
||||||
|
|
||||||
Update Leads
|
|
||||||
|
|
||||||
Update Lead records
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import Board from 'board';
|
|
||||||
let defaultClient = Board.ApiClient.instance;
|
|
||||||
// Configure API key authorization: ApiKeyAuth
|
|
||||||
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
|
|
||||||
ApiKeyAuth.apiKey = 'YOUR API KEY';
|
|
||||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
||||||
//ApiKeyAuth.apiKeyPrefix = 'Token';
|
|
||||||
|
|
||||||
let apiInstance = new Board.LeadsApi();
|
|
||||||
let leadRequest = new Board.Lead(); // Lead | A new Lead record as a single JSON object
|
|
||||||
apiInstance.putLeads(leadRequest, (error, data, response) => {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully. Returned data: ' + data);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**leadRequest** | [**Lead**](Lead.md)| A new Lead record as a single JSON object |
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**RuleExecution**](RuleExecution.md)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
# Board.PaymentMethod
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**accountID** | **String** | Account | [optional]
|
|
||||||
**achAccountType** | **String** | ACH Account Type | [optional]
|
|
||||||
**achBankAccount** | **String** | ACH Bank Account | [optional]
|
|
||||||
**achRouting** | **String** | ACH Routing | [optional]
|
|
||||||
**active** | **Boolean** | Active? | [optional]
|
|
||||||
**autopay** | **Boolean** | Autopay? | [optional]
|
|
||||||
**bankName** | **String** | Bank Name | [optional]
|
|
||||||
**billingContactID** | **String** | Billing Contact | [optional]
|
|
||||||
**cCnumber** | **String** | Credit Card Number | [optional]
|
|
||||||
**cCtype** | **String** | CC Type | [optional]
|
|
||||||
**companyID** | **String** | Company | [optional]
|
|
||||||
**contractID** | **String** | Contract | [optional]
|
|
||||||
**createdByID** | **String** | Created By | [optional]
|
|
||||||
**createdDate** | **String** | Created Date | [optional]
|
|
||||||
**_default** | **Boolean** | Default Payment Method? | [optional]
|
|
||||||
**expirationDate** | **String** | Expiration Date | [optional]
|
|
||||||
**expirationMonth** | **String** | Expiration Month | [optional]
|
|
||||||
**expirationYear** | **String** | Expiration Year | [optional]
|
|
||||||
**gateway** | **String** | Gateway | [optional]
|
|
||||||
**gatewayKey** | **String** | Gateway Key | [optional]
|
|
||||||
**ID** | **String** | Taxnexus Record Id | [optional]
|
|
||||||
**lastModifiedByID** | **String** | Last Modified By | [optional]
|
|
||||||
**lastModifiedDate** | **String** | Last Modified Date | [optional]
|
|
||||||
**nickname** | **String** | Nickname | [optional]
|
|
||||||
**recordType** | **String** | Record Type | [optional]
|
|
||||||
**ref** | **String** | External Reference | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
# Board.Role
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**auth0RoleID** | **String** | The corresponding Auth0 Role | [optional]
|
|
||||||
**createdByID** | **String** | Created By | [optional]
|
|
||||||
**createdDate** | **String** | Created Date | [optional]
|
|
||||||
**description** | **String** | Role Description | [optional]
|
|
||||||
**ID** | **String** | Record Id | [optional]
|
|
||||||
**lastModifiedByID** | **String** | Last Modified By | [optional]
|
|
||||||
**lastModifiedDate** | **String** | Last Modifed Date | [optional]
|
|
||||||
**roleName** | **String** | The name of this role | [optional]
|
|
||||||
**tenantID** | **String** | The ID of the Tenant that owns this Role | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
# Board.RuleExecution
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**sagaID** | **String** | The Taxnexus SagaID for this rule execution | [optional]
|
|
||||||
**sagaType** | **String** | The Taxnexus SagaType for this rule execution | [optional]
|
|
||||||
**ruleID** | **String** | The Temporal Workflow ID | [optional]
|
|
||||||
**runID** | **String** | The Temporal First Started Workflow Run ID | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
# Board.Tenant
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**accountID** | **String** | The Account that owns this Tenant | [optional]
|
|
||||||
**active** | **Boolean** | Is this Tenant currently active? | [optional]
|
|
||||||
**createdByID** | **String** | Created By | [optional]
|
|
||||||
**createdDate** | **String** | Created Date | [optional]
|
|
||||||
**databases** | [**[Database]**](Database.md) | | [optional]
|
|
||||||
**ID** | **String** | Record Id | [optional]
|
|
||||||
**lastModifiedByID** | **String** | Last Modified By | [optional]
|
|
||||||
**lastModifiedDate** | **String** | Last Modifed Date | [optional]
|
|
||||||
**roles** | [**[Role]**](Role.md) | | [optional]
|
|
||||||
**status** | **String** | The current status of this Tenant | [optional]
|
|
||||||
**tenantName** | **String** | Name of the Tenant Resource | [optional]
|
|
||||||
**tenantUsers** | [**[TenantUser]**](TenantUser.md) | | [optional]
|
|
||||||
**type** | **String** | The type of Tenant | [optional]
|
|
||||||
**version** | **String** | The version number of the Tenant Onboarding system used to create this tenant | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
# Board.TenantUser
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**accessLevel** | **String** | The makeTenantUser access level for this User | [optional]
|
|
||||||
**accountID** | **String** | Account ID | [optional]
|
|
||||||
**auth0UserID** | **String** | Auth0 User ID | [optional]
|
|
||||||
**companyName** | **String** | Account Name | [optional]
|
|
||||||
**contactID** | **String** | Contact ID | [optional]
|
|
||||||
**taxnexusAccount** | **String** | Taxnexus Account | [optional]
|
|
||||||
**tenantActive** | **Boolean** | Tenant active? | [optional]
|
|
||||||
**tenantID** | **String** | The Tenant ID | [optional]
|
|
||||||
**tenantName** | **String** | Tenant Name | [optional]
|
|
||||||
**tenantStatus** | **String** | Tenant Status | [optional]
|
|
||||||
**tenantType** | **String** | Tenant type | [optional]
|
|
||||||
**tenantVersion** | **String** | Tenant Version | [optional]
|
|
||||||
**userEmail** | **String** | User Email Address | [optional]
|
|
||||||
**userFullName** | **String** | User Full Name | [optional]
|
|
||||||
**userID** | **String** | The User ID | [optional]
|
|
||||||
**username** | **String** | Username | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,66 +0,0 @@
|
||||||
# Board.User
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**aPIKey** | **String** | API Key | [optional]
|
|
||||||
**aboutMe** | **String** | About Me | [optional]
|
|
||||||
**accountID** | **String** | Account ID | [optional]
|
|
||||||
**address** | [**Address**](Address.md) | | [optional]
|
|
||||||
**alias** | **String** | Alias | [optional]
|
|
||||||
**auth0UserID** | **String** | Auth0 User Id | [optional]
|
|
||||||
**communityNickname** | **String** | Nickname | [optional]
|
|
||||||
**companyName** | **String** | Company Name | [optional]
|
|
||||||
**contactID** | **String** | Contact | [optional]
|
|
||||||
**createdByID** | **String** | Created User ID | [optional]
|
|
||||||
**createdDate** | **String** | Date Created | [optional]
|
|
||||||
**delegatedApproverID** | **String** | Delegated Approver | [optional]
|
|
||||||
**department** | **String** | Department | [optional]
|
|
||||||
**division** | **String** | Division | [optional]
|
|
||||||
**email** | **String** | Email address | [optional]
|
|
||||||
**employeeNumber** | **String** | Employee Number | [optional]
|
|
||||||
**endOfDay** | **String** | Time day ends | [optional]
|
|
||||||
**environment** | **String** | Environment | [optional]
|
|
||||||
**extension** | **String** | Extension | [optional]
|
|
||||||
**fabricAPIKey** | **String** | Fabric API Key | [optional]
|
|
||||||
**fax** | **String** | Fax | [optional]
|
|
||||||
**firstName** | **String** | The first name | [optional]
|
|
||||||
**forecastEnabled** | **Boolean** | Allow Forecasting | [optional]
|
|
||||||
**fullPhotoURL** | **String** | Full Photo URL | [optional]
|
|
||||||
**ID** | **String** | Taxnexus ID | [optional]
|
|
||||||
**isActive** | **Boolean** | Active | [optional]
|
|
||||||
**isPortalEnabled** | **Boolean** | Is the user enabled for Communities? | [optional]
|
|
||||||
**isProphilePhotoActive** | **Boolean** | Has Profile Photo | [optional]
|
|
||||||
**isSystemControlled** | **Boolean** | | [optional]
|
|
||||||
**lastIP** | **String** | IP address of last login | [optional]
|
|
||||||
**lastLogin** | **String** | Last login time | [optional]
|
|
||||||
**lastModifiedByID** | **String** | Last Modified User ID | [optional]
|
|
||||||
**lastModifiedDate** | **String** | Last Modified Date | [optional]
|
|
||||||
**lastName** | **String** | The Last Name | [optional]
|
|
||||||
**loginCount** | **Number** | Number of times user has logged in | [optional]
|
|
||||||
**managerID** | **String** | Manager | [optional]
|
|
||||||
**mobilePhone** | **String** | Mobile | [optional]
|
|
||||||
**name** | **String** | Name | [optional]
|
|
||||||
**outOfOfficeMessage** | **String** | Out of office message | [optional]
|
|
||||||
**phone** | **String** | Phone | [optional]
|
|
||||||
**portalRole** | **String** | Portal Role Level | [optional]
|
|
||||||
**profileID** | **String** | Profile | [optional]
|
|
||||||
**receivesAdminEmails** | **Boolean** | Info Emails | [optional]
|
|
||||||
**receivesAdminInfoEmails** | **Boolean** | Admin Info Emails | [optional]
|
|
||||||
**senderEmail** | **String** | Email Sender Address | [optional]
|
|
||||||
**senderName** | **String** | Email Sender Name | [optional]
|
|
||||||
**signature** | **String** | Email Signature | [optional]
|
|
||||||
**smallPhotoURL** | **String** | Small Photo URL | [optional]
|
|
||||||
**startOfDay** | **String** | The time day starts | [optional]
|
|
||||||
**taxnexusAccount** | **String** | Taxnexus Account | [optional]
|
|
||||||
**tenantID** | **String** | Tenant ID | [optional]
|
|
||||||
**tenantUsers** | [**[TenantUser]**](TenantUser.md) | | [optional]
|
|
||||||
**timeZone** | **String** | Time Zone | [optional]
|
|
||||||
**title** | **String** | Title | [optional]
|
|
||||||
**userRoleID** | **String** | Role | [optional]
|
|
||||||
**userRoles** | [**[UserRole]**](UserRole.md) | | [optional]
|
|
||||||
**userType** | **String** | User Type | [optional]
|
|
||||||
**username** | **String** | Username | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
# Board.UserAuth
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**aPIKey** | **String** | API Key | [optional]
|
|
||||||
**accountID** | **String** | Account ID | [optional]
|
|
||||||
**contactID** | **String** | Contact | [optional]
|
|
||||||
**email** | **String** | Email address | [optional]
|
|
||||||
**roles** | **[String]** | Valid Roles for all tenants | [optional]
|
|
||||||
**tenants** | **[String]** | Valid Tenants | [optional]
|
|
||||||
**userID** | **String** | Taxneuxs User ID | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,60 +0,0 @@
|
||||||
# Board.UserAuthApi
|
|
||||||
|
|
||||||
All URIs are relative to *http://board.vernonkeenan.com:8080/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**getUserAuth**](UserAuthApi.md#getUserAuth) | **GET** /userauths/{usernamePath} | Get a single UserAuth object
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## getUserAuth
|
|
||||||
|
|
||||||
> UserAuth getUserAuth(usernamePath)
|
|
||||||
|
|
||||||
Get a single UserAuth object
|
|
||||||
|
|
||||||
Return a single UserAuth object from datastore as a Singleton
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import Board from 'board';
|
|
||||||
let defaultClient = Board.ApiClient.instance;
|
|
||||||
// Configure API key authorization: ApiKeyAuth
|
|
||||||
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
|
|
||||||
ApiKeyAuth.apiKey = 'YOUR API KEY';
|
|
||||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
||||||
//ApiKeyAuth.apiKeyPrefix = 'Token';
|
|
||||||
|
|
||||||
let apiInstance = new Board.UserAuthApi();
|
|
||||||
let usernamePath = "usernamePath_example"; // String | Username in the query path
|
|
||||||
apiInstance.getUserAuth(usernamePath, (error, data, response) => {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully. Returned data: ' + data);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**usernamePath** | **String**| Username in the query path |
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**UserAuth**](UserAuth.md)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
# Board.UserRole
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**accountID** | **String** | Account Id | [optional]
|
|
||||||
**auth0RoleID** | **String** | Linked role ID | [optional]
|
|
||||||
**auth0UserID** | **String** | Auth0 User ID | [optional]
|
|
||||||
**companyName** | **String** | Company Name | [optional]
|
|
||||||
**contactID** | **String** | Contact ID | [optional]
|
|
||||||
**roleDescription** | **String** | Role description | [optional]
|
|
||||||
**roleID** | **String** | The Role ID | [optional]
|
|
||||||
**roleName** | **String** | Role Name | [optional]
|
|
||||||
**taxnexusAccount** | **String** | Taxnexus Account Number | [optional]
|
|
||||||
**userEmail** | **String** | User Email Address | [optional]
|
|
||||||
**userFullName** | **String** | User Full Name | [optional]
|
|
||||||
**userID** | **String** | The User ID | [optional]
|
|
||||||
**username** | **String** | Username | [optional]
|
|
||||||
|
|
||||||
|
|
|
@ -1,60 +0,0 @@
|
||||||
# Board.UsersApi
|
|
||||||
|
|
||||||
All URIs are relative to *http://board.vernonkeenan.com:8080/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**getUsers**](UsersApi.md#getUsers) | **GET** /users |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## getUsers
|
|
||||||
|
|
||||||
> User getUsers(email)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Get a clean user record
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import Board from 'board';
|
|
||||||
let defaultClient = Board.ApiClient.instance;
|
|
||||||
// Configure API key authorization: ApiKeyAuth
|
|
||||||
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
|
|
||||||
ApiKeyAuth.apiKey = 'YOUR API KEY';
|
|
||||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
||||||
//ApiKeyAuth.apiKeyPrefix = 'Token';
|
|
||||||
|
|
||||||
let apiInstance = new Board.UsersApi();
|
|
||||||
let email = "email_example"; // String | Email address
|
|
||||||
apiInstance.getUsers(email, (error, data, response) => {
|
|
||||||
if (error) {
|
|
||||||
console.error(error);
|
|
||||||
} else {
|
|
||||||
console.log('API called successfully. Returned data: ' + data);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**email** | **String**| Email address |
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**User**](User.md)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
|
@ -1,57 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
||||||
#
|
|
||||||
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
|
||||||
|
|
||||||
git_user_id=$1
|
|
||||||
git_repo_id=$2
|
|
||||||
release_note=$3
|
|
||||||
git_host=$4
|
|
||||||
|
|
||||||
if [ "$git_host" = "" ]; then
|
|
||||||
git_host="github.com"
|
|
||||||
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$git_user_id" = "" ]; then
|
|
||||||
git_user_id="GIT_USER_ID"
|
|
||||||
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$git_repo_id" = "" ]; then
|
|
||||||
git_repo_id="GIT_REPO_ID"
|
|
||||||
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$release_note" = "" ]; then
|
|
||||||
release_note="Minor update"
|
|
||||||
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Initialize the local directory as a Git repository
|
|
||||||
git init
|
|
||||||
|
|
||||||
# Adds the files in the local repository and stages them for commit.
|
|
||||||
git add .
|
|
||||||
|
|
||||||
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
||||||
git commit -m "$release_note"
|
|
||||||
|
|
||||||
# Sets the new remote
|
|
||||||
git_remote=$(git remote)
|
|
||||||
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
||||||
|
|
||||||
if [ "$GIT_TOKEN" = "" ]; then
|
|
||||||
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
||||||
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
||||||
else
|
|
||||||
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
git pull origin master
|
|
||||||
|
|
||||||
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
||||||
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
||||||
git push origin master 2>&1 | grep -v 'To https'
|
|
|
@ -1 +0,0 @@
|
||||||
--timeout 10000
|
|
|
@ -1,46 +0,0 @@
|
||||||
{
|
|
||||||
"name": "board",
|
|
||||||
"version": "0.0.2",
|
|
||||||
"description": "Taxnexus_Onboarding_Service",
|
|
||||||
"license": "Proprietary - Copyright (c) 2018-2021 by Taxnexus, Inc.",
|
|
||||||
"main": "dist/index.js",
|
|
||||||
"scripts": {
|
|
||||||
"build": "babel src -d dist",
|
|
||||||
"prepare": "npm run build",
|
|
||||||
"test": "mocha --require @babel/register --recursive"
|
|
||||||
},
|
|
||||||
"browser": {
|
|
||||||
"fs": false
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@babel/cli": "^7.0.0",
|
|
||||||
"superagent": "^5.3.0"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@babel/core": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-decorators": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-do-expressions": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-export-default-from": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-function-bind": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-function-sent": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-json-strings": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
|
|
||||||
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
|
|
||||||
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
||||||
"@babel/plugin-syntax-import-meta": "^7.0.0",
|
|
||||||
"@babel/preset-env": "^7.0.0",
|
|
||||||
"@babel/register": "^7.0.0",
|
|
||||||
"expect.js": "^0.3.1",
|
|
||||||
"mocha": "^8.0.1",
|
|
||||||
"sinon": "^7.2.0"
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"dist"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,692 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import superagent from "superagent";
|
|
||||||
import querystring from "querystring";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @module ApiClient
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
||||||
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
||||||
* contents of this file should be regarded as internal but are documented for completeness.
|
|
||||||
* @alias module:ApiClient
|
|
||||||
* @class
|
|
||||||
*/
|
|
||||||
class ApiClient {
|
|
||||||
/**
|
|
||||||
* The base URL against which to resolve every API call's (relative) path.
|
|
||||||
* Overrides the default value set in spec file if present
|
|
||||||
* @param {String} basePath
|
|
||||||
*/
|
|
||||||
constructor(basePath = 'http://board.vernonkeenan.com:8080/v1') {
|
|
||||||
/**
|
|
||||||
* The base URL against which to resolve every API call's (relative) path.
|
|
||||||
* @type {String}
|
|
||||||
* @default http://board.vernonkeenan.com:8080/v1
|
|
||||||
*/
|
|
||||||
this.basePath = basePath.replace(/\/+$/, '');
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The authentication methods to be included for all API calls.
|
|
||||||
* @type {Array.<String>}
|
|
||||||
*/
|
|
||||||
this.authentications = {
|
|
||||||
'ApiKeyAuth': {type: 'apiKey', 'in': 'header', name: 'X-API-Key'}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The default HTTP headers to be included for all API calls.
|
|
||||||
* @type {Array.<String>}
|
|
||||||
* @default {}
|
|
||||||
*/
|
|
||||||
this.defaultHeaders = {
|
|
||||||
'User-Agent': 'OpenAPI-Generator/0.0.2/Javascript'
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The default HTTP timeout for all API calls.
|
|
||||||
* @type {Number}
|
|
||||||
* @default 60000
|
|
||||||
*/
|
|
||||||
this.timeout = 60000;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* If set to false an additional timestamp parameter is added to all API GET calls to
|
|
||||||
* prevent browser caching
|
|
||||||
* @type {Boolean}
|
|
||||||
* @default true
|
|
||||||
*/
|
|
||||||
this.cache = true;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* If set to true, the client will save the cookies from each server
|
|
||||||
* response, and return them in the next request.
|
|
||||||
* @default false
|
|
||||||
*/
|
|
||||||
this.enableCookies = false;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Used to save and return cookies in a node.js (non-browser) setting,
|
|
||||||
* if this.enableCookies is set to true.
|
|
||||||
*/
|
|
||||||
if (typeof window === 'undefined') {
|
|
||||||
this.agent = new superagent.agent();
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Allow user to override superagent agent
|
|
||||||
*/
|
|
||||||
this.requestAgent = null;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Allow user to add superagent plugins
|
|
||||||
*/
|
|
||||||
this.plugins = null;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a string representation for an actual parameter.
|
|
||||||
* @param param The actual parameter.
|
|
||||||
* @returns {String} The string representation of <code>param</code>.
|
|
||||||
*/
|
|
||||||
paramToString(param) {
|
|
||||||
if (param == undefined || param == null) {
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
if (param instanceof Date) {
|
|
||||||
return param.toJSON();
|
|
||||||
}
|
|
||||||
if (ApiClient.canBeJsonified(param)) {
|
|
||||||
return JSON.stringify(param);
|
|
||||||
}
|
|
||||||
|
|
||||||
return param.toString();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a boolean indicating if the parameter could be JSON.stringified
|
|
||||||
* @param param The actual parameter
|
|
||||||
* @returns {Boolean} Flag indicating if <code>param</code> can be JSON.stringified
|
|
||||||
*/
|
|
||||||
static canBeJsonified(str) {
|
|
||||||
if (typeof str !== 'string' && typeof str !== 'object') return false;
|
|
||||||
try {
|
|
||||||
const type = str.toString();
|
|
||||||
return type === '[object Object]'
|
|
||||||
|| type === '[object Array]';
|
|
||||||
} catch (err) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.
|
|
||||||
* NOTE: query parameters are not handled here.
|
|
||||||
* @param {String} path The path to append to the base URL.
|
|
||||||
* @param {Object} pathParams The parameter values to append.
|
|
||||||
* @param {String} apiBasePath Base path defined in the path, operation level to override the default one
|
|
||||||
* @returns {String} The encoded path with parameter values substituted.
|
|
||||||
*/
|
|
||||||
buildUrl(path, pathParams, apiBasePath) {
|
|
||||||
if (!path.match(/^\//)) {
|
|
||||||
path = '/' + path;
|
|
||||||
}
|
|
||||||
|
|
||||||
var url = this.basePath + path;
|
|
||||||
|
|
||||||
// use API (operation, path) base path if defined
|
|
||||||
if (apiBasePath !== null && apiBasePath !== undefined) {
|
|
||||||
url = apiBasePath + path;
|
|
||||||
}
|
|
||||||
|
|
||||||
url = url.replace(/\{([\w-\.]+)\}/g, (fullMatch, key) => {
|
|
||||||
var value;
|
|
||||||
if (pathParams.hasOwnProperty(key)) {
|
|
||||||
value = this.paramToString(pathParams[key]);
|
|
||||||
} else {
|
|
||||||
value = fullMatch;
|
|
||||||
}
|
|
||||||
|
|
||||||
return encodeURIComponent(value);
|
|
||||||
});
|
|
||||||
|
|
||||||
return url;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Checks whether the given content type represents JSON.<br>
|
|
||||||
* JSON content type examples:<br>
|
|
||||||
* <ul>
|
|
||||||
* <li>application/json</li>
|
|
||||||
* <li>application/json; charset=UTF8</li>
|
|
||||||
* <li>APPLICATION/JSON</li>
|
|
||||||
* </ul>
|
|
||||||
* @param {String} contentType The MIME content type to check.
|
|
||||||
* @returns {Boolean} <code>true</code> if <code>contentType</code> represents JSON, otherwise <code>false</code>.
|
|
||||||
*/
|
|
||||||
isJsonMime(contentType) {
|
|
||||||
return Boolean(contentType != null && contentType.match(/^application\/json(;.*)?$/i));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.
|
|
||||||
* @param {Array.<String>} contentTypes
|
|
||||||
* @returns {String} The chosen content type, preferring JSON.
|
|
||||||
*/
|
|
||||||
jsonPreferredMime(contentTypes) {
|
|
||||||
for (var i = 0; i < contentTypes.length; i++) {
|
|
||||||
if (this.isJsonMime(contentTypes[i])) {
|
|
||||||
return contentTypes[i];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return contentTypes[0];
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Checks whether the given parameter value represents file-like content.
|
|
||||||
* @param param The parameter to check.
|
|
||||||
* @returns {Boolean} <code>true</code> if <code>param</code> represents a file.
|
|
||||||
*/
|
|
||||||
isFileParam(param) {
|
|
||||||
// fs.ReadStream in Node.js and Electron (but not in runtime like browserify)
|
|
||||||
if (typeof require === 'function') {
|
|
||||||
let fs;
|
|
||||||
try {
|
|
||||||
fs = require('fs');
|
|
||||||
} catch (err) {}
|
|
||||||
if (fs && fs.ReadStream && param instanceof fs.ReadStream) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Buffer in Node.js
|
|
||||||
if (typeof Buffer === 'function' && param instanceof Buffer) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Blob in browser
|
|
||||||
if (typeof Blob === 'function' && param instanceof Blob) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// File in browser (it seems File object is also instance of Blob, but keep this for safe)
|
|
||||||
if (typeof File === 'function' && param instanceof File) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Normalizes parameter values:
|
|
||||||
* <ul>
|
|
||||||
* <li>remove nils</li>
|
|
||||||
* <li>keep files and arrays</li>
|
|
||||||
* <li>format to string with `paramToString` for other cases</li>
|
|
||||||
* </ul>
|
|
||||||
* @param {Object.<String, Object>} params The parameters as object properties.
|
|
||||||
* @returns {Object.<String, Object>} normalized parameters.
|
|
||||||
*/
|
|
||||||
normalizeParams(params) {
|
|
||||||
var newParams = {};
|
|
||||||
for (var key in params) {
|
|
||||||
if (params.hasOwnProperty(key) && params[key] != undefined && params[key] != null) {
|
|
||||||
var value = params[key];
|
|
||||||
if (this.isFileParam(value) || Array.isArray(value)) {
|
|
||||||
newParams[key] = value;
|
|
||||||
} else {
|
|
||||||
newParams[key] = this.paramToString(value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return newParams;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Builds a string representation of an array-type actual parameter, according to the given collection format.
|
|
||||||
* @param {Array} param An array parameter.
|
|
||||||
* @param {module:ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy.
|
|
||||||
* @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns
|
|
||||||
* <code>param</code> as is if <code>collectionFormat</code> is <code>multi</code>.
|
|
||||||
*/
|
|
||||||
buildCollectionParam(param, collectionFormat) {
|
|
||||||
if (param == null) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
switch (collectionFormat) {
|
|
||||||
case 'csv':
|
|
||||||
return param.map(this.paramToString, this).join(',');
|
|
||||||
case 'ssv':
|
|
||||||
return param.map(this.paramToString, this).join(' ');
|
|
||||||
case 'tsv':
|
|
||||||
return param.map(this.paramToString, this).join('\t');
|
|
||||||
case 'pipes':
|
|
||||||
return param.map(this.paramToString, this).join('|');
|
|
||||||
case 'multi':
|
|
||||||
//return the array directly as SuperAgent will handle it as expected
|
|
||||||
return param.map(this.paramToString, this);
|
|
||||||
case 'passthrough':
|
|
||||||
return param;
|
|
||||||
default:
|
|
||||||
throw new Error('Unknown collection format: ' + collectionFormat);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Applies authentication headers to the request.
|
|
||||||
* @param {Object} request The request object created by a <code>superagent()</code> call.
|
|
||||||
* @param {Array.<String>} authNames An array of authentication method names.
|
|
||||||
*/
|
|
||||||
applyAuthToRequest(request, authNames) {
|
|
||||||
authNames.forEach((authName) => {
|
|
||||||
var auth = this.authentications[authName];
|
|
||||||
switch (auth.type) {
|
|
||||||
case 'basic':
|
|
||||||
if (auth.username || auth.password) {
|
|
||||||
request.auth(auth.username || '', auth.password || '');
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
|
||||||
case 'bearer':
|
|
||||||
if (auth.accessToken) {
|
|
||||||
var localVarBearerToken = typeof auth.accessToken === 'function'
|
|
||||||
? auth.accessToken()
|
|
||||||
: auth.accessToken
|
|
||||||
request.set({'Authorization': 'Bearer ' + localVarBearerToken});
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
|
||||||
case 'apiKey':
|
|
||||||
if (auth.apiKey) {
|
|
||||||
var data = {};
|
|
||||||
if (auth.apiKeyPrefix) {
|
|
||||||
data[auth.name] = auth.apiKeyPrefix + ' ' + auth.apiKey;
|
|
||||||
} else {
|
|
||||||
data[auth.name] = auth.apiKey;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (auth['in'] === 'header') {
|
|
||||||
request.set(data);
|
|
||||||
} else {
|
|
||||||
request.query(data);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
|
||||||
case 'oauth2':
|
|
||||||
if (auth.accessToken) {
|
|
||||||
request.set({'Authorization': 'Bearer ' + auth.accessToken});
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
throw new Error('Unknown authentication type: ' + auth.type);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Deserializes an HTTP response body into a value of the specified type.
|
|
||||||
* @param {Object} response A SuperAgent response object.
|
|
||||||
* @param {(String|Array.<String>|Object.<String, Object>|Function)} returnType The type to return. Pass a string for simple types
|
|
||||||
* or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
|
|
||||||
* return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
|
|
||||||
* all properties on <code>data<code> will be converted to this type.
|
|
||||||
* @returns A value of the specified type.
|
|
||||||
*/
|
|
||||||
deserialize(response, returnType) {
|
|
||||||
if (response == null || returnType == null || response.status == 204) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Rely on SuperAgent for parsing response body.
|
|
||||||
// See http://visionmedia.github.io/superagent/#parsing-response-bodies
|
|
||||||
var data = response.body;
|
|
||||||
if (data == null || (typeof data === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length)) {
|
|
||||||
// SuperAgent does not always produce a body; use the unparsed response as a fallback
|
|
||||||
data = response.text;
|
|
||||||
}
|
|
||||||
|
|
||||||
return ApiClient.convertToType(data, returnType);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the operation.
|
|
||||||
* @callback module:ApiClient~callApiCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param data The data returned by the service call.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Invokes the REST service using the supplied settings and parameters.
|
|
||||||
* @param {String} path The base URL to invoke.
|
|
||||||
* @param {String} httpMethod The HTTP method to use.
|
|
||||||
* @param {Object.<String, String>} pathParams A map of path parameters and their values.
|
|
||||||
* @param {Object.<String, Object>} queryParams A map of query parameters and their values.
|
|
||||||
* @param {Object.<String, Object>} headerParams A map of header parameters and their values.
|
|
||||||
* @param {Object.<String, Object>} formParams A map of form parameters and their values.
|
|
||||||
* @param {Object} bodyParam The value to pass as the request body.
|
|
||||||
* @param {Array.<String>} authNames An array of authentication type names.
|
|
||||||
* @param {Array.<String>} contentTypes An array of request MIME types.
|
|
||||||
* @param {Array.<String>} accepts An array of acceptable response MIME types.
|
|
||||||
* @param {(String|Array|ObjectFunction)} returnType The required type to return; can be a string for simple types or the
|
|
||||||
* constructor for a complex type.
|
|
||||||
* @param {String} apiBasePath base path defined in the operation/path level to override the default one
|
|
||||||
* @param {module:ApiClient~callApiCallback} callback The callback function.
|
|
||||||
* @returns {Object} The SuperAgent request object.
|
|
||||||
*/
|
|
||||||
callApi(path, httpMethod, pathParams,
|
|
||||||
queryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts,
|
|
||||||
returnType, apiBasePath, callback) {
|
|
||||||
|
|
||||||
var url = this.buildUrl(path, pathParams, apiBasePath);
|
|
||||||
var request = superagent(httpMethod, url);
|
|
||||||
|
|
||||||
if (this.plugins !== null) {
|
|
||||||
for (var index in this.plugins) {
|
|
||||||
if (this.plugins.hasOwnProperty(index)) {
|
|
||||||
request.use(this.plugins[index])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// apply authentications
|
|
||||||
this.applyAuthToRequest(request, authNames);
|
|
||||||
|
|
||||||
// set query parameters
|
|
||||||
if (httpMethod.toUpperCase() === 'GET' && this.cache === false) {
|
|
||||||
queryParams['_'] = new Date().getTime();
|
|
||||||
}
|
|
||||||
|
|
||||||
request.query(this.normalizeParams(queryParams));
|
|
||||||
|
|
||||||
// set header parameters
|
|
||||||
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
|
|
||||||
|
|
||||||
// set requestAgent if it is set by user
|
|
||||||
if (this.requestAgent) {
|
|
||||||
request.agent(this.requestAgent);
|
|
||||||
}
|
|
||||||
|
|
||||||
// set request timeout
|
|
||||||
request.timeout(this.timeout);
|
|
||||||
|
|
||||||
var contentType = this.jsonPreferredMime(contentTypes);
|
|
||||||
if (contentType) {
|
|
||||||
// Issue with superagent and multipart/form-data (https://github.com/visionmedia/superagent/issues/746)
|
|
||||||
if(contentType != 'multipart/form-data') {
|
|
||||||
request.type(contentType);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (contentType === 'application/x-www-form-urlencoded') {
|
|
||||||
request.send(querystring.stringify(this.normalizeParams(formParams)));
|
|
||||||
} else if (contentType == 'multipart/form-data') {
|
|
||||||
var _formParams = this.normalizeParams(formParams);
|
|
||||||
for (var key in _formParams) {
|
|
||||||
if (_formParams.hasOwnProperty(key)) {
|
|
||||||
let _formParamsValue = _formParams[key];
|
|
||||||
if (this.isFileParam(_formParamsValue)) {
|
|
||||||
// file field
|
|
||||||
request.attach(key, _formParamsValue);
|
|
||||||
} else if (Array.isArray(_formParamsValue) && _formParamsValue.length
|
|
||||||
&& this.isFileParam(_formParamsValue[0])) {
|
|
||||||
// multiple files
|
|
||||||
_formParamsValue.forEach(file => request.attach(key, file));
|
|
||||||
} else {
|
|
||||||
request.field(key, _formParamsValue);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else if (bodyParam !== null && bodyParam !== undefined) {
|
|
||||||
if (!request.header['Content-Type']) {
|
|
||||||
request.type('application/json');
|
|
||||||
}
|
|
||||||
request.send(bodyParam);
|
|
||||||
}
|
|
||||||
|
|
||||||
var accept = this.jsonPreferredMime(accepts);
|
|
||||||
if (accept) {
|
|
||||||
request.accept(accept);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (returnType === 'Blob') {
|
|
||||||
request.responseType('blob');
|
|
||||||
} else if (returnType === 'String') {
|
|
||||||
request.responseType('text');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Attach previously saved cookies, if enabled
|
|
||||||
if (this.enableCookies){
|
|
||||||
if (typeof window === 'undefined') {
|
|
||||||
this.agent._attachCookies(request);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
request.withCredentials();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
request.end((error, response) => {
|
|
||||||
if (callback) {
|
|
||||||
var data = null;
|
|
||||||
if (!error) {
|
|
||||||
try {
|
|
||||||
data = this.deserialize(response, returnType);
|
|
||||||
if (this.enableCookies && typeof window === 'undefined'){
|
|
||||||
this.agent._saveCookies(response);
|
|
||||||
}
|
|
||||||
} catch (err) {
|
|
||||||
error = err;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
callback(error, data, response);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
return request;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Parses an ISO-8601 string representation or epoch representation of a date value.
|
|
||||||
* @param {String} str The date value as a string.
|
|
||||||
* @returns {Date} The parsed date object.
|
|
||||||
*/
|
|
||||||
static parseDate(str) {
|
|
||||||
if (isNaN(str)) {
|
|
||||||
return new Date(str.replace(/(\d)(T)(\d)/i, '$1 $3'));
|
|
||||||
}
|
|
||||||
return new Date(+str);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Converts a value to the specified type.
|
|
||||||
* @param {(String|Object)} data The data to convert, as a string or object.
|
|
||||||
* @param {(String|Array.<String>|Object.<String, Object>|Function)} type The type to return. Pass a string for simple types
|
|
||||||
* or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
|
|
||||||
* return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
|
|
||||||
* all properties on <code>data<code> will be converted to this type.
|
|
||||||
* @returns An instance of the specified type or null or undefined if data is null or undefined.
|
|
||||||
*/
|
|
||||||
static convertToType(data, type) {
|
|
||||||
if (data === null || data === undefined)
|
|
||||||
return data
|
|
||||||
|
|
||||||
switch (type) {
|
|
||||||
case 'Boolean':
|
|
||||||
return Boolean(data);
|
|
||||||
case 'Integer':
|
|
||||||
return parseInt(data, 10);
|
|
||||||
case 'Number':
|
|
||||||
return parseFloat(data);
|
|
||||||
case 'String':
|
|
||||||
return String(data);
|
|
||||||
case 'Date':
|
|
||||||
return ApiClient.parseDate(String(data));
|
|
||||||
case 'Blob':
|
|
||||||
return data;
|
|
||||||
default:
|
|
||||||
if (type === Object) {
|
|
||||||
// generic object, return directly
|
|
||||||
return data;
|
|
||||||
} else if (typeof type.constructFromObject === 'function') {
|
|
||||||
// for model type like User and enum class
|
|
||||||
return type.constructFromObject(data);
|
|
||||||
} else if (Array.isArray(type)) {
|
|
||||||
// for array type like: ['String']
|
|
||||||
var itemType = type[0];
|
|
||||||
|
|
||||||
return data.map((item) => {
|
|
||||||
return ApiClient.convertToType(item, itemType);
|
|
||||||
});
|
|
||||||
} else if (typeof type === 'object') {
|
|
||||||
// for plain object type like: {'String': 'Integer'}
|
|
||||||
var keyType, valueType;
|
|
||||||
for (var k in type) {
|
|
||||||
if (type.hasOwnProperty(k)) {
|
|
||||||
keyType = k;
|
|
||||||
valueType = type[k];
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var result = {};
|
|
||||||
for (var k in data) {
|
|
||||||
if (data.hasOwnProperty(k)) {
|
|
||||||
var key = ApiClient.convertToType(k, keyType);
|
|
||||||
var value = ApiClient.convertToType(data[k], valueType);
|
|
||||||
result[key] = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
} else {
|
|
||||||
// for unknown type, return the data directly
|
|
||||||
return data;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets an array of host settings
|
|
||||||
* @returns An array of host settings
|
|
||||||
*/
|
|
||||||
hostSettings() {
|
|
||||||
return [
|
|
||||||
{
|
|
||||||
'url': "http://board.vernonkeenan.com:8080/v1",
|
|
||||||
'description': "No description provided",
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
getBasePathFromSettings(index, variables={}) {
|
|
||||||
var servers = this.hostSettings();
|
|
||||||
|
|
||||||
// check array index out of bound
|
|
||||||
if (index < 0 || index >= servers.length) {
|
|
||||||
throw new Error("Invalid index " + index + " when selecting the host settings. Must be less than " + servers.length);
|
|
||||||
}
|
|
||||||
|
|
||||||
var server = servers[index];
|
|
||||||
var url = server['url'];
|
|
||||||
|
|
||||||
// go through variable and assign a value
|
|
||||||
for (var variable_name in server['variables']) {
|
|
||||||
if (variable_name in variables) {
|
|
||||||
let variable = server['variables'][variable_name];
|
|
||||||
if ( !('enum_values' in variable) || variable['enum_values'].includes(variables[variable_name]) ) {
|
|
||||||
url = url.replace("{" + variable_name + "}", variables[variable_name]);
|
|
||||||
} else {
|
|
||||||
throw new Error("The variable `" + variable_name + "` in the host URL has invalid value " + variables[variable_name] + ". Must be " + server['variables'][variable_name]['enum_values'] + ".");
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
// use default value
|
|
||||||
url = url.replace("{" + variable_name + "}", server['variables'][variable_name]['default_value'])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return url;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a new map or array model from REST data.
|
|
||||||
* @param data {Object|Array} The REST data.
|
|
||||||
* @param obj {Object|Array} The target object or array.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj, itemType) {
|
|
||||||
if (Array.isArray(data)) {
|
|
||||||
for (var i = 0; i < data.length; i++) {
|
|
||||||
if (data.hasOwnProperty(i))
|
|
||||||
obj[i] = ApiClient.convertToType(data[i], itemType);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
for (var k in data) {
|
|
||||||
if (data.hasOwnProperty(k))
|
|
||||||
obj[k] = ApiClient.convertToType(data[k], itemType);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Enumeration of collection format separator strategies.
|
|
||||||
* @enum {String}
|
|
||||||
* @readonly
|
|
||||||
*/
|
|
||||||
ApiClient.CollectionFormatEnum = {
|
|
||||||
/**
|
|
||||||
* Comma-separated values. Value: <code>csv</code>
|
|
||||||
* @const
|
|
||||||
*/
|
|
||||||
CSV: ',',
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Space-separated values. Value: <code>ssv</code>
|
|
||||||
* @const
|
|
||||||
*/
|
|
||||||
SSV: ' ',
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tab-separated values. Value: <code>tsv</code>
|
|
||||||
* @const
|
|
||||||
*/
|
|
||||||
TSV: '\t',
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Pipe(|)-separated values. Value: <code>pipes</code>
|
|
||||||
* @const
|
|
||||||
*/
|
|
||||||
PIPES: '|',
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Native array. Value: <code>multi</code>
|
|
||||||
* @const
|
|
||||||
*/
|
|
||||||
MULTI: 'multi'
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The default API client implementation.
|
|
||||||
* @type {module:ApiClient}
|
|
||||||
*/
|
|
||||||
ApiClient.instance = new ApiClient();
|
|
||||||
export default ApiClient;
|
|
|
@ -1,212 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import ApiClient from "../ApiClient";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Cors service.
|
|
||||||
* @module api/CorsApi
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
export default class CorsApi {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a new CorsApi.
|
|
||||||
* @alias module:api/CorsApi
|
|
||||||
* @class
|
|
||||||
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
||||||
* default to {@link module:ApiClient#instance} if unspecified.
|
|
||||||
*/
|
|
||||||
constructor(apiClient) {
|
|
||||||
this.apiClient = apiClient || ApiClient.instance;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the developerOptions operation.
|
|
||||||
* @callback module:api/CorsApi~developerOptionsCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param data This operation does not return a value.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* CORS support
|
|
||||||
* @param {module:api/CorsApi~developerOptionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
||||||
*/
|
|
||||||
developerOptions(callback) {
|
|
||||||
let postBody = null;
|
|
||||||
|
|
||||||
let pathParams = {
|
|
||||||
};
|
|
||||||
let queryParams = {
|
|
||||||
};
|
|
||||||
let headerParams = {
|
|
||||||
};
|
|
||||||
let formParams = {
|
|
||||||
};
|
|
||||||
|
|
||||||
let authNames = [];
|
|
||||||
let contentTypes = [];
|
|
||||||
let accepts = [];
|
|
||||||
let returnType = null;
|
|
||||||
return this.apiClient.callApi(
|
|
||||||
'/developers', 'OPTIONS',
|
|
||||||
pathParams, queryParams, headerParams, formParams, postBody,
|
|
||||||
authNames, contentTypes, accepts, returnType, null, callback
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the iqOptions operation.
|
|
||||||
* @callback module:api/CorsApi~iqOptionsCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param data This operation does not return a value.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* CORS support
|
|
||||||
* @param {module:api/CorsApi~iqOptionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
||||||
*/
|
|
||||||
iqOptions(callback) {
|
|
||||||
let postBody = null;
|
|
||||||
|
|
||||||
let pathParams = {
|
|
||||||
};
|
|
||||||
let queryParams = {
|
|
||||||
};
|
|
||||||
let headerParams = {
|
|
||||||
};
|
|
||||||
let formParams = {
|
|
||||||
};
|
|
||||||
|
|
||||||
let authNames = [];
|
|
||||||
let contentTypes = [];
|
|
||||||
let accepts = [];
|
|
||||||
let returnType = null;
|
|
||||||
return this.apiClient.callApi(
|
|
||||||
'/iqs', 'OPTIONS',
|
|
||||||
pathParams, queryParams, headerParams, formParams, postBody,
|
|
||||||
authNames, contentTypes, accepts, returnType, null, callback
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the leadsOptions operation.
|
|
||||||
* @callback module:api/CorsApi~leadsOptionsCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param data This operation does not return a value.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* CORS support
|
|
||||||
* @param {module:api/CorsApi~leadsOptionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
||||||
*/
|
|
||||||
leadsOptions(callback) {
|
|
||||||
let postBody = null;
|
|
||||||
|
|
||||||
let pathParams = {
|
|
||||||
};
|
|
||||||
let queryParams = {
|
|
||||||
};
|
|
||||||
let headerParams = {
|
|
||||||
};
|
|
||||||
let formParams = {
|
|
||||||
};
|
|
||||||
|
|
||||||
let authNames = [];
|
|
||||||
let contentTypes = [];
|
|
||||||
let accepts = [];
|
|
||||||
let returnType = null;
|
|
||||||
return this.apiClient.callApi(
|
|
||||||
'/leads', 'OPTIONS',
|
|
||||||
pathParams, queryParams, headerParams, formParams, postBody,
|
|
||||||
authNames, contentTypes, accepts, returnType, null, callback
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the userAuthOptions operation.
|
|
||||||
* @callback module:api/CorsApi~userAuthOptionsCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param data This operation does not return a value.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* CORS support
|
|
||||||
* @param {module:api/CorsApi~userAuthOptionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
||||||
*/
|
|
||||||
userAuthOptions(callback) {
|
|
||||||
let postBody = null;
|
|
||||||
|
|
||||||
let pathParams = {
|
|
||||||
};
|
|
||||||
let queryParams = {
|
|
||||||
};
|
|
||||||
let headerParams = {
|
|
||||||
};
|
|
||||||
let formParams = {
|
|
||||||
};
|
|
||||||
|
|
||||||
let authNames = [];
|
|
||||||
let contentTypes = [];
|
|
||||||
let accepts = [];
|
|
||||||
let returnType = null;
|
|
||||||
return this.apiClient.callApi(
|
|
||||||
'/userauths', 'OPTIONS',
|
|
||||||
pathParams, queryParams, headerParams, formParams, postBody,
|
|
||||||
authNames, contentTypes, accepts, returnType, null, callback
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the userOptions operation.
|
|
||||||
* @callback module:api/CorsApi~userOptionsCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param data This operation does not return a value.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* CORS support
|
|
||||||
* @param {module:api/CorsApi~userOptionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
||||||
*/
|
|
||||||
userOptions(callback) {
|
|
||||||
let postBody = null;
|
|
||||||
|
|
||||||
let pathParams = {
|
|
||||||
};
|
|
||||||
let queryParams = {
|
|
||||||
};
|
|
||||||
let headerParams = {
|
|
||||||
};
|
|
||||||
let formParams = {
|
|
||||||
};
|
|
||||||
|
|
||||||
let authNames = [];
|
|
||||||
let contentTypes = [];
|
|
||||||
let accepts = [];
|
|
||||||
let returnType = null;
|
|
||||||
return this.apiClient.callApi(
|
|
||||||
'/users', 'OPTIONS',
|
|
||||||
pathParams, queryParams, headerParams, formParams, postBody,
|
|
||||||
authNames, contentTypes, accepts, returnType, null, callback
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,82 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import ApiClient from "../ApiClient";
|
|
||||||
import Developer from '../model/Developer';
|
|
||||||
import Error from '../model/Error';
|
|
||||||
import RuleExecution from '../model/RuleExecution';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Developers service.
|
|
||||||
* @module api/DevelopersApi
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
export default class DevelopersApi {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a new DevelopersApi.
|
|
||||||
* @alias module:api/DevelopersApi
|
|
||||||
* @class
|
|
||||||
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
||||||
* default to {@link module:ApiClient#instance} if unspecified.
|
|
||||||
*/
|
|
||||||
constructor(apiClient) {
|
|
||||||
this.apiClient = apiClient || ApiClient.instance;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the postDevelopers operation.
|
|
||||||
* @callback module:api/DevelopersApi~postDevelopersCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param {module:model/RuleExecution} data The data returned by the service call.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Onboard new developer
|
|
||||||
* Register new developers with POST
|
|
||||||
* @param {module:model/Developer} developerRequest A single Developer struct for onboarding
|
|
||||||
* @param {module:api/DevelopersApi~postDevelopersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
||||||
* data is of type: {@link module:model/RuleExecution}
|
|
||||||
*/
|
|
||||||
postDevelopers(developerRequest, callback) {
|
|
||||||
let postBody = developerRequest;
|
|
||||||
// verify the required parameter 'developerRequest' is set
|
|
||||||
if (developerRequest === undefined || developerRequest === null) {
|
|
||||||
throw new Error("Missing the required parameter 'developerRequest' when calling postDevelopers");
|
|
||||||
}
|
|
||||||
|
|
||||||
let pathParams = {
|
|
||||||
};
|
|
||||||
let queryParams = {
|
|
||||||
};
|
|
||||||
let headerParams = {
|
|
||||||
};
|
|
||||||
let formParams = {
|
|
||||||
};
|
|
||||||
|
|
||||||
let authNames = ['ApiKeyAuth'];
|
|
||||||
let contentTypes = ['application/json'];
|
|
||||||
let accepts = ['application/json'];
|
|
||||||
let returnType = RuleExecution;
|
|
||||||
return this.apiClient.callApi(
|
|
||||||
'/developers', 'POST',
|
|
||||||
pathParams, queryParams, headerParams, formParams, postBody,
|
|
||||||
authNames, contentTypes, accepts, returnType, null, callback
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,82 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import ApiClient from "../ApiClient";
|
|
||||||
import Error from '../model/Error';
|
|
||||||
import IQ from '../model/IQ';
|
|
||||||
import RuleExecution from '../model/RuleExecution';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Iq service.
|
|
||||||
* @module api/IqApi
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
export default class IqApi {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a new IqApi.
|
|
||||||
* @alias module:api/IqApi
|
|
||||||
* @class
|
|
||||||
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
||||||
* default to {@link module:ApiClient#instance} if unspecified.
|
|
||||||
*/
|
|
||||||
constructor(apiClient) {
|
|
||||||
this.apiClient = apiClient || ApiClient.instance;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the postIQ operation.
|
|
||||||
* @callback module:api/IqApi~postIQCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param {module:model/RuleExecution} data The data returned by the service call.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Onboard new new Taxnexus IQ Customer
|
|
||||||
* Register new Taxnexus IQ Customer with POST
|
|
||||||
* @param {module:model/IQ} iqRequest A single Taxnexus IQ Customer struct for onboarding
|
|
||||||
* @param {module:api/IqApi~postIQCallback} callback The callback function, accepting three arguments: error, data, response
|
|
||||||
* data is of type: {@link module:model/RuleExecution}
|
|
||||||
*/
|
|
||||||
postIQ(iqRequest, callback) {
|
|
||||||
let postBody = iqRequest;
|
|
||||||
// verify the required parameter 'iqRequest' is set
|
|
||||||
if (iqRequest === undefined || iqRequest === null) {
|
|
||||||
throw new Error("Missing the required parameter 'iqRequest' when calling postIQ");
|
|
||||||
}
|
|
||||||
|
|
||||||
let pathParams = {
|
|
||||||
};
|
|
||||||
let queryParams = {
|
|
||||||
};
|
|
||||||
let headerParams = {
|
|
||||||
};
|
|
||||||
let formParams = {
|
|
||||||
};
|
|
||||||
|
|
||||||
let authNames = ['ApiKeyAuth'];
|
|
||||||
let contentTypes = ['application/json'];
|
|
||||||
let accepts = ['application/json'];
|
|
||||||
let returnType = RuleExecution;
|
|
||||||
return this.apiClient.callApi(
|
|
||||||
'/iqs', 'POST',
|
|
||||||
pathParams, queryParams, headerParams, formParams, postBody,
|
|
||||||
authNames, contentTypes, accepts, returnType, null, callback
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,124 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import ApiClient from "../ApiClient";
|
|
||||||
import Error from '../model/Error';
|
|
||||||
import Lead from '../model/Lead';
|
|
||||||
import RuleExecution from '../model/RuleExecution';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Leads service.
|
|
||||||
* @module api/LeadsApi
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
export default class LeadsApi {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a new LeadsApi.
|
|
||||||
* @alias module:api/LeadsApi
|
|
||||||
* @class
|
|
||||||
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
||||||
* default to {@link module:ApiClient#instance} if unspecified.
|
|
||||||
*/
|
|
||||||
constructor(apiClient) {
|
|
||||||
this.apiClient = apiClient || ApiClient.instance;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the postLeads operation.
|
|
||||||
* @callback module:api/LeadsApi~postLeadsCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param {module:model/RuleExecution} data The data returned by the service call.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Add a new Lead record
|
|
||||||
* Add a new full Lead Record
|
|
||||||
* @param {module:model/Lead} leadRequest A new Lead record as a single JSON object
|
|
||||||
* @param {module:api/LeadsApi~postLeadsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
||||||
* data is of type: {@link module:model/RuleExecution}
|
|
||||||
*/
|
|
||||||
postLeads(leadRequest, callback) {
|
|
||||||
let postBody = leadRequest;
|
|
||||||
// verify the required parameter 'leadRequest' is set
|
|
||||||
if (leadRequest === undefined || leadRequest === null) {
|
|
||||||
throw new Error("Missing the required parameter 'leadRequest' when calling postLeads");
|
|
||||||
}
|
|
||||||
|
|
||||||
let pathParams = {
|
|
||||||
};
|
|
||||||
let queryParams = {
|
|
||||||
};
|
|
||||||
let headerParams = {
|
|
||||||
};
|
|
||||||
let formParams = {
|
|
||||||
};
|
|
||||||
|
|
||||||
let authNames = ['ApiKeyAuth'];
|
|
||||||
let contentTypes = ['application/json'];
|
|
||||||
let accepts = ['application/json'];
|
|
||||||
let returnType = RuleExecution;
|
|
||||||
return this.apiClient.callApi(
|
|
||||||
'/leads', 'POST',
|
|
||||||
pathParams, queryParams, headerParams, formParams, postBody,
|
|
||||||
authNames, contentTypes, accepts, returnType, null, callback
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the putLeads operation.
|
|
||||||
* @callback module:api/LeadsApi~putLeadsCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param {module:model/RuleExecution} data The data returned by the service call.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Update Leads
|
|
||||||
* Update Lead records
|
|
||||||
* @param {module:model/Lead} leadRequest A new Lead record as a single JSON object
|
|
||||||
* @param {module:api/LeadsApi~putLeadsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
||||||
* data is of type: {@link module:model/RuleExecution}
|
|
||||||
*/
|
|
||||||
putLeads(leadRequest, callback) {
|
|
||||||
let postBody = leadRequest;
|
|
||||||
// verify the required parameter 'leadRequest' is set
|
|
||||||
if (leadRequest === undefined || leadRequest === null) {
|
|
||||||
throw new Error("Missing the required parameter 'leadRequest' when calling putLeads");
|
|
||||||
}
|
|
||||||
|
|
||||||
let pathParams = {
|
|
||||||
};
|
|
||||||
let queryParams = {
|
|
||||||
};
|
|
||||||
let headerParams = {
|
|
||||||
};
|
|
||||||
let formParams = {
|
|
||||||
};
|
|
||||||
|
|
||||||
let authNames = ['ApiKeyAuth'];
|
|
||||||
let contentTypes = [];
|
|
||||||
let accepts = ['application/json'];
|
|
||||||
let returnType = RuleExecution;
|
|
||||||
return this.apiClient.callApi(
|
|
||||||
'/leads', 'PUT',
|
|
||||||
pathParams, queryParams, headerParams, formParams, postBody,
|
|
||||||
authNames, contentTypes, accepts, returnType, null, callback
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,82 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import ApiClient from "../ApiClient";
|
|
||||||
import Error from '../model/Error';
|
|
||||||
import UserAuth from '../model/UserAuth';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* UserAuth service.
|
|
||||||
* @module api/UserAuthApi
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
export default class UserAuthApi {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a new UserAuthApi.
|
|
||||||
* @alias module:api/UserAuthApi
|
|
||||||
* @class
|
|
||||||
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
||||||
* default to {@link module:ApiClient#instance} if unspecified.
|
|
||||||
*/
|
|
||||||
constructor(apiClient) {
|
|
||||||
this.apiClient = apiClient || ApiClient.instance;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the getUserAuth operation.
|
|
||||||
* @callback module:api/UserAuthApi~getUserAuthCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param {module:model/UserAuth} data The data returned by the service call.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get a single UserAuth object
|
|
||||||
* Return a single UserAuth object from datastore as a Singleton
|
|
||||||
* @param {String} usernamePath Username in the query path
|
|
||||||
* @param {module:api/UserAuthApi~getUserAuthCallback} callback The callback function, accepting three arguments: error, data, response
|
|
||||||
* data is of type: {@link module:model/UserAuth}
|
|
||||||
*/
|
|
||||||
getUserAuth(usernamePath, callback) {
|
|
||||||
let postBody = null;
|
|
||||||
// verify the required parameter 'usernamePath' is set
|
|
||||||
if (usernamePath === undefined || usernamePath === null) {
|
|
||||||
throw new Error("Missing the required parameter 'usernamePath' when calling getUserAuth");
|
|
||||||
}
|
|
||||||
|
|
||||||
let pathParams = {
|
|
||||||
'usernamePath': usernamePath
|
|
||||||
};
|
|
||||||
let queryParams = {
|
|
||||||
};
|
|
||||||
let headerParams = {
|
|
||||||
};
|
|
||||||
let formParams = {
|
|
||||||
};
|
|
||||||
|
|
||||||
let authNames = ['ApiKeyAuth'];
|
|
||||||
let contentTypes = [];
|
|
||||||
let accepts = ['application/json'];
|
|
||||||
let returnType = UserAuth;
|
|
||||||
return this.apiClient.callApi(
|
|
||||||
'/userauths/{usernamePath}', 'GET',
|
|
||||||
pathParams, queryParams, headerParams, formParams, postBody,
|
|
||||||
authNames, contentTypes, accepts, returnType, null, callback
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,81 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import ApiClient from "../ApiClient";
|
|
||||||
import Error from '../model/Error';
|
|
||||||
import User from '../model/User';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Users service.
|
|
||||||
* @module api/UsersApi
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
export default class UsersApi {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a new UsersApi.
|
|
||||||
* @alias module:api/UsersApi
|
|
||||||
* @class
|
|
||||||
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
||||||
* default to {@link module:ApiClient#instance} if unspecified.
|
|
||||||
*/
|
|
||||||
constructor(apiClient) {
|
|
||||||
this.apiClient = apiClient || ApiClient.instance;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback function to receive the result of the getUsers operation.
|
|
||||||
* @callback module:api/UsersApi~getUsersCallback
|
|
||||||
* @param {String} error Error message, if any.
|
|
||||||
* @param {module:model/User} data The data returned by the service call.
|
|
||||||
* @param {String} response The complete HTTP response.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get a clean user record
|
|
||||||
* @param {String} email Email address
|
|
||||||
* @param {module:api/UsersApi~getUsersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
||||||
* data is of type: {@link module:model/User}
|
|
||||||
*/
|
|
||||||
getUsers(email, callback) {
|
|
||||||
let postBody = null;
|
|
||||||
// verify the required parameter 'email' is set
|
|
||||||
if (email === undefined || email === null) {
|
|
||||||
throw new Error("Missing the required parameter 'email' when calling getUsers");
|
|
||||||
}
|
|
||||||
|
|
||||||
let pathParams = {
|
|
||||||
};
|
|
||||||
let queryParams = {
|
|
||||||
'email': email
|
|
||||||
};
|
|
||||||
let headerParams = {
|
|
||||||
};
|
|
||||||
let formParams = {
|
|
||||||
};
|
|
||||||
|
|
||||||
let authNames = ['ApiKeyAuth'];
|
|
||||||
let contentTypes = [];
|
|
||||||
let accepts = ['application/json'];
|
|
||||||
let returnType = User;
|
|
||||||
return this.apiClient.callApi(
|
|
||||||
'/users', 'GET',
|
|
||||||
pathParams, queryParams, headerParams, formParams, postBody,
|
|
||||||
authNames, contentTypes, accepts, returnType, null, callback
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,209 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import ApiClient from './ApiClient';
|
|
||||||
import Account from './model/Account';
|
|
||||||
import Address from './model/Address';
|
|
||||||
import Contact from './model/Contact';
|
|
||||||
import Database from './model/Database';
|
|
||||||
import Developer from './model/Developer';
|
|
||||||
import Error from './model/Error';
|
|
||||||
import IQ from './model/IQ';
|
|
||||||
import Lead from './model/Lead';
|
|
||||||
import PaymentMethod from './model/PaymentMethod';
|
|
||||||
import Role from './model/Role';
|
|
||||||
import RuleExecution from './model/RuleExecution';
|
|
||||||
import Tenant from './model/Tenant';
|
|
||||||
import TenantUser from './model/TenantUser';
|
|
||||||
import User from './model/User';
|
|
||||||
import UserAuth from './model/UserAuth';
|
|
||||||
import UserRole from './model/UserRole';
|
|
||||||
import CorsApi from './api/CorsApi';
|
|
||||||
import DevelopersApi from './api/DevelopersApi';
|
|
||||||
import IqApi from './api/IqApi';
|
|
||||||
import LeadsApi from './api/LeadsApi';
|
|
||||||
import UserAuthApi from './api/UserAuthApi';
|
|
||||||
import UsersApi from './api/UsersApi';
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus_Onboarding_Service.<br>
|
|
||||||
* The <code>index</code> module provides access to constructors for all the classes which comprise the public API.
|
|
||||||
* <p>
|
|
||||||
* An AMD (recommended!) or CommonJS application will generally do something equivalent to the following:
|
|
||||||
* <pre>
|
|
||||||
* var Board = require('index'); // See note below*.
|
|
||||||
* var xxxSvc = new Board.XxxApi(); // Allocate the API class we're going to use.
|
|
||||||
* var yyyModel = new Board.Yyy(); // Construct a model instance.
|
|
||||||
* yyyModel.someProperty = 'someValue';
|
|
||||||
* ...
|
|
||||||
* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
|
|
||||||
* ...
|
|
||||||
* </pre>
|
|
||||||
* <em>*NOTE: For a top-level AMD script, use require(['index'], function(){...})
|
|
||||||
* and put the application logic within the callback function.</em>
|
|
||||||
* </p>
|
|
||||||
* <p>
|
|
||||||
* A non-AMD browser application (discouraged) might do something like this:
|
|
||||||
* <pre>
|
|
||||||
* var xxxSvc = new Board.XxxApi(); // Allocate the API class we're going to use.
|
|
||||||
* var yyy = new Board.Yyy(); // Construct a model instance.
|
|
||||||
* yyyModel.someProperty = 'someValue';
|
|
||||||
* ...
|
|
||||||
* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
|
|
||||||
* ...
|
|
||||||
* </pre>
|
|
||||||
* </p>
|
|
||||||
* @module index
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
export {
|
|
||||||
/**
|
|
||||||
* The ApiClient constructor.
|
|
||||||
* @property {module:ApiClient}
|
|
||||||
*/
|
|
||||||
ApiClient,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Account model constructor.
|
|
||||||
* @property {module:model/Account}
|
|
||||||
*/
|
|
||||||
Account,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Address model constructor.
|
|
||||||
* @property {module:model/Address}
|
|
||||||
*/
|
|
||||||
Address,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Contact model constructor.
|
|
||||||
* @property {module:model/Contact}
|
|
||||||
*/
|
|
||||||
Contact,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Database model constructor.
|
|
||||||
* @property {module:model/Database}
|
|
||||||
*/
|
|
||||||
Database,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Developer model constructor.
|
|
||||||
* @property {module:model/Developer}
|
|
||||||
*/
|
|
||||||
Developer,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Error model constructor.
|
|
||||||
* @property {module:model/Error}
|
|
||||||
*/
|
|
||||||
Error,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The IQ model constructor.
|
|
||||||
* @property {module:model/IQ}
|
|
||||||
*/
|
|
||||||
IQ,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Lead model constructor.
|
|
||||||
* @property {module:model/Lead}
|
|
||||||
*/
|
|
||||||
Lead,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The PaymentMethod model constructor.
|
|
||||||
* @property {module:model/PaymentMethod}
|
|
||||||
*/
|
|
||||||
PaymentMethod,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Role model constructor.
|
|
||||||
* @property {module:model/Role}
|
|
||||||
*/
|
|
||||||
Role,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The RuleExecution model constructor.
|
|
||||||
* @property {module:model/RuleExecution}
|
|
||||||
*/
|
|
||||||
RuleExecution,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Tenant model constructor.
|
|
||||||
* @property {module:model/Tenant}
|
|
||||||
*/
|
|
||||||
Tenant,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The TenantUser model constructor.
|
|
||||||
* @property {module:model/TenantUser}
|
|
||||||
*/
|
|
||||||
TenantUser,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The User model constructor.
|
|
||||||
* @property {module:model/User}
|
|
||||||
*/
|
|
||||||
User,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The UserAuth model constructor.
|
|
||||||
* @property {module:model/UserAuth}
|
|
||||||
*/
|
|
||||||
UserAuth,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The UserRole model constructor.
|
|
||||||
* @property {module:model/UserRole}
|
|
||||||
*/
|
|
||||||
UserRole,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The CorsApi service constructor.
|
|
||||||
* @property {module:api/CorsApi}
|
|
||||||
*/
|
|
||||||
CorsApi,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The DevelopersApi service constructor.
|
|
||||||
* @property {module:api/DevelopersApi}
|
|
||||||
*/
|
|
||||||
DevelopersApi,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The IqApi service constructor.
|
|
||||||
* @property {module:api/IqApi}
|
|
||||||
*/
|
|
||||||
IqApi,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The LeadsApi service constructor.
|
|
||||||
* @property {module:api/LeadsApi}
|
|
||||||
*/
|
|
||||||
LeadsApi,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The UserAuthApi service constructor.
|
|
||||||
* @property {module:api/UserAuthApi}
|
|
||||||
*/
|
|
||||||
UserAuthApi,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The UsersApi service constructor.
|
|
||||||
* @property {module:api/UsersApi}
|
|
||||||
*/
|
|
||||||
UsersApi
|
|
||||||
};
|
|
|
@ -1,843 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
import Address from './Address';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Account model module.
|
|
||||||
* @module model/Account
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class Account {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>Account</code>.
|
|
||||||
* @alias module:model/Account
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
Account.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>Account</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/Account} obj Optional instance to populate.
|
|
||||||
* @return {module:model/Account} The populated <code>Account</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new Account();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('AccountNumber')) {
|
|
||||||
obj['AccountNumber'] = ApiClient.convertToType(data['AccountNumber'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AccountSource')) {
|
|
||||||
obj['AccountSource'] = ApiClient.convertToType(data['AccountSource'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Active')) {
|
|
||||||
obj['Active'] = ApiClient.convertToType(data['Active'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AdministrativeLevel')) {
|
|
||||||
obj['AdministrativeLevel'] = ApiClient.convertToType(data['AdministrativeLevel'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Amount')) {
|
|
||||||
obj['Amount'] = ApiClient.convertToType(data['Amount'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AmountInvoiced')) {
|
|
||||||
obj['AmountInvoiced'] = ApiClient.convertToType(data['AmountInvoiced'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AmountPaid')) {
|
|
||||||
obj['AmountPaid'] = ApiClient.convertToType(data['AmountPaid'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AnnualRevenue')) {
|
|
||||||
obj['AnnualRevenue'] = ApiClient.convertToType(data['AnnualRevenue'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Balance')) {
|
|
||||||
obj['Balance'] = ApiClient.convertToType(data['Balance'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('BillingAddress')) {
|
|
||||||
obj['BillingAddress'] = Address.constructFromObject(data['BillingAddress']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('BillingContactID')) {
|
|
||||||
obj['BillingContactID'] = ApiClient.convertToType(data['BillingContactID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('BillingPreference')) {
|
|
||||||
obj['BillingPreference'] = ApiClient.convertToType(data['BillingPreference'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('BusinessAddress')) {
|
|
||||||
obj['BusinessAddress'] = Address.constructFromObject(data['BusinessAddress']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CannabisCustomer')) {
|
|
||||||
obj['CannabisCustomer'] = ApiClient.convertToType(data['CannabisCustomer'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ChannelProgramLevelName')) {
|
|
||||||
obj['ChannelProgramLevelName'] = ApiClient.convertToType(data['ChannelProgramLevelName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ChannelProgramName')) {
|
|
||||||
obj['ChannelProgramName'] = ApiClient.convertToType(data['ChannelProgramName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ClientEndDate')) {
|
|
||||||
obj['ClientEndDate'] = ApiClient.convertToType(data['ClientEndDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ClientStartDate')) {
|
|
||||||
obj['ClientStartDate'] = ApiClient.convertToType(data['ClientStartDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CompanyID')) {
|
|
||||||
obj['CompanyID'] = ApiClient.convertToType(data['CompanyID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CoordinateID')) {
|
|
||||||
obj['CoordinateID'] = ApiClient.convertToType(data['CoordinateID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedByID')) {
|
|
||||||
obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedDate')) {
|
|
||||||
obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CustomerID')) {
|
|
||||||
obj['CustomerID'] = ApiClient.convertToType(data['CustomerID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CustomerPriority')) {
|
|
||||||
obj['CustomerPriority'] = ApiClient.convertToType(data['CustomerPriority'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('DBA')) {
|
|
||||||
obj['DBA'] = ApiClient.convertToType(data['DBA'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('DUNSNumber')) {
|
|
||||||
obj['DUNSNumber'] = ApiClient.convertToType(data['DUNSNumber'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('DandBCompanyID')) {
|
|
||||||
obj['DandBCompanyID'] = ApiClient.convertToType(data['DandBCompanyID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('DefaultAddress')) {
|
|
||||||
obj['DefaultAddress'] = Address.constructFromObject(data['DefaultAddress']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('DefaultBackendID')) {
|
|
||||||
obj['DefaultBackendID'] = ApiClient.convertToType(data['DefaultBackendID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('DefaultDeliveryContactID')) {
|
|
||||||
obj['DefaultDeliveryContactID'] = ApiClient.convertToType(data['DefaultDeliveryContactID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('DefaultEndUserID')) {
|
|
||||||
obj['DefaultEndUserID'] = ApiClient.convertToType(data['DefaultEndUserID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Description')) {
|
|
||||||
obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('EIN')) {
|
|
||||||
obj['EIN'] = ApiClient.convertToType(data['EIN'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Email')) {
|
|
||||||
obj['Email'] = ApiClient.convertToType(data['Email'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('EnrollmentStatus')) {
|
|
||||||
obj['EnrollmentStatus'] = ApiClient.convertToType(data['EnrollmentStatus'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Fax')) {
|
|
||||||
obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ID')) {
|
|
||||||
obj['ID'] = ApiClient.convertToType(data['ID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ISPCustomer')) {
|
|
||||||
obj['ISPCustomer'] = ApiClient.convertToType(data['ISPCustomer'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Industry')) {
|
|
||||||
obj['Industry'] = ApiClient.convertToType(data['Industry'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('IsCustomerPortal')) {
|
|
||||||
obj['IsCustomerPortal'] = ApiClient.convertToType(data['IsCustomerPortal'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('IsPartner')) {
|
|
||||||
obj['IsPartner'] = ApiClient.convertToType(data['IsPartner'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('JigSaw')) {
|
|
||||||
obj['JigSaw'] = ApiClient.convertToType(data['JigSaw'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedByID')) {
|
|
||||||
obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedDate')) {
|
|
||||||
obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('MSPCustomer')) {
|
|
||||||
obj['MSPCustomer'] = ApiClient.convertToType(data['MSPCustomer'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('NAICSCode')) {
|
|
||||||
obj['NAICSCode'] = ApiClient.convertToType(data['NAICSCode'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('NAICSDesc')) {
|
|
||||||
obj['NAICSDesc'] = ApiClient.convertToType(data['NAICSDesc'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Name')) {
|
|
||||||
obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('NumberOfEmployees')) {
|
|
||||||
obj['NumberOfEmployees'] = ApiClient.convertToType(data['NumberOfEmployees'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('NumberOfLocations')) {
|
|
||||||
obj['NumberOfLocations'] = ApiClient.convertToType(data['NumberOfLocations'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('OpenCharges')) {
|
|
||||||
obj['OpenCharges'] = ApiClient.convertToType(data['OpenCharges'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('OrderContactID')) {
|
|
||||||
obj['OrderContactID'] = ApiClient.convertToType(data['OrderContactID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('OrderEmail')) {
|
|
||||||
obj['OrderEmail'] = ApiClient.convertToType(data['OrderEmail'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('OwnerID')) {
|
|
||||||
obj['OwnerID'] = ApiClient.convertToType(data['OwnerID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Ownership')) {
|
|
||||||
obj['Ownership'] = ApiClient.convertToType(data['Ownership'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ParentFK')) {
|
|
||||||
obj['ParentFK'] = ApiClient.convertToType(data['ParentFK'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ParentID')) {
|
|
||||||
obj['ParentID'] = ApiClient.convertToType(data['ParentID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Phone')) {
|
|
||||||
obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('PlaceID')) {
|
|
||||||
obj['PlaceID'] = ApiClient.convertToType(data['PlaceID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('PreparerID')) {
|
|
||||||
obj['PreparerID'] = ApiClient.convertToType(data['PreparerID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Rating')) {
|
|
||||||
obj['Rating'] = ApiClient.convertToType(data['Rating'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RatingEngineID')) {
|
|
||||||
obj['RatingEngineID'] = ApiClient.convertToType(data['RatingEngineID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Ref')) {
|
|
||||||
obj['Ref'] = ApiClient.convertToType(data['Ref'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RevenueBase')) {
|
|
||||||
obj['RevenueBase'] = ApiClient.convertToType(data['RevenueBase'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RevenueNet')) {
|
|
||||||
obj['RevenueNet'] = ApiClient.convertToType(data['RevenueNet'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RevenueNotTaxable')) {
|
|
||||||
obj['RevenueNotTaxable'] = ApiClient.convertToType(data['RevenueNotTaxable'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('SIC')) {
|
|
||||||
obj['SIC'] = ApiClient.convertToType(data['SIC'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('SICDesc')) {
|
|
||||||
obj['SICDesc'] = ApiClient.convertToType(data['SICDesc'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ShippingAddress')) {
|
|
||||||
obj['ShippingAddress'] = Address.constructFromObject(data['ShippingAddress']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ShippingCensusTract')) {
|
|
||||||
obj['ShippingCensusTract'] = ApiClient.convertToType(data['ShippingCensusTract'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ShippingConactID')) {
|
|
||||||
obj['ShippingConactID'] = ApiClient.convertToType(data['ShippingConactID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ShippingCounty')) {
|
|
||||||
obj['ShippingCounty'] = ApiClient.convertToType(data['ShippingCounty'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Site')) {
|
|
||||||
obj['Site'] = ApiClient.convertToType(data['Site'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Status')) {
|
|
||||||
obj['Status'] = ApiClient.convertToType(data['Status'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TaxExemption')) {
|
|
||||||
obj['TaxExemption'] = ApiClient.convertToType(data['TaxExemption'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TaxOnTax')) {
|
|
||||||
obj['TaxOnTax'] = ApiClient.convertToType(data['TaxOnTax'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TelecomCustomer')) {
|
|
||||||
obj['TelecomCustomer'] = ApiClient.convertToType(data['TelecomCustomer'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TickerSymbol')) {
|
|
||||||
obj['TickerSymbol'] = ApiClient.convertToType(data['TickerSymbol'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TradeStyle')) {
|
|
||||||
obj['TradeStyle'] = ApiClient.convertToType(data['TradeStyle'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Type')) {
|
|
||||||
obj['Type'] = ApiClient.convertToType(data['Type'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UnappliedPayments')) {
|
|
||||||
obj['UnappliedPayments'] = ApiClient.convertToType(data['UnappliedPayments'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UnitBase')) {
|
|
||||||
obj['UnitBase'] = ApiClient.convertToType(data['UnitBase'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UpsellOpportunity')) {
|
|
||||||
obj['UpsellOpportunity'] = ApiClient.convertToType(data['UpsellOpportunity'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('WHMCSClientID')) {
|
|
||||||
obj['WHMCSClientID'] = ApiClient.convertToType(data['WHMCSClientID'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Website')) {
|
|
||||||
obj['Website'] = ApiClient.convertToType(data['Website'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('XeroContactID')) {
|
|
||||||
obj['XeroContactID'] = ApiClient.convertToType(data['XeroContactID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('YearStarted')) {
|
|
||||||
obj['YearStarted'] = ApiClient.convertToType(data['YearStarted'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account Number
|
|
||||||
* @member {String} AccountNumber
|
|
||||||
*/
|
|
||||||
Account.prototype['AccountNumber'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The marketing orgin of this account
|
|
||||||
* @member {String} AccountSource
|
|
||||||
*/
|
|
||||||
Account.prototype['AccountSource'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Active
|
|
||||||
* @member {Boolean} Active
|
|
||||||
*/
|
|
||||||
Account.prototype['Active'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* For tax authorities, this account's administrative level, e.g. Local, County, State or Federal
|
|
||||||
* @member {String} AdministrativeLevel
|
|
||||||
*/
|
|
||||||
Account.prototype['AdministrativeLevel'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rollup Tax Amount
|
|
||||||
* @member {Number} Amount
|
|
||||||
*/
|
|
||||||
Account.prototype['Amount'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Amount Invoiced
|
|
||||||
* @member {Number} AmountInvoiced
|
|
||||||
*/
|
|
||||||
Account.prototype['AmountInvoiced'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Amount Paid
|
|
||||||
* @member {Number} AmountPaid
|
|
||||||
*/
|
|
||||||
Account.prototype['AmountPaid'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Annual Revenue Estimate
|
|
||||||
* @member {Number} AnnualRevenue
|
|
||||||
*/
|
|
||||||
Account.prototype['AnnualRevenue'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account Balance
|
|
||||||
* @member {Number} Balance
|
|
||||||
*/
|
|
||||||
Account.prototype['Balance'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Address} BillingAddress
|
|
||||||
*/
|
|
||||||
Account.prototype['BillingAddress'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contact ID
|
|
||||||
* @member {String} BillingContactID
|
|
||||||
*/
|
|
||||||
Account.prototype['BillingContactID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Billing Preference
|
|
||||||
* @member {String} BillingPreference
|
|
||||||
*/
|
|
||||||
Account.prototype['BillingPreference'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Address} BusinessAddress
|
|
||||||
*/
|
|
||||||
Account.prototype['BusinessAddress'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Is this a cannabis customer?
|
|
||||||
* @member {Boolean} CannabisCustomer
|
|
||||||
*/
|
|
||||||
Account.prototype['CannabisCustomer'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Channel Program Level Name
|
|
||||||
* @member {String} ChannelProgramLevelName
|
|
||||||
*/
|
|
||||||
Account.prototype['ChannelProgramLevelName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Channel Program Name
|
|
||||||
* @member {String} ChannelProgramName
|
|
||||||
*/
|
|
||||||
Account.prototype['ChannelProgramName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Client End Date
|
|
||||||
* @member {String} ClientEndDate
|
|
||||||
*/
|
|
||||||
Account.prototype['ClientEndDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Client Start Date
|
|
||||||
* @member {String} ClientStartDate
|
|
||||||
*/
|
|
||||||
Account.prototype['ClientStartDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Company ID of this Account
|
|
||||||
* @member {String} CompanyID
|
|
||||||
*/
|
|
||||||
Account.prototype['CompanyID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Id of the geo coordinates of this account
|
|
||||||
* @member {String} CoordinateID
|
|
||||||
*/
|
|
||||||
Account.prototype['CoordinateID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created By User ID
|
|
||||||
* @member {String} CreatedByID
|
|
||||||
*/
|
|
||||||
Account.prototype['CreatedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created Date
|
|
||||||
* @member {String} CreatedDate
|
|
||||||
*/
|
|
||||||
Account.prototype['CreatedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Customer ID from source system
|
|
||||||
* @member {String} CustomerID
|
|
||||||
*/
|
|
||||||
Account.prototype['CustomerID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Customer Priority
|
|
||||||
* @member {String} CustomerPriority
|
|
||||||
*/
|
|
||||||
Account.prototype['CustomerPriority'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This Account's 'Doing Business As' name
|
|
||||||
* @member {String} DBA
|
|
||||||
*/
|
|
||||||
Account.prototype['DBA'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* D-U-N-S Number
|
|
||||||
* @member {String} DUNSNumber
|
|
||||||
*/
|
|
||||||
Account.prototype['DUNSNumber'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* D-n-B Company
|
|
||||||
* @member {String} DandBCompanyID
|
|
||||||
*/
|
|
||||||
Account.prototype['DandBCompanyID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Address} DefaultAddress
|
|
||||||
*/
|
|
||||||
Account.prototype['DefaultAddress'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Default Backend ID
|
|
||||||
* @member {String} DefaultBackendID
|
|
||||||
*/
|
|
||||||
Account.prototype['DefaultBackendID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Default Delivery Address Contact ID
|
|
||||||
* @member {String} DefaultDeliveryContactID
|
|
||||||
*/
|
|
||||||
Account.prototype['DefaultDeliveryContactID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Default End User Contact ID
|
|
||||||
* @member {String} DefaultEndUserID
|
|
||||||
*/
|
|
||||||
Account.prototype['DefaultEndUserID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Description
|
|
||||||
* @member {String} Description
|
|
||||||
*/
|
|
||||||
Account.prototype['Description'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* EIN
|
|
||||||
* @member {String} EIN
|
|
||||||
*/
|
|
||||||
Account.prototype['EIN'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Main Account Email
|
|
||||||
* @member {String} Email
|
|
||||||
*/
|
|
||||||
Account.prototype['Email'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Enrollment Status
|
|
||||||
* @member {String} EnrollmentStatus
|
|
||||||
*/
|
|
||||||
Account.prototype['EnrollmentStatus'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Fax
|
|
||||||
* @member {String} Fax
|
|
||||||
*/
|
|
||||||
Account.prototype['Fax'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus Account Id
|
|
||||||
* @member {String} ID
|
|
||||||
*/
|
|
||||||
Account.prototype['ID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ISP Customer?
|
|
||||||
* @member {Boolean} ISPCustomer
|
|
||||||
*/
|
|
||||||
Account.prototype['ISPCustomer'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Industry
|
|
||||||
* @member {String} Industry
|
|
||||||
*/
|
|
||||||
Account.prototype['Industry'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Customer Portal Account
|
|
||||||
* @member {Boolean} IsCustomerPortal
|
|
||||||
*/
|
|
||||||
Account.prototype['IsCustomerPortal'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Partner Account
|
|
||||||
* @member {Boolean} IsPartner
|
|
||||||
*/
|
|
||||||
Account.prototype['IsPartner'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Data.com Key
|
|
||||||
* @member {String} JigSaw
|
|
||||||
*/
|
|
||||||
Account.prototype['JigSaw'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modified By User ID
|
|
||||||
* @member {String} LastModifiedByID
|
|
||||||
*/
|
|
||||||
Account.prototype['LastModifiedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modified Date
|
|
||||||
* @member {String} LastModifiedDate
|
|
||||||
*/
|
|
||||||
Account.prototype['LastModifiedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* MSP Customer?
|
|
||||||
* @member {Boolean} MSPCustomer
|
|
||||||
*/
|
|
||||||
Account.prototype['MSPCustomer'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* NAICS Code
|
|
||||||
* @member {String} NAICSCode
|
|
||||||
*/
|
|
||||||
Account.prototype['NAICSCode'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* NAICS Description
|
|
||||||
* @member {String} NAICSDesc
|
|
||||||
*/
|
|
||||||
Account.prototype['NAICSDesc'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account Name
|
|
||||||
* @member {String} Name
|
|
||||||
*/
|
|
||||||
Account.prototype['Name'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Employee Count Estimate
|
|
||||||
* @member {Number} NumberOfEmployees
|
|
||||||
*/
|
|
||||||
Account.prototype['NumberOfEmployees'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Number of Locations Estimate
|
|
||||||
* @member {Number} NumberOfLocations
|
|
||||||
*/
|
|
||||||
Account.prototype['NumberOfLocations'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Open Charges
|
|
||||||
* @member {Number} OpenCharges
|
|
||||||
*/
|
|
||||||
Account.prototype['OpenCharges'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Vendor Order Contact ID
|
|
||||||
* @member {String} OrderContactID
|
|
||||||
*/
|
|
||||||
Account.prototype['OrderContactID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Order Email
|
|
||||||
* @member {String} OrderEmail
|
|
||||||
*/
|
|
||||||
Account.prototype['OrderEmail'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account Owner User ID
|
|
||||||
* @member {String} OwnerID
|
|
||||||
*/
|
|
||||||
Account.prototype['OwnerID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Ownership
|
|
||||||
* @member {String} Ownership
|
|
||||||
*/
|
|
||||||
Account.prototype['Ownership'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Parent Foreign Key
|
|
||||||
* @member {String} ParentFK
|
|
||||||
*/
|
|
||||||
Account.prototype['ParentFK'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Parent Account
|
|
||||||
* @member {String} ParentID
|
|
||||||
*/
|
|
||||||
Account.prototype['ParentID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Phone
|
|
||||||
* @member {String} Phone
|
|
||||||
*/
|
|
||||||
Account.prototype['Phone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The ID of the Place situs record that applies to this Account
|
|
||||||
* @member {String} PlaceID
|
|
||||||
*/
|
|
||||||
Account.prototype['PlaceID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tax Preparer Contact ID
|
|
||||||
* @member {String} PreparerID
|
|
||||||
*/
|
|
||||||
Account.prototype['PreparerID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rating
|
|
||||||
* @member {String} Rating
|
|
||||||
*/
|
|
||||||
Account.prototype['Rating'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rating Engine identifier
|
|
||||||
* @member {String} RatingEngineID
|
|
||||||
*/
|
|
||||||
Account.prototype['RatingEngineID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* External Reference ID
|
|
||||||
* @member {String} Ref
|
|
||||||
*/
|
|
||||||
Account.prototype['Ref'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rollup Revenue Base
|
|
||||||
* @member {Number} RevenueBase
|
|
||||||
*/
|
|
||||||
Account.prototype['RevenueBase'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rollup Revenue Net
|
|
||||||
* @member {Number} RevenueNet
|
|
||||||
*/
|
|
||||||
Account.prototype['RevenueNet'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rollup Revenue Not Taxable
|
|
||||||
* @member {Number} RevenueNotTaxable
|
|
||||||
*/
|
|
||||||
Account.prototype['RevenueNotTaxable'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* SIC Code
|
|
||||||
* @member {String} SIC
|
|
||||||
*/
|
|
||||||
Account.prototype['SIC'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* SIC Description
|
|
||||||
* @member {String} SICDesc
|
|
||||||
*/
|
|
||||||
Account.prototype['SICDesc'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Address} ShippingAddress
|
|
||||||
*/
|
|
||||||
Account.prototype['ShippingAddress'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Shipping Census Tract
|
|
||||||
* @member {String} ShippingCensusTract
|
|
||||||
*/
|
|
||||||
Account.prototype['ShippingCensusTract'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Shipping Contact ID
|
|
||||||
* @member {String} ShippingConactID
|
|
||||||
*/
|
|
||||||
Account.prototype['ShippingConactID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Shipping County
|
|
||||||
* @member {String} ShippingCounty
|
|
||||||
*/
|
|
||||||
Account.prototype['ShippingCounty'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account Site
|
|
||||||
* @member {String} Site
|
|
||||||
*/
|
|
||||||
Account.prototype['Site'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account Status
|
|
||||||
* @member {String} Status
|
|
||||||
*/
|
|
||||||
Account.prototype['Status'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tax Exemption
|
|
||||||
* @member {String} TaxExemption
|
|
||||||
*/
|
|
||||||
Account.prototype['TaxExemption'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rollup Tax On Tax
|
|
||||||
* @member {Number} TaxOnTax
|
|
||||||
*/
|
|
||||||
Account.prototype['TaxOnTax'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Telecom Customer?
|
|
||||||
* @member {Boolean} TelecomCustomer
|
|
||||||
*/
|
|
||||||
Account.prototype['TelecomCustomer'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Ticker Symbol
|
|
||||||
* @member {String} TickerSymbol
|
|
||||||
*/
|
|
||||||
Account.prototype['TickerSymbol'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tradestyle
|
|
||||||
* @member {String} TradeStyle
|
|
||||||
*/
|
|
||||||
Account.prototype['TradeStyle'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Type
|
|
||||||
* @member {String} Type
|
|
||||||
*/
|
|
||||||
Account.prototype['Type'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Unapplied Payments
|
|
||||||
* @member {Number} UnappliedPayments
|
|
||||||
*/
|
|
||||||
Account.prototype['UnappliedPayments'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rollup Unit Base
|
|
||||||
* @member {Number} UnitBase
|
|
||||||
*/
|
|
||||||
Account.prototype['UnitBase'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Upsell Opportunity
|
|
||||||
* @member {String} UpsellOpportunity
|
|
||||||
*/
|
|
||||||
Account.prototype['UpsellOpportunity'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WHMCS Client ID
|
|
||||||
* @member {Number} WHMCSClientID
|
|
||||||
*/
|
|
||||||
Account.prototype['WHMCSClientID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Website
|
|
||||||
* @member {String} Website
|
|
||||||
*/
|
|
||||||
Account.prototype['Website'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Xero Contact ID
|
|
||||||
* @member {String} XeroContactID
|
|
||||||
*/
|
|
||||||
Account.prototype['XeroContactID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Year Started
|
|
||||||
* @member {String} YearStarted
|
|
||||||
*/
|
|
||||||
Account.prototype['YearStarted'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default Account;
|
|
||||||
|
|
|
@ -1,126 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Address model module.
|
|
||||||
* @module model/Address
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class Address {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>Address</code>.
|
|
||||||
* @alias module:model/Address
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
Address.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>Address</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/Address} obj Optional instance to populate.
|
|
||||||
* @return {module:model/Address} The populated <code>Address</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new Address();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('City')) {
|
|
||||||
obj['City'] = ApiClient.convertToType(data['City'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Country')) {
|
|
||||||
obj['Country'] = ApiClient.convertToType(data['Country'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CountryCode')) {
|
|
||||||
obj['CountryCode'] = ApiClient.convertToType(data['CountryCode'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('PostalCode')) {
|
|
||||||
obj['PostalCode'] = ApiClient.convertToType(data['PostalCode'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('State')) {
|
|
||||||
obj['State'] = ApiClient.convertToType(data['State'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('StateCode')) {
|
|
||||||
obj['StateCode'] = ApiClient.convertToType(data['StateCode'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Street')) {
|
|
||||||
obj['Street'] = ApiClient.convertToType(data['Street'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* City
|
|
||||||
* @member {String} City
|
|
||||||
*/
|
|
||||||
Address.prototype['City'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Country full name
|
|
||||||
* @member {String} Country
|
|
||||||
*/
|
|
||||||
Address.prototype['Country'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Country Code
|
|
||||||
* @member {String} CountryCode
|
|
||||||
*/
|
|
||||||
Address.prototype['CountryCode'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Postal Code
|
|
||||||
* @member {String} PostalCode
|
|
||||||
*/
|
|
||||||
Address.prototype['PostalCode'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* State full name
|
|
||||||
* @member {String} State
|
|
||||||
*/
|
|
||||||
Address.prototype['State'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* State Code
|
|
||||||
* @member {String} StateCode
|
|
||||||
*/
|
|
||||||
Address.prototype['StateCode'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Street number and name
|
|
||||||
* @member {String} Street
|
|
||||||
*/
|
|
||||||
Address.prototype['Street'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default Address;
|
|
||||||
|
|
|
@ -1,467 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
import Address from './Address';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Contact model module.
|
|
||||||
* @module model/Contact
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class Contact {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>Contact</code>.
|
|
||||||
* @alias module:model/Contact
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
Contact.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>Contact</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/Contact} obj Optional instance to populate.
|
|
||||||
* @return {module:model/Contact} The populated <code>Contact</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new Contact();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('AccountID')) {
|
|
||||||
obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AssistantName')) {
|
|
||||||
obj['AssistantName'] = ApiClient.convertToType(data['AssistantName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AssistantPhone')) {
|
|
||||||
obj['AssistantPhone'] = ApiClient.convertToType(data['AssistantPhone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('BirthDate')) {
|
|
||||||
obj['BirthDate'] = ApiClient.convertToType(data['BirthDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedByID')) {
|
|
||||||
obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedDate')) {
|
|
||||||
obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Department')) {
|
|
||||||
obj['Department'] = ApiClient.convertToType(data['Department'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Description')) {
|
|
||||||
obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('DoNotCall')) {
|
|
||||||
obj['DoNotCall'] = ApiClient.convertToType(data['DoNotCall'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Email')) {
|
|
||||||
obj['Email'] = ApiClient.convertToType(data['Email'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('EmailBounceDate')) {
|
|
||||||
obj['EmailBounceDate'] = ApiClient.convertToType(data['EmailBounceDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('EmailBouncedReason')) {
|
|
||||||
obj['EmailBouncedReason'] = ApiClient.convertToType(data['EmailBouncedReason'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('EnrollmentStatus')) {
|
|
||||||
obj['EnrollmentStatus'] = ApiClient.convertToType(data['EnrollmentStatus'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Fax')) {
|
|
||||||
obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('FirstName')) {
|
|
||||||
obj['FirstName'] = ApiClient.convertToType(data['FirstName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('HasOptedOutOfEmail')) {
|
|
||||||
obj['HasOptedOutOfEmail'] = ApiClient.convertToType(data['HasOptedOutOfEmail'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('HasOptedOutOfFax')) {
|
|
||||||
obj['HasOptedOutOfFax'] = ApiClient.convertToType(data['HasOptedOutOfFax'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('HomePhone')) {
|
|
||||||
obj['HomePhone'] = ApiClient.convertToType(data['HomePhone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ID')) {
|
|
||||||
obj['ID'] = ApiClient.convertToType(data['ID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('IsEmailBounced')) {
|
|
||||||
obj['IsEmailBounced'] = ApiClient.convertToType(data['IsEmailBounced'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('IsProvisioned')) {
|
|
||||||
obj['IsProvisioned'] = ApiClient.convertToType(data['IsProvisioned'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedByID')) {
|
|
||||||
obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedDate')) {
|
|
||||||
obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastName')) {
|
|
||||||
obj['LastName'] = ApiClient.convertToType(data['LastName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LeadSource')) {
|
|
||||||
obj['LeadSource'] = ApiClient.convertToType(data['LeadSource'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Level')) {
|
|
||||||
obj['Level'] = ApiClient.convertToType(data['Level'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LinkedIn')) {
|
|
||||||
obj['LinkedIn'] = ApiClient.convertToType(data['LinkedIn'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('MailingAddress')) {
|
|
||||||
obj['MailingAddress'] = Address.constructFromObject(data['MailingAddress']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('MailingLists')) {
|
|
||||||
obj['MailingLists'] = ApiClient.convertToType(data['MailingLists'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('MobilePhone')) {
|
|
||||||
obj['MobilePhone'] = ApiClient.convertToType(data['MobilePhone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Name')) {
|
|
||||||
obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('OtherAddress')) {
|
|
||||||
obj['OtherAddress'] = Address.constructFromObject(data['OtherAddress']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('OtherPhone')) {
|
|
||||||
obj['OtherPhone'] = ApiClient.convertToType(data['OtherPhone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('OwnerID')) {
|
|
||||||
obj['OwnerID'] = ApiClient.convertToType(data['OwnerID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('PersonalEmail')) {
|
|
||||||
obj['PersonalEmail'] = ApiClient.convertToType(data['PersonalEmail'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Phone')) {
|
|
||||||
obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('PhotoURL')) {
|
|
||||||
obj['PhotoURL'] = ApiClient.convertToType(data['PhotoURL'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RecruitingStatus')) {
|
|
||||||
obj['RecruitingStatus'] = ApiClient.convertToType(data['RecruitingStatus'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Ref')) {
|
|
||||||
obj['Ref'] = ApiClient.convertToType(data['Ref'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ReportsToID')) {
|
|
||||||
obj['ReportsToID'] = ApiClient.convertToType(data['ReportsToID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Salutation')) {
|
|
||||||
obj['Salutation'] = ApiClient.convertToType(data['Salutation'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Status')) {
|
|
||||||
obj['Status'] = ApiClient.convertToType(data['Status'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantID')) {
|
|
||||||
obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Title')) {
|
|
||||||
obj['Title'] = ApiClient.convertToType(data['Title'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Type')) {
|
|
||||||
obj['Type'] = ApiClient.convertToType(data['Type'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The primary account ID of this contact
|
|
||||||
* @member {String} AccountID
|
|
||||||
*/
|
|
||||||
Contact.prototype['AccountID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Assistant Name
|
|
||||||
* @member {String} AssistantName
|
|
||||||
*/
|
|
||||||
Contact.prototype['AssistantName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Asst. Phone
|
|
||||||
* @member {String} AssistantPhone
|
|
||||||
*/
|
|
||||||
Contact.prototype['AssistantPhone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Birthdate
|
|
||||||
* @member {String} BirthDate
|
|
||||||
*/
|
|
||||||
Contact.prototype['BirthDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created By User ID
|
|
||||||
* @member {String} CreatedByID
|
|
||||||
*/
|
|
||||||
Contact.prototype['CreatedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created Date
|
|
||||||
* @member {String} CreatedDate
|
|
||||||
*/
|
|
||||||
Contact.prototype['CreatedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Department
|
|
||||||
* @member {String} Department
|
|
||||||
*/
|
|
||||||
Contact.prototype['Department'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Description
|
|
||||||
* @member {String} Description
|
|
||||||
*/
|
|
||||||
Contact.prototype['Description'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Do Not Call?
|
|
||||||
* @member {Boolean} DoNotCall
|
|
||||||
*/
|
|
||||||
Contact.prototype['DoNotCall'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email address
|
|
||||||
* @member {String} Email
|
|
||||||
*/
|
|
||||||
Contact.prototype['Email'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email Bounce Date
|
|
||||||
* @member {String} EmailBounceDate
|
|
||||||
*/
|
|
||||||
Contact.prototype['EmailBounceDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email Bounce Reason
|
|
||||||
* @member {String} EmailBouncedReason
|
|
||||||
*/
|
|
||||||
Contact.prototype['EmailBouncedReason'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus Enrollment Status
|
|
||||||
* @member {String} EnrollmentStatus
|
|
||||||
*/
|
|
||||||
Contact.prototype['EnrollmentStatus'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Fax Number
|
|
||||||
* @member {String} Fax
|
|
||||||
*/
|
|
||||||
Contact.prototype['Fax'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* First Name
|
|
||||||
* @member {String} FirstName
|
|
||||||
*/
|
|
||||||
Contact.prototype['FirstName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email Opt Out
|
|
||||||
* @member {Boolean} HasOptedOutOfEmail
|
|
||||||
*/
|
|
||||||
Contact.prototype['HasOptedOutOfEmail'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Fax Opt Out
|
|
||||||
* @member {Boolean} HasOptedOutOfFax
|
|
||||||
*/
|
|
||||||
Contact.prototype['HasOptedOutOfFax'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Home Phone
|
|
||||||
* @member {String} HomePhone
|
|
||||||
*/
|
|
||||||
Contact.prototype['HomePhone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus Record Id
|
|
||||||
* @member {String} ID
|
|
||||||
*/
|
|
||||||
Contact.prototype['ID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Does this contact have bounced emails?
|
|
||||||
* @member {Boolean} IsEmailBounced
|
|
||||||
*/
|
|
||||||
Contact.prototype['IsEmailBounced'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Is Provisioned?
|
|
||||||
* @member {Boolean} IsProvisioned
|
|
||||||
*/
|
|
||||||
Contact.prototype['IsProvisioned'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modified By User ID
|
|
||||||
* @member {String} LastModifiedByID
|
|
||||||
*/
|
|
||||||
Contact.prototype['LastModifiedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modified Date
|
|
||||||
* @member {String} LastModifiedDate
|
|
||||||
*/
|
|
||||||
Contact.prototype['LastModifiedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Name
|
|
||||||
* @member {String} LastName
|
|
||||||
*/
|
|
||||||
Contact.prototype['LastName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Lead Source
|
|
||||||
* @member {String} LeadSource
|
|
||||||
*/
|
|
||||||
Contact.prototype['LeadSource'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Level
|
|
||||||
* @member {String} Level
|
|
||||||
*/
|
|
||||||
Contact.prototype['Level'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* LinkedIn Page
|
|
||||||
* @member {String} LinkedIn
|
|
||||||
*/
|
|
||||||
Contact.prototype['LinkedIn'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Address} MailingAddress
|
|
||||||
*/
|
|
||||||
Contact.prototype['MailingAddress'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Mailing Lists
|
|
||||||
* @member {String} MailingLists
|
|
||||||
*/
|
|
||||||
Contact.prototype['MailingLists'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Mobile Phone
|
|
||||||
* @member {String} MobilePhone
|
|
||||||
*/
|
|
||||||
Contact.prototype['MobilePhone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Full Name
|
|
||||||
* @member {String} Name
|
|
||||||
*/
|
|
||||||
Contact.prototype['Name'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Address} OtherAddress
|
|
||||||
*/
|
|
||||||
Contact.prototype['OtherAddress'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Other Phone
|
|
||||||
* @member {String} OtherPhone
|
|
||||||
*/
|
|
||||||
Contact.prototype['OtherPhone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The User ID of the user who owns this Contact
|
|
||||||
* @member {String} OwnerID
|
|
||||||
*/
|
|
||||||
Contact.prototype['OwnerID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Personal Email Address for this Contact
|
|
||||||
* @member {String} PersonalEmail
|
|
||||||
*/
|
|
||||||
Contact.prototype['PersonalEmail'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Phone Number
|
|
||||||
* @member {String} Phone
|
|
||||||
*/
|
|
||||||
Contact.prototype['Phone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* URL of a photograph of this User
|
|
||||||
* @member {String} PhotoURL
|
|
||||||
*/
|
|
||||||
Contact.prototype['PhotoURL'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Recruiting Status
|
|
||||||
* @member {String} RecruitingStatus
|
|
||||||
*/
|
|
||||||
Contact.prototype['RecruitingStatus'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* External reference to this contact, if any
|
|
||||||
* @member {String} Ref
|
|
||||||
*/
|
|
||||||
Contact.prototype['Ref'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Reports To Contact ID
|
|
||||||
* @member {String} ReportsToID
|
|
||||||
*/
|
|
||||||
Contact.prototype['ReportsToID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contact Salutation
|
|
||||||
* @member {String} Salutation
|
|
||||||
*/
|
|
||||||
Contact.prototype['Salutation'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Contact Status
|
|
||||||
* @member {String} Status
|
|
||||||
*/
|
|
||||||
Contact.prototype['Status'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tenant Identifier
|
|
||||||
* @member {String} TenantID
|
|
||||||
*/
|
|
||||||
Contact.prototype['TenantID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contact Title
|
|
||||||
* @member {String} Title
|
|
||||||
*/
|
|
||||||
Contact.prototype['Title'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contact Type
|
|
||||||
* @member {String} Type
|
|
||||||
*/
|
|
||||||
Contact.prototype['Type'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default Contact;
|
|
||||||
|
|
|
@ -1,181 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Database model module.
|
|
||||||
* @module model/Database
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class Database {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>Database</code>.
|
|
||||||
* A Database provisioned and owned by a Tenant
|
|
||||||
* @alias module:model/Database
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
Database.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>Database</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/Database} obj Optional instance to populate.
|
|
||||||
* @return {module:model/Database} The populated <code>Database</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new Database();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('Active')) {
|
|
||||||
obj['Active'] = ApiClient.convertToType(data['Active'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ClusterID')) {
|
|
||||||
obj['ClusterID'] = ApiClient.convertToType(data['ClusterID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedByID')) {
|
|
||||||
obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedDate')) {
|
|
||||||
obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('DSN')) {
|
|
||||||
obj['DSN'] = ApiClient.convertToType(data['DSN'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('DatabaseName')) {
|
|
||||||
obj['DatabaseName'] = ApiClient.convertToType(data['DatabaseName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ID')) {
|
|
||||||
obj['ID'] = ApiClient.convertToType(data['ID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedByID')) {
|
|
||||||
obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedDate')) {
|
|
||||||
obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Microservices')) {
|
|
||||||
obj['Microservices'] = ApiClient.convertToType(data['Microservices'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Status')) {
|
|
||||||
obj['Status'] = ApiClient.convertToType(data['Status'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantID')) {
|
|
||||||
obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Type')) {
|
|
||||||
obj['Type'] = ApiClient.convertToType(data['Type'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Is this database active?
|
|
||||||
* @member {Boolean} Active
|
|
||||||
*/
|
|
||||||
Database.prototype['Active'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The ID of the Cluster in which this database is deployed
|
|
||||||
* @member {String} ClusterID
|
|
||||||
*/
|
|
||||||
Database.prototype['ClusterID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created By
|
|
||||||
* @member {String} CreatedByID
|
|
||||||
*/
|
|
||||||
Database.prototype['CreatedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created Date
|
|
||||||
* @member {String} CreatedDate
|
|
||||||
*/
|
|
||||||
Database.prototype['CreatedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Database connection string
|
|
||||||
* @member {String} DSN
|
|
||||||
*/
|
|
||||||
Database.prototype['DSN'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The name of the physical database in the cluster
|
|
||||||
* @member {String} DatabaseName
|
|
||||||
*/
|
|
||||||
Database.prototype['DatabaseName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Record Id
|
|
||||||
* @member {String} ID
|
|
||||||
*/
|
|
||||||
Database.prototype['ID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modified By
|
|
||||||
* @member {String} LastModifiedByID
|
|
||||||
*/
|
|
||||||
Database.prototype['LastModifiedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modifed Date
|
|
||||||
* @member {String} LastModifiedDate
|
|
||||||
*/
|
|
||||||
Database.prototype['LastModifiedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* List of Taxnexus microservices implemented by this Database
|
|
||||||
* @member {String} Microservices
|
|
||||||
*/
|
|
||||||
Database.prototype['Microservices'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The current status of this Tenant
|
|
||||||
* @member {String} Status
|
|
||||||
*/
|
|
||||||
Database.prototype['Status'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The ID of the tenant who owns this Database
|
|
||||||
* @member {String} TenantID
|
|
||||||
*/
|
|
||||||
Database.prototype['TenantID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The type of Database (mysql, etc)
|
|
||||||
* @member {String} Type
|
|
||||||
*/
|
|
||||||
Database.prototype['Type'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default Database;
|
|
||||||
|
|
|
@ -1,90 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
import Account from './Account';
|
|
||||||
import Contact from './Contact';
|
|
||||||
import PaymentMethod from './PaymentMethod';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Developer model module.
|
|
||||||
* @module model/Developer
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class Developer {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>Developer</code>.
|
|
||||||
* @alias module:model/Developer
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
Developer.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>Developer</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/Developer} obj Optional instance to populate.
|
|
||||||
* @return {module:model/Developer} The populated <code>Developer</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new Developer();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('Account')) {
|
|
||||||
obj['Account'] = Account.constructFromObject(data['Account']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Contact')) {
|
|
||||||
obj['Contact'] = Contact.constructFromObject(data['Contact']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('PaymentMethod')) {
|
|
||||||
obj['PaymentMethod'] = PaymentMethod.constructFromObject(data['PaymentMethod']);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Account} Account
|
|
||||||
*/
|
|
||||||
Developer.prototype['Account'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Contact} Contact
|
|
||||||
*/
|
|
||||||
Developer.prototype['Contact'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/PaymentMethod} PaymentMethod
|
|
||||||
*/
|
|
||||||
Developer.prototype['PaymentMethod'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default Developer;
|
|
||||||
|
|
|
@ -1,87 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Error model module.
|
|
||||||
* @module model/Error
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class Error {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>Error</code>.
|
|
||||||
* @alias module:model/Error
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
Error.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>Error</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/Error} obj Optional instance to populate.
|
|
||||||
* @return {module:model/Error} The populated <code>Error</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new Error();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('code')) {
|
|
||||||
obj['code'] = ApiClient.convertToType(data['code'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('fields')) {
|
|
||||||
obj['fields'] = ApiClient.convertToType(data['fields'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('message')) {
|
|
||||||
obj['message'] = ApiClient.convertToType(data['message'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {Number} code
|
|
||||||
*/
|
|
||||||
Error.prototype['code'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {String} fields
|
|
||||||
*/
|
|
||||||
Error.prototype['fields'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {String} message
|
|
||||||
*/
|
|
||||||
Error.prototype['message'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default Error;
|
|
||||||
|
|
|
@ -1,117 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
import Account from './Account';
|
|
||||||
import Contact from './Contact';
|
|
||||||
import Lead from './Lead';
|
|
||||||
import PaymentMethod from './PaymentMethod';
|
|
||||||
import Tenant from './Tenant';
|
|
||||||
import User from './User';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The IQ model module.
|
|
||||||
* @module model/IQ
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class IQ {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>IQ</code>.
|
|
||||||
* @alias module:model/IQ
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
IQ.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>IQ</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/IQ} obj Optional instance to populate.
|
|
||||||
* @return {module:model/IQ} The populated <code>IQ</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new IQ();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('Account')) {
|
|
||||||
obj['Account'] = Account.constructFromObject(data['Account']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Contact')) {
|
|
||||||
obj['Contact'] = Contact.constructFromObject(data['Contact']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Lead')) {
|
|
||||||
obj['Lead'] = Lead.constructFromObject(data['Lead']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('PaymentMethod')) {
|
|
||||||
obj['PaymentMethod'] = PaymentMethod.constructFromObject(data['PaymentMethod']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Tenant')) {
|
|
||||||
obj['Tenant'] = Tenant.constructFromObject(data['Tenant']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('User')) {
|
|
||||||
obj['User'] = User.constructFromObject(data['User']);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Account} Account
|
|
||||||
*/
|
|
||||||
IQ.prototype['Account'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Contact} Contact
|
|
||||||
*/
|
|
||||||
IQ.prototype['Contact'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Lead} Lead
|
|
||||||
*/
|
|
||||||
IQ.prototype['Lead'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/PaymentMethod} PaymentMethod
|
|
||||||
*/
|
|
||||||
IQ.prototype['PaymentMethod'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Tenant} Tenant
|
|
||||||
*/
|
|
||||||
IQ.prototype['Tenant'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/User} User
|
|
||||||
*/
|
|
||||||
IQ.prototype['User'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default IQ;
|
|
||||||
|
|
|
@ -1,270 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
import Address from './Address';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Lead model module.
|
|
||||||
* @module model/Lead
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class Lead {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>Lead</code>.
|
|
||||||
* @alias module:model/Lead
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
Lead.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>Lead</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/Lead} obj Optional instance to populate.
|
|
||||||
* @return {module:model/Lead} The populated <code>Lead</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new Lead();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('Address')) {
|
|
||||||
obj['Address'] = Address.constructFromObject(data['Address']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Company')) {
|
|
||||||
obj['Company'] = ApiClient.convertToType(data['Company'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Description')) {
|
|
||||||
obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Email')) {
|
|
||||||
obj['Email'] = ApiClient.convertToType(data['Email'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('FirstName')) {
|
|
||||||
obj['FirstName'] = ApiClient.convertToType(data['FirstName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ID')) {
|
|
||||||
obj['ID'] = ApiClient.convertToType(data['ID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastName')) {
|
|
||||||
obj['LastName'] = ApiClient.convertToType(data['LastName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('MobilePhone')) {
|
|
||||||
obj['MobilePhone'] = ApiClient.convertToType(data['MobilePhone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Name')) {
|
|
||||||
obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('OwnerId')) {
|
|
||||||
obj['OwnerId'] = ApiClient.convertToType(data['OwnerId'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('PartnerAccountId')) {
|
|
||||||
obj['PartnerAccountId'] = ApiClient.convertToType(data['PartnerAccountId'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Phone')) {
|
|
||||||
obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ProductID')) {
|
|
||||||
obj['ProductID'] = ApiClient.convertToType(data['ProductID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RefererURL')) {
|
|
||||||
obj['RefererURL'] = ApiClient.convertToType(data['RefererURL'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Status')) {
|
|
||||||
obj['Status'] = ApiClient.convertToType(data['Status'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Title')) {
|
|
||||||
obj['Title'] = ApiClient.convertToType(data['Title'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Type')) {
|
|
||||||
obj['Type'] = ApiClient.convertToType(data['Type'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UTMCampaign')) {
|
|
||||||
obj['UTMCampaign'] = ApiClient.convertToType(data['UTMCampaign'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UTMContent')) {
|
|
||||||
obj['UTMContent'] = ApiClient.convertToType(data['UTMContent'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UTMMedium')) {
|
|
||||||
obj['UTMMedium'] = ApiClient.convertToType(data['UTMMedium'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UTMSource')) {
|
|
||||||
obj['UTMSource'] = ApiClient.convertToType(data['UTMSource'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UTMTerm')) {
|
|
||||||
obj['UTMTerm'] = ApiClient.convertToType(data['UTMTerm'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Website')) {
|
|
||||||
obj['Website'] = ApiClient.convertToType(data['Website'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Address} Address
|
|
||||||
*/
|
|
||||||
Lead.prototype['Address'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Company
|
|
||||||
* @member {String} Company
|
|
||||||
*/
|
|
||||||
Lead.prototype['Company'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Description
|
|
||||||
* @member {String} Description
|
|
||||||
*/
|
|
||||||
Lead.prototype['Description'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email
|
|
||||||
* @member {String} Email
|
|
||||||
*/
|
|
||||||
Lead.prototype['Email'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* First Name
|
|
||||||
* @member {String} FirstName
|
|
||||||
*/
|
|
||||||
Lead.prototype['FirstName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus Record Id
|
|
||||||
* @member {String} ID
|
|
||||||
*/
|
|
||||||
Lead.prototype['ID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Name
|
|
||||||
* @member {String} LastName
|
|
||||||
*/
|
|
||||||
Lead.prototype['LastName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Mobile
|
|
||||||
* @member {String} MobilePhone
|
|
||||||
*/
|
|
||||||
Lead.prototype['MobilePhone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Name
|
|
||||||
* @member {String} Name
|
|
||||||
*/
|
|
||||||
Lead.prototype['Name'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* LeadBasic Owner
|
|
||||||
* @member {String} OwnerId
|
|
||||||
*/
|
|
||||||
Lead.prototype['OwnerId'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Partner Account
|
|
||||||
* @member {String} PartnerAccountId
|
|
||||||
*/
|
|
||||||
Lead.prototype['PartnerAccountId'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Phone
|
|
||||||
* @member {String} Phone
|
|
||||||
*/
|
|
||||||
Lead.prototype['Phone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Product
|
|
||||||
* @member {String} ProductID
|
|
||||||
*/
|
|
||||||
Lead.prototype['ProductID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* referer_url
|
|
||||||
* @member {String} RefererURL
|
|
||||||
*/
|
|
||||||
Lead.prototype['RefererURL'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* LeadBasic Status
|
|
||||||
* @member {String} Status
|
|
||||||
*/
|
|
||||||
Lead.prototype['Status'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Title
|
|
||||||
* @member {String} Title
|
|
||||||
*/
|
|
||||||
Lead.prototype['Title'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Type
|
|
||||||
* @member {String} Type
|
|
||||||
*/
|
|
||||||
Lead.prototype['Type'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* utm_campaign
|
|
||||||
* @member {String} UTMCampaign
|
|
||||||
*/
|
|
||||||
Lead.prototype['UTMCampaign'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* utm_content
|
|
||||||
* @member {String} UTMContent
|
|
||||||
*/
|
|
||||||
Lead.prototype['UTMContent'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* utm_medium
|
|
||||||
* @member {String} UTMMedium
|
|
||||||
*/
|
|
||||||
Lead.prototype['UTMMedium'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* utm_source
|
|
||||||
* @member {String} UTMSource
|
|
||||||
*/
|
|
||||||
Lead.prototype['UTMSource'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* utm_term
|
|
||||||
* @member {String} UTMTerm
|
|
||||||
*/
|
|
||||||
Lead.prototype['UTMTerm'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Website
|
|
||||||
* @member {String} Website
|
|
||||||
*/
|
|
||||||
Lead.prototype['Website'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default Lead;
|
|
||||||
|
|
|
@ -1,298 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The PaymentMethod model module.
|
|
||||||
* @module model/PaymentMethod
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class PaymentMethod {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>PaymentMethod</code>.
|
|
||||||
* Describes the EFT or other payment information for an account and billing contact
|
|
||||||
* @alias module:model/PaymentMethod
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
PaymentMethod.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>PaymentMethod</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/PaymentMethod} obj Optional instance to populate.
|
|
||||||
* @return {module:model/PaymentMethod} The populated <code>PaymentMethod</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new PaymentMethod();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('AccountID')) {
|
|
||||||
obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AchAccountType')) {
|
|
||||||
obj['AchAccountType'] = ApiClient.convertToType(data['AchAccountType'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AchBankAccount')) {
|
|
||||||
obj['AchBankAccount'] = ApiClient.convertToType(data['AchBankAccount'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AchRouting')) {
|
|
||||||
obj['AchRouting'] = ApiClient.convertToType(data['AchRouting'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Active')) {
|
|
||||||
obj['Active'] = ApiClient.convertToType(data['Active'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Autopay')) {
|
|
||||||
obj['Autopay'] = ApiClient.convertToType(data['Autopay'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('BankName')) {
|
|
||||||
obj['BankName'] = ApiClient.convertToType(data['BankName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('BillingContactID')) {
|
|
||||||
obj['BillingContactID'] = ApiClient.convertToType(data['BillingContactID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CCnumber')) {
|
|
||||||
obj['CCnumber'] = ApiClient.convertToType(data['CCnumber'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CCtype')) {
|
|
||||||
obj['CCtype'] = ApiClient.convertToType(data['CCtype'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CompanyID')) {
|
|
||||||
obj['CompanyID'] = ApiClient.convertToType(data['CompanyID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ContractID')) {
|
|
||||||
obj['ContractID'] = ApiClient.convertToType(data['ContractID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedByID')) {
|
|
||||||
obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedDate')) {
|
|
||||||
obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Default')) {
|
|
||||||
obj['Default'] = ApiClient.convertToType(data['Default'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ExpirationDate')) {
|
|
||||||
obj['ExpirationDate'] = ApiClient.convertToType(data['ExpirationDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ExpirationMonth')) {
|
|
||||||
obj['ExpirationMonth'] = ApiClient.convertToType(data['ExpirationMonth'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ExpirationYear')) {
|
|
||||||
obj['ExpirationYear'] = ApiClient.convertToType(data['ExpirationYear'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Gateway')) {
|
|
||||||
obj['Gateway'] = ApiClient.convertToType(data['Gateway'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('GatewayKey')) {
|
|
||||||
obj['GatewayKey'] = ApiClient.convertToType(data['GatewayKey'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ID')) {
|
|
||||||
obj['ID'] = ApiClient.convertToType(data['ID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedByID')) {
|
|
||||||
obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedDate')) {
|
|
||||||
obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Nickname')) {
|
|
||||||
obj['Nickname'] = ApiClient.convertToType(data['Nickname'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RecordType')) {
|
|
||||||
obj['RecordType'] = ApiClient.convertToType(data['RecordType'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Ref')) {
|
|
||||||
obj['Ref'] = ApiClient.convertToType(data['Ref'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account
|
|
||||||
* @member {String} AccountID
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['AccountID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ACH Account Type
|
|
||||||
* @member {String} AchAccountType
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['AchAccountType'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ACH Bank Account
|
|
||||||
* @member {String} AchBankAccount
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['AchBankAccount'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ACH Routing
|
|
||||||
* @member {String} AchRouting
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['AchRouting'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Active?
|
|
||||||
* @member {Boolean} Active
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['Active'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Autopay?
|
|
||||||
* @member {Boolean} Autopay
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['Autopay'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Bank Name
|
|
||||||
* @member {String} BankName
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['BankName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Billing Contact
|
|
||||||
* @member {String} BillingContactID
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['BillingContactID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Credit Card Number
|
|
||||||
* @member {String} CCnumber
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['CCnumber'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* CC Type
|
|
||||||
* @member {String} CCtype
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['CCtype'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Company
|
|
||||||
* @member {String} CompanyID
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['CompanyID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contract
|
|
||||||
* @member {String} ContractID
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['ContractID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created By
|
|
||||||
* @member {String} CreatedByID
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['CreatedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created Date
|
|
||||||
* @member {String} CreatedDate
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['CreatedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Default Payment Method?
|
|
||||||
* @member {Boolean} Default
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['Default'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Expiration Date
|
|
||||||
* @member {String} ExpirationDate
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['ExpirationDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Expiration Month
|
|
||||||
* @member {String} ExpirationMonth
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['ExpirationMonth'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Expiration Year
|
|
||||||
* @member {String} ExpirationYear
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['ExpirationYear'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gateway
|
|
||||||
* @member {String} Gateway
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['Gateway'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gateway Key
|
|
||||||
* @member {String} GatewayKey
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['GatewayKey'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus Record Id
|
|
||||||
* @member {String} ID
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['ID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modified By
|
|
||||||
* @member {String} LastModifiedByID
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['LastModifiedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modified Date
|
|
||||||
* @member {String} LastModifiedDate
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['LastModifiedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Nickname
|
|
||||||
* @member {String} Nickname
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['Nickname'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Record Type
|
|
||||||
* @member {String} RecordType
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['RecordType'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* External Reference
|
|
||||||
* @member {String} Ref
|
|
||||||
*/
|
|
||||||
PaymentMethod.prototype['Ref'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default PaymentMethod;
|
|
||||||
|
|
|
@ -1,145 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Role model module.
|
|
||||||
* @module model/Role
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class Role {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>Role</code>.
|
|
||||||
* A functional role within a Tenant
|
|
||||||
* @alias module:model/Role
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
Role.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>Role</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/Role} obj Optional instance to populate.
|
|
||||||
* @return {module:model/Role} The populated <code>Role</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new Role();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('Auth0RoleID')) {
|
|
||||||
obj['Auth0RoleID'] = ApiClient.convertToType(data['Auth0RoleID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedByID')) {
|
|
||||||
obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedDate')) {
|
|
||||||
obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Description')) {
|
|
||||||
obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ID')) {
|
|
||||||
obj['ID'] = ApiClient.convertToType(data['ID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedByID')) {
|
|
||||||
obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedDate')) {
|
|
||||||
obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RoleName')) {
|
|
||||||
obj['RoleName'] = ApiClient.convertToType(data['RoleName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantID')) {
|
|
||||||
obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The corresponding Auth0 Role
|
|
||||||
* @member {String} Auth0RoleID
|
|
||||||
*/
|
|
||||||
Role.prototype['Auth0RoleID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created By
|
|
||||||
* @member {String} CreatedByID
|
|
||||||
*/
|
|
||||||
Role.prototype['CreatedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created Date
|
|
||||||
* @member {String} CreatedDate
|
|
||||||
*/
|
|
||||||
Role.prototype['CreatedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Role Description
|
|
||||||
* @member {String} Description
|
|
||||||
*/
|
|
||||||
Role.prototype['Description'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Record Id
|
|
||||||
* @member {String} ID
|
|
||||||
*/
|
|
||||||
Role.prototype['ID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modified By
|
|
||||||
* @member {String} LastModifiedByID
|
|
||||||
*/
|
|
||||||
Role.prototype['LastModifiedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modifed Date
|
|
||||||
* @member {String} LastModifiedDate
|
|
||||||
*/
|
|
||||||
Role.prototype['LastModifiedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The name of this role
|
|
||||||
* @member {String} RoleName
|
|
||||||
*/
|
|
||||||
Role.prototype['RoleName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The ID of the Tenant that owns this Role
|
|
||||||
* @member {String} TenantID
|
|
||||||
*/
|
|
||||||
Role.prototype['TenantID'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default Role;
|
|
||||||
|
|
|
@ -1,99 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The RuleExecution model module.
|
|
||||||
* @module model/RuleExecution
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class RuleExecution {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>RuleExecution</code>.
|
|
||||||
* @alias module:model/RuleExecution
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
RuleExecution.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>RuleExecution</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/RuleExecution} obj Optional instance to populate.
|
|
||||||
* @return {module:model/RuleExecution} The populated <code>RuleExecution</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new RuleExecution();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('SagaID')) {
|
|
||||||
obj['SagaID'] = ApiClient.convertToType(data['SagaID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('SagaType')) {
|
|
||||||
obj['SagaType'] = ApiClient.convertToType(data['SagaType'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RuleID')) {
|
|
||||||
obj['RuleID'] = ApiClient.convertToType(data['RuleID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RunID')) {
|
|
||||||
obj['RunID'] = ApiClient.convertToType(data['RunID'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Taxnexus SagaID for this rule execution
|
|
||||||
* @member {String} SagaID
|
|
||||||
*/
|
|
||||||
RuleExecution.prototype['SagaID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Taxnexus SagaType for this rule execution
|
|
||||||
* @member {String} SagaType
|
|
||||||
*/
|
|
||||||
RuleExecution.prototype['SagaType'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Temporal Workflow ID
|
|
||||||
* @member {String} RuleID
|
|
||||||
*/
|
|
||||||
RuleExecution.prototype['RuleID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Temporal First Started Workflow Run ID
|
|
||||||
* @member {String} RunID
|
|
||||||
*/
|
|
||||||
RuleExecution.prototype['RunID'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default RuleExecution;
|
|
||||||
|
|
|
@ -1,190 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
import Database from './Database';
|
|
||||||
import Role from './Role';
|
|
||||||
import TenantUser from './TenantUser';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Tenant model module.
|
|
||||||
* @module model/Tenant
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class Tenant {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>Tenant</code>.
|
|
||||||
* Taxnexus Account Tenant
|
|
||||||
* @alias module:model/Tenant
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
Tenant.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>Tenant</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/Tenant} obj Optional instance to populate.
|
|
||||||
* @return {module:model/Tenant} The populated <code>Tenant</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new Tenant();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('AccountID')) {
|
|
||||||
obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Active')) {
|
|
||||||
obj['Active'] = ApiClient.convertToType(data['Active'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedByID')) {
|
|
||||||
obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedDate')) {
|
|
||||||
obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Databases')) {
|
|
||||||
obj['Databases'] = ApiClient.convertToType(data['Databases'], [Database]);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ID')) {
|
|
||||||
obj['ID'] = ApiClient.convertToType(data['ID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedByID')) {
|
|
||||||
obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedDate')) {
|
|
||||||
obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Roles')) {
|
|
||||||
obj['Roles'] = ApiClient.convertToType(data['Roles'], [Role]);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Status')) {
|
|
||||||
obj['Status'] = ApiClient.convertToType(data['Status'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantName')) {
|
|
||||||
obj['TenantName'] = ApiClient.convertToType(data['TenantName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantUsers')) {
|
|
||||||
obj['TenantUsers'] = ApiClient.convertToType(data['TenantUsers'], [TenantUser]);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Type')) {
|
|
||||||
obj['Type'] = ApiClient.convertToType(data['Type'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Version')) {
|
|
||||||
obj['Version'] = ApiClient.convertToType(data['Version'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Account that owns this Tenant
|
|
||||||
* @member {String} AccountID
|
|
||||||
*/
|
|
||||||
Tenant.prototype['AccountID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Is this Tenant currently active?
|
|
||||||
* @member {Boolean} Active
|
|
||||||
*/
|
|
||||||
Tenant.prototype['Active'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created By
|
|
||||||
* @member {String} CreatedByID
|
|
||||||
*/
|
|
||||||
Tenant.prototype['CreatedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created Date
|
|
||||||
* @member {String} CreatedDate
|
|
||||||
*/
|
|
||||||
Tenant.prototype['CreatedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {Array.<module:model/Database>} Databases
|
|
||||||
*/
|
|
||||||
Tenant.prototype['Databases'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Record Id
|
|
||||||
* @member {String} ID
|
|
||||||
*/
|
|
||||||
Tenant.prototype['ID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modified By
|
|
||||||
* @member {String} LastModifiedByID
|
|
||||||
*/
|
|
||||||
Tenant.prototype['LastModifiedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modifed Date
|
|
||||||
* @member {String} LastModifiedDate
|
|
||||||
*/
|
|
||||||
Tenant.prototype['LastModifiedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {Array.<module:model/Role>} Roles
|
|
||||||
*/
|
|
||||||
Tenant.prototype['Roles'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The current status of this Tenant
|
|
||||||
* @member {String} Status
|
|
||||||
*/
|
|
||||||
Tenant.prototype['Status'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Name of the Tenant Resource
|
|
||||||
* @member {String} TenantName
|
|
||||||
*/
|
|
||||||
Tenant.prototype['TenantName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {Array.<module:model/TenantUser>} TenantUsers
|
|
||||||
*/
|
|
||||||
Tenant.prototype['TenantUsers'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The type of Tenant
|
|
||||||
* @member {String} Type
|
|
||||||
*/
|
|
||||||
Tenant.prototype['Type'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The version number of the Tenant Onboarding system used to create this tenant
|
|
||||||
* @member {String} Version
|
|
||||||
*/
|
|
||||||
Tenant.prototype['Version'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default Tenant;
|
|
||||||
|
|
|
@ -1,208 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The TenantUser model module.
|
|
||||||
* @module model/TenantUser
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class TenantUser {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>TenantUser</code>.
|
|
||||||
* Relationship object that connects users to a tenant
|
|
||||||
* @alias module:model/TenantUser
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
TenantUser.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>TenantUser</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/TenantUser} obj Optional instance to populate.
|
|
||||||
* @return {module:model/TenantUser} The populated <code>TenantUser</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new TenantUser();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('AccessLevel')) {
|
|
||||||
obj['AccessLevel'] = ApiClient.convertToType(data['AccessLevel'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AccountID')) {
|
|
||||||
obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Auth0UserID')) {
|
|
||||||
obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CompanyName')) {
|
|
||||||
obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ContactID')) {
|
|
||||||
obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TaxnexusAccount')) {
|
|
||||||
obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantActive')) {
|
|
||||||
obj['TenantActive'] = ApiClient.convertToType(data['TenantActive'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantID')) {
|
|
||||||
obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantName')) {
|
|
||||||
obj['TenantName'] = ApiClient.convertToType(data['TenantName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantStatus')) {
|
|
||||||
obj['TenantStatus'] = ApiClient.convertToType(data['TenantStatus'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantType')) {
|
|
||||||
obj['TenantType'] = ApiClient.convertToType(data['TenantType'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantVersion')) {
|
|
||||||
obj['TenantVersion'] = ApiClient.convertToType(data['TenantVersion'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserEmail')) {
|
|
||||||
obj['UserEmail'] = ApiClient.convertToType(data['UserEmail'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserFullName')) {
|
|
||||||
obj['UserFullName'] = ApiClient.convertToType(data['UserFullName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserID')) {
|
|
||||||
obj['UserID'] = ApiClient.convertToType(data['UserID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Username')) {
|
|
||||||
obj['Username'] = ApiClient.convertToType(data['Username'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The makeTenantUser access level for this User
|
|
||||||
* @member {String} AccessLevel
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['AccessLevel'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account ID
|
|
||||||
* @member {String} AccountID
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['AccountID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Auth0 User ID
|
|
||||||
* @member {String} Auth0UserID
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['Auth0UserID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account Name
|
|
||||||
* @member {String} CompanyName
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['CompanyName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contact ID
|
|
||||||
* @member {String} ContactID
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['ContactID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus Account
|
|
||||||
* @member {String} TaxnexusAccount
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TaxnexusAccount'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tenant active?
|
|
||||||
* @member {Boolean} TenantActive
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TenantActive'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Tenant ID
|
|
||||||
* @member {String} TenantID
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TenantID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tenant Name
|
|
||||||
* @member {String} TenantName
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TenantName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tenant Status
|
|
||||||
* @member {String} TenantStatus
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TenantStatus'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tenant type
|
|
||||||
* @member {String} TenantType
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TenantType'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tenant Version
|
|
||||||
* @member {String} TenantVersion
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['TenantVersion'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* User Email Address
|
|
||||||
* @member {String} UserEmail
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['UserEmail'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* User Full Name
|
|
||||||
* @member {String} UserFullName
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['UserFullName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The User ID
|
|
||||||
* @member {String} UserID
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['UserID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Username
|
|
||||||
* @member {String} Username
|
|
||||||
*/
|
|
||||||
TenantUser.prototype['Username'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default TenantUser;
|
|
||||||
|
|
|
@ -1,584 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
import Address from './Address';
|
|
||||||
import TenantUser from './TenantUser';
|
|
||||||
import UserRole from './UserRole';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The User model module.
|
|
||||||
* @module model/User
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class User {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>User</code>.
|
|
||||||
* @alias module:model/User
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
User.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>User</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/User} obj Optional instance to populate.
|
|
||||||
* @return {module:model/User} The populated <code>User</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new User();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('APIKey')) {
|
|
||||||
obj['APIKey'] = ApiClient.convertToType(data['APIKey'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AboutMe')) {
|
|
||||||
obj['AboutMe'] = ApiClient.convertToType(data['AboutMe'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AccountID')) {
|
|
||||||
obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Address')) {
|
|
||||||
obj['Address'] = Address.constructFromObject(data['Address']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Alias')) {
|
|
||||||
obj['Alias'] = ApiClient.convertToType(data['Alias'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Auth0UserID')) {
|
|
||||||
obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CommunityNickname')) {
|
|
||||||
obj['CommunityNickname'] = ApiClient.convertToType(data['CommunityNickname'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CompanyName')) {
|
|
||||||
obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ContactID')) {
|
|
||||||
obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedByID')) {
|
|
||||||
obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CreatedDate')) {
|
|
||||||
obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('DelegatedApproverID')) {
|
|
||||||
obj['DelegatedApproverID'] = ApiClient.convertToType(data['DelegatedApproverID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Department')) {
|
|
||||||
obj['Department'] = ApiClient.convertToType(data['Department'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Division')) {
|
|
||||||
obj['Division'] = ApiClient.convertToType(data['Division'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Email')) {
|
|
||||||
obj['Email'] = ApiClient.convertToType(data['Email'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('EmployeeNumber')) {
|
|
||||||
obj['EmployeeNumber'] = ApiClient.convertToType(data['EmployeeNumber'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('EndOfDay')) {
|
|
||||||
obj['EndOfDay'] = ApiClient.convertToType(data['EndOfDay'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Environment')) {
|
|
||||||
obj['Environment'] = ApiClient.convertToType(data['Environment'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Extension')) {
|
|
||||||
obj['Extension'] = ApiClient.convertToType(data['Extension'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('FabricAPIKey')) {
|
|
||||||
obj['FabricAPIKey'] = ApiClient.convertToType(data['FabricAPIKey'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Fax')) {
|
|
||||||
obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('FirstName')) {
|
|
||||||
obj['FirstName'] = ApiClient.convertToType(data['FirstName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ForecastEnabled')) {
|
|
||||||
obj['ForecastEnabled'] = ApiClient.convertToType(data['ForecastEnabled'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('FullPhotoURL')) {
|
|
||||||
obj['FullPhotoURL'] = ApiClient.convertToType(data['FullPhotoURL'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ID')) {
|
|
||||||
obj['ID'] = ApiClient.convertToType(data['ID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('IsActive')) {
|
|
||||||
obj['IsActive'] = ApiClient.convertToType(data['IsActive'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('IsPortalEnabled')) {
|
|
||||||
obj['IsPortalEnabled'] = ApiClient.convertToType(data['IsPortalEnabled'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('IsProphilePhotoActive')) {
|
|
||||||
obj['IsProphilePhotoActive'] = ApiClient.convertToType(data['IsProphilePhotoActive'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('IsSystemControlled')) {
|
|
||||||
obj['IsSystemControlled'] = ApiClient.convertToType(data['IsSystemControlled'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastIP')) {
|
|
||||||
obj['LastIP'] = ApiClient.convertToType(data['LastIP'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastLogin')) {
|
|
||||||
obj['LastLogin'] = ApiClient.convertToType(data['LastLogin'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedByID')) {
|
|
||||||
obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastModifiedDate')) {
|
|
||||||
obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LastName')) {
|
|
||||||
obj['LastName'] = ApiClient.convertToType(data['LastName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('LoginCount')) {
|
|
||||||
obj['LoginCount'] = ApiClient.convertToType(data['LoginCount'], 'Number');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ManagerID')) {
|
|
||||||
obj['ManagerID'] = ApiClient.convertToType(data['ManagerID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('MobilePhone')) {
|
|
||||||
obj['MobilePhone'] = ApiClient.convertToType(data['MobilePhone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Name')) {
|
|
||||||
obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('OutOfOfficeMessage')) {
|
|
||||||
obj['OutOfOfficeMessage'] = ApiClient.convertToType(data['OutOfOfficeMessage'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Phone')) {
|
|
||||||
obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('PortalRole')) {
|
|
||||||
obj['PortalRole'] = ApiClient.convertToType(data['PortalRole'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ProfileID')) {
|
|
||||||
obj['ProfileID'] = ApiClient.convertToType(data['ProfileID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ReceivesAdminEmails')) {
|
|
||||||
obj['ReceivesAdminEmails'] = ApiClient.convertToType(data['ReceivesAdminEmails'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ReceivesAdminInfoEmails')) {
|
|
||||||
obj['ReceivesAdminInfoEmails'] = ApiClient.convertToType(data['ReceivesAdminInfoEmails'], 'Boolean');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('SenderEmail')) {
|
|
||||||
obj['SenderEmail'] = ApiClient.convertToType(data['SenderEmail'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('SenderName')) {
|
|
||||||
obj['SenderName'] = ApiClient.convertToType(data['SenderName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Signature')) {
|
|
||||||
obj['Signature'] = ApiClient.convertToType(data['Signature'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('SmallPhotoURL')) {
|
|
||||||
obj['SmallPhotoURL'] = ApiClient.convertToType(data['SmallPhotoURL'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('StartOfDay')) {
|
|
||||||
obj['StartOfDay'] = ApiClient.convertToType(data['StartOfDay'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TaxnexusAccount')) {
|
|
||||||
obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantID')) {
|
|
||||||
obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TenantUsers')) {
|
|
||||||
obj['TenantUsers'] = ApiClient.convertToType(data['TenantUsers'], [TenantUser]);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TimeZone')) {
|
|
||||||
obj['TimeZone'] = ApiClient.convertToType(data['TimeZone'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Title')) {
|
|
||||||
obj['Title'] = ApiClient.convertToType(data['Title'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserRoleID')) {
|
|
||||||
obj['UserRoleID'] = ApiClient.convertToType(data['UserRoleID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserRoles')) {
|
|
||||||
obj['UserRoles'] = ApiClient.convertToType(data['UserRoles'], [UserRole]);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserType')) {
|
|
||||||
obj['UserType'] = ApiClient.convertToType(data['UserType'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Username')) {
|
|
||||||
obj['Username'] = ApiClient.convertToType(data['Username'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* API Key
|
|
||||||
* @member {String} APIKey
|
|
||||||
*/
|
|
||||||
User.prototype['APIKey'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* About Me
|
|
||||||
* @member {String} AboutMe
|
|
||||||
*/
|
|
||||||
User.prototype['AboutMe'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account ID
|
|
||||||
* @member {String} AccountID
|
|
||||||
*/
|
|
||||||
User.prototype['AccountID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {module:model/Address} Address
|
|
||||||
*/
|
|
||||||
User.prototype['Address'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Alias
|
|
||||||
* @member {String} Alias
|
|
||||||
*/
|
|
||||||
User.prototype['Alias'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Auth0 User Id
|
|
||||||
* @member {String} Auth0UserID
|
|
||||||
*/
|
|
||||||
User.prototype['Auth0UserID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Nickname
|
|
||||||
* @member {String} CommunityNickname
|
|
||||||
*/
|
|
||||||
User.prototype['CommunityNickname'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Company Name
|
|
||||||
* @member {String} CompanyName
|
|
||||||
*/
|
|
||||||
User.prototype['CompanyName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contact
|
|
||||||
* @member {String} ContactID
|
|
||||||
*/
|
|
||||||
User.prototype['ContactID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created User ID
|
|
||||||
* @member {String} CreatedByID
|
|
||||||
*/
|
|
||||||
User.prototype['CreatedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Date Created
|
|
||||||
* @member {String} CreatedDate
|
|
||||||
*/
|
|
||||||
User.prototype['CreatedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Delegated Approver
|
|
||||||
* @member {String} DelegatedApproverID
|
|
||||||
*/
|
|
||||||
User.prototype['DelegatedApproverID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Department
|
|
||||||
* @member {String} Department
|
|
||||||
*/
|
|
||||||
User.prototype['Department'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Division
|
|
||||||
* @member {String} Division
|
|
||||||
*/
|
|
||||||
User.prototype['Division'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email address
|
|
||||||
* @member {String} Email
|
|
||||||
*/
|
|
||||||
User.prototype['Email'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Employee Number
|
|
||||||
* @member {String} EmployeeNumber
|
|
||||||
*/
|
|
||||||
User.prototype['EmployeeNumber'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Time day ends
|
|
||||||
* @member {String} EndOfDay
|
|
||||||
*/
|
|
||||||
User.prototype['EndOfDay'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Environment
|
|
||||||
* @member {String} Environment
|
|
||||||
*/
|
|
||||||
User.prototype['Environment'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Extension
|
|
||||||
* @member {String} Extension
|
|
||||||
*/
|
|
||||||
User.prototype['Extension'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Fabric API Key
|
|
||||||
* @member {String} FabricAPIKey
|
|
||||||
*/
|
|
||||||
User.prototype['FabricAPIKey'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Fax
|
|
||||||
* @member {String} Fax
|
|
||||||
*/
|
|
||||||
User.prototype['Fax'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The first name
|
|
||||||
* @member {String} FirstName
|
|
||||||
*/
|
|
||||||
User.prototype['FirstName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Allow Forecasting
|
|
||||||
* @member {Boolean} ForecastEnabled
|
|
||||||
*/
|
|
||||||
User.prototype['ForecastEnabled'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Full Photo URL
|
|
||||||
* @member {String} FullPhotoURL
|
|
||||||
*/
|
|
||||||
User.prototype['FullPhotoURL'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus ID
|
|
||||||
* @member {String} ID
|
|
||||||
*/
|
|
||||||
User.prototype['ID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Active
|
|
||||||
* @member {Boolean} IsActive
|
|
||||||
*/
|
|
||||||
User.prototype['IsActive'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Is the user enabled for Communities?
|
|
||||||
* @member {Boolean} IsPortalEnabled
|
|
||||||
*/
|
|
||||||
User.prototype['IsPortalEnabled'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Has Profile Photo
|
|
||||||
* @member {Boolean} IsProphilePhotoActive
|
|
||||||
*/
|
|
||||||
User.prototype['IsProphilePhotoActive'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {Boolean} IsSystemControlled
|
|
||||||
*/
|
|
||||||
User.prototype['IsSystemControlled'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* IP address of last login
|
|
||||||
* @member {String} LastIP
|
|
||||||
*/
|
|
||||||
User.prototype['LastIP'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last login time
|
|
||||||
* @member {String} LastLogin
|
|
||||||
*/
|
|
||||||
User.prototype['LastLogin'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modified User ID
|
|
||||||
* @member {String} LastModifiedByID
|
|
||||||
*/
|
|
||||||
User.prototype['LastModifiedByID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last Modified Date
|
|
||||||
* @member {String} LastModifiedDate
|
|
||||||
*/
|
|
||||||
User.prototype['LastModifiedDate'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Last Name
|
|
||||||
* @member {String} LastName
|
|
||||||
*/
|
|
||||||
User.prototype['LastName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Number of times user has logged in
|
|
||||||
* @member {Number} LoginCount
|
|
||||||
*/
|
|
||||||
User.prototype['LoginCount'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Manager
|
|
||||||
* @member {String} ManagerID
|
|
||||||
*/
|
|
||||||
User.prototype['ManagerID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Mobile
|
|
||||||
* @member {String} MobilePhone
|
|
||||||
*/
|
|
||||||
User.prototype['MobilePhone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Name
|
|
||||||
* @member {String} Name
|
|
||||||
*/
|
|
||||||
User.prototype['Name'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Out of office message
|
|
||||||
* @member {String} OutOfOfficeMessage
|
|
||||||
*/
|
|
||||||
User.prototype['OutOfOfficeMessage'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Phone
|
|
||||||
* @member {String} Phone
|
|
||||||
*/
|
|
||||||
User.prototype['Phone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Portal Role Level
|
|
||||||
* @member {String} PortalRole
|
|
||||||
*/
|
|
||||||
User.prototype['PortalRole'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Profile
|
|
||||||
* @member {String} ProfileID
|
|
||||||
*/
|
|
||||||
User.prototype['ProfileID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Info Emails
|
|
||||||
* @member {Boolean} ReceivesAdminEmails
|
|
||||||
*/
|
|
||||||
User.prototype['ReceivesAdminEmails'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Admin Info Emails
|
|
||||||
* @member {Boolean} ReceivesAdminInfoEmails
|
|
||||||
*/
|
|
||||||
User.prototype['ReceivesAdminInfoEmails'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email Sender Address
|
|
||||||
* @member {String} SenderEmail
|
|
||||||
*/
|
|
||||||
User.prototype['SenderEmail'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email Sender Name
|
|
||||||
* @member {String} SenderName
|
|
||||||
*/
|
|
||||||
User.prototype['SenderName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email Signature
|
|
||||||
* @member {String} Signature
|
|
||||||
*/
|
|
||||||
User.prototype['Signature'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Small Photo URL
|
|
||||||
* @member {String} SmallPhotoURL
|
|
||||||
*/
|
|
||||||
User.prototype['SmallPhotoURL'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The time day starts
|
|
||||||
* @member {String} StartOfDay
|
|
||||||
*/
|
|
||||||
User.prototype['StartOfDay'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus Account
|
|
||||||
* @member {String} TaxnexusAccount
|
|
||||||
*/
|
|
||||||
User.prototype['TaxnexusAccount'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tenant ID
|
|
||||||
* @member {String} TenantID
|
|
||||||
*/
|
|
||||||
User.prototype['TenantID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {Array.<module:model/TenantUser>} TenantUsers
|
|
||||||
*/
|
|
||||||
User.prototype['TenantUsers'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Time Zone
|
|
||||||
* @member {String} TimeZone
|
|
||||||
*/
|
|
||||||
User.prototype['TimeZone'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Title
|
|
||||||
* @member {String} Title
|
|
||||||
*/
|
|
||||||
User.prototype['Title'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Role
|
|
||||||
* @member {String} UserRoleID
|
|
||||||
*/
|
|
||||||
User.prototype['UserRoleID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @member {Array.<module:model/UserRole>} UserRoles
|
|
||||||
*/
|
|
||||||
User.prototype['UserRoles'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* User Type
|
|
||||||
* @member {String} UserType
|
|
||||||
*/
|
|
||||||
User.prototype['UserType'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Username
|
|
||||||
* @member {String} Username
|
|
||||||
*/
|
|
||||||
User.prototype['Username'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default User;
|
|
||||||
|
|
|
@ -1,126 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The UserAuth model module.
|
|
||||||
* @module model/UserAuth
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class UserAuth {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>UserAuth</code>.
|
|
||||||
* @alias module:model/UserAuth
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
UserAuth.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>UserAuth</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/UserAuth} obj Optional instance to populate.
|
|
||||||
* @return {module:model/UserAuth} The populated <code>UserAuth</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new UserAuth();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('APIKey')) {
|
|
||||||
obj['APIKey'] = ApiClient.convertToType(data['APIKey'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('AccountID')) {
|
|
||||||
obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ContactID')) {
|
|
||||||
obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Email')) {
|
|
||||||
obj['Email'] = ApiClient.convertToType(data['Email'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Roles')) {
|
|
||||||
obj['Roles'] = ApiClient.convertToType(data['Roles'], ['String']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Tenants')) {
|
|
||||||
obj['Tenants'] = ApiClient.convertToType(data['Tenants'], ['String']);
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserID')) {
|
|
||||||
obj['UserID'] = ApiClient.convertToType(data['UserID'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* API Key
|
|
||||||
* @member {String} APIKey
|
|
||||||
*/
|
|
||||||
UserAuth.prototype['APIKey'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account ID
|
|
||||||
* @member {String} AccountID
|
|
||||||
*/
|
|
||||||
UserAuth.prototype['AccountID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contact
|
|
||||||
* @member {String} ContactID
|
|
||||||
*/
|
|
||||||
UserAuth.prototype['ContactID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Email address
|
|
||||||
* @member {String} Email
|
|
||||||
*/
|
|
||||||
UserAuth.prototype['Email'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Valid Roles for all tenants
|
|
||||||
* @member {Array.<String>} Roles
|
|
||||||
*/
|
|
||||||
UserAuth.prototype['Roles'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Valid Tenants
|
|
||||||
* @member {Array.<String>} Tenants
|
|
||||||
*/
|
|
||||||
UserAuth.prototype['Tenants'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxneuxs User ID
|
|
||||||
* @member {String} UserID
|
|
||||||
*/
|
|
||||||
UserAuth.prototype['UserID'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default UserAuth;
|
|
||||||
|
|
|
@ -1,181 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
import ApiClient from '../ApiClient';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The UserRole model module.
|
|
||||||
* @module model/UserRole
|
|
||||||
* @version 0.0.2
|
|
||||||
*/
|
|
||||||
class UserRole {
|
|
||||||
/**
|
|
||||||
* Constructs a new <code>UserRole</code>.
|
|
||||||
* Relationship object to connect a user to a role
|
|
||||||
* @alias module:model/UserRole
|
|
||||||
*/
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
UserRole.initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Initializes the fields of this object.
|
|
||||||
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
||||||
* Only for internal use.
|
|
||||||
*/
|
|
||||||
static initialize(obj) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs a <code>UserRole</code> from a plain JavaScript object, optionally creating a new instance.
|
|
||||||
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
||||||
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
||||||
* @param {module:model/UserRole} obj Optional instance to populate.
|
|
||||||
* @return {module:model/UserRole} The populated <code>UserRole</code> instance.
|
|
||||||
*/
|
|
||||||
static constructFromObject(data, obj) {
|
|
||||||
if (data) {
|
|
||||||
obj = obj || new UserRole();
|
|
||||||
|
|
||||||
if (data.hasOwnProperty('AccountID')) {
|
|
||||||
obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Auth0RoleID')) {
|
|
||||||
obj['Auth0RoleID'] = ApiClient.convertToType(data['Auth0RoleID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Auth0UserID')) {
|
|
||||||
obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('CompanyName')) {
|
|
||||||
obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('ContactID')) {
|
|
||||||
obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RoleDescription')) {
|
|
||||||
obj['RoleDescription'] = ApiClient.convertToType(data['RoleDescription'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RoleID')) {
|
|
||||||
obj['RoleID'] = ApiClient.convertToType(data['RoleID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('RoleName')) {
|
|
||||||
obj['RoleName'] = ApiClient.convertToType(data['RoleName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('TaxnexusAccount')) {
|
|
||||||
obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserEmail')) {
|
|
||||||
obj['UserEmail'] = ApiClient.convertToType(data['UserEmail'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserFullName')) {
|
|
||||||
obj['UserFullName'] = ApiClient.convertToType(data['UserFullName'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('UserID')) {
|
|
||||||
obj['UserID'] = ApiClient.convertToType(data['UserID'], 'String');
|
|
||||||
}
|
|
||||||
if (data.hasOwnProperty('Username')) {
|
|
||||||
obj['Username'] = ApiClient.convertToType(data['Username'], 'String');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Account Id
|
|
||||||
* @member {String} AccountID
|
|
||||||
*/
|
|
||||||
UserRole.prototype['AccountID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Linked role ID
|
|
||||||
* @member {String} Auth0RoleID
|
|
||||||
*/
|
|
||||||
UserRole.prototype['Auth0RoleID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Auth0 User ID
|
|
||||||
* @member {String} Auth0UserID
|
|
||||||
*/
|
|
||||||
UserRole.prototype['Auth0UserID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Company Name
|
|
||||||
* @member {String} CompanyName
|
|
||||||
*/
|
|
||||||
UserRole.prototype['CompanyName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contact ID
|
|
||||||
* @member {String} ContactID
|
|
||||||
*/
|
|
||||||
UserRole.prototype['ContactID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Role description
|
|
||||||
* @member {String} RoleDescription
|
|
||||||
*/
|
|
||||||
UserRole.prototype['RoleDescription'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Role ID
|
|
||||||
* @member {String} RoleID
|
|
||||||
*/
|
|
||||||
UserRole.prototype['RoleID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Role Name
|
|
||||||
* @member {String} RoleName
|
|
||||||
*/
|
|
||||||
UserRole.prototype['RoleName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Taxnexus Account Number
|
|
||||||
* @member {String} TaxnexusAccount
|
|
||||||
*/
|
|
||||||
UserRole.prototype['TaxnexusAccount'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* User Email Address
|
|
||||||
* @member {String} UserEmail
|
|
||||||
*/
|
|
||||||
UserRole.prototype['UserEmail'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* User Full Name
|
|
||||||
* @member {String} UserFullName
|
|
||||||
*/
|
|
||||||
UserRole.prototype['UserFullName'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The User ID
|
|
||||||
* @member {String} UserID
|
|
||||||
*/
|
|
||||||
UserRole.prototype['UserID'] = undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Username
|
|
||||||
* @member {String} Username
|
|
||||||
*/
|
|
||||||
UserRole.prototype['Username'] = undefined;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default UserRole;
|
|
||||||
|
|
|
@ -1,103 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Board);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Board) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Board.CorsApi();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('CorsApi', function() {
|
|
||||||
describe('developerOptions', function() {
|
|
||||||
it('should call developerOptions successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test developerOptions
|
|
||||||
//instance.developerOptions(function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
describe('iqOptions', function() {
|
|
||||||
it('should call iqOptions successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test iqOptions
|
|
||||||
//instance.iqOptions(function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
describe('leadsOptions', function() {
|
|
||||||
it('should call leadsOptions successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test leadsOptions
|
|
||||||
//instance.leadsOptions(function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
describe('userAuthOptions', function() {
|
|
||||||
it('should call userAuthOptions successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test userAuthOptions
|
|
||||||
//instance.userAuthOptions(function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
describe('userOptions', function() {
|
|
||||||
it('should call userOptions successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test userOptions
|
|
||||||
//instance.userOptions(function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,63 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Board);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Board) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Board.DevelopersApi();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('DevelopersApi', function() {
|
|
||||||
describe('postDevelopers', function() {
|
|
||||||
it('should call postDevelopers successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test postDevelopers
|
|
||||||
//instance.postDevelopers(function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,63 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Board);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Board) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Board.IqApi();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('IqApi', function() {
|
|
||||||
describe('postIQ', function() {
|
|
||||||
it('should call postIQ successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test postIQ
|
|
||||||
//instance.postIQ(function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,73 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Board);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Board) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Board.LeadsApi();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('LeadsApi', function() {
|
|
||||||
describe('postLeads', function() {
|
|
||||||
it('should call postLeads successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test postLeads
|
|
||||||
//instance.postLeads(function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
describe('putLeads', function() {
|
|
||||||
it('should call putLeads successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test putLeads
|
|
||||||
//instance.putLeads(function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,63 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Board);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Board) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Board.UserAuthApi();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('UserAuthApi', function() {
|
|
||||||
describe('getUserAuth', function() {
|
|
||||||
it('should call getUserAuth successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test getUserAuth
|
|
||||||
//instance.getUserAuth(function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,63 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Board);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Board) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Board.UsersApi();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('UsersApi', function() {
|
|
||||||
describe('getUsers', function() {
|
|
||||||
it('should call getUsers successfully', function(done) {
|
|
||||||
//uncomment below and update the code to test getUsers
|
|
||||||
//instance.getUsers(function(error) {
|
|
||||||
// if (error) throw error;
|
|
||||||
//expect().to.be();
|
|
||||||
//});
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,581 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Board);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Board) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Board.Account();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('Account', function() {
|
|
||||||
it('should create an instance of Account', function() {
|
|
||||||
// uncomment below and update the code to test Account
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be.a(Board.Account);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property accountNumber (base name: "AccountNumber")', function() {
|
|
||||||
// uncomment below and update the code to test the property accountNumber
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property accountSource (base name: "AccountSource")', function() {
|
|
||||||
// uncomment below and update the code to test the property accountSource
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property active (base name: "Active")', function() {
|
|
||||||
// uncomment below and update the code to test the property active
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property administrativeLevel (base name: "AdministrativeLevel")', function() {
|
|
||||||
// uncomment below and update the code to test the property administrativeLevel
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property amount (base name: "Amount")', function() {
|
|
||||||
// uncomment below and update the code to test the property amount
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property amountInvoiced (base name: "AmountInvoiced")', function() {
|
|
||||||
// uncomment below and update the code to test the property amountInvoiced
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property amountPaid (base name: "AmountPaid")', function() {
|
|
||||||
// uncomment below and update the code to test the property amountPaid
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property annualRevenue (base name: "AnnualRevenue")', function() {
|
|
||||||
// uncomment below and update the code to test the property annualRevenue
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property balance (base name: "Balance")', function() {
|
|
||||||
// uncomment below and update the code to test the property balance
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property billingAddress (base name: "BillingAddress")', function() {
|
|
||||||
// uncomment below and update the code to test the property billingAddress
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property billingContactID (base name: "BillingContactID")', function() {
|
|
||||||
// uncomment below and update the code to test the property billingContactID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property billingPreference (base name: "BillingPreference")', function() {
|
|
||||||
// uncomment below and update the code to test the property billingPreference
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property businessAddress (base name: "BusinessAddress")', function() {
|
|
||||||
// uncomment below and update the code to test the property businessAddress
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property cannabisCustomer (base name: "CannabisCustomer")', function() {
|
|
||||||
// uncomment below and update the code to test the property cannabisCustomer
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property channelProgramLevelName (base name: "ChannelProgramLevelName")', function() {
|
|
||||||
// uncomment below and update the code to test the property channelProgramLevelName
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property channelProgramName (base name: "ChannelProgramName")', function() {
|
|
||||||
// uncomment below and update the code to test the property channelProgramName
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property clientEndDate (base name: "ClientEndDate")', function() {
|
|
||||||
// uncomment below and update the code to test the property clientEndDate
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property clientStartDate (base name: "ClientStartDate")', function() {
|
|
||||||
// uncomment below and update the code to test the property clientStartDate
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property companyID (base name: "CompanyID")', function() {
|
|
||||||
// uncomment below and update the code to test the property companyID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property coordinateID (base name: "CoordinateID")', function() {
|
|
||||||
// uncomment below and update the code to test the property coordinateID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property createdByID (base name: "CreatedByID")', function() {
|
|
||||||
// uncomment below and update the code to test the property createdByID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property createdDate (base name: "CreatedDate")', function() {
|
|
||||||
// uncomment below and update the code to test the property createdDate
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property customerID (base name: "CustomerID")', function() {
|
|
||||||
// uncomment below and update the code to test the property customerID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property customerPriority (base name: "CustomerPriority")', function() {
|
|
||||||
// uncomment below and update the code to test the property customerPriority
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property DBA (base name: "DBA")', function() {
|
|
||||||
// uncomment below and update the code to test the property DBA
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property dUNSNumber (base name: "DUNSNumber")', function() {
|
|
||||||
// uncomment below and update the code to test the property dUNSNumber
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property dandBCompanyID (base name: "DandBCompanyID")', function() {
|
|
||||||
// uncomment below and update the code to test the property dandBCompanyID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property defaultAddress (base name: "DefaultAddress")', function() {
|
|
||||||
// uncomment below and update the code to test the property defaultAddress
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property defaultBackendID (base name: "DefaultBackendID")', function() {
|
|
||||||
// uncomment below and update the code to test the property defaultBackendID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property defaultDeliveryContactID (base name: "DefaultDeliveryContactID")', function() {
|
|
||||||
// uncomment below and update the code to test the property defaultDeliveryContactID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property defaultEndUserID (base name: "DefaultEndUserID")', function() {
|
|
||||||
// uncomment below and update the code to test the property defaultEndUserID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property description (base name: "Description")', function() {
|
|
||||||
// uncomment below and update the code to test the property description
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property EIN (base name: "EIN")', function() {
|
|
||||||
// uncomment below and update the code to test the property EIN
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property email (base name: "Email")', function() {
|
|
||||||
// uncomment below and update the code to test the property email
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property enrollmentStatus (base name: "EnrollmentStatus")', function() {
|
|
||||||
// uncomment below and update the code to test the property enrollmentStatus
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property fax (base name: "Fax")', function() {
|
|
||||||
// uncomment below and update the code to test the property fax
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property ID (base name: "ID")', function() {
|
|
||||||
// uncomment below and update the code to test the property ID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property iSPCustomer (base name: "ISPCustomer")', function() {
|
|
||||||
// uncomment below and update the code to test the property iSPCustomer
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property industry (base name: "Industry")', function() {
|
|
||||||
// uncomment below and update the code to test the property industry
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property isCustomerPortal (base name: "IsCustomerPortal")', function() {
|
|
||||||
// uncomment below and update the code to test the property isCustomerPortal
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property isPartner (base name: "IsPartner")', function() {
|
|
||||||
// uncomment below and update the code to test the property isPartner
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property jigSaw (base name: "JigSaw")', function() {
|
|
||||||
// uncomment below and update the code to test the property jigSaw
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() {
|
|
||||||
// uncomment below and update the code to test the property lastModifiedByID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() {
|
|
||||||
// uncomment below and update the code to test the property lastModifiedDate
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property mSPCustomer (base name: "MSPCustomer")', function() {
|
|
||||||
// uncomment below and update the code to test the property mSPCustomer
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property nAICSCode (base name: "NAICSCode")', function() {
|
|
||||||
// uncomment below and update the code to test the property nAICSCode
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property nAICSDesc (base name: "NAICSDesc")', function() {
|
|
||||||
// uncomment below and update the code to test the property nAICSDesc
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property name (base name: "Name")', function() {
|
|
||||||
// uncomment below and update the code to test the property name
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property numberOfEmployees (base name: "NumberOfEmployees")', function() {
|
|
||||||
// uncomment below and update the code to test the property numberOfEmployees
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property numberOfLocations (base name: "NumberOfLocations")', function() {
|
|
||||||
// uncomment below and update the code to test the property numberOfLocations
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property openCharges (base name: "OpenCharges")', function() {
|
|
||||||
// uncomment below and update the code to test the property openCharges
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property orderContactID (base name: "OrderContactID")', function() {
|
|
||||||
// uncomment below and update the code to test the property orderContactID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property orderEmail (base name: "OrderEmail")', function() {
|
|
||||||
// uncomment below and update the code to test the property orderEmail
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property ownerID (base name: "OwnerID")', function() {
|
|
||||||
// uncomment below and update the code to test the property ownerID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property ownership (base name: "Ownership")', function() {
|
|
||||||
// uncomment below and update the code to test the property ownership
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property parentFK (base name: "ParentFK")', function() {
|
|
||||||
// uncomment below and update the code to test the property parentFK
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property parentID (base name: "ParentID")', function() {
|
|
||||||
// uncomment below and update the code to test the property parentID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property phone (base name: "Phone")', function() {
|
|
||||||
// uncomment below and update the code to test the property phone
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property placeID (base name: "PlaceID")', function() {
|
|
||||||
// uncomment below and update the code to test the property placeID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property preparerID (base name: "PreparerID")', function() {
|
|
||||||
// uncomment below and update the code to test the property preparerID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property rating (base name: "Rating")', function() {
|
|
||||||
// uncomment below and update the code to test the property rating
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property ratingEngineID (base name: "RatingEngineID")', function() {
|
|
||||||
// uncomment below and update the code to test the property ratingEngineID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property ref (base name: "Ref")', function() {
|
|
||||||
// uncomment below and update the code to test the property ref
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property revenueBase (base name: "RevenueBase")', function() {
|
|
||||||
// uncomment below and update the code to test the property revenueBase
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property revenueNet (base name: "RevenueNet")', function() {
|
|
||||||
// uncomment below and update the code to test the property revenueNet
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property revenueNotTaxable (base name: "RevenueNotTaxable")', function() {
|
|
||||||
// uncomment below and update the code to test the property revenueNotTaxable
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property SIC (base name: "SIC")', function() {
|
|
||||||
// uncomment below and update the code to test the property SIC
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property sICDesc (base name: "SICDesc")', function() {
|
|
||||||
// uncomment below and update the code to test the property sICDesc
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property shippingAddress (base name: "ShippingAddress")', function() {
|
|
||||||
// uncomment below and update the code to test the property shippingAddress
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property shippingCensusTract (base name: "ShippingCensusTract")', function() {
|
|
||||||
// uncomment below and update the code to test the property shippingCensusTract
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property shippingConactID (base name: "ShippingConactID")', function() {
|
|
||||||
// uncomment below and update the code to test the property shippingConactID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property shippingCounty (base name: "ShippingCounty")', function() {
|
|
||||||
// uncomment below and update the code to test the property shippingCounty
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property site (base name: "Site")', function() {
|
|
||||||
// uncomment below and update the code to test the property site
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property status (base name: "Status")', function() {
|
|
||||||
// uncomment below and update the code to test the property status
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property taxExemption (base name: "TaxExemption")', function() {
|
|
||||||
// uncomment below and update the code to test the property taxExemption
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property taxOnTax (base name: "TaxOnTax")', function() {
|
|
||||||
// uncomment below and update the code to test the property taxOnTax
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property telecomCustomer (base name: "TelecomCustomer")', function() {
|
|
||||||
// uncomment below and update the code to test the property telecomCustomer
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property tickerSymbol (base name: "TickerSymbol")', function() {
|
|
||||||
// uncomment below and update the code to test the property tickerSymbol
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property tradeStyle (base name: "TradeStyle")', function() {
|
|
||||||
// uncomment below and update the code to test the property tradeStyle
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property type (base name: "Type")', function() {
|
|
||||||
// uncomment below and update the code to test the property type
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property unappliedPayments (base name: "UnappliedPayments")', function() {
|
|
||||||
// uncomment below and update the code to test the property unappliedPayments
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property unitBase (base name: "UnitBase")', function() {
|
|
||||||
// uncomment below and update the code to test the property unitBase
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property upsellOpportunity (base name: "UpsellOpportunity")', function() {
|
|
||||||
// uncomment below and update the code to test the property upsellOpportunity
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property wHMCSClientID (base name: "WHMCSClientID")', function() {
|
|
||||||
// uncomment below and update the code to test the property wHMCSClientID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property website (base name: "Website")', function() {
|
|
||||||
// uncomment below and update the code to test the property website
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property xeroContactID (base name: "XeroContactID")', function() {
|
|
||||||
// uncomment below and update the code to test the property xeroContactID
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property yearStarted (base name: "YearStarted")', function() {
|
|
||||||
// uncomment below and update the code to test the property yearStarted
|
|
||||||
//var instance = new Board.Account();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
|
@ -1,101 +0,0 @@
|
||||||
/**
|
|
||||||
* board
|
|
||||||
* Taxnexus Onboarding Service
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 0.0.2
|
|
||||||
* Contact: noc@taxnexus.net
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(root, factory) {
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
|
||||||
// AMD.
|
|
||||||
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
||||||
} else if (typeof module === 'object' && module.exports) {
|
|
||||||
// CommonJS-like environments that support module.exports, like Node.
|
|
||||||
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
||||||
} else {
|
|
||||||
// Browser globals (root is window)
|
|
||||||
factory(root.expect, root.Board);
|
|
||||||
}
|
|
||||||
}(this, function(expect, Board) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var instance;
|
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
instance = new Board.Address();
|
|
||||||
});
|
|
||||||
|
|
||||||
var getProperty = function(object, getter, property) {
|
|
||||||
// Use getter method if present; otherwise, get the property directly.
|
|
||||||
if (typeof object[getter] === 'function')
|
|
||||||
return object[getter]();
|
|
||||||
else
|
|
||||||
return object[property];
|
|
||||||
}
|
|
||||||
|
|
||||||
var setProperty = function(object, setter, property, value) {
|
|
||||||
// Use setter method if present; otherwise, set the property directly.
|
|
||||||
if (typeof object[setter] === 'function')
|
|
||||||
object[setter](value);
|
|
||||||
else
|
|
||||||
object[property] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
describe('Address', function() {
|
|
||||||
it('should create an instance of Address', function() {
|
|
||||||
// uncomment below and update the code to test Address
|
|
||||||
//var instance = new Board.Address();
|
|
||||||
//expect(instance).to.be.a(Board.Address);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property city (base name: "City")', function() {
|
|
||||||
// uncomment below and update the code to test the property city
|
|
||||||
//var instance = new Board.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property country (base name: "Country")', function() {
|
|
||||||
// uncomment below and update the code to test the property country
|
|
||||||
//var instance = new Board.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property countryCode (base name: "CountryCode")', function() {
|
|
||||||
// uncomment below and update the code to test the property countryCode
|
|
||||||
//var instance = new Board.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property postalCode (base name: "PostalCode")', function() {
|
|
||||||
// uncomment below and update the code to test the property postalCode
|
|
||||||
//var instance = new Board.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property state (base name: "State")', function() {
|
|
||||||
// uncomment below and update the code to test the property state
|
|
||||||
//var instance = new Board.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property stateCode (base name: "StateCode")', function() {
|
|
||||||
// uncomment below and update the code to test the property stateCode
|
|
||||||
//var instance = new Board.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have the property street (base name: "Street")', function() {
|
|
||||||
// uncomment below and update the code to test the property street
|
|
||||||
//var instance = new Board.Address();
|
|
||||||
//expect(instance).to.be();
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
}));
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue