2022-09-03 21:10:56 +00:00
|
|
|
/**
|
|
|
|
* crm
|
|
|
|
* 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.Crm);
|
|
|
|
}
|
|
|
|
}(this, function(expect, Crm) {
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var instance;
|
|
|
|
|
|
|
|
beforeEach(function() {
|
|
|
|
instance = new Crm.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 Crm.Account();
|
|
|
|
//expect(instance).to.be.a(Crm.Account);
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property ID (base name: "ID")', function() {
|
|
|
|
// uncomment below and update the code to test the property ID
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property accountNumber (base name: "AccountNumber")', function() {
|
|
|
|
// uncomment below and update the code to test the property accountNumber
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property accountSource (base name: "AccountSource")', function() {
|
|
|
|
// uncomment below and update the code to test the property accountSource
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.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 Crm.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 Crm.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 Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property closeDate (base name: "CloseDate")', function() {
|
|
|
|
// uncomment below and update the code to test the property closeDate
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property cloudType (base name: "CloudType")', function() {
|
|
|
|
// uncomment below and update the code to test the property cloudType
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property cloudYear (base name: "CloudYear")', function() {
|
|
|
|
// uncomment below and update the code to test the property cloudYear
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.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 Crm.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 Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property crunchbaseURL (base name: "CrunchbaseURL")', function() {
|
|
|
|
// uncomment below and update the code to test the property crunchbaseURL
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property description (base name: "Description")', function() {
|
|
|
|
// uncomment below and update the code to test the property description
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property earningsCall (base name: "EarningsCall")', function() {
|
|
|
|
// uncomment below and update the code to test the property earningsCall
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property email (base name: "Email")', function() {
|
|
|
|
// uncomment below and update the code to test the property email
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property equityFunding (base name: "EquityFunding")', function() {
|
|
|
|
// uncomment below and update the code to test the property equityFunding
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property facebook (base name: "Facebook")', function() {
|
|
|
|
// uncomment below and update the code to test the property facebook
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property linkedIn (base name: "LinkedIn")', function() {
|
|
|
|
// uncomment below and update the code to test the property linkedIn
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property location (base name: "Location")', function() {
|
|
|
|
// uncomment below and update the code to test the property location
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.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 Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property foundedDate (base name: "FoundedDate")', function() {
|
|
|
|
// uncomment below and update the code to test the property foundedDate
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.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 Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property industries (base name: "Industries")', function() {
|
|
|
|
// uncomment below and update the code to test the property industries
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property iPODate (base name: "IPODate")', function() {
|
|
|
|
// uncomment below and update the code to test the property iPODate
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property logo (base name: "Logo")', function() {
|
|
|
|
// uncomment below and update the code to test the property logo
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.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 Crm.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 Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property marketCapitalization (base name: "MarketCapitalization")', function() {
|
|
|
|
// uncomment below and update the code to test the property marketCapitalization
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.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 Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property numberInvestments (base name: "NumberInvestments")', function() {
|
|
|
|
// uncomment below and update the code to test the property numberInvestments
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property numberOfEmployees (base name: "NumberOfEmployees")', function() {
|
|
|
|
// uncomment below and update the code to test the property numberOfEmployees
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.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 Crm.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 Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property publish (base name: "Publish")', function() {
|
|
|
|
// uncomment below and update the code to test the property publish
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property salesforceFirst (base name: "SalesforceFirst")', function() {
|
|
|
|
// uncomment below and update the code to test the property salesforceFirst
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property parentID (base name: "ParentID")', function() {
|
|
|
|
// uncomment below and update the code to test the property parentID
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property phone (base name: "Phone")', function() {
|
|
|
|
// uncomment below and update the code to test the property phone
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.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 Crm.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 Crm.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 Crm.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 Crm.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 Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property tagLine (base name: "TagLine")', function() {
|
|
|
|
// uncomment below and update the code to test the property tagLine
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.Account();
|
|
|
|
//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 Crm.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 Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
2022-09-04 04:57:09 +00:00
|
|
|
it('should have the property twitter (base name: "Twitter")', function() {
|
|
|
|
// uncomment below and update the code to test the property twitter
|
2022-09-03 21:10:56 +00:00
|
|
|
//var instance = new Crm.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 Crm.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 Crm.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 Crm.Account();
|
|
|
|
//expect(instance).to.be();
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}));
|