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 _0xa4f5=['sequelize','exports','STRING'];(function(_0x230e0d,_0x1346e0){var _0x310861=function(_0x24ba74){while(--_0x24ba74){_0x230e0d['push'](_0x230e0d['shift']());}};_0x310861(++_0x1346e0);}(_0xa4f5,0xe1));var _0x5a4f=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0xa4f5[_0x2c91e9];return _0x13f0ff;};'use strict';var Sequelize=require(_0x5a4f('0x0'));module[_0x5a4f('0x1')]={'name':{'type':Sequelize[_0x5a4f('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x5a4f('0x2')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0x5a4f('0x2')]},'phone':{'type':Sequelize[_0x5a4f('0x2')]},'fax':{'type':Sequelize[_0x5a4f('0x2')]},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0x5a4f('0x2')]},'postalCode':{'type':Sequelize[_0x5a4f('0x2')]},'city':{'type':Sequelize[_0x5a4f('0x2')]},'country':{'type':Sequelize[_0x5a4f('0x2')]},'email':{'type':Sequelize[_0x5a4f('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x5a4f('0x2')]},'sStreet':{'type':Sequelize[_0x5a4f('0x2')]},'sPostalCode':{'type':Sequelize[_0x5a4f('0x2')]},'sCity':{'type':Sequelize[_0x5a4f('0x2')]},'sCountry':{'type':Sequelize[_0x5a4f('0x2')]},'description':{'type':Sequelize[_0x5a4f('0x2')]}};