1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x46db=['exports','STRING','name','sequelize'];(function(_0x38c2ec,_0x2387d1){var _0x26c595=function(_0x486f04){while(--_0x486f04){_0x38c2ec['push'](_0x38c2ec['shift']());}};_0x26c595(++_0x2387d1);}(_0x46db,0x1c7));var _0xb46d=function(_0xb91d71,_0x2f4868){_0xb91d71=_0xb91d71-0x0;var _0x525ceb=_0x46db[_0xb91d71];return _0x525ceb;};'use strict';var Sequelize=require(_0xb46d('0x0'));module[_0xb46d('0x1')]={'name':{'type':Sequelize[_0xb46d('0x2')],'unique':_0xb46d('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xb46d('0x2')]},'companyId':{'type':Sequelize[_0xb46d('0x2')]},'website':{'type':Sequelize[_0xb46d('0x2')]},'phone':{'type':Sequelize[_0xb46d('0x2')]},'fax':{'type':Sequelize[_0xb46d('0x2')]},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0xb46d('0x2')]},'postalCode':{'type':Sequelize[_0xb46d('0x2')]},'city':{'type':Sequelize[_0xb46d('0x2')]},'country':{'type':Sequelize[_0xb46d('0x2')]},'email':{'type':Sequelize[_0xb46d('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xb46d('0x2')]},'sStreet':{'type':Sequelize[_0xb46d('0x2')]},'sPostalCode':{'type':Sequelize[_0xb46d('0x2')]},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0xb46d('0x2')]},'description':{'type':Sequelize[_0xb46d('0x2')]}};