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 _0xd69a=['STRING','name','exports'];(function(_0x8157c6,_0x4213a8){var _0xa3f327=function(_0x4e6ea9){while(--_0x4e6ea9){_0x8157c6['push'](_0x8157c6['shift']());}};_0xa3f327(++_0x4213a8);}(_0xd69a,0x1af));var _0xad69=function(_0x166def,_0x2e24fa){_0x166def=_0x166def-0x0;var _0x1eac1f=_0xd69a[_0x166def];return _0x1eac1f;};'use strict';var Sequelize=require('sequelize');module[_0xad69('0x0')]={'name':{'type':Sequelize[_0xad69('0x1')],'unique':_0xad69('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0xad69('0x1')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0xad69('0x1')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xad69('0x1')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0xad69('0x1')]},'city':{'type':Sequelize[_0xad69('0x1')]},'country':{'type':Sequelize[_0xad69('0x1')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xad69('0x1')]},'sStreet':{'type':Sequelize[_0xad69('0x1')]},'sPostalCode':{'type':Sequelize[_0xad69('0x1')]},'sCity':{'type':Sequelize[_0xad69('0x1')]},'sCountry':{'type':Sequelize[_0xad69('0x1')]},'description':{'type':Sequelize[_0xad69('0x1')]}};