Built motion from commit 497d3d92.|2.5.43
[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 _0xf375=['define','UserVoiceQueueRt','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','exports'];(function(_0x3ca040,_0x4f4abe){var _0x53a72d=function(_0x5ef391){while(--_0x5ef391){_0x3ca040['push'](_0x3ca040['shift']());}};_0x53a72d(++_0x4f4abe);}(_0xf375,0x11a));var _0x5f37=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0xf375[_0x502c7d];return _0x30b7ed;};'use strict';var _=require('lodash');var util=require(_0x5f37('0x0'));var logger=require(_0x5f37('0x1'))('api');var moment=require(_0x5f37('0x2'));var BPromise=require(_0x5f37('0x3'));var rp=require(_0x5f37('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5f37('0x5'));var config=require(_0x5f37('0x6'));var attributes=require('./userVoiceQueueRt.attributes');module[_0x5f37('0x7')]=function(_0x365c26,_0x1cc2bf){return _0x365c26[_0x5f37('0x8')](_0x5f37('0x9'),attributes,{'tableName':'user_has_voice_queues_rt','paranoid':![],'indexes':[],'timestamps':!![]});};