4dbfb622f3389b86ac25e25ad60936c1ae44a2a5
[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 _0x569c=['name','STRING'];(function(_0x48e4a4,_0x15df90){var _0x5e0849=function(_0x315254){while(--_0x315254){_0x48e4a4['push'](_0x48e4a4['shift']());}};_0x5e0849(++_0x15df90);}(_0x569c,0x1a8));var _0xc569=function(_0x2b4ac7,_0x33859a){_0x2b4ac7=_0x2b4ac7-0x0;var _0x2ba2c9=_0x569c[_0x2b4ac7];return _0x2ba2c9;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xc569('0x0'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0xc569('0x1')]},'phone':{'type':Sequelize[_0xc569('0x1')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xc569('0x1')]},'street':{'type':Sequelize[_0xc569('0x1')]},'postalCode':{'type':Sequelize[_0xc569('0x1')]},'city':{'type':Sequelize[_0xc569('0x1')]},'country':{'type':Sequelize[_0xc569('0x1')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xc569('0x1')]},'sStreet':{'type':Sequelize[_0xc569('0x1')]},'sPostalCode':{'type':Sequelize[_0xc569('0x1')]},'sCity':{'type':Sequelize[_0xc569('0x1')]},'sCountry':{'type':Sequelize[_0xc569('0x1')]},'description':{'type':Sequelize[_0xc569('0x1')]}};