Built motion from commit 9d1906d1.|2.5.40
[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 _0x748f=['name','STRING','sequelize','exports'];(function(_0x220f2a,_0xeda7c4){var _0x59608e=function(_0x38b2cf){while(--_0x38b2cf){_0x220f2a['push'](_0x220f2a['shift']());}};_0x59608e(++_0xeda7c4);}(_0x748f,0x76));var _0xf748=function(_0x519e8d,_0x3c2b8c){_0x519e8d=_0x519e8d-0x0;var _0x5428e9=_0x748f[_0x519e8d];return _0x5428e9;};'use strict';var Sequelize=require(_0xf748('0x0'));module[_0xf748('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0xf748('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xf748('0x3')]},'companyId':{'type':Sequelize[_0xf748('0x3')]},'website':{'type':Sequelize[_0xf748('0x3')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xf748('0x3')]},'street':{'type':Sequelize[_0xf748('0x3')]},'postalCode':{'type':Sequelize[_0xf748('0x3')]},'city':{'type':Sequelize[_0xf748('0x3')]},'country':{'type':Sequelize[_0xf748('0x3')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xf748('0x3')]},'sStreet':{'type':Sequelize[_0xf748('0x3')]},'sPostalCode':{'type':Sequelize[_0xf748('0x3')]},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0xf748('0x3')]},'description':{'type':Sequelize[_0xf748('0x3')]}};