Built motion from commit (unavailable).|2.5.24
[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 _0x009e=['STRING','sequelize','exports','name'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0x009e,0x1c1));var _0xe009=function(_0x13dcce,_0x2f7bd4){_0x13dcce=_0x13dcce-0x0;var _0x2c8218=_0x009e[_0x13dcce];return _0x2c8218;};'use strict';var Sequelize=require(_0xe009('0x0'));module[_0xe009('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0xe009('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xe009('0x3')]},'companyId':{'type':Sequelize[_0xe009('0x3')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0xe009('0x3')]},'fax':{'type':Sequelize[_0xe009('0x3')]},'type':{'type':Sequelize[_0xe009('0x3')]},'street':{'type':Sequelize[_0xe009('0x3')]},'postalCode':{'type':Sequelize[_0xe009('0x3')]},'city':{'type':Sequelize[_0xe009('0x3')]},'country':{'type':Sequelize[_0xe009('0x3')]},'email':{'type':Sequelize[_0xe009('0x3')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xe009('0x3')]},'sStreet':{'type':Sequelize[_0xe009('0x3')]},'sPostalCode':{'type':Sequelize[_0xe009('0x3')]},'sCity':{'type':Sequelize[_0xe009('0x3')]},'sCountry':{'type':Sequelize[_0xe009('0x3')]},'description':{'type':Sequelize[_0xe009('0x3')]}};