Built motion from commit 092f8824.|2.5.49
[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 _0xe4a0=['name','STRING','sequelize','exports'];(function(_0x77c01a,_0x1e1d72){var _0x8cfd27=function(_0x4ac0a){while(--_0x4ac0a){_0x77c01a['push'](_0x77c01a['shift']());}};_0x8cfd27(++_0x1e1d72);}(_0xe4a0,0x19a));var _0x0e4a=function(_0x1d1779,_0x284147){_0x1d1779=_0x1d1779-0x0;var _0x2377e9=_0xe4a0[_0x1d1779];return _0x2377e9;};'use strict';var Sequelize=require(_0x0e4a('0x0'));module[_0x0e4a('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x0e4a('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0x0e4a('0x3')]},'website':{'type':Sequelize[_0x0e4a('0x3')]},'phone':{'type':Sequelize[_0x0e4a('0x3')]},'fax':{'type':Sequelize[_0x0e4a('0x3')]},'type':{'type':Sequelize[_0x0e4a('0x3')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0x0e4a('0x3')]},'city':{'type':Sequelize[_0x0e4a('0x3')]},'country':{'type':Sequelize[_0x0e4a('0x3')]},'email':{'type':Sequelize[_0x0e4a('0x3')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0x0e4a('0x3')]},'sPostalCode':{'type':Sequelize[_0x0e4a('0x3')]},'sCity':{'type':Sequelize[_0x0e4a('0x3')]},'sCountry':{'type':Sequelize[_0x0e4a('0x3')]},'description':{'type':Sequelize['STRING']}};