Built motion from commit 74d9782e.|2.6.30
[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 _0x0d94=['getDataValue','INTEGER','sequelize','STRING','name','system-'];(function(_0x1fb7c1,_0x14a6f7){var _0x5659ec=function(_0xea6c0d){while(--_0xea6c0d){_0x1fb7c1['push'](_0x1fb7c1['shift']());}};_0x5659ec(++_0x14a6f7);}(_0x0d94,0x18e));var _0x40d9=function(_0x191618,_0x493f39){_0x191618=_0x191618-0x0;var _0x361ae1=_0x0d94[_0x191618];return _0x361ae1;};'use strict';var Sequelize=require(_0x40d9('0x0'));module['exports']={'name':{'type':Sequelize[_0x40d9('0x1')],'allowNull':![],'unique':_0x40d9('0x2')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x127e3f){return _0x40d9('0x3')+this[_0x40d9('0x4')]('name')+'-';}},'description':{'type':Sequelize[_0x40d9('0x1')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0x40d9('0x5')]}};