1abccb719fdf8224bda68394f27eada226fcd50c
[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 _0x3cea=['BOOLEAN','INTEGER','wav','VIRTUAL','exten','sequelize','exports','compositeIndex','STRING','ENUM','inbound','outbound','internal','outbound-fax','system','any','*,*,*,*'];(function(_0x5a7601,_0x2ca777){var _0x311673=function(_0xe280ec){while(--_0xe280ec){_0x5a7601['push'](_0x5a7601['shift']());}};_0x311673(++_0x2ca777);}(_0x3cea,0x1bf));var _0xa3ce=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x3cea[_0x14add3];return _0x4a174f;};'use strict';var Sequelize=require(_0xa3ce('0x0'));module[_0xa3ce('0x1')]={'context':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xa3ce('0x2'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0xa3ce('0x3')],'allowNull':![],'unique':_0xa3ce('0x2')},'priority':{'type':Sequelize[_0xa3ce('0x3')],'allowNull':![],'defaultValue':'1','unique':_0xa3ce('0x2')},'tag':{'type':Sequelize[_0xa3ce('0x3')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0xa3ce('0x3')],'allowNull':![],'defaultValue':'NoOp'},'appdata':{'type':Sequelize[_0xa3ce('0x3')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0xa3ce('0x4')](_0xa3ce('0x5'),_0xa3ce('0x6'),_0xa3ce('0x7'),'inbound-fax',_0xa3ce('0x8'),_0xa3ce('0x9'),_0xa3ce('0xa')),'allowNull':![]},'description':{'type':Sequelize[_0xa3ce('0x3')]},'interval':{'type':Sequelize[_0xa3ce('0x3')],'allowNull':![],'defaultValue':_0xa3ce('0xb')},'IntervalId':{'type':Sequelize['INTEGER']},'isApp':{'type':Sequelize[_0xa3ce('0xc')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0xa3ce('0x3')],'defaultValue':null},'callerID':{'type':Sequelize['STRING'],'allowNull':!![]},'record':{'type':Sequelize[_0xa3ce('0xc')],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0xa3ce('0xd')]},'recordingFormat':{'type':Sequelize[_0xa3ce('0x3')],'defaultValue':_0xa3ce('0xe')},'answer':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'name':{'type':Sequelize[_0xa3ce('0xf')],'get':function(_0x3c116b){return this['getDataValue'](_0xa3ce('0x10'));}},'alias':{'type':Sequelize[_0xa3ce('0x3')],'allowNull':!![]}};