Built motion from commit (unavailable).|2.5.4
[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 _0x9aba=['exports','STRING','name','sequelize'];(function(_0x34bc33,_0x13cf5a){var _0x5a62b4=function(_0x4fd58d){while(--_0x4fd58d){_0x34bc33['push'](_0x34bc33['shift']());}};_0x5a62b4(++_0x13cf5a);}(_0x9aba,0x1a7));var _0xa9ab=function(_0x1f6343,_0x48c4bb){_0x1f6343=_0x1f6343-0x0;var _0x25a1f2=_0x9aba[_0x1f6343];return _0x25a1f2;};'use strict';var Sequelize=require(_0xa9ab('0x0'));module[_0xa9ab('0x1')]={'name':{'type':Sequelize[_0xa9ab('0x2')],'unique':_0xa9ab('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xa9ab('0x2')]},'companyId':{'type':Sequelize[_0xa9ab('0x2')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0xa9ab('0x2')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xa9ab('0x2')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0xa9ab('0x2')]},'city':{'type':Sequelize[_0xa9ab('0x2')]},'country':{'type':Sequelize[_0xa9ab('0x2')]},'email':{'type':Sequelize[_0xa9ab('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xa9ab('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0xa9ab('0x2')]},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0xa9ab('0x2')]}};