601fa5c842c29559f41bc2ce0398df12d32b0ada
[motion2.git] / server / api / voiceExtension / voiceExtension.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xf15a=['BOOLEAN','INTEGER','wav','getDataValue','exten','sequelize','exports','STRING','compositeIndex','NoOp','ENUM','outbound','internal','inbound-fax','outbound-fax','system','any','*,*,*,*'];(function(_0x420142,_0x3e9581){var _0x2bf3ef=function(_0x145e13){while(--_0x145e13){_0x420142['push'](_0x420142['shift']());}};_0x2bf3ef(++_0x3e9581);}(_0xf15a,0x15b));var _0xaf15=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf15a[_0x14add3];return _0x4a174f;};'use strict';var Sequelize=require(_0xaf15('0x0'));module[_0xaf15('0x1')]={'context':{'type':Sequelize[_0xaf15('0x2')],'allowNull':![],'unique':_0xaf15('0x3'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0xaf15('0x2')],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize[_0xaf15('0x2')],'allowNull':![],'defaultValue':'1','unique':_0xaf15('0x3')},'tag':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xaf15('0x4')},'appdata':{'type':Sequelize[_0xaf15('0x2')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0xaf15('0x5')]('inbound',_0xaf15('0x6'),_0xaf15('0x7'),_0xaf15('0x8'),_0xaf15('0x9'),_0xaf15('0xa'),_0xaf15('0xb')),'allowNull':![]},'description':{'type':Sequelize[_0xaf15('0x2')]},'interval':{'type':Sequelize[_0xaf15('0x2')],'allowNull':![],'defaultValue':_0xaf15('0xc')},'IntervalId':{'type':Sequelize['INTEGER']},'isApp':{'type':Sequelize[_0xaf15('0xd')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0xaf15('0x2')],'defaultValue':null},'callerID':{'type':Sequelize[_0xaf15('0x2')],'allowNull':!![]},'record':{'type':Sequelize[_0xaf15('0xd')],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0xaf15('0xe')]},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':_0xaf15('0xf')},'answer':{'type':Sequelize[_0xaf15('0xd')],'defaultValue':!![]},'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x6e844c){return this[_0xaf15('0x10')](_0xaf15('0x11'));}},'alias':{'type':Sequelize[_0xaf15('0x2')],'allowNull':!![]}};