Built motion from commit 67e5df37.|2.0.66
[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 _0xab82=['sequelize','exports','STRING'];(function(_0x1c6b86,_0x116906){var _0x4aec9c=function(_0x3b0305){while(--_0x3b0305){_0x1c6b86['push'](_0x1c6b86['shift']());}};_0x4aec9c(++_0x116906);}(_0xab82,0x1b6));var _0x2ab8=function(_0x4bc80a,_0x1c485b){_0x4bc80a=_0x4bc80a-0x0;var _0x57db99=_0xab82[_0x4bc80a];return _0x57db99;};'use strict';var Sequelize=require(_0x2ab8('0x0'));module[_0x2ab8('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x2ab8('0x2')]},'companyId':{'type':Sequelize[_0x2ab8('0x2')]},'website':{'type':Sequelize[_0x2ab8('0x2')]},'phone':{'type':Sequelize[_0x2ab8('0x2')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0x2ab8('0x2')]},'postalCode':{'type':Sequelize[_0x2ab8('0x2')]},'city':{'type':Sequelize[_0x2ab8('0x2')]},'country':{'type':Sequelize[_0x2ab8('0x2')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0x2ab8('0x2')]},'sPostalCode':{'type':Sequelize[_0x2ab8('0x2')]},'sCity':{'type':Sequelize[_0x2ab8('0x2')]},'sCountry':{'type':Sequelize[_0x2ab8('0x2')]},'description':{'type':Sequelize[_0x2ab8('0x2')]}};