Built motion from commit f7863d46.|2.5.41
[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 _0x27e6=['name','sequelize','exports','STRING'];(function(_0x2e08b7,_0x2cb08a){var _0x1082dc=function(_0x4a217e){while(--_0x4a217e){_0x2e08b7['push'](_0x2e08b7['shift']());}};_0x1082dc(++_0x2cb08a);}(_0x27e6,0x121));var _0x627e=function(_0xf62e1f,_0x223967){_0xf62e1f=_0xf62e1f-0x0;var _0x181199=_0x27e6[_0xf62e1f];return _0x181199;};'use strict';var Sequelize=require(_0x627e('0x0'));module[_0x627e('0x1')]={'name':{'type':Sequelize[_0x627e('0x2')],'unique':_0x627e('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x627e('0x2')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0x627e('0x2')]},'phone':{'type':Sequelize[_0x627e('0x2')]},'fax':{'type':Sequelize[_0x627e('0x2')]},'type':{'type':Sequelize[_0x627e('0x2')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0x627e('0x2')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x627e('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x627e('0x2')]},'sStreet':{'type':Sequelize[_0x627e('0x2')]},'sPostalCode':{'type':Sequelize[_0x627e('0x2')]},'sCity':{'type':Sequelize[_0x627e('0x2')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x627e('0x2')]}};