Built motion from commit 14588770.|2.5.38
[motion2.git] / server / api / voicePrefix / voicePrefix.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 _0x272e=['INTEGER','sequelize','exports','STRING','name','VIRTUAL','system-'];(function(_0x5554e9,_0x32bebc){var _0x4732b3=function(_0x568578){while(--_0x568578){_0x5554e9['push'](_0x5554e9['shift']());}};_0x4732b3(++_0x32bebc);}(_0x272e,0xc5));var _0xe272=function(_0x291d8f,_0x57b3e6){_0x291d8f=_0x291d8f-0x0;var _0x2be4a7=_0x272e[_0x291d8f];return _0x2be4a7;};'use strict';var Sequelize=require(_0xe272('0x0'));module[_0xe272('0x1')]={'name':{'type':Sequelize[_0xe272('0x2')],'allowNull':![],'unique':_0xe272('0x3')},'prefix':{'type':Sequelize[_0xe272('0x4')],'get':function(_0x14d409){return _0xe272('0x5')+this['getDataValue'](_0xe272('0x3'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0xe272('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0xe272('0x6')]}};