697557292a41880c27cb005f3d5b6be7a7ed1e36
[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 _0xefe9=['STRING','name','sequelize','exports'];(function(_0x102881,_0x58d723){var _0x5c63d0=function(_0x955c59){while(--_0x955c59){_0x102881['push'](_0x102881['shift']());}};_0x5c63d0(++_0x58d723);}(_0xefe9,0xee));var _0x9efe=function(_0x5e1583,_0x253e55){_0x5e1583=_0x5e1583-0x0;var _0x539393=_0xefe9[_0x5e1583];return _0x539393;};'use strict';var Sequelize=require(_0x9efe('0x0'));module[_0x9efe('0x1')]={'name':{'type':Sequelize[_0x9efe('0x2')],'unique':_0x9efe('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x9efe('0x2')]},'companyId':{'type':Sequelize[_0x9efe('0x2')]},'website':{'type':Sequelize[_0x9efe('0x2')]},'phone':{'type':Sequelize[_0x9efe('0x2')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x9efe('0x2')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0x9efe('0x2')]},'city':{'type':Sequelize[_0x9efe('0x2')]},'country':{'type':Sequelize[_0x9efe('0x2')]},'email':{'type':Sequelize[_0x9efe('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x9efe('0x2')]},'sStreet':{'type':Sequelize[_0x9efe('0x2')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize[_0x9efe('0x2')]},'sCountry':{'type':Sequelize[_0x9efe('0x2')]},'description':{'type':Sequelize[_0x9efe('0x2')]}};