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