Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / voiceExtension / voiceExtension.attributes.js
index e2c0a1a..c6c344d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd001=['ENUM','internal','inbound-fax','outbound-fax','system','INTEGER','BOOLEAN','VIRTUAL','sequelize','compositeIndex','STRING','NoOp'];(function(_0x433a86,_0x175b5c){var _0x23000c=function(_0x4b1fa0){while(--_0x4b1fa0){_0x433a86['push'](_0x433a86['shift']());}};_0x23000c(++_0x175b5c);}(_0xd001,0x188));var _0x1d00=function(_0x2bc807,_0x213fd2){_0x2bc807=_0x2bc807-0x0;var _0x56766b=_0xd001[_0x2bc807];return _0x56766b;};'use strict';var Sequelize=require(_0x1d00('0x0'));module['exports']={'context':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x1d00('0x1'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0x1d00('0x2')],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize[_0x1d00('0x2')],'allowNull':![],'defaultValue':'1','unique':_0x1d00('0x1')},'tag':{'type':Sequelize[_0x1d00('0x2')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0x1d00('0x2')],'allowNull':![],'defaultValue':_0x1d00('0x3')},'appdata':{'type':Sequelize[_0x1d00('0x2')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0x1d00('0x4')]('inbound','outbound',_0x1d00('0x5'),_0x1d00('0x6'),_0x1d00('0x7'),_0x1d00('0x8'),'any'),'allowNull':![]},'description':{'type':Sequelize[_0x1d00('0x2')]},'interval':{'type':Sequelize[_0x1d00('0x2')],'allowNull':![],'defaultValue':'*,*,*,*'},'IntervalId':{'type':Sequelize[_0x1d00('0x9')]},'isApp':{'type':Sequelize[_0x1d00('0xa')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0x1d00('0x2')],'defaultValue':null},'callerID':{'type':Sequelize[_0x1d00('0x2')],'allowNull':!![]},'record':{'type':Sequelize[_0x1d00('0xa')],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0x1d00('0x9')]},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':'wav'},'answer':{'type':Sequelize[_0x1d00('0xa')],'defaultValue':!![]},'name':{'type':Sequelize[_0x1d00('0xb')],'get':function(_0x201070){return this['getDataValue']('exten');}},'alias':{'type':Sequelize[_0x1d00('0x2')],'allowNull':!![]}};
\ No newline at end of file
+var _0x54df=['NoOp','ENUM','inbound','outbound','any','*,*,*,*','INTEGER','BOOLEAN','wav','VIRTUAL','exten','exports','compositeIndex','STRING'];(function(_0xacf6f0,_0x15c178){var _0x2c83b4=function(_0x3ca6bd){while(--_0x3ca6bd){_0xacf6f0['push'](_0xacf6f0['shift']());}};_0x2c83b4(++_0x15c178);}(_0x54df,0x185));var _0xf54d=function(_0xe8dbad,_0x55710d){_0xe8dbad=_0xe8dbad-0x0;var _0x2d0e9c=_0x54df[_0xe8dbad];return _0x2d0e9c;};'use strict';var Sequelize=require('sequelize');module[_0xf54d('0x0')]={'context':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xf54d('0x1'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0xf54d('0x2')],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize[_0xf54d('0x2')],'allowNull':![],'defaultValue':'1','unique':'compositeIndex'},'tag':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0xf54d('0x2')],'allowNull':![],'defaultValue':_0xf54d('0x3')},'appdata':{'type':Sequelize[_0xf54d('0x2')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0xf54d('0x4')](_0xf54d('0x5'),_0xf54d('0x6'),'internal','inbound-fax','outbound-fax','system',_0xf54d('0x7')),'allowNull':![]},'description':{'type':Sequelize[_0xf54d('0x2')]},'interval':{'type':Sequelize[_0xf54d('0x2')],'allowNull':![],'defaultValue':_0xf54d('0x8')},'IntervalId':{'type':Sequelize[_0xf54d('0x9')]},'isApp':{'type':Sequelize['BOOLEAN'],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0xf54d('0x2')],'defaultValue':null},'callerID':{'type':Sequelize['STRING'],'allowNull':!![]},'record':{'type':Sequelize[_0xf54d('0xa')],'defaultValue':![]},'cutdigits':{'type':Sequelize['INTEGER']},'recordingFormat':{'type':Sequelize[_0xf54d('0x2')],'defaultValue':_0xf54d('0xb')},'answer':{'type':Sequelize[_0xf54d('0xa')],'defaultValue':!![]},'name':{'type':Sequelize[_0xf54d('0xc')],'get':function(_0x51c5af){return this['getDataValue'](_0xf54d('0xd'));}},'alias':{'type':Sequelize['STRING'],'allowNull':!![]}};
\ No newline at end of file