Built motion from commit 0900f080.|2.5.45
[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 _0x351b=['exports','STRING','name','sequelize'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0x351b,0xf7));var _0xb351=function(_0x3de9c7,_0x4da6b8){_0x3de9c7=_0x3de9c7-0x0;var _0x1c5538=_0x351b[_0x3de9c7];return _0x1c5538;};'use strict';var Sequelize=require(_0xb351('0x0'));module[_0xb351('0x1')]={'name':{'type':Sequelize[_0xb351('0x2')],'unique':_0xb351('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xb351('0x2')]},'companyId':{'type':Sequelize[_0xb351('0x2')]},'website':{'type':Sequelize[_0xb351('0x2')]},'phone':{'type':Sequelize[_0xb351('0x2')]},'fax':{'type':Sequelize[_0xb351('0x2')]},'type':{'type':Sequelize[_0xb351('0x2')]},'street':{'type':Sequelize[_0xb351('0x2')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0xb351('0x2')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0xb351('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0xb351('0x2')]},'sPostalCode':{'type':Sequelize[_0xb351('0x2')]},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0xb351('0x2')]},'description':{'type':Sequelize['STRING']}};