Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / api / voicePrefix / voicePrefix.attributes.js
index bec7f11..369ab96 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1b1f=['sequelize','exports','VIRTUAL','name','STRING','INTEGER'];(function(_0x28947d,_0x4cc9c6){var _0x12d2ee=function(_0x3f38fc){while(--_0x3f38fc){_0x28947d['push'](_0x28947d['shift']());}};_0x12d2ee(++_0x4cc9c6);}(_0x1b1f,0x17a));var _0xf1b1=function(_0x42b902,_0x363c69){_0x42b902=_0x42b902-0x0;var _0x59c469=_0x1b1f[_0x42b902];return _0x59c469;};'use strict';var Sequelize=require(_0xf1b1('0x0'));module[_0xf1b1('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0xf1b1('0x2')],'get':function(_0x557e2b){return'system-'+this['getDataValue'](_0xf1b1('0x3'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0xf1b1('0x4')]},'VoiceExtensionId':{'type':Sequelize[_0xf1b1('0x5')]}};
\ No newline at end of file
+var _0xb364=['STRING','INTEGER','name','system-','getDataValue'];(function(_0x1cdc7b,_0x1d3d53){var _0x2d8126=function(_0x3b45fb){while(--_0x3b45fb){_0x1cdc7b['push'](_0x1cdc7b['shift']());}};_0x2d8126(++_0x1d3d53);}(_0xb364,0x7f));var _0x4b36=function(_0x7da51b,_0x337ee8){_0x7da51b=_0x7da51b-0x0;var _0x1867d7=_0xb364[_0x7da51b];return _0x1867d7;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x4b36('0x0')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x3363d0){return _0x4b36('0x1')+this[_0x4b36('0x2')](_0x4b36('0x0'))+'-';}},'description':{'type':Sequelize[_0x4b36('0x3')]},'callerIdAll':{'type':Sequelize[_0x4b36('0x3')]},'VoiceExtensionId':{'type':Sequelize[_0x4b36('0x4')]}};
\ No newline at end of file