e43fccf72cd855faced16bb82965e8f5f23c2526
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.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 _0x4f8f=['STRING','INTEGER','queue_interface','Required\x20by\x20Asterisk','exports'];(function(_0x22431e,_0x5af0a3){var _0xd978e9=function(_0x2bbdd7){while(--_0x2bbdd7){_0x22431e['push'](_0x22431e['shift']());}};_0xd978e9(++_0x5af0a3);}(_0x4f8f,0x90));var _0xf4f8=function(_0x5e2dc7,_0x205737){_0x5e2dc7=_0x5e2dc7-0x0;var _0x1bd68f=_0x4f8f[_0x5e2dc7];return _0x1bd68f;};'use strict';var Sequelize=require('sequelize');module[_0xf4f8('0x0')]={'uniqueid':{'type':Sequelize['INTEGER'],'primaryKey':!![],'autoIncrement':!![],'comment':'Required\x20by\x20Asterisk'},'membername':{'type':Sequelize[_0xf4f8('0x1')],'allowNull':![],'comment':'Required\x20by\x20Asterisk'},'UserId':{'type':Sequelize[_0xf4f8('0x2')],'allowNull':![]},'queue_name':{'type':Sequelize[_0xf4f8('0x1')],'allowNull':![],'unique':_0xf4f8('0x3'),'comment':'Required\x20by\x20Asterisk'},'VoiceQueueId':{'type':Sequelize['INTEGER'],'allowNull':![]},'interface':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xf4f8('0x3'),'comment':_0xf4f8('0x4')},'penalty':{'type':Sequelize[_0xf4f8('0x2')](0xb),'defaultValue':0x0,'comment':_0xf4f8('0x4')},'paused':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'comment':_0xf4f8('0x4')}};