Built motion from commit eddce310.|2.6.12
[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 _0x9bee=['STRING','name'];(function(_0x9df060,_0x253d33){var _0x338dfe=function(_0x17d9a5){while(--_0x17d9a5){_0x9df060['push'](_0x9df060['shift']());}};_0x338dfe(++_0x253d33);}(_0x9bee,0xf4));var _0xe9be=function(_0x1dae99,_0x4207dc){_0x1dae99=_0x1dae99-0x0;var _0x1cda0c=_0x9bee[_0x1dae99];return _0x1cda0c;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xe9be('0x0')],'unique':_0xe9be('0x1'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0xe9be('0x0')]},'website':{'type':Sequelize[_0xe9be('0x0')]},'phone':{'type':Sequelize[_0xe9be('0x0')]},'fax':{'type':Sequelize[_0xe9be('0x0')]},'type':{'type':Sequelize[_0xe9be('0x0')]},'street':{'type':Sequelize[_0xe9be('0x0')]},'postalCode':{'type':Sequelize[_0xe9be('0x0')]},'city':{'type':Sequelize[_0xe9be('0x0')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0xe9be('0x0')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xe9be('0x0')]},'sStreet':{'type':Sequelize[_0xe9be('0x0')]},'sPostalCode':{'type':Sequelize[_0xe9be('0x0')]},'sCity':{'type':Sequelize[_0xe9be('0x0')]},'sCountry':{'type':Sequelize[_0xe9be('0x0')]},'description':{'type':Sequelize['STRING']}};