Built motion from commit 58b0471d.|2.6.29
[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 _0x1257=['STRING'];(function(_0x2d0a70,_0x28fe51){var _0x127de3=function(_0x58b165){while(--_0x58b165){_0x2d0a70['push'](_0x2d0a70['shift']());}};_0x127de3(++_0x28fe51);}(_0x1257,0x17d));var _0x7125=function(_0x31e29a,_0x349c9b){_0x31e29a=_0x31e29a-0x0;var _0x32d892=_0x1257[_0x31e29a];return _0x32d892;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x7125('0x0')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x7125('0x0')]},'fax':{'type':Sequelize[_0x7125('0x0')]},'type':{'type':Sequelize[_0x7125('0x0')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x7125('0x0')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0x7125('0x0')]},'sPostalCode':{'type':Sequelize[_0x7125('0x0')]},'sCity':{'type':Sequelize[_0x7125('0x0')]},'sCountry':{'type':Sequelize[_0x7125('0x0')]},'description':{'type':Sequelize[_0x7125('0x0')]}};