Built motion from commit (unavailable).|2.5.31
[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 _0xc712=['request-promise','rimraf','./voiceQueue.attributes','exports','VoiceQueue','voice_queues','lodash','../../config/logger','api','bluebird'];(function(_0x140e57,_0x11f1b6){var _0x29a94f=function(_0x1c87ec){while(--_0x1c87ec){_0x140e57['push'](_0x140e57['shift']());}};_0x29a94f(++_0x11f1b6);}(_0xc712,0x1be));var _0x2c71=function(_0x51e98f,_0x1a4463){_0x51e98f=_0x51e98f-0x0;var _0x34564d=_0xc712[_0x51e98f];return _0x34564d;};'use strict';var _=require(_0x2c71('0x0'));var util=require('util');var logger=require(_0x2c71('0x1'))(_0x2c71('0x2'));var moment=require('moment');var BPromise=require(_0x2c71('0x3'));var rp=require(_0x2c71('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2c71('0x5'));var config=require('../../config/environment');var attributes=require(_0x2c71('0x6'));module[_0x2c71('0x7')]=function(_0x53eb54,_0x17c1aa){return _0x53eb54['define'](_0x2c71('0x8'),attributes,{'tableName':_0x2c71('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};