7b3d42353af2e3f2302f6eabf493040839aa151d
[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 _0x3f74=['lodash','util','../../config/logger','api','moment','request-promise','path','./voiceQueue.attributes','define','VoiceQueue','voice_queues'];(function(_0x54f8d9,_0xfaeb66){var _0x428a17=function(_0x2066d8){while(--_0x2066d8){_0x54f8d9['push'](_0x54f8d9['shift']());}};_0x428a17(++_0xfaeb66);}(_0x3f74,0x79));var _0x43f7=function(_0x42e950,_0x1617a8){_0x42e950=_0x42e950-0x0;var _0x26597b=_0x3f74[_0x42e950];return _0x26597b;};'use strict';var _=require(_0x43f7('0x0'));var util=require(_0x43f7('0x1'));var logger=require(_0x43f7('0x2'))(_0x43f7('0x3'));var moment=require(_0x43f7('0x4'));var BPromise=require('bluebird');var rp=require(_0x43f7('0x5'));var fs=require('fs');var path=require(_0x43f7('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x43f7('0x7'));module['exports']=function(_0x34daa4,_0x2e88ff){return _0x34daa4[_0x43f7('0x8')](_0x43f7('0x9'),attributes,{'tableName':_0x43f7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};