6fcdeee7d0dbb9f105ffc84c5f510c8395fa8f9b
[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 _0x9d2d=['name','exports','STRING'];(function(_0x4dbf35,_0x3411b8){var _0x1bfd71=function(_0x5163f2){while(--_0x5163f2){_0x4dbf35['push'](_0x4dbf35['shift']());}};_0x1bfd71(++_0x3411b8);}(_0x9d2d,0x124));var _0xd9d2=function(_0x395896,_0x137d78){_0x395896=_0x395896-0x0;var _0x220799=_0x9d2d[_0x395896];return _0x220799;};'use strict';var Sequelize=require('sequelize');module[_0xd9d2('0x0')]={'name':{'type':Sequelize[_0xd9d2('0x1')],'unique':_0xd9d2('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xd9d2('0x1')]},'companyId':{'type':Sequelize[_0xd9d2('0x1')]},'website':{'type':Sequelize[_0xd9d2('0x1')]},'phone':{'type':Sequelize[_0xd9d2('0x1')]},'fax':{'type':Sequelize[_0xd9d2('0x1')]},'type':{'type':Sequelize[_0xd9d2('0x1')]},'street':{'type':Sequelize[_0xd9d2('0x1')]},'postalCode':{'type':Sequelize[_0xd9d2('0x1')]},'city':{'type':Sequelize[_0xd9d2('0x1')]},'country':{'type':Sequelize[_0xd9d2('0x1')]},'email':{'type':Sequelize[_0xd9d2('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0xd9d2('0x1')]},'sCity':{'type':Sequelize[_0xd9d2('0x1')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0xd9d2('0x1')]}};