Built motion from commit ac06311e.|2.6.28
[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 _0x2fd1=['any','INTEGER','BOOLEAN','wav','VIRTUAL','getDataValue','exten','sequelize','exports','compositeIndex','STRING','ENUM','inbound','outbound','internal','outbound-fax','system'];(function(_0x4a7d9b,_0xd28d37){var _0x238d70=function(_0x53a872){while(--_0x53a872){_0x4a7d9b['push'](_0x4a7d9b['shift']());}};_0x238d70(++_0xd28d37);}(_0x2fd1,0x106));var _0x12fd=function(_0x4bcbc2,_0x46cbff){_0x4bcbc2=_0x4bcbc2-0x0;var _0xe5b888=_0x2fd1[_0x4bcbc2];return _0xe5b888;};'use strict';var Sequelize=require(_0x12fd('0x0'));module[_0x12fd('0x1')]={'context':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x12fd('0x2'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x12fd('0x2')},'priority':{'type':Sequelize[_0x12fd('0x3')],'allowNull':![],'defaultValue':'1','unique':'compositeIndex'},'tag':{'type':Sequelize[_0x12fd('0x3')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0x12fd('0x3')],'allowNull':![],'defaultValue':'NoOp'},'appdata':{'type':Sequelize['STRING'](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0x12fd('0x4')](_0x12fd('0x5'),_0x12fd('0x6'),_0x12fd('0x7'),'inbound-fax',_0x12fd('0x8'),_0x12fd('0x9'),_0x12fd('0xa')),'allowNull':![]},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0x12fd('0x3')],'allowNull':![],'defaultValue':'*,*,*,*'},'IntervalId':{'type':Sequelize[_0x12fd('0xb')]},'isApp':{'type':Sequelize[_0x12fd('0xc')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0x12fd('0x3')],'defaultValue':null},'callerID':{'type':Sequelize[_0x12fd('0x3')],'allowNull':!![]},'record':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0x12fd('0xb')]},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':_0x12fd('0xd')},'answer':{'type':Sequelize[_0x12fd('0xc')],'defaultValue':!![]},'name':{'type':Sequelize[_0x12fd('0xe')],'get':function(_0x2536ac){return this[_0x12fd('0xf')](_0x12fd('0x10'));}},'alias':{'type':Sequelize['STRING'],'allowNull':!![]}};