8baa75a70c8d29b274a784297ed19e5c4b8cffe2
[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 _0x757a=['compositeIndex','NoOp','inbound','outbound','inbound-fax','outbound-fax','system','any','*,*,*,*','INTEGER','BOOLEAN','getDataValue','exports','STRING'];(function(_0x4e0060,_0x35e761){var _0x48be55=function(_0xf6aeb3){while(--_0xf6aeb3){_0x4e0060['push'](_0x4e0060['shift']());}};_0x48be55(++_0x35e761);}(_0x757a,0xde));var _0xa757=function(_0x3fc9d7,_0x451317){_0x3fc9d7=_0x3fc9d7-0x0;var _0x4e0aeb=_0x757a[_0x3fc9d7];return _0x4e0aeb;};'use strict';var Sequelize=require('sequelize');module[_0xa757('0x0')]={'context':{'type':Sequelize[_0xa757('0x1')],'allowNull':![],'unique':'compositeIndex','validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize['STRING'],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize[_0xa757('0x1')],'allowNull':![],'defaultValue':'1','unique':_0xa757('0x2')},'tag':{'type':Sequelize[_0xa757('0x1')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0xa757('0x1')],'allowNull':![],'defaultValue':_0xa757('0x3')},'appdata':{'type':Sequelize[_0xa757('0x1')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize['ENUM'](_0xa757('0x4'),_0xa757('0x5'),'internal',_0xa757('0x6'),_0xa757('0x7'),_0xa757('0x8'),_0xa757('0x9')),'allowNull':![]},'description':{'type':Sequelize[_0xa757('0x1')]},'interval':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xa757('0xa')},'IntervalId':{'type':Sequelize[_0xa757('0xb')]},'isApp':{'type':Sequelize[_0xa757('0xc')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0xa757('0x1')],'defaultValue':null},'callerID':{'type':Sequelize[_0xa757('0x1')],'allowNull':!![]},'record':{'type':Sequelize[_0xa757('0xc')],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0xa757('0xb')]},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':'wav'},'answer':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x4db68e){return this[_0xa757('0xd')]('exten');}}};