Built motion from commit 3c2ce842.|2.6.31
[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 _0x1be9=['name','sequelize','exports','STRING'];(function(_0x1babb3,_0x4fe096){var _0x4f71ff=function(_0x350be1){while(--_0x350be1){_0x1babb3['push'](_0x1babb3['shift']());}};_0x4f71ff(++_0x4fe096);}(_0x1be9,0x13d));var _0x91be=function(_0x27af45,_0x1b57aa){_0x27af45=_0x27af45-0x0;var _0x18df21=_0x1be9[_0x27af45];return _0x18df21;};'use strict';var Sequelize=require(_0x91be('0x0'));module[_0x91be('0x1')]={'name':{'type':Sequelize[_0x91be('0x2')],'unique':_0x91be('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x91be('0x2')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0x91be('0x2')]},'phone':{'type':Sequelize[_0x91be('0x2')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x91be('0x2')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0x91be('0x2')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x91be('0x2')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0x91be('0x2')]},'sPostalCode':{'type':Sequelize[_0x91be('0x2')]},'sCity':{'type':Sequelize[_0x91be('0x2')]},'sCountry':{'type':Sequelize[_0x91be('0x2')]},'description':{'type':Sequelize[_0x91be('0x2')]}};