ad8f4efe96004c91a0380730a095e76dd5936f5a
[motion2.git] / server / api / voiceQueue / voiceQueue.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 _0x08c8=['bluebird','request-promise','path','rimraf','../../config/environment','./voiceQueue.attributes','exports','define','VoiceQueue','voice_queues','lodash','util','../../config/logger','moment'];(function(_0x45bf99,_0x16d0fe){var _0x5c7246=function(_0x30a928){while(--_0x30a928){_0x45bf99['push'](_0x45bf99['shift']());}};_0x5c7246(++_0x16d0fe);}(_0x08c8,0x106));var _0x808c=function(_0x14235f,_0x1ecba2){_0x14235f=_0x14235f-0x0;var _0x3c74ce=_0x08c8[_0x14235f];return _0x3c74ce;};'use strict';var _=require(_0x808c('0x0'));var util=require(_0x808c('0x1'));var logger=require(_0x808c('0x2'))('api');var moment=require(_0x808c('0x3'));var BPromise=require(_0x808c('0x4'));var rp=require(_0x808c('0x5'));var fs=require('fs');var path=require(_0x808c('0x6'));var rimraf=require(_0x808c('0x7'));var config=require(_0x808c('0x8'));var attributes=require(_0x808c('0x9'));module[_0x808c('0xa')]=function(_0x147942,_0x16544c){return _0x147942[_0x808c('0xb')](_0x808c('0xc'),attributes,{'tableName':_0x808c('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};