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 _0x4226=['exports','STRING'];(function(_0x591d1a,_0x232036){var _0x2d9cab=function(_0x81d54a){while(--_0x81d54a){_0x591d1a['push'](_0x591d1a['shift']());}};_0x2d9cab(++_0x232036);}(_0x4226,0x1dc));var _0x6422=function(_0x204039,_0x5d75f6){_0x204039=_0x204039-0x0;var _0x2a6318=_0x4226[_0x204039];return _0x2a6318;};'use strict';var Sequelize=require('sequelize');module[_0x6422('0x0')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0x6422('0x1')]},'website':{'type':Sequelize[_0x6422('0x1')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x6422('0x1')]},'type':{'type':Sequelize[_0x6422('0x1')]},'street':{'type':Sequelize[_0x6422('0x1')]},'postalCode':{'type':Sequelize[_0x6422('0x1')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x6422('0x1')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x6422('0x1')]},'sCity':{'type':Sequelize[_0x6422('0x1')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x6422('0x1')]}};