Built motion from commit (unavailable).|2.5.6
[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 _0xb3f6=['exports','define','VoiceQueue','voice_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceQueue.attributes'];(function(_0x5c8026,_0xc97d65){var _0x1eaf51=function(_0x54694c){while(--_0x54694c){_0x5c8026['push'](_0x5c8026['shift']());}};_0x1eaf51(++_0xc97d65);}(_0xb3f6,0x17b));var _0x6b3f=function(_0x626ba7,_0xf1ea4a){_0x626ba7=_0x626ba7-0x0;var _0x53c766=_0xb3f6[_0x626ba7];return _0x53c766;};'use strict';var _=require(_0x6b3f('0x0'));var util=require(_0x6b3f('0x1'));var logger=require(_0x6b3f('0x2'))(_0x6b3f('0x3'));var moment=require(_0x6b3f('0x4'));var BPromise=require(_0x6b3f('0x5'));var rp=require(_0x6b3f('0x6'));var fs=require('fs');var path=require(_0x6b3f('0x7'));var rimraf=require(_0x6b3f('0x8'));var config=require(_0x6b3f('0x9'));var attributes=require(_0x6b3f('0xa'));module[_0x6b3f('0xb')]=function(_0x1f1b67,_0x4ea170){return _0x1f1b67[_0x6b3f('0xc')](_0x6b3f('0xd'),attributes,{'tableName':_0x6b3f('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};