Built motion from commit (unavailable).|2.5.22
[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 _0x4342=['sequelize','name','STRING'];(function(_0x511409,_0x5cfe6a){var _0x370750=function(_0x2ae6a9){while(--_0x2ae6a9){_0x511409['push'](_0x511409['shift']());}};_0x370750(++_0x5cfe6a);}(_0x4342,0x1d4));var _0x2434=function(_0x9e689c,_0x2600d8){_0x9e689c=_0x9e689c-0x0;var _0x13ee00=_0x4342[_0x9e689c];return _0x13ee00;};'use strict';var Sequelize=require(_0x2434('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0x2434('0x1'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x2434('0x2')]},'companyId':{'type':Sequelize[_0x2434('0x2')]},'website':{'type':Sequelize[_0x2434('0x2')]},'phone':{'type':Sequelize[_0x2434('0x2')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x2434('0x2')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0x2434('0x2')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x2434('0x2')]},'email':{'type':Sequelize[_0x2434('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x2434('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x2434('0x2')]},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0x2434('0x2')]},'description':{'type':Sequelize[_0x2434('0x2')]}};