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