Built motion from commit d69f4380.|2.6.29
[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 _0xcceb=['bluebird','request-promise','path','../../config/environment','exports','define','UserVoiceQueueRt','user_has_voice_queues_rt','lodash','util','../../config/logger','api','moment'];(function(_0x447347,_0x29548b){var _0x29a403=function(_0x26683a){while(--_0x26683a){_0x447347['push'](_0x447347['shift']());}};_0x29a403(++_0x29548b);}(_0xcceb,0x174));var _0xbcce=function(_0x327f66,_0x188d77){_0x327f66=_0x327f66-0x0;var _0x31f70a=_0xcceb[_0x327f66];return _0x31f70a;};'use strict';var _=require(_0xbcce('0x0'));var util=require(_0xbcce('0x1'));var logger=require(_0xbcce('0x2'))(_0xbcce('0x3'));var moment=require(_0xbcce('0x4'));var BPromise=require(_0xbcce('0x5'));var rp=require(_0xbcce('0x6'));var fs=require('fs');var path=require(_0xbcce('0x7'));var rimraf=require('rimraf');var config=require(_0xbcce('0x8'));var attributes=require('./userVoiceQueueRt.attributes');module[_0xbcce('0x9')]=function(_0x3c6e96,_0x5b49d7){return _0x3c6e96[_0xbcce('0xa')](_0xbcce('0xb'),attributes,{'tableName':_0xbcce('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};