Built motion from commit ddca4d0d.|2.5.47
[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 _0x673d=['STRING','name','VIRTUAL','system-','getDataValue','INTEGER','sequelize','exports'];(function(_0x59413e,_0x250fd4){var _0x44ab07=function(_0x57b05c){while(--_0x57b05c){_0x59413e['push'](_0x59413e['shift']());}};_0x44ab07(++_0x250fd4);}(_0x673d,0x86));var _0xd673=function(_0x11447e,_0x33dab2){_0x11447e=_0x11447e-0x0;var _0x45a214=_0x673d[_0x11447e];return _0x45a214;};'use strict';var Sequelize=require(_0xd673('0x0'));module[_0xd673('0x1')]={'name':{'type':Sequelize[_0xd673('0x2')],'allowNull':![],'unique':_0xd673('0x3')},'prefix':{'type':Sequelize[_0xd673('0x4')],'get':function(_0x3786e9){return _0xd673('0x5')+this[_0xd673('0x6')]('name')+'-';}},'description':{'type':Sequelize[_0xd673('0x2')]},'callerIdAll':{'type':Sequelize[_0xd673('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0xd673('0x7')]}};