Built motion from commit fe909640.|2.6.8
[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 _0x79d3=['name','VIRTUAL','getDataValue','STRING','INTEGER','sequelize','exports'];(function(_0x5eab89,_0x540adf){var _0x4ebd0b=function(_0x456258){while(--_0x456258){_0x5eab89['push'](_0x5eab89['shift']());}};_0x4ebd0b(++_0x540adf);}(_0x79d3,0xb4));var _0x379d=function(_0x2598b3,_0x1cc0a8){_0x2598b3=_0x2598b3-0x0;var _0x55607f=_0x79d3[_0x2598b3];return _0x55607f;};'use strict';var Sequelize=require(_0x379d('0x0'));module[_0x379d('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x379d('0x2')},'prefix':{'type':Sequelize[_0x379d('0x3')],'get':function(_0x404ad9){return'system-'+this[_0x379d('0x4')](_0x379d('0x2'))+'-';}},'description':{'type':Sequelize[_0x379d('0x5')]},'callerIdAll':{'type':Sequelize[_0x379d('0x5')]},'VoiceExtensionId':{'type':Sequelize[_0x379d('0x6')]}};