Built motion from commit 08fb8613.|2.6.31
[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 _0x986a=['exports','STRING'];(function(_0x61b3ab,_0x1fc298){var _0x57097f=function(_0x25970b){while(--_0x25970b){_0x61b3ab['push'](_0x61b3ab['shift']());}};_0x57097f(++_0x1fc298);}(_0x986a,0x1d2));var _0xa986=function(_0x1e8083,_0x21679b){_0x1e8083=_0x1e8083-0x0;var _0x1e299e=_0x986a[_0x1e8083];return _0x1e299e;};'use strict';var Sequelize=require('sequelize');module[_0xa986('0x0')]={'name':{'type':Sequelize[_0xa986('0x1')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xa986('0x1')]},'companyId':{'type':Sequelize[_0xa986('0x1')]},'website':{'type':Sequelize[_0xa986('0x1')]},'phone':{'type':Sequelize[_0xa986('0x1')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xa986('0x1')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0xa986('0x1')]},'country':{'type':Sequelize[_0xa986('0x1')]},'email':{'type':Sequelize[_0xa986('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0xa986('0x1')]},'sPostalCode':{'type':Sequelize[_0xa986('0x1')]},'sCity':{'type':Sequelize[_0xa986('0x1')]},'sCountry':{'type':Sequelize[_0xa986('0x1')]},'description':{'type':Sequelize['STRING']}};