6accb4d7d798e8fd2e9258c3b6bea9dc37f5b771
[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 _0x3f1a=['STRING','exports','name'];(function(_0x480f89,_0x5d304d){var _0x53400e=function(_0x36532d){while(--_0x36532d){_0x480f89['push'](_0x480f89['shift']());}};_0x53400e(++_0x5d304d);}(_0x3f1a,0x145));var _0xa3f1=function(_0x1d10c7,_0x50b734){_0x1d10c7=_0x1d10c7-0x0;var _0x4c5881=_0x3f1a[_0x1d10c7];return _0x4c5881;};'use strict';var Sequelize=require('sequelize');module[_0xa3f1('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0xa3f1('0x1'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xa3f1('0x2')]},'companyId':{'type':Sequelize[_0xa3f1('0x2')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0xa3f1('0x2')]},'fax':{'type':Sequelize[_0xa3f1('0x2')]},'type':{'type':Sequelize[_0xa3f1('0x2')]},'street':{'type':Sequelize[_0xa3f1('0x2')]},'postalCode':{'type':Sequelize[_0xa3f1('0x2')]},'city':{'type':Sequelize[_0xa3f1('0x2')]},'country':{'type':Sequelize[_0xa3f1('0x2')]},'email':{'type':Sequelize[_0xa3f1('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xa3f1('0x2')]},'sStreet':{'type':Sequelize[_0xa3f1('0x2')]},'sPostalCode':{'type':Sequelize[_0xa3f1('0x2')]},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0xa3f1('0x2')]},'description':{'type':Sequelize[_0xa3f1('0x2')]}};