Built motion from commit (unavailable).|2.5.6
[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 _0x3df4=['name','sequelize','STRING'];(function(_0x5b9aa2,_0x2a93a6){var _0x52a859=function(_0x1d1042){while(--_0x1d1042){_0x5b9aa2['push'](_0x5b9aa2['shift']());}};_0x52a859(++_0x2a93a6);}(_0x3df4,0x1a2));var _0x43df=function(_0x552a82,_0x1b615){_0x552a82=_0x552a82-0x0;var _0x2d7d06=_0x3df4[_0x552a82];return _0x2d7d06;};'use strict';var Sequelize=require(_0x43df('0x0'));module['exports']={'name':{'type':Sequelize[_0x43df('0x1')],'unique':_0x43df('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0x43df('0x1')]},'website':{'type':Sequelize[_0x43df('0x1')]},'phone':{'type':Sequelize[_0x43df('0x1')]},'fax':{'type':Sequelize[_0x43df('0x1')]},'type':{'type':Sequelize[_0x43df('0x1')]},'street':{'type':Sequelize[_0x43df('0x1')]},'postalCode':{'type':Sequelize[_0x43df('0x1')]},'city':{'type':Sequelize[_0x43df('0x1')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0x43df('0x1')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize[_0x43df('0x1')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x43df('0x1')]}};