Built motion from commit a61a4a20.|2.5.46
[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 _0xa493=['sequelize','exports','STRING','name'];(function(_0x122d9f,_0x2c9e5b){var _0x41a09e=function(_0x3d9564){while(--_0x3d9564){_0x122d9f['push'](_0x122d9f['shift']());}};_0x41a09e(++_0x2c9e5b);}(_0xa493,0x1ec));var _0x3a49=function(_0x4ff09b,_0x53f67d){_0x4ff09b=_0x4ff09b-0x0;var _0x3f5c2e=_0xa493[_0x4ff09b];return _0x3f5c2e;};'use strict';var Sequelize=require(_0x3a49('0x0'));module[_0x3a49('0x1')]={'name':{'type':Sequelize[_0x3a49('0x2')],'unique':_0x3a49('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x3a49('0x2')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0x3a49('0x2')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x3a49('0x2')]},'type':{'type':Sequelize[_0x3a49('0x2')]},'street':{'type':Sequelize[_0x3a49('0x2')]},'postalCode':{'type':Sequelize[_0x3a49('0x2')]},'city':{'type':Sequelize[_0x3a49('0x2')]},'country':{'type':Sequelize[_0x3a49('0x2')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0x3a49('0x2')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0x3a49('0x2')]},'description':{'type':Sequelize[_0x3a49('0x2')]}};