Built motion from commit (unavailable).|2.5.0
[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 _0x7970=['sequelize','exports','name','STRING'];(function(_0x373bb7,_0x51d65c){var _0x5ab49b=function(_0x186ff1){while(--_0x186ff1){_0x373bb7['push'](_0x373bb7['shift']());}};_0x5ab49b(++_0x51d65c);}(_0x7970,0x134));var _0x0797=function(_0x294c83,_0x48414a){_0x294c83=_0x294c83-0x0;var _0x7adc3b=_0x7970[_0x294c83];return _0x7adc3b;};'use strict';var Sequelize=require(_0x0797('0x0'));module[_0x0797('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x0797('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x0797('0x3')]},'companyId':{'type':Sequelize[_0x0797('0x3')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x0797('0x3')]},'type':{'type':Sequelize[_0x0797('0x3')]},'street':{'type':Sequelize[_0x0797('0x3')]},'postalCode':{'type':Sequelize[_0x0797('0x3')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x0797('0x3')]},'email':{'type':Sequelize[_0x0797('0x3')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0x0797('0x3')]},'sPostalCode':{'type':Sequelize[_0x0797('0x3')]},'sCity':{'type':Sequelize[_0x0797('0x3')]},'sCountry':{'type':Sequelize[_0x0797('0x3')]},'description':{'type':Sequelize[_0x0797('0x3')]}};