285a25df07747c33da04d90572688e95caa675f0
[motion2.git] / server / api / cmCompany / cmCompany.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xeaa7=['exports','STRING','name','sequelize'];(function(_0x1315e5,_0xb0f5b1){var _0x14d224=function(_0x4021f7){while(--_0x4021f7){_0x1315e5['push'](_0x1315e5['shift']());}};_0x14d224(++_0xb0f5b1);}(_0xeaa7,0x113));var _0x7eaa=function(_0x6d6a66,_0x2924af){_0x6d6a66=_0x6d6a66-0x0;var _0x11eb6e=_0xeaa7[_0x6d6a66];return _0x11eb6e;};'use strict';var Sequelize=require(_0x7eaa('0x0'));module[_0x7eaa('0x1')]={'name':{'type':Sequelize[_0x7eaa('0x2')],'unique':_0x7eaa('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x7eaa('0x2')]},'companyId':{'type':Sequelize[_0x7eaa('0x2')]},'website':{'type':Sequelize[_0x7eaa('0x2')]},'phone':{'type':Sequelize[_0x7eaa('0x2')]},'fax':{'type':Sequelize[_0x7eaa('0x2')]},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x7eaa('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x7eaa('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x7eaa('0x2')]},'sCity':{'type':Sequelize[_0x7eaa('0x2')]},'sCountry':{'type':Sequelize[_0x7eaa('0x2')]},'description':{'type':Sequelize['STRING']}};