088a7940a5c1c9911bc69ac972ded464aecb6cc4
[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 _0x19d1=['STRING','queue_interface','Required\x20by\x20Asterisk','INTEGER','exports'];(function(_0x2b7928,_0x333f01){var _0x2148fd=function(_0x57c871){while(--_0x57c871){_0x2b7928['push'](_0x2b7928['shift']());}};_0x2148fd(++_0x333f01);}(_0x19d1,0xd6));var _0x119d=function(_0x46ca05,_0x1a3449){_0x46ca05=_0x46ca05-0x0;var _0x503f71=_0x19d1[_0x46ca05];return _0x503f71;};'use strict';var Sequelize=require('sequelize');module[_0x119d('0x0')]={'uniqueid':{'type':Sequelize['INTEGER'],'primaryKey':!![],'autoIncrement':!![],'comment':'Required\x20by\x20Asterisk'},'membername':{'type':Sequelize[_0x119d('0x1')],'allowNull':![],'comment':'Required\x20by\x20Asterisk'},'UserId':{'type':Sequelize['INTEGER'],'allowNull':![]},'queue_name':{'type':Sequelize[_0x119d('0x1')],'allowNull':![],'unique':_0x119d('0x2'),'comment':'Required\x20by\x20Asterisk'},'VoiceQueueId':{'type':Sequelize['INTEGER'],'allowNull':![]},'interface':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x119d('0x2'),'comment':_0x119d('0x3')},'penalty':{'type':Sequelize[_0x119d('0x4')](0xb),'defaultValue':0x0,'comment':_0x119d('0x3')},'paused':{'type':Sequelize[_0x119d('0x4')](0xb),'defaultValue':0x0,'comment':_0x119d('0x3')}};