d0b9179d9b84f0fc4c4ae6407e85964b1549c5fe
[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 _0x4dc7=['STRING','name','sequelize','exports'];(function(_0x79cd47,_0x16102d){var _0x3b9484=function(_0x23db95){while(--_0x23db95){_0x79cd47['push'](_0x79cd47['shift']());}};_0x3b9484(++_0x16102d);}(_0x4dc7,0x182));var _0x74dc=function(_0x55ce99,_0x158d8f){_0x55ce99=_0x55ce99-0x0;var _0x52bf95=_0x4dc7[_0x55ce99];return _0x52bf95;};'use strict';var Sequelize=require(_0x74dc('0x0'));module[_0x74dc('0x1')]={'name':{'type':Sequelize[_0x74dc('0x2')],'unique':_0x74dc('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x74dc('0x2')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x74dc('0x2')]},'fax':{'type':Sequelize[_0x74dc('0x2')]},'type':{'type':Sequelize[_0x74dc('0x2')]},'street':{'type':Sequelize[_0x74dc('0x2')]},'postalCode':{'type':Sequelize[_0x74dc('0x2')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x74dc('0x2')]},'email':{'type':Sequelize[_0x74dc('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0x74dc('0x2')]},'sPostalCode':{'type':Sequelize[_0x74dc('0x2')]},'sCity':{'type':Sequelize[_0x74dc('0x2')]},'sCountry':{'type':Sequelize[_0x74dc('0x2')]},'description':{'type':Sequelize[_0x74dc('0x2')]}};