5dc45b340af472a1155b2a7276e7b1ff6144b35b
[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 _0x66d6=['sequelize','INTEGER','Required\x20by\x20Asterisk','STRING','queue_interface'];(function(_0x530610,_0x4c632f){var _0x49510e=function(_0x3d864a){while(--_0x3d864a){_0x530610['push'](_0x530610['shift']());}};_0x49510e(++_0x4c632f);}(_0x66d6,0x1c7));var _0x666d=function(_0x3056ed,_0x54b8c9){_0x3056ed=_0x3056ed-0x0;var _0x2c8fb6=_0x66d6[_0x3056ed];return _0x2c8fb6;};'use strict';var Sequelize=require(_0x666d('0x0'));module['exports']={'uniqueid':{'type':Sequelize[_0x666d('0x1')],'primaryKey':!![],'autoIncrement':!![],'comment':_0x666d('0x2')},'membername':{'type':Sequelize[_0x666d('0x3')],'allowNull':![],'comment':'Required\x20by\x20Asterisk'},'UserId':{'type':Sequelize[_0x666d('0x1')],'allowNull':![]},'queue_name':{'type':Sequelize[_0x666d('0x3')],'allowNull':![],'unique':_0x666d('0x4'),'comment':_0x666d('0x2')},'VoiceQueueId':{'type':Sequelize[_0x666d('0x1')],'allowNull':![]},'interface':{'type':Sequelize[_0x666d('0x3')],'allowNull':![],'unique':'queue_interface','comment':'Required\x20by\x20Asterisk'},'penalty':{'type':Sequelize[_0x666d('0x1')](0xb),'defaultValue':0x0,'comment':'Required\x20by\x20Asterisk'},'paused':{'type':Sequelize[_0x666d('0x1')](0xb),'defaultValue':0x0,'comment':_0x666d('0x2')}};