Built motion from commit (unavailable).|2.5.14
[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 _0xb9db=['./voiceQueue.attributes','exports','define','VoiceQueue','voice_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment'];(function(_0x1beef3,_0x57c4b8){var _0x5af964=function(_0x36f463){while(--_0x36f463){_0x1beef3['push'](_0x1beef3['shift']());}};_0x5af964(++_0x57c4b8);}(_0xb9db,0x7a));var _0xbb9d=function(_0x13701b,_0x24bc8f){_0x13701b=_0x13701b-0x0;var _0x362fb8=_0xb9db[_0x13701b];return _0x362fb8;};'use strict';var _=require(_0xbb9d('0x0'));var util=require(_0xbb9d('0x1'));var logger=require(_0xbb9d('0x2'))(_0xbb9d('0x3'));var moment=require(_0xbb9d('0x4'));var BPromise=require(_0xbb9d('0x5'));var rp=require(_0xbb9d('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xbb9d('0x7'));var attributes=require(_0xbb9d('0x8'));module[_0xbb9d('0x9')]=function(_0x2b9915,_0x239a84){return _0x2b9915[_0xbb9d('0xa')](_0xbb9d('0xb'),attributes,{'tableName':_0xbb9d('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};