Built motion from commit 753c950e.|2.5.42
[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 _0x81e3=['bluebird','request-promise','path','../../config/environment','exports','define','UserVoiceQueueRt','user_has_voice_queues_rt','lodash','util','../../config/logger','api','moment'];(function(_0xfae23b,_0x2be4ba){var _0x200640=function(_0x4ae258){while(--_0x4ae258){_0xfae23b['push'](_0xfae23b['shift']());}};_0x200640(++_0x2be4ba);}(_0x81e3,0x18e));var _0x381e=function(_0x430524,_0x23b611){_0x430524=_0x430524-0x0;var _0x3a726d=_0x81e3[_0x430524];return _0x3a726d;};'use strict';var _=require(_0x381e('0x0'));var util=require(_0x381e('0x1'));var logger=require(_0x381e('0x2'))(_0x381e('0x3'));var moment=require(_0x381e('0x4'));var BPromise=require(_0x381e('0x5'));var rp=require(_0x381e('0x6'));var fs=require('fs');var path=require(_0x381e('0x7'));var rimraf=require('rimraf');var config=require(_0x381e('0x8'));var attributes=require('./userVoiceQueueRt.attributes');module[_0x381e('0x9')]=function(_0x5ba744,_0x47045f){return _0x5ba744[_0x381e('0xa')](_0x381e('0xb'),attributes,{'tableName':_0x381e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};