Built motion from commit 87cd5f02.|2.5.48
[motion2.git] / server / api / voicePrefix / voicePrefix.attributes.js
index 14baf25..280eb10 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x492d=['INTEGER','sequelize','exports','name','VIRTUAL','STRING'];(function(_0x5a456c,_0x383e77){var _0x3ba13a=function(_0x3da6c9){while(--_0x3da6c9){_0x5a456c['push'](_0x5a456c['shift']());}};_0x3ba13a(++_0x383e77);}(_0x492d,0x121));var _0xd492=function(_0xeb59d5,_0x36bec2){_0xeb59d5=_0xeb59d5-0x0;var _0xb86bb7=_0x492d[_0xeb59d5];return _0xb86bb7;};'use strict';var Sequelize=require(_0xd492('0x0'));module[_0xd492('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xd492('0x2')},'prefix':{'type':Sequelize[_0xd492('0x3')],'get':function(_0x4675ae){return'system-'+this['getDataValue']('name')+'-';}},'description':{'type':Sequelize[_0xd492('0x4')]},'callerIdAll':{'type':Sequelize[_0xd492('0x4')]},'VoiceExtensionId':{'type':Sequelize[_0xd492('0x5')]}};
\ No newline at end of file
+var _0xaed3=['VIRTUAL','system-','getDataValue','STRING','exports','name'];(function(_0x596797,_0x3a097a){var _0x20911e=function(_0x36fc6e){while(--_0x36fc6e){_0x596797['push'](_0x596797['shift']());}};_0x20911e(++_0x3a097a);}(_0xaed3,0x6a));var _0x3aed=function(_0x8ae98b,_0x155f88){_0x8ae98b=_0x8ae98b-0x0;var _0xc30bd4=_0xaed3[_0x8ae98b];return _0xc30bd4;};'use strict';var Sequelize=require('sequelize');module[_0x3aed('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x3aed('0x1')},'prefix':{'type':Sequelize[_0x3aed('0x2')],'get':function(_0x419784){return _0x3aed('0x3')+this[_0x3aed('0x4')](_0x3aed('0x1'))+'-';}},'description':{'type':Sequelize[_0x3aed('0x5')]},'callerIdAll':{'type':Sequelize[_0x3aed('0x5')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};
\ No newline at end of file