f821acd9bfe7ee4d97464eb72cc0757bb49d8100
[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 _0xca87=['sequelize','STRING','name'];(function(_0x2bc721,_0xa8d0e){var _0xc63c3=function(_0x44b0d0){while(--_0x44b0d0){_0x2bc721['push'](_0x2bc721['shift']());}};_0xc63c3(++_0xa8d0e);}(_0xca87,0xc9));var _0x7ca8=function(_0x1096be,_0x5817a9){_0x1096be=_0x1096be-0x0;var _0x5a32a7=_0xca87[_0x1096be];return _0x5a32a7;};'use strict';var Sequelize=require(_0x7ca8('0x0'));module['exports']={'name':{'type':Sequelize[_0x7ca8('0x1')],'unique':_0x7ca8('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0x7ca8('0x1')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x7ca8('0x1')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x7ca8('0x1')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0x7ca8('0x1')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x7ca8('0x1')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0x7ca8('0x1')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0x7ca8('0x1')]},'description':{'type':Sequelize['STRING']}};