Built motion from commit 377f727e.|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 _0xc620=['compositeIndex','ENUM','outbound','inbound-fax','outbound-fax','system','INTEGER','BOOLEAN','wav','VIRTUAL','getDataValue','exten','sequelize','exports','STRING'];(function(_0x4c440b,_0x3ea627){var _0x2d48cf=function(_0x56bac7){while(--_0x56bac7){_0x4c440b['push'](_0x4c440b['shift']());}};_0x2d48cf(++_0x3ea627);}(_0xc620,0x165));var _0x0c62=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc620[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x0c62('0x0'));module[_0x0c62('0x1')]={'context':{'type':Sequelize[_0x0c62('0x2')],'allowNull':![],'unique':_0x0c62('0x3'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0x0c62('0x2')],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize[_0x0c62('0x2')],'allowNull':![],'defaultValue':'1','unique':'compositeIndex'},'tag':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'NoOp'},'appdata':{'type':Sequelize['STRING'](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0x0c62('0x4')]('inbound',_0x0c62('0x5'),'internal',_0x0c62('0x6'),_0x0c62('0x7'),_0x0c62('0x8'),'any'),'allowNull':![]},'description':{'type':Sequelize[_0x0c62('0x2')]},'interval':{'type':Sequelize[_0x0c62('0x2')],'allowNull':![],'defaultValue':'*,*,*,*'},'IntervalId':{'type':Sequelize[_0x0c62('0x9')]},'isApp':{'type':Sequelize[_0x0c62('0xa')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0x0c62('0x2')],'defaultValue':null},'callerID':{'type':Sequelize[_0x0c62('0x2')],'allowNull':!![]},'record':{'type':Sequelize[_0x0c62('0xa')],'defaultValue':![]},'cutdigits':{'type':Sequelize['INTEGER']},'recordingFormat':{'type':Sequelize[_0x0c62('0x2')],'defaultValue':_0x0c62('0xb')},'answer':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'name':{'type':Sequelize[_0x0c62('0xc')],'get':function(_0x89d819){return this[_0x0c62('0xd')](_0x0c62('0xe'));}},'alias':{'type':Sequelize[_0x0c62('0x2')],'allowNull':!![]}};