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 _0xb61d=['sequelize','exports','STRING','name'];(function(_0x36b570,_0x587cca){var _0x1ae014=function(_0x24990a){while(--_0x24990a){_0x36b570['push'](_0x36b570['shift']());}};_0x1ae014(++_0x587cca);}(_0xb61d,0x74));var _0xdb61=function(_0x53f407,_0x2c449f){_0x53f407=_0x53f407-0x0;var _0x53b1c7=_0xb61d[_0x53f407];return _0x53b1c7;};'use strict';var Sequelize=require(_0xdb61('0x0'));module[_0xdb61('0x1')]={'name':{'type':Sequelize[_0xdb61('0x2')],'unique':_0xdb61('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xdb61('0x2')]},'companyId':{'type':Sequelize[_0xdb61('0x2')]},'website':{'type':Sequelize[_0xdb61('0x2')]},'phone':{'type':Sequelize[_0xdb61('0x2')]},'fax':{'type':Sequelize[_0xdb61('0x2')]},'type':{'type':Sequelize[_0xdb61('0x2')]},'street':{'type':Sequelize[_0xdb61('0x2')]},'postalCode':{'type':Sequelize[_0xdb61('0x2')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0xdb61('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0xdb61('0x2')]},'sCity':{'type':Sequelize[_0xdb61('0x2')]},'sCountry':{'type':Sequelize[_0xdb61('0x2')]},'description':{'type':Sequelize[_0xdb61('0x2')]}};