Built motion from commit 449495f6.|2.6.27
[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 _0x44c5=['STRING','name','sequelize','exports'];(function(_0x5eb081,_0xdd0b42){var _0x21db0b=function(_0x21095a){while(--_0x21095a){_0x5eb081['push'](_0x5eb081['shift']());}};_0x21db0b(++_0xdd0b42);}(_0x44c5,0x76));var _0x544c=function(_0xaa6a4,_0x64b067){_0xaa6a4=_0xaa6a4-0x0;var _0xdc31a4=_0x44c5[_0xaa6a4];return _0xdc31a4;};'use strict';var Sequelize=require(_0x544c('0x0'));module[_0x544c('0x1')]={'name':{'type':Sequelize[_0x544c('0x2')],'unique':_0x544c('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0x544c('0x2')]},'website':{'type':Sequelize[_0x544c('0x2')]},'phone':{'type':Sequelize[_0x544c('0x2')]},'fax':{'type':Sequelize[_0x544c('0x2')]},'type':{'type':Sequelize[_0x544c('0x2')]},'street':{'type':Sequelize[_0x544c('0x2')]},'postalCode':{'type':Sequelize[_0x544c('0x2')]},'city':{'type':Sequelize[_0x544c('0x2')]},'country':{'type':Sequelize[_0x544c('0x2')]},'email':{'type':Sequelize[_0x544c('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x544c('0x2')]},'sStreet':{'type':Sequelize[_0x544c('0x2')]},'sPostalCode':{'type':Sequelize[_0x544c('0x2')]},'sCity':{'type':Sequelize[_0x544c('0x2')]},'sCountry':{'type':Sequelize[_0x544c('0x2')]},'description':{'type':Sequelize[_0x544c('0x2')]}};