Built motion from commit 0900f080.|2.5.45
[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 _0x4442=['system-','getDataValue','INTEGER','sequelize','STRING','name','VIRTUAL'];(function(_0x465028,_0x4570ac){var _0xb783d4=function(_0x5458c5){while(--_0x5458c5){_0x465028['push'](_0x465028['shift']());}};_0xb783d4(++_0x4570ac);}(_0x4442,0xa4));var _0x2444=function(_0x2f420c,_0x3a9770){_0x2f420c=_0x2f420c-0x0;var _0x2fac00=_0x4442[_0x2f420c];return _0x2fac00;};'use strict';var Sequelize=require(_0x2444('0x0'));module['exports']={'name':{'type':Sequelize[_0x2444('0x1')],'allowNull':![],'unique':_0x2444('0x2')},'prefix':{'type':Sequelize[_0x2444('0x3')],'get':function(_0x464dbf){return _0x2444('0x4')+this[_0x2444('0x5')](_0x2444('0x2'))+'-';}},'description':{'type':Sequelize[_0x2444('0x1')]},'callerIdAll':{'type':Sequelize[_0x2444('0x1')]},'VoiceExtensionId':{'type':Sequelize[_0x2444('0x6')]}};