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 _0x7b00=['exports','STRING','sequelize'];(function(_0xfbdff6,_0x2af690){var _0x4cb9be=function(_0x4022d8){while(--_0x4022d8){_0xfbdff6['push'](_0xfbdff6['shift']());}};_0x4cb9be(++_0x2af690);}(_0x7b00,0xa4));var _0x07b0=function(_0x4e5c91,_0x298f64){_0x4e5c91=_0x4e5c91-0x0;var _0x5d40e7=_0x7b00[_0x4e5c91];return _0x5d40e7;};'use strict';var Sequelize=require(_0x07b0('0x0'));module[_0x07b0('0x1')]={'name':{'type':Sequelize[_0x07b0('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x07b0('0x2')]},'companyId':{'type':Sequelize[_0x07b0('0x2')]},'website':{'type':Sequelize[_0x07b0('0x2')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x07b0('0x2')]},'type':{'type':Sequelize[_0x07b0('0x2')]},'street':{'type':Sequelize[_0x07b0('0x2')]},'postalCode':{'type':Sequelize[_0x07b0('0x2')]},'city':{'type':Sequelize[_0x07b0('0x2')]},'country':{'type':Sequelize[_0x07b0('0x2')]},'email':{'type':Sequelize[_0x07b0('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x07b0('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x07b0('0x2')]},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0x07b0('0x2')]},'description':{'type':Sequelize[_0x07b0('0x2')]}};