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 _0x9702=['sequelize','exports','STRING'];(function(_0x1f0050,_0x418d11){var _0x102a35=function(_0x2b377c){while(--_0x2b377c){_0x1f0050['push'](_0x1f0050['shift']());}};_0x102a35(++_0x418d11);}(_0x9702,0x1dd));var _0x2970=function(_0x182a8d,_0x5bafd7){_0x182a8d=_0x182a8d-0x0;var _0x20b3fc=_0x9702[_0x182a8d];return _0x20b3fc;};'use strict';var Sequelize=require(_0x2970('0x0'));module[_0x2970('0x1')]={'name':{'type':Sequelize[_0x2970('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x2970('0x2')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0x2970('0x2')]},'phone':{'type':Sequelize[_0x2970('0x2')]},'fax':{'type':Sequelize[_0x2970('0x2')]},'type':{'type':Sequelize[_0x2970('0x2')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0x2970('0x2')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x2970('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x2970('0x2')]},'sStreet':{'type':Sequelize[_0x2970('0x2')]},'sPostalCode':{'type':Sequelize[_0x2970('0x2')]},'sCity':{'type':Sequelize[_0x2970('0x2')]},'sCountry':{'type':Sequelize[_0x2970('0x2')]},'description':{'type':Sequelize[_0x2970('0x2')]}};