Built motion from commit db94841.|2.5.3
[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 _0x33f4=['name','sequelize','exports','STRING'];(function(_0x24c14e,_0x55fc09){var _0x589035=function(_0x1f4a57){while(--_0x1f4a57){_0x24c14e['push'](_0x24c14e['shift']());}};_0x589035(++_0x55fc09);}(_0x33f4,0x191));var _0x433f=function(_0x14b650,_0x264d5f){_0x14b650=_0x14b650-0x0;var _0x26096f=_0x33f4[_0x14b650];return _0x26096f;};'use strict';var Sequelize=require(_0x433f('0x0'));module[_0x433f('0x1')]={'name':{'type':Sequelize[_0x433f('0x2')],'unique':_0x433f('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0x433f('0x2')]},'phone':{'type':Sequelize[_0x433f('0x2')]},'fax':{'type':Sequelize[_0x433f('0x2')]},'type':{'type':Sequelize[_0x433f('0x2')]},'street':{'type':Sequelize[_0x433f('0x2')]},'postalCode':{'type':Sequelize[_0x433f('0x2')]},'city':{'type':Sequelize[_0x433f('0x2')]},'country':{'type':Sequelize[_0x433f('0x2')]},'email':{'type':Sequelize[_0x433f('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x433f('0x2')]},'sCity':{'type':Sequelize[_0x433f('0x2')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x433f('0x2')]}};