Built motion from commit eddce310.|2.6.12
[motion2.git] / server / api / voiceChanSpy / voiceChanSpy.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 _0x1e18=['split','BOOLEAN','STRING','name','options','join','getDataValue'];(function(_0x127d7e,_0x4563e6){var _0xd168bb=function(_0x4e794c){while(--_0x4e794c){_0x127d7e['push'](_0x127d7e['shift']());}};_0xd168bb(++_0x4563e6);}(_0x1e18,0x79));var _0x81e1=function(_0x53080e,_0x252127){_0x53080e=_0x53080e-0x0;var _0x1a0c14=_0x1e18[_0x53080e];return _0x1a0c14;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x81e1('0x0')]},'prefix':{'type':Sequelize['STRING'],'unique':_0x81e1('0x1'),'allowNull':![]},'options':{'type':Sequelize[_0x81e1('0x0')],'set':function(_0x346814){this['setDataValue'](_0x81e1('0x2'),_0x346814?_0x346814[_0x81e1('0x3')](''):[]);},'get':function(){return this[_0x81e1('0x4')](_0x81e1('0x2'))?this['getDataValue']('options')[_0x81e1('0x5')](''):[];}},'auth':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'password':{'type':Sequelize[_0x81e1('0x0')]},'record':{'type':Sequelize[_0x81e1('0x6')],'defaultValue':![]},'recordingFormat':{'type':Sequelize[_0x81e1('0x0')]},'description':{'type':Sequelize[_0x81e1('0x0')]}};