Built motion from commit ce9a7520.|2.5.39
[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 _0x2dd4=['STRING','name'];(function(_0x3f7f2a,_0x14772c){var _0x357a70=function(_0x1c22bf){while(--_0x1c22bf){_0x3f7f2a['push'](_0x3f7f2a['shift']());}};_0x357a70(++_0x14772c);}(_0x2dd4,0x173));var _0x42dd=function(_0x25d5da,_0x2bb901){_0x25d5da=_0x25d5da-0x0;var _0x11e0dd=_0x2dd4[_0x25d5da];return _0x11e0dd;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0x42dd('0x0'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x42dd('0x1')]},'companyId':{'type':Sequelize[_0x42dd('0x1')]},'website':{'type':Sequelize[_0x42dd('0x1')]},'phone':{'type':Sequelize[_0x42dd('0x1')]},'fax':{'type':Sequelize[_0x42dd('0x1')]},'type':{'type':Sequelize[_0x42dd('0x1')]},'street':{'type':Sequelize[_0x42dd('0x1')]},'postalCode':{'type':Sequelize[_0x42dd('0x1')]},'city':{'type':Sequelize[_0x42dd('0x1')]},'country':{'type':Sequelize[_0x42dd('0x1')]},'email':{'type':Sequelize[_0x42dd('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x42dd('0x1')]},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0x42dd('0x1')]},'description':{'type':Sequelize['STRING']}};