08e3f922f1ae5c399cba6d6d0e6f45765fb1cd29
[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 _0x4919=['exports','STRING','name','sequelize'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x4919,0xd7));var _0x9491=function(_0x46698a,_0x8de1e4){_0x46698a=_0x46698a-0x0;var _0x356db0=_0x4919[_0x46698a];return _0x356db0;};'use strict';var Sequelize=require(_0x9491('0x0'));module[_0x9491('0x1')]={'name':{'type':Sequelize[_0x9491('0x2')],'unique':_0x9491('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x9491('0x2')]},'companyId':{'type':Sequelize[_0x9491('0x2')]},'website':{'type':Sequelize[_0x9491('0x2')]},'phone':{'type':Sequelize[_0x9491('0x2')]},'fax':{'type':Sequelize[_0x9491('0x2')]},'type':{'type':Sequelize[_0x9491('0x2')]},'street':{'type':Sequelize[_0x9491('0x2')]},'postalCode':{'type':Sequelize[_0x9491('0x2')]},'city':{'type':Sequelize[_0x9491('0x2')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x9491('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x9491('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x9491('0x2')]},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0x9491('0x2')]},'description':{'type':Sequelize[_0x9491('0x2')]}};