403593840b739f2c87b33dab08e69acc7af97ba8
[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 _0x93ae=['queue_interface','exports','INTEGER','Required\x20by\x20Asterisk','STRING'];(function(_0x46e363,_0x45d7e2){var _0x3fb059=function(_0x5e6274){while(--_0x5e6274){_0x46e363['push'](_0x46e363['shift']());}};_0x3fb059(++_0x45d7e2);}(_0x93ae,0x12d));var _0xe93a=function(_0x550d61,_0x274ce5){_0x550d61=_0x550d61-0x0;var _0x373e4a=_0x93ae[_0x550d61];return _0x373e4a;};'use strict';var Sequelize=require('sequelize');module[_0xe93a('0x0')]={'uniqueid':{'type':Sequelize[_0xe93a('0x1')],'primaryKey':!![],'autoIncrement':!![],'comment':_0xe93a('0x2')},'membername':{'type':Sequelize[_0xe93a('0x3')],'allowNull':![],'comment':_0xe93a('0x2')},'UserId':{'type':Sequelize[_0xe93a('0x1')],'allowNull':![]},'queue_name':{'type':Sequelize[_0xe93a('0x3')],'allowNull':![],'unique':'queue_interface','comment':'Required\x20by\x20Asterisk'},'VoiceQueueId':{'type':Sequelize[_0xe93a('0x1')],'allowNull':![]},'interface':{'type':Sequelize[_0xe93a('0x3')],'allowNull':![],'unique':_0xe93a('0x4'),'comment':_0xe93a('0x2')},'penalty':{'type':Sequelize[_0xe93a('0x1')](0xb),'defaultValue':0x0,'comment':_0xe93a('0x2')},'paused':{'type':Sequelize[_0xe93a('0x1')](0xb),'defaultValue':0x0,'comment':_0xe93a('0x2')}};