Built motion from commit (unavailable).|2.5.19
[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 _0xcc0e=['sequelize','exports','STRING','name'];(function(_0x4da690,_0x12d136){var _0x263c53=function(_0x1832fa){while(--_0x1832fa){_0x4da690['push'](_0x4da690['shift']());}};_0x263c53(++_0x12d136);}(_0xcc0e,0x18c));var _0xecc0=function(_0x1dbf55,_0x4ffc41){_0x1dbf55=_0x1dbf55-0x0;var _0x3753d4=_0xcc0e[_0x1dbf55];return _0x3753d4;};'use strict';var Sequelize=require(_0xecc0('0x0'));module[_0xecc0('0x1')]={'name':{'type':Sequelize[_0xecc0('0x2')],'unique':_0xecc0('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xecc0('0x2')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0xecc0('0x2')]},'phone':{'type':Sequelize[_0xecc0('0x2')]},'fax':{'type':Sequelize[_0xecc0('0x2')]},'type':{'type':Sequelize[_0xecc0('0x2')]},'street':{'type':Sequelize[_0xecc0('0x2')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0xecc0('0x2')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xecc0('0x2')]},'sStreet':{'type':Sequelize[_0xecc0('0x2')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize[_0xecc0('0x2')]},'sCountry':{'type':Sequelize[_0xecc0('0x2')]},'description':{'type':Sequelize[_0xecc0('0x2')]}};