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 _0x94fe=['exports','STRING','name','sequelize'];(function(_0x4169d8,_0x3d7cd4){var _0x32084a=function(_0x5f59c6){while(--_0x5f59c6){_0x4169d8['push'](_0x4169d8['shift']());}};_0x32084a(++_0x3d7cd4);}(_0x94fe,0x167));var _0xe94f=function(_0x399fee,_0x4b5607){_0x399fee=_0x399fee-0x0;var _0x370d21=_0x94fe[_0x399fee];return _0x370d21;};'use strict';var Sequelize=require(_0xe94f('0x0'));module[_0xe94f('0x1')]={'name':{'type':Sequelize[_0xe94f('0x2')],'unique':_0xe94f('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xe94f('0x2')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0xe94f('0x2')]},'phone':{'type':Sequelize[_0xe94f('0x2')]},'fax':{'type':Sequelize[_0xe94f('0x2')]},'type':{'type':Sequelize[_0xe94f('0x2')]},'street':{'type':Sequelize[_0xe94f('0x2')]},'postalCode':{'type':Sequelize[_0xe94f('0x2')]},'city':{'type':Sequelize[_0xe94f('0x2')]},'country':{'type':Sequelize[_0xe94f('0x2')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xe94f('0x2')]},'sStreet':{'type':Sequelize[_0xe94f('0x2')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize[_0xe94f('0x2')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0xe94f('0x2')]}};