6825b1053391817e8dbae33e31caa2bc531487eb
[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 _0xcf0d=['queue_interface','Required\x20by\x20Asterisk','STRING','INTEGER'];(function(_0x1081a3,_0x2ac784){var _0x5696a2=function(_0x23d2f6){while(--_0x23d2f6){_0x1081a3['push'](_0x1081a3['shift']());}};_0x5696a2(++_0x2ac784);}(_0xcf0d,0x1d6));var _0xdcf0=function(_0x5c5b73,_0x26c7e4){_0x5c5b73=_0x5c5b73-0x0;var _0x3975db=_0xcf0d[_0x5c5b73];return _0x3975db;};'use strict';var Sequelize=require('sequelize');module['exports']={'uniqueid':{'type':Sequelize['INTEGER'],'primaryKey':!![],'autoIncrement':!![],'comment':'Required\x20by\x20Asterisk'},'membername':{'type':Sequelize[_0xdcf0('0x0')],'allowNull':![],'comment':'Required\x20by\x20Asterisk'},'UserId':{'type':Sequelize[_0xdcf0('0x1')],'allowNull':![]},'queue_name':{'type':Sequelize[_0xdcf0('0x0')],'allowNull':![],'unique':_0xdcf0('0x2'),'comment':_0xdcf0('0x3')},'VoiceQueueId':{'type':Sequelize[_0xdcf0('0x1')],'allowNull':![]},'interface':{'type':Sequelize[_0xdcf0('0x0')],'allowNull':![],'unique':'queue_interface','comment':_0xdcf0('0x3')},'penalty':{'type':Sequelize[_0xdcf0('0x1')](0xb),'defaultValue':0x0,'comment':_0xdcf0('0x3')},'paused':{'type':Sequelize[_0xdcf0('0x1')](0xb),'defaultValue':0x0,'comment':_0xdcf0('0x3')}};