Built motion from commit da24aabd.|2.6.20
[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 _0xd859=['name','STRING'];(function(_0x26acd7,_0x4466fd){var _0x193640=function(_0x3016ee){while(--_0x3016ee){_0x26acd7['push'](_0x26acd7['shift']());}};_0x193640(++_0x4466fd);}(_0xd859,0x189));var _0x9d85=function(_0x4eed89,_0x108efd){_0x4eed89=_0x4eed89-0x0;var _0x1d6ded=_0xd859[_0x4eed89];return _0x1d6ded;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x9d85('0x0')],'unique':_0x9d85('0x1'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x9d85('0x0')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0x9d85('0x0')]},'phone':{'type':Sequelize[_0x9d85('0x0')]},'fax':{'type':Sequelize[_0x9d85('0x0')]},'type':{'type':Sequelize[_0x9d85('0x0')]},'street':{'type':Sequelize[_0x9d85('0x0')]},'postalCode':{'type':Sequelize[_0x9d85('0x0')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x9d85('0x0')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x9d85('0x0')]},'sStreet':{'type':Sequelize[_0x9d85('0x0')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x9d85('0x0')]}};