6d340d2707e7fd8340b215d33fe47f8ce5507c68
[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 _0xb989=['INTEGER','Required\x20by\x20Asterisk','STRING','queue_interface','exports'];(function(_0x4e04a8,_0x2f2d6a){var _0x6c3e6f=function(_0x806cf7){while(--_0x806cf7){_0x4e04a8['push'](_0x4e04a8['shift']());}};_0x6c3e6f(++_0x2f2d6a);}(_0xb989,0xea));var _0x9b98=function(_0x2a453b,_0x479c50){_0x2a453b=_0x2a453b-0x0;var _0x132f79=_0xb989[_0x2a453b];return _0x132f79;};'use strict';var Sequelize=require('sequelize');module[_0x9b98('0x0')]={'uniqueid':{'type':Sequelize[_0x9b98('0x1')],'primaryKey':!![],'autoIncrement':!![],'comment':_0x9b98('0x2')},'membername':{'type':Sequelize[_0x9b98('0x3')],'allowNull':![],'comment':_0x9b98('0x2')},'UserId':{'type':Sequelize[_0x9b98('0x1')],'allowNull':![]},'queue_name':{'type':Sequelize[_0x9b98('0x3')],'allowNull':![],'unique':_0x9b98('0x4'),'comment':'Required\x20by\x20Asterisk'},'VoiceQueueId':{'type':Sequelize['INTEGER'],'allowNull':![]},'interface':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x9b98('0x4'),'comment':_0x9b98('0x2')},'penalty':{'type':Sequelize[_0x9b98('0x1')](0xb),'defaultValue':0x0,'comment':'Required\x20by\x20Asterisk'},'paused':{'type':Sequelize[_0x9b98('0x1')](0xb),'defaultValue':0x0,'comment':_0x9b98('0x2')}};