76f09ff34ca250c60aa9eb80720bb1cbe58c7a0c
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.model.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 _0x4ea8=['./userVoiceQueueRt.attributes','define','UserVoiceQueueRt','user_has_voice_queues_rt','lodash','../../config/logger','moment','path'];(function(_0xbc12f6,_0x231e19){var _0x49d3d6=function(_0x129b37){while(--_0x129b37){_0xbc12f6['push'](_0xbc12f6['shift']());}};_0x49d3d6(++_0x231e19);}(_0x4ea8,0xf4));var _0x84ea=function(_0xa388eb,_0x3660c2){_0xa388eb=_0xa388eb-0x0;var _0x481ab0=_0x4ea8[_0xa388eb];return _0x481ab0;};'use strict';var _=require(_0x84ea('0x0'));var util=require('util');var logger=require(_0x84ea('0x1'))('api');var moment=require(_0x84ea('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x84ea('0x3'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x84ea('0x4'));module['exports']=function(_0x407310,_0x2048ad){return _0x407310[_0x84ea('0x5')](_0x84ea('0x6'),attributes,{'tableName':_0x84ea('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};