Built motion from commit (unavailable).|2.5.14
[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 _0xd7c4=['STRING','sequelize','exports','name'];(function(_0xce0e44,_0x44e3a3){var _0x209bb2=function(_0x1ce4c7){while(--_0x1ce4c7){_0xce0e44['push'](_0xce0e44['shift']());}};_0x209bb2(++_0x44e3a3);}(_0xd7c4,0x1b5));var _0x4d7c=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xd7c4[_0x14add3];return _0x4a174f;};'use strict';var Sequelize=require(_0x4d7c('0x0'));module[_0x4d7c('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x4d7c('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x4d7c('0x3')]},'companyId':{'type':Sequelize[_0x4d7c('0x3')]},'website':{'type':Sequelize[_0x4d7c('0x3')]},'phone':{'type':Sequelize[_0x4d7c('0x3')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x4d7c('0x3')]},'street':{'type':Sequelize[_0x4d7c('0x3')]},'postalCode':{'type':Sequelize[_0x4d7c('0x3')]},'city':{'type':Sequelize[_0x4d7c('0x3')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x4d7c('0x3')]},'sStreet':{'type':Sequelize[_0x4d7c('0x3')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize[_0x4d7c('0x3')]},'sCountry':{'type':Sequelize[_0x4d7c('0x3')]},'description':{'type':Sequelize[_0x4d7c('0x3')]}};