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 _0xc331=['STRING','exports'];(function(_0x2c5ec9,_0x497868){var _0x2ce268=function(_0x14cd42){while(--_0x14cd42){_0x2c5ec9['push'](_0x2c5ec9['shift']());}};_0x2ce268(++_0x497868);}(_0xc331,0x163));var _0x1c33=function(_0x2690d3,_0xb74117){_0x2690d3=_0x2690d3-0x0;var _0x231f83=_0xc331[_0x2690d3];return _0x231f83;};'use strict';var Sequelize=require('sequelize');module[_0x1c33('0x0')]={'name':{'type':Sequelize[_0x1c33('0x1')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x1c33('0x1')]},'companyId':{'type':Sequelize[_0x1c33('0x1')]},'website':{'type':Sequelize[_0x1c33('0x1')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x1c33('0x1')]},'type':{'type':Sequelize[_0x1c33('0x1')]},'street':{'type':Sequelize[_0x1c33('0x1')]},'postalCode':{'type':Sequelize[_0x1c33('0x1')]},'city':{'type':Sequelize[_0x1c33('0x1')]},'country':{'type':Sequelize[_0x1c33('0x1')]},'email':{'type':Sequelize[_0x1c33('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0x1c33('0x1')]},'sPostalCode':{'type':Sequelize[_0x1c33('0x1')]},'sCity':{'type':Sequelize[_0x1c33('0x1')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x1c33('0x1')]}};