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 _0x024c=['STRING','sequelize','exports'];(function(_0x3d867d,_0x2b706e){var _0x340b24=function(_0x5c155d){while(--_0x5c155d){_0x3d867d['push'](_0x3d867d['shift']());}};_0x340b24(++_0x2b706e);}(_0x024c,0x1c0));var _0xc024=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x024c[_0x14add3];return _0x4a174f;};'use strict';var Sequelize=require(_0xc024('0x0'));module[_0xc024('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xc024('0x2')]},'companyId':{'type':Sequelize[_0xc024('0x2')]},'website':{'type':Sequelize[_0xc024('0x2')]},'phone':{'type':Sequelize[_0xc024('0x2')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xc024('0x2')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0xc024('0x2')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0xc024('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xc024('0x2')]},'sStreet':{'type':Sequelize[_0xc024('0x2')]},'sPostalCode':{'type':Sequelize[_0xc024('0x2')]},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0xc024('0x2')]},'description':{'type':Sequelize[_0xc024('0x2')]}};