0d9927e949389b335d3a65b5e4d008d2ef66f88f
[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 _0x95d9=['name','sequelize','exports','STRING'];(function(_0x4b120e,_0x144dd4){var _0x4fd86b=function(_0x591838){while(--_0x591838){_0x4b120e['push'](_0x4b120e['shift']());}};_0x4fd86b(++_0x144dd4);}(_0x95d9,0x8d));var _0x995d=function(_0x1fc122,_0x5e2c17){_0x1fc122=_0x1fc122-0x0;var _0xa2cb13=_0x95d9[_0x1fc122];return _0xa2cb13;};'use strict';var Sequelize=require(_0x995d('0x0'));module[_0x995d('0x1')]={'name':{'type':Sequelize[_0x995d('0x2')],'unique':_0x995d('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x995d('0x2')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0x995d('0x2')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x995d('0x2')]},'street':{'type':Sequelize[_0x995d('0x2')]},'postalCode':{'type':Sequelize[_0x995d('0x2')]},'city':{'type':Sequelize[_0x995d('0x2')]},'country':{'type':Sequelize[_0x995d('0x2')]},'email':{'type':Sequelize[_0x995d('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x995d('0x2')]},'sStreet':{'type':Sequelize[_0x995d('0x2')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0x995d('0x2')]},'description':{'type':Sequelize[_0x995d('0x2')]}};