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