Built motion from commit da617fac.|2.6.6
[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 _0xd0a7=['STRING'];(function(_0x25fd8b,_0x4f6771){var _0x2ebe10=function(_0x13cd93){while(--_0x13cd93){_0x25fd8b['push'](_0x25fd8b['shift']());}};_0x2ebe10(++_0x4f6771);}(_0xd0a7,0x11b));var _0x7d0a=function(_0x4b54f8,_0x419eca){_0x4b54f8=_0x4b54f8-0x0;var _0x3c1443=_0xd0a7[_0x4b54f8];return _0x3c1443;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x7d0a('0x0')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x7d0a('0x0')]},'companyId':{'type':Sequelize[_0x7d0a('0x0')]},'website':{'type':Sequelize[_0x7d0a('0x0')]},'phone':{'type':Sequelize[_0x7d0a('0x0')]},'fax':{'type':Sequelize[_0x7d0a('0x0')]},'type':{'type':Sequelize[_0x7d0a('0x0')]},'street':{'type':Sequelize[_0x7d0a('0x0')]},'postalCode':{'type':Sequelize[_0x7d0a('0x0')]},'city':{'type':Sequelize[_0x7d0a('0x0')]},'country':{'type':Sequelize[_0x7d0a('0x0')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x7d0a('0x0')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x7d0a('0x0')]},'sCity':{'type':Sequelize[_0x7d0a('0x0')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x7d0a('0x0')]}};