7e372ab5c2979483dd278eaced7477456396cc8f
[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 _0x5e31=['name','sequelize','STRING'];(function(_0x10a73e,_0x189297){var _0x10b550=function(_0x4bf8c7){while(--_0x4bf8c7){_0x10a73e['push'](_0x10a73e['shift']());}};_0x10b550(++_0x189297);}(_0x5e31,0x115));var _0x15e3=function(_0x489c95,_0x53159c){_0x489c95=_0x489c95-0x0;var _0x10e7a7=_0x5e31[_0x489c95];return _0x10e7a7;};'use strict';var Sequelize=require(_0x15e3('0x0'));module['exports']={'name':{'type':Sequelize[_0x15e3('0x1')],'unique':_0x15e3('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x15e3('0x1')]},'companyId':{'type':Sequelize[_0x15e3('0x1')]},'website':{'type':Sequelize[_0x15e3('0x1')]},'phone':{'type':Sequelize[_0x15e3('0x1')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x15e3('0x1')]},'street':{'type':Sequelize[_0x15e3('0x1')]},'postalCode':{'type':Sequelize[_0x15e3('0x1')]},'city':{'type':Sequelize[_0x15e3('0x1')]},'country':{'type':Sequelize[_0x15e3('0x1')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x15e3('0x1')]},'sStreet':{'type':Sequelize[_0x15e3('0x1')]},'sPostalCode':{'type':Sequelize[_0x15e3('0x1')]},'sCity':{'type':Sequelize[_0x15e3('0x1')]},'sCountry':{'type':Sequelize[_0x15e3('0x1')]},'description':{'type':Sequelize[_0x15e3('0x1')]}};