Built motion from commit 67e5df37.|2.0.66
[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 _0xe205=['sequelize','exports','STRING','compositeIndex','NoOp','ENUM','outbound','inbound-fax','system','INTEGER','BOOLEAN','wav'];(function(_0x50c00a,_0x2afdb8){var _0x37e299=function(_0x21f5ac){while(--_0x21f5ac){_0x50c00a['push'](_0x50c00a['shift']());}};_0x37e299(++_0x2afdb8);}(_0xe205,0xb4));var _0x5e20=function(_0x24c654,_0x3289ba){_0x24c654=_0x24c654-0x0;var _0x509d87=_0xe205[_0x24c654];return _0x509d87;};'use strict';var Sequelize=require(_0x5e20('0x0'));module[_0x5e20('0x1')]={'context':{'type':Sequelize[_0x5e20('0x2')],'allowNull':![],'unique':_0x5e20('0x3'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0x5e20('0x2')],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize[_0x5e20('0x2')],'allowNull':![],'defaultValue':'1','unique':_0x5e20('0x3')},'tag':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x5e20('0x4')},'appdata':{'type':Sequelize[_0x5e20('0x2')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0x5e20('0x5')]('inbound',_0x5e20('0x6'),'internal',_0x5e20('0x7'),'outbound-fax',_0x5e20('0x8'),'any'),'allowNull':![]},'description':{'type':Sequelize[_0x5e20('0x2')]},'interval':{'type':Sequelize[_0x5e20('0x2')],'allowNull':![],'defaultValue':'*,*,*,*'},'IntervalId':{'type':Sequelize[_0x5e20('0x9')]},'isApp':{'type':Sequelize[_0x5e20('0xa')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0x5e20('0x2')],'defaultValue':null},'callerID':{'type':Sequelize[_0x5e20('0x2')],'allowNull':!![]},'record':{'type':Sequelize[_0x5e20('0xa')],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0x5e20('0x9')]},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':_0x5e20('0xb')},'answer':{'type':Sequelize[_0x5e20('0xa')],'defaultValue':!![]}};