X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FvoiceExtension%2FvoiceExtension.attributes.js;h=1cbff7e1e658373778f2c1221ba481ae428fe663;hb=ece744b31d5c8c1b26913aafb50e0250a2a6b474;hp=a4552465238a90fe3a654bdc1a256548e4ab7b08;hpb=9de5174448f6124e143d4b68967b102fec513aee;p=motion2.git diff --git a/server/api/voiceExtension/voiceExtension.attributes.js b/server/api/voiceExtension/voiceExtension.attributes.js index a455246..1cbff7e 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 _0x24d1=['internal','inbound-fax','outbound-fax','system','any','*,*,*,*','INTEGER','BOOLEAN','VIRTUAL','getDataValue','exten','sequelize','exports','STRING','compositeIndex','inbound','outbound'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0x24d1,0x181));var _0x124d=function(_0x3049fd,_0x562d6e){_0x3049fd=_0x3049fd-0x0;var _0x192da0=_0x24d1[_0x3049fd];return _0x192da0;};'use strict';var Sequelize=require(_0x124d('0x0'));module[_0x124d('0x1')]={'context':{'type':Sequelize['STRING'],'allowNull':![],'unique':'compositeIndex','validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize['STRING'],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize[_0x124d('0x2')],'allowNull':![],'defaultValue':'1','unique':_0x124d('0x3')},'tag':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0x124d('0x2')],'allowNull':![],'defaultValue':'NoOp'},'appdata':{'type':Sequelize[_0x124d('0x2')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize['ENUM'](_0x124d('0x4'),_0x124d('0x5'),_0x124d('0x6'),_0x124d('0x7'),_0x124d('0x8'),_0x124d('0x9'),_0x124d('0xa')),'allowNull':![]},'description':{'type':Sequelize[_0x124d('0x2')]},'interval':{'type':Sequelize[_0x124d('0x2')],'allowNull':![],'defaultValue':_0x124d('0xb')},'IntervalId':{'type':Sequelize[_0x124d('0xc')]},'isApp':{'type':Sequelize[_0x124d('0xd')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0x124d('0x2')],'defaultValue':null},'callerID':{'type':Sequelize[_0x124d('0x2')],'allowNull':!![]},'record':{'type':Sequelize[_0x124d('0xd')],'defaultValue':![]},'cutdigits':{'type':Sequelize['INTEGER']},'recordingFormat':{'type':Sequelize[_0x124d('0x2')],'defaultValue':'wav'},'answer':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'name':{'type':Sequelize[_0x124d('0xe')],'get':function(_0x40f870){return this[_0x124d('0xf')](_0x124d('0x10'));}},'alias':{'type':Sequelize[_0x124d('0x2')],'allowNull':!![]}}; \ No newline at end of file +var _0x6a8e=['INTEGER','BOOLEAN','VIRTUAL','getDataValue','sequelize','STRING','compositeIndex','NoOp','ENUM','inbound','outbound','internal','outbound-fax','*,*,*,*'];(function(_0x1d9aa0,_0x272488){var _0x226868=function(_0x17127c){while(--_0x17127c){_0x1d9aa0['push'](_0x1d9aa0['shift']());}};_0x226868(++_0x272488);}(_0x6a8e,0x82));var _0xe6a8=function(_0x4bb010,_0x5c862b){_0x4bb010=_0x4bb010-0x0;var _0x45e1dc=_0x6a8e[_0x4bb010];return _0x45e1dc;};'use strict';var Sequelize=require(_0xe6a8('0x0'));module['exports']={'context':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':![],'unique':_0xe6a8('0x2'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':![],'defaultValue':'1','unique':_0xe6a8('0x2')},'tag':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':![],'defaultValue':_0xe6a8('0x3')},'appdata':{'type':Sequelize[_0xe6a8('0x1')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0xe6a8('0x4')](_0xe6a8('0x5'),_0xe6a8('0x6'),_0xe6a8('0x7'),'inbound-fax',_0xe6a8('0x8'),'system','any'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':![],'defaultValue':_0xe6a8('0x9')},'IntervalId':{'type':Sequelize[_0xe6a8('0xa')]},'isApp':{'type':Sequelize[_0xe6a8('0xb')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0xe6a8('0x1')],'defaultValue':null},'callerID':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':!![]},'record':{'type':Sequelize[_0xe6a8('0xb')],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0xe6a8('0xa')]},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':'wav'},'answer':{'type':Sequelize[_0xe6a8('0xb')],'defaultValue':!![]},'name':{'type':Sequelize[_0xe6a8('0xc')],'get':function(_0x21085f){return this[_0xe6a8('0xd')]('exten');}},'alias':{'type':Sequelize['STRING'],'allowNull':!![]}}; \ No newline at end of file