Built motion from commit (unavailable).|2.5.31
[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 _0xb146=['sequelize','STRING','name'];(function(_0x4170b4,_0x417f24){var _0x140d2c=function(_0x36571e){while(--_0x36571e){_0x4170b4['push'](_0x4170b4['shift']());}};_0x140d2c(++_0x417f24);}(_0xb146,0x129));var _0x6b14=function(_0x1a2b70,_0x53a888){_0x1a2b70=_0x1a2b70-0x0;var _0x2b8ae7=_0xb146[_0x1a2b70];return _0x2b8ae7;};'use strict';var Sequelize=require(_0x6b14('0x0'));module['exports']={'name':{'type':Sequelize[_0x6b14('0x1')],'unique':_0x6b14('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x6b14('0x1')]},'companyId':{'type':Sequelize[_0x6b14('0x1')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x6b14('0x1')]},'type':{'type':Sequelize[_0x6b14('0x1')]},'street':{'type':Sequelize[_0x6b14('0x1')]},'postalCode':{'type':Sequelize[_0x6b14('0x1')]},'city':{'type':Sequelize[_0x6b14('0x1')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x6b14('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x6b14('0x1')]},'sStreet':{'type':Sequelize[_0x6b14('0x1')]},'sPostalCode':{'type':Sequelize[_0x6b14('0x1')]},'sCity':{'type':Sequelize[_0x6b14('0x1')]},'sCountry':{'type':Sequelize[_0x6b14('0x1')]},'description':{'type':Sequelize[_0x6b14('0x1')]}};