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 _0x0aa4=['sequelize','STRING'];(function(_0x29d119,_0x175a77){var _0x36a38c=function(_0x571d04){while(--_0x571d04){_0x29d119['push'](_0x29d119['shift']());}};_0x36a38c(++_0x175a77);}(_0x0aa4,0x13c));var _0x40aa=function(_0x415a54,_0x270125){_0x415a54=_0x415a54-0x0;var _0x4da4ef=_0x0aa4[_0x415a54];return _0x4da4ef;};'use strict';var Sequelize=require(_0x40aa('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0x40aa('0x1')]},'website':{'type':Sequelize[_0x40aa('0x1')]},'phone':{'type':Sequelize[_0x40aa('0x1')]},'fax':{'type':Sequelize[_0x40aa('0x1')]},'type':{'type':Sequelize[_0x40aa('0x1')]},'street':{'type':Sequelize[_0x40aa('0x1')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0x40aa('0x1')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x40aa('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x40aa('0x1')]},'sStreet':{'type':Sequelize[_0x40aa('0x1')]},'sPostalCode':{'type':Sequelize[_0x40aa('0x1')]},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0x40aa('0x1')]},'description':{'type':Sequelize[_0x40aa('0x1')]}};