Built motion from commit 1fa89557.|2.6.10
[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 _0x0aa4=['sequelize','STRING'];(function(_0x29d119,_0x175a77){var _0x36a38c=function(_0x571d04){while(--_0x571d04){_0x29d119['push'](_0x29d119['shift']());}};_0x36a38c(++_0x175a77);}(_0x0aa4,0x13c));var _0x40aa=function(_0x415a54,_0x270125){_0x415a54=_0x415a54-0x0;var _0x4da4ef=_0x0aa4[_0x415a54];return _0x4da4ef;};'use strict';var Sequelize=require(_0x40aa('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0x40aa('0x1')]},'website':{'type':Sequelize[_0x40aa('0x1')]},'phone':{'type':Sequelize[_0x40aa('0x1')]},'fax':{'type':Sequelize[_0x40aa('0x1')]},'type':{'type':Sequelize[_0x40aa('0x1')]},'street':{'type':Sequelize[_0x40aa('0x1')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0x40aa('0x1')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x40aa('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x40aa('0x1')]},'sStreet':{'type':Sequelize[_0x40aa('0x1')]},'sPostalCode':{'type':Sequelize[_0x40aa('0x1')]},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0x40aa('0x1')]},'description':{'type':Sequelize[_0x40aa('0x1')]}};