Built motion from commit (unavailable).|2.4.18
[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 _0x7e1b=['STRING','exports'];(function(_0x8a1a2,_0x26e04d){var _0x713d23=function(_0x562419){while(--_0x562419){_0x8a1a2['push'](_0x8a1a2['shift']());}};_0x713d23(++_0x26e04d);}(_0x7e1b,0x177));var _0xb7e1=function(_0x576170,_0x1712ae){_0x576170=_0x576170-0x0;var _0x397c70=_0x7e1b[_0x576170];return _0x397c70;};'use strict';var Sequelize=require('sequelize');module[_0xb7e1('0x0')]={'name':{'type':Sequelize[_0xb7e1('0x1')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0xb7e1('0x1')]},'website':{'type':Sequelize[_0xb7e1('0x1')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0xb7e1('0x1')]},'type':{'type':Sequelize[_0xb7e1('0x1')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0xb7e1('0x1')]},'country':{'type':Sequelize[_0xb7e1('0x1')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0xb7e1('0x1')]},'sCity':{'type':Sequelize[_0xb7e1('0x1')]},'sCountry':{'type':Sequelize[_0xb7e1('0x1')]},'description':{'type':Sequelize[_0xb7e1('0x1')]}};