d11630ac48ae856591dcea1b6e31956902e3a298
[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 _0x8002=['path','../../config/environment','./voiceQueue.attributes','exports','VoiceQueue','voice_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x5416db,_0x55683a){var _0x243e35=function(_0x1eb623){while(--_0x1eb623){_0x5416db['push'](_0x5416db['shift']());}};_0x243e35(++_0x55683a);}(_0x8002,0xbc));var _0x2800=function(_0x2cd710,_0x49331c){_0x2cd710=_0x2cd710-0x0;var _0x14c873=_0x8002[_0x2cd710];return _0x14c873;};'use strict';var _=require(_0x2800('0x0'));var util=require(_0x2800('0x1'));var logger=require(_0x2800('0x2'))(_0x2800('0x3'));var moment=require(_0x2800('0x4'));var BPromise=require(_0x2800('0x5'));var rp=require(_0x2800('0x6'));var fs=require('fs');var path=require(_0x2800('0x7'));var rimraf=require('rimraf');var config=require(_0x2800('0x8'));var attributes=require(_0x2800('0x9'));module[_0x2800('0xa')]=function(_0x38c5c5,_0x5d9f33){return _0x38c5c5['define'](_0x2800('0xb'),attributes,{'tableName':_0x2800('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};