Built motion from commit 9d0783e6.|2.6.13
[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 _0xc123=['name','exports','STRING'];(function(_0x59e7e0,_0x3ec148){var _0x26b058=function(_0x212ee2){while(--_0x212ee2){_0x59e7e0['push'](_0x59e7e0['shift']());}};_0x26b058(++_0x3ec148);}(_0xc123,0x193));var _0x3c12=function(_0x35ef6b,_0x4f9e69){_0x35ef6b=_0x35ef6b-0x0;var _0x44127e=_0xc123[_0x35ef6b];return _0x44127e;};'use strict';var Sequelize=require('sequelize');module[_0x3c12('0x0')]={'name':{'type':Sequelize[_0x3c12('0x1')],'unique':_0x3c12('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x3c12('0x1')]},'companyId':{'type':Sequelize[_0x3c12('0x1')]},'website':{'type':Sequelize[_0x3c12('0x1')]},'phone':{'type':Sequelize[_0x3c12('0x1')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0x3c12('0x1')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x3c12('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x3c12('0x1')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0x3c12('0x1')]},'description':{'type':Sequelize[_0x3c12('0x1')]}};