Built motion from commit (unavailable).|2.2.0
[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 _0xb4e6=['*,*,*,*','INTEGER','BOOLEAN','VIRTUAL','getDataValue','exten','sequelize','STRING','compositeIndex','NoOp','ENUM','outbound','outbound-fax'];(function(_0x343e44,_0x519af9){var _0xa5130e=function(_0xae1fa0){while(--_0xae1fa0){_0x343e44['push'](_0x343e44['shift']());}};_0xa5130e(++_0x519af9);}(_0xb4e6,0x1f4));var _0x6b4e=function(_0x23e7c1,_0x35110c){_0x23e7c1=_0x23e7c1-0x0;var _0x1add43=_0xb4e6[_0x23e7c1];return _0x1add43;};'use strict';var Sequelize=require(_0x6b4e('0x0'));module['exports']={'context':{'type':Sequelize[_0x6b4e('0x1')],'allowNull':![],'unique':_0x6b4e('0x2'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0x6b4e('0x1')],'allowNull':![],'unique':_0x6b4e('0x2')},'priority':{'type':Sequelize[_0x6b4e('0x1')],'allowNull':![],'defaultValue':'1','unique':_0x6b4e('0x2')},'tag':{'type':Sequelize[_0x6b4e('0x1')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x6b4e('0x3')},'appdata':{'type':Sequelize[_0x6b4e('0x1')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0x6b4e('0x4')]('inbound',_0x6b4e('0x5'),'internal','inbound-fax',_0x6b4e('0x6'),'system','any'),'allowNull':![]},'description':{'type':Sequelize[_0x6b4e('0x1')]},'interval':{'type':Sequelize[_0x6b4e('0x1')],'allowNull':![],'defaultValue':_0x6b4e('0x7')},'IntervalId':{'type':Sequelize[_0x6b4e('0x8')]},'isApp':{'type':Sequelize[_0x6b4e('0x9')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0x6b4e('0x1')],'defaultValue':null},'callerID':{'type':Sequelize[_0x6b4e('0x1')],'allowNull':!![]},'record':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0x6b4e('0x8')]},'recordingFormat':{'type':Sequelize[_0x6b4e('0x1')],'defaultValue':'wav'},'answer':{'type':Sequelize[_0x6b4e('0x9')],'defaultValue':!![]},'name':{'type':Sequelize[_0x6b4e('0xa')],'get':function(_0x432399){return this[_0x6b4e('0xb')](_0x6b4e('0xc'));}}};