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