mirror of https://github.com/vernonkeenan/lib
588 lines
24 KiB
JavaScript
588 lines
24 KiB
JavaScript
/**
|
|
* sf-gate
|
|
* Customer Information 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.SfGate);
|
|
}
|
|
}(this, function(expect, SfGate) {
|
|
'use strict';
|
|
|
|
var instance;
|
|
|
|
beforeEach(function() {
|
|
instance = new SfGate.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 SfGate.Account();
|
|
//expect(instance).to.be.a(SfGate.Account);
|
|
});
|
|
|
|
it('should have the property tenantid (base name: "tenantid")', function() {
|
|
// uncomment below and update the code to test the property tenantid
|
|
//var instance = new SfGate.Account();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property accountnumber (base name: "accountnumber")', function() {
|
|
// uncomment below and update the code to test the property accountnumber
|
|
//var instance = new SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.Account();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property shippingcontactid (base name: "shippingcontactid")', function() {
|
|
// uncomment below and update the code to test the property shippingcontactid
|
|
//var instance = new SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.Account();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
});
|
|
|
|
}));
|