8cbee911db1e2be6c7167026c9552f7788713356
[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 _0x94c2=['rimraf','../../config/environment','./voiceQueue.attributes','define','VoiceQueue','voice_queues','lodash','util','../../config/logger','bluebird','path'];(function(_0x447038,_0x3358e9){var _0xddd649=function(_0x10d9ab){while(--_0x10d9ab){_0x447038['push'](_0x447038['shift']());}};_0xddd649(++_0x3358e9);}(_0x94c2,0x17c));var _0x294c=function(_0x1928c9,_0x13a6d1){_0x1928c9=_0x1928c9-0x0;var _0x51b5fb=_0x94c2[_0x1928c9];return _0x51b5fb;};'use strict';var _=require(_0x294c('0x0'));var util=require(_0x294c('0x1'));var logger=require(_0x294c('0x2'))('api');var moment=require('moment');var BPromise=require(_0x294c('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x294c('0x4'));var rimraf=require(_0x294c('0x5'));var config=require(_0x294c('0x6'));var attributes=require(_0x294c('0x7'));module['exports']=function(_0x51c986,_0x55221a){return _0x51c986[_0x294c('0x8')](_0x294c('0x9'),attributes,{'tableName':_0x294c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};