Built motion from commit 3e059bc2.|2.5.32
[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 _0x86a1=['sequelize','name','VIRTUAL','system-','STRING','INTEGER'];(function(_0x5c147f,_0x19066d){var _0x2eff67=function(_0x427e79){while(--_0x427e79){_0x5c147f['push'](_0x5c147f['shift']());}};_0x2eff67(++_0x19066d);}(_0x86a1,0x162));var _0x186a=function(_0x2fd69d,_0xeb1037){_0x2fd69d=_0x2fd69d-0x0;var _0x5d5ef3=_0x86a1[_0x2fd69d];return _0x5d5ef3;};'use strict';var Sequelize=require(_0x186a('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x186a('0x1')},'prefix':{'type':Sequelize[_0x186a('0x2')],'get':function(_0x6d0fe4){return _0x186a('0x3')+this['getDataValue'](_0x186a('0x1'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0x186a('0x4')]},'VoiceExtensionId':{'type':Sequelize[_0x186a('0x5')]}};