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 _0x991b=['STRING','name'];(function(_0x4e066a,_0x4f538b){var _0x2df697=function(_0x325cd0){while(--_0x325cd0){_0x4e066a['push'](_0x4e066a['shift']());}};_0x2df697(++_0x4f538b);}(_0x991b,0x6b));var _0xb991=function(_0x4adcf2,_0x31e805){_0x4adcf2=_0x4adcf2-0x0;var _0xca34dc=_0x991b[_0x4adcf2];return _0xca34dc;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xb991('0x0'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xb991('0x1')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0xb991('0x1')]},'phone':{'type':Sequelize[_0xb991('0x1')]},'fax':{'type':Sequelize[_0xb991('0x1')]},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0xb991('0x1')]},'postalCode':{'type':Sequelize[_0xb991('0x1')]},'city':{'type':Sequelize[_0xb991('0x1')]},'country':{'type':Sequelize[_0xb991('0x1')]},'email':{'type':Sequelize[_0xb991('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xb991('0x1')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0xb991('0x1')]},'sCity':{'type':Sequelize[_0xb991('0x1')]},'sCountry':{'type':Sequelize[_0xb991('0x1')]},'description':{'type':Sequelize[_0xb991('0x1')]}};