Built motion from commit (unavailable).|2.5.15
[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 _0x1a03=['sequelize','exports','STRING'];(function(_0x5008d3,_0x31168f){var _0x54d857=function(_0x490bd8){while(--_0x490bd8){_0x5008d3['push'](_0x5008d3['shift']());}};_0x54d857(++_0x31168f);}(_0x1a03,0x7b));var _0x31a0=function(_0x1ed010,_0x734e0b){_0x1ed010=_0x1ed010-0x0;var _0x6e22bf=_0x1a03[_0x1ed010];return _0x6e22bf;};'use strict';var Sequelize=require(_0x31a0('0x0'));module[_0x31a0('0x1')]={'name':{'type':Sequelize[_0x31a0('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x31a0('0x2')]},'companyId':{'type':Sequelize[_0x31a0('0x2')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x31a0('0x2')]},'street':{'type':Sequelize[_0x31a0('0x2')]},'postalCode':{'type':Sequelize[_0x31a0('0x2')]},'city':{'type':Sequelize[_0x31a0('0x2')]},'country':{'type':Sequelize[_0x31a0('0x2')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x31a0('0x2')]},'sStreet':{'type':Sequelize[_0x31a0('0x2')]},'sPostalCode':{'type':Sequelize[_0x31a0('0x2')]},'sCity':{'type':Sequelize[_0x31a0('0x2')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize['STRING']}};