5887b19fdfa2e6dc81cedcf45f7647f6ad3f97a0
[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 _0x323a=['name','setDataValue','options','join','getDataValue','split','BOOLEAN','STRING'];(function(_0x546d17,_0x5141a0){var _0x1b3bdf=function(_0x52df26){while(--_0x52df26){_0x546d17['push'](_0x546d17['shift']());}};_0x1b3bdf(++_0x5141a0);}(_0x323a,0xf7));var _0xa323=function(_0x26afef,_0x1acfa8){_0x26afef=_0x26afef-0x0;var _0x2d158b=_0x323a[_0x26afef];return _0x2d158b;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING']},'prefix':{'type':Sequelize[_0xa323('0x0')],'unique':_0xa323('0x1'),'allowNull':![]},'options':{'type':Sequelize[_0xa323('0x0')],'set':function(_0x3858ba){this[_0xa323('0x2')](_0xa323('0x3'),_0x3858ba?_0x3858ba[_0xa323('0x4')](''):[]);},'get':function(){return this['getDataValue']('options')?this[_0xa323('0x5')](_0xa323('0x3'))[_0xa323('0x6')](''):[];}},'auth':{'type':Sequelize[_0xa323('0x7')],'defaultValue':![]},'password':{'type':Sequelize[_0xa323('0x0')]},'record':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'recordingFormat':{'type':Sequelize[_0xa323('0x0')]},'description':{'type':Sequelize[_0xa323('0x0')]}};