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 _0xfe3f=['exports','STRING','sequelize'];(function(_0x4b8729,_0x251f3f){var _0x1352b8=function(_0x8ed42e){while(--_0x8ed42e){_0x4b8729['push'](_0x4b8729['shift']());}};_0x1352b8(++_0x251f3f);}(_0xfe3f,0x194));var _0xffe3=function(_0x2f0544,_0x38f926){_0x2f0544=_0x2f0544-0x0;var _0x4a78b3=_0xfe3f[_0x2f0544];return _0x4a78b3;};'use strict';var Sequelize=require(_0xffe3('0x0'));module[_0xffe3('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0xffe3('0x2')]},'website':{'type':Sequelize[_0xffe3('0x2')]},'phone':{'type':Sequelize[_0xffe3('0x2')]},'fax':{'type':Sequelize[_0xffe3('0x2')]},'type':{'type':Sequelize[_0xffe3('0x2')]},'street':{'type':Sequelize[_0xffe3('0x2')]},'postalCode':{'type':Sequelize[_0xffe3('0x2')]},'city':{'type':Sequelize[_0xffe3('0x2')]},'country':{'type':Sequelize[_0xffe3('0x2')]},'email':{'type':Sequelize[_0xffe3('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xffe3('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0xffe3('0x2')]},'sCity':{'type':Sequelize[_0xffe3('0x2')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize['STRING']}};