Built motion from commit (unavailable).|2.5.13
[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 _0x235f=['name','STRING','exports'];(function(_0x999b85,_0x1edc2b){var _0x1d7124=function(_0x59cd29){while(--_0x59cd29){_0x999b85['push'](_0x999b85['shift']());}};_0x1d7124(++_0x1edc2b);}(_0x235f,0x170));var _0xf235=function(_0x31e29a,_0x349c9b){_0x31e29a=_0x31e29a-0x0;var _0x32d892=_0x235f[_0x31e29a];return _0x32d892;};'use strict';var Sequelize=require('sequelize');module[_0xf235('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0xf235('0x1'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xf235('0x2')]},'companyId':{'type':Sequelize[_0xf235('0x2')]},'website':{'type':Sequelize[_0xf235('0x2')]},'phone':{'type':Sequelize[_0xf235('0x2')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xf235('0x2')]},'street':{'type':Sequelize[_0xf235('0x2')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0xf235('0x2')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0xf235('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xf235('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0xf235('0x2')]},'sCity':{'type':Sequelize[_0xf235('0x2')]},'sCountry':{'type':Sequelize[_0xf235('0x2')]},'description':{'type':Sequelize[_0xf235('0x2')]}};