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