Built motion from commit 9d0783e6.|2.6.13
[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 _0x5541=['STRING','name','sequelize'];(function(_0x37ca5f,_0x7b93d4){var _0x4b0676=function(_0x5e9dbe){while(--_0x5e9dbe){_0x37ca5f['push'](_0x37ca5f['shift']());}};_0x4b0676(++_0x7b93d4);}(_0x5541,0x1df));var _0x1554=function(_0xf50820,_0x56f041){_0xf50820=_0xf50820-0x0;var _0x2a9b10=_0x5541[_0xf50820];return _0x2a9b10;};'use strict';var Sequelize=require(_0x1554('0x0'));module['exports']={'name':{'type':Sequelize[_0x1554('0x1')],'unique':_0x1554('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0x1554('0x1')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x1554('0x1')]},'type':{'type':Sequelize[_0x1554('0x1')]},'street':{'type':Sequelize[_0x1554('0x1')]},'postalCode':{'type':Sequelize[_0x1554('0x1')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x1554('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x1554('0x1')]},'sCity':{'type':Sequelize[_0x1554('0x1')]},'sCountry':{'type':Sequelize[_0x1554('0x1')]},'description':{'type':Sequelize['STRING']}};