mirror of https://github.com/vernonkeenan/lib
330 lines
13 KiB
JavaScript
330 lines
13 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.Contact();
|
|
});
|
|
|
|
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('Contact', function() {
|
|
it('should create an instance of Contact', function() {
|
|
// uncomment below and update the code to test Contact
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be.a(SfGate.Contact);
|
|
});
|
|
|
|
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.Contact();
|
|
//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 SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property assistantname (base name: "assistantname")', function() {
|
|
// uncomment below and update the code to test the property assistantname
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property assistantphone (base name: "assistantphone")', function() {
|
|
// uncomment below and update the code to test the property assistantphone
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property birthdate (base name: "birthdate")', function() {
|
|
// uncomment below and update the code to test the property birthdate
|
|
//var instance = new SfGate.Contact();
|
|
//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.Contact();
|
|
//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.Contact();
|
|
//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 SfGate.Contact();
|
|
//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.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property donotcall (base name: "donotcall")', function() {
|
|
// uncomment below and update the code to test the property donotcall
|
|
//var instance = new SfGate.Contact();
|
|
//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.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property emailbounceddate (base name: "emailbounceddate")', function() {
|
|
// uncomment below and update the code to test the property emailbounceddate
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property emailbouncedreason (base name: "emailbouncedreason")', function() {
|
|
// uncomment below and update the code to test the property emailbouncedreason
|
|
//var instance = new SfGate.Contact();
|
|
//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.Contact();
|
|
//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.Contact();
|
|
//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 SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property hasoptedoutofemail (base name: "hasoptedoutofemail")', function() {
|
|
// uncomment below and update the code to test the property hasoptedoutofemail
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property hasoptedoutoffax (base name: "hasoptedoutoffax")', function() {
|
|
// uncomment below and update the code to test the property hasoptedoutoffax
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property homephone (base name: "homephone")', function() {
|
|
// uncomment below and update the code to test the property homephone
|
|
//var instance = new SfGate.Contact();
|
|
//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.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property isemailbounced (base name: "isemailbounced")', function() {
|
|
// uncomment below and update the code to test the property isemailbounced
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property isprovisioned (base name: "isprovisioned")', function() {
|
|
// uncomment below and update the code to test the property isprovisioned
|
|
//var instance = new SfGate.Contact();
|
|
//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.Contact();
|
|
//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.Contact();
|
|
//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 SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property leadsource (base name: "leadsource")', function() {
|
|
// uncomment below and update the code to test the property leadsource
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property level (base name: "level")', function() {
|
|
// uncomment below and update the code to test the property level
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property linkedin (base name: "linkedin")', function() {
|
|
// uncomment below and update the code to test the property linkedin
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property mailingaddress (base name: "mailingaddress")', function() {
|
|
// uncomment below and update the code to test the property mailingaddress
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property mailinglists (base name: "mailinglists")', function() {
|
|
// uncomment below and update the code to test the property mailinglists
|
|
//var instance = new SfGate.Contact();
|
|
//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 SfGate.Contact();
|
|
//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.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property otheraddress (base name: "otheraddress")', function() {
|
|
// uncomment below and update the code to test the property otheraddress
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property otherphone (base name: "otherphone")', function() {
|
|
// uncomment below and update the code to test the property otherphone
|
|
//var instance = new SfGate.Contact();
|
|
//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.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property personalemail (base name: "personalemail")', function() {
|
|
// uncomment below and update the code to test the property personalemail
|
|
//var instance = new SfGate.Contact();
|
|
//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.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property photourl (base name: "photourl")', function() {
|
|
// uncomment below and update the code to test the property photourl
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property recruitingstatus (base name: "recruitingstatus")', function() {
|
|
// uncomment below and update the code to test the property recruitingstatus
|
|
//var instance = new SfGate.Contact();
|
|
//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.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property reportstoid (base name: "reportstoid")', function() {
|
|
// uncomment below and update the code to test the property reportstoid
|
|
//var instance = new SfGate.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property salutation (base name: "salutation")', function() {
|
|
// uncomment below and update the code to test the property salutation
|
|
//var instance = new SfGate.Contact();
|
|
//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.Contact();
|
|
//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 SfGate.Contact();
|
|
//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.Contact();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
});
|
|
|
|
}));
|