X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FvoiceExtension%2FvoiceExtension.attributes.js;h=9b44a8790e54e799cf9c56f2b389abb7a3037a50;hb=d95c7680dfcaf10be192f8d0dd361fe585df15b7;hp=390786622f9de1f18b2d9d9af11f24ac6e3b23b6;hpb=3a60439f3b647e2a7df8ce941316640492032b43;p=motion2.git diff --git a/server/api/voiceExtension/voiceExtension.attributes.js b/server/api/voiceExtension/voiceExtension.attributes.js index 3907866..9b44a87 100644 --- a/server/api/voiceExtension/voiceExtension.attributes.js +++ b/server/api/voiceExtension/voiceExtension.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcf42=['sequelize','exports','compositeIndex','STRING','NoOp','ENUM','inbound','outbound','internal','outbound-fax','*,*,*,*','INTEGER','BOOLEAN','wav','VIRTUAL','getDataValue','exten'];(function(_0x373f3c,_0x44e12b){var _0x555326=function(_0x5dd8d9){while(--_0x5dd8d9){_0x373f3c['push'](_0x373f3c['shift']());}};_0x555326(++_0x44e12b);}(_0xcf42,0x110));var _0x2cf4=function(_0x2d0a19,_0x56979d){_0x2d0a19=_0x2d0a19-0x0;var _0x547957=_0xcf42[_0x2d0a19];return _0x547957;};'use strict';var Sequelize=require(_0x2cf4('0x0'));module[_0x2cf4('0x1')]={'context':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x2cf4('0x2'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize['STRING'],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'1','unique':'compositeIndex'},'tag':{'type':Sequelize[_0x2cf4('0x3')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0x2cf4('0x3')],'allowNull':![],'defaultValue':_0x2cf4('0x4')},'appdata':{'type':Sequelize[_0x2cf4('0x3')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0x2cf4('0x5')](_0x2cf4('0x6'),_0x2cf4('0x7'),_0x2cf4('0x8'),'inbound-fax',_0x2cf4('0x9'),'system','any'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0x2cf4('0x3')],'allowNull':![],'defaultValue':_0x2cf4('0xa')},'IntervalId':{'type':Sequelize[_0x2cf4('0xb')]},'isApp':{'type':Sequelize[_0x2cf4('0xc')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0x2cf4('0x3')],'defaultValue':null},'callerID':{'type':Sequelize[_0x2cf4('0x3')],'allowNull':!![]},'record':{'type':Sequelize[_0x2cf4('0xc')],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0x2cf4('0xb')]},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':_0x2cf4('0xd')},'answer':{'type':Sequelize[_0x2cf4('0xc')],'defaultValue':!![]},'name':{'type':Sequelize[_0x2cf4('0xe')],'get':function(_0x4c1bcf){return this[_0x2cf4('0xf')](_0x2cf4('0x10'));}},'alias':{'type':Sequelize['STRING'],'allowNull':!![]}}; \ No newline at end of file +var _0x98f0=['inbound','inbound-fax','outbound-fax','system','any','BOOLEAN','INTEGER','wav','VIRTUAL','getDataValue','exten','sequelize','exports','STRING','compositeIndex','NoOp','ENUM'];(function(_0x2b9f34,_0x2775b3){var _0x5597e1=function(_0x263e4e){while(--_0x263e4e){_0x2b9f34['push'](_0x2b9f34['shift']());}};_0x5597e1(++_0x2775b3);}(_0x98f0,0x14e));var _0x098f=function(_0x5c24c7,_0xcb8cdd){_0x5c24c7=_0x5c24c7-0x0;var _0x14b827=_0x98f0[_0x5c24c7];return _0x14b827;};'use strict';var Sequelize=require(_0x098f('0x0'));module[_0x098f('0x1')]={'context':{'type':Sequelize[_0x098f('0x2')],'allowNull':![],'unique':_0x098f('0x3'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0x098f('0x2')],'allowNull':![],'unique':_0x098f('0x3')},'priority':{'type':Sequelize[_0x098f('0x2')],'allowNull':![],'defaultValue':'1','unique':_0x098f('0x3')},'tag':{'type':Sequelize[_0x098f('0x2')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0x098f('0x2')],'allowNull':![],'defaultValue':_0x098f('0x4')},'appdata':{'type':Sequelize[_0x098f('0x2')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0x098f('0x5')](_0x098f('0x6'),'outbound','internal',_0x098f('0x7'),_0x098f('0x8'),_0x098f('0x9'),_0x098f('0xa')),'allowNull':![]},'description':{'type':Sequelize[_0x098f('0x2')]},'interval':{'type':Sequelize[_0x098f('0x2')],'allowNull':![],'defaultValue':'*,*,*,*'},'IntervalId':{'type':Sequelize['INTEGER']},'isApp':{'type':Sequelize['BOOLEAN'],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0x098f('0x2')],'defaultValue':null},'callerID':{'type':Sequelize['STRING'],'allowNull':!![]},'record':{'type':Sequelize[_0x098f('0xb')],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0x098f('0xc')]},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':_0x098f('0xd')},'answer':{'type':Sequelize[_0x098f('0xb')],'defaultValue':!![]},'name':{'type':Sequelize[_0x098f('0xe')],'get':function(_0x5e2a){return this[_0x098f('0xf')](_0x098f('0x10'));}},'alias':{'type':Sequelize[_0x098f('0x2')],'allowNull':!![]}}; \ No newline at end of file