Built motion from commit ddca4d0d.|2.5.47
[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 _0x0b03=['STRING','name','sequelize','exports'];(function(_0x4ba4b9,_0x6073f6){var _0x1a4a62=function(_0x3569a9){while(--_0x3569a9){_0x4ba4b9['push'](_0x4ba4b9['shift']());}};_0x1a4a62(++_0x6073f6);}(_0x0b03,0x19a));var _0x30b0=function(_0x4084fe,_0x19aad9){_0x4084fe=_0x4084fe-0x0;var _0x598649=_0x0b03[_0x4084fe];return _0x598649;};'use strict';var Sequelize=require(_0x30b0('0x0'));module[_0x30b0('0x1')]={'name':{'type':Sequelize[_0x30b0('0x2')],'unique':_0x30b0('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0x30b0('0x2')]},'website':{'type':Sequelize[_0x30b0('0x2')]},'phone':{'type':Sequelize[_0x30b0('0x2')]},'fax':{'type':Sequelize[_0x30b0('0x2')]},'type':{'type':Sequelize[_0x30b0('0x2')]},'street':{'type':Sequelize[_0x30b0('0x2')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0x30b0('0x2')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x30b0('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x30b0('0x2')]},'sStreet':{'type':Sequelize[_0x30b0('0x2')]},'sPostalCode':{'type':Sequelize[_0x30b0('0x2')]},'sCity':{'type':Sequelize[_0x30b0('0x2')]},'sCountry':{'type':Sequelize[_0x30b0('0x2')]},'description':{'type':Sequelize[_0x30b0('0x2')]}};