Built motion from commit 7158bc59.|2.5.42
[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 _0x36e1=['sequelize','exports','STRING'];(function(_0x5f3f88,_0x562baf){var _0xd08119=function(_0x42dbf7){while(--_0x42dbf7){_0x5f3f88['push'](_0x5f3f88['shift']());}};_0xd08119(++_0x562baf);}(_0x36e1,0xae));var _0x136e=function(_0x39780c,_0x5782c9){_0x39780c=_0x39780c-0x0;var _0x53c19b=_0x36e1[_0x39780c];return _0x53c19b;};'use strict';var Sequelize=require(_0x136e('0x0'));module[_0x136e('0x1')]={'name':{'type':Sequelize[_0x136e('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x136e('0x2')]},'companyId':{'type':Sequelize[_0x136e('0x2')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x136e('0x2')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x136e('0x2')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0x136e('0x2')]},'city':{'type':Sequelize[_0x136e('0x2')]},'country':{'type':Sequelize[_0x136e('0x2')]},'email':{'type':Sequelize[_0x136e('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x136e('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x136e('0x2')]},'sCity':{'type':Sequelize[_0x136e('0x2')]},'sCountry':{'type':Sequelize[_0x136e('0x2')]},'description':{'type':Sequelize[_0x136e('0x2')]}};