Built motion from commit (unavailable).|2.4.17
[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 _0x4626=['voice_queues','util','../../config/logger','api','moment','./voiceQueue.attributes','exports','define'];(function(_0x16f108,_0x501f0c){var _0x5e5d68=function(_0x1bb44c){while(--_0x1bb44c){_0x16f108['push'](_0x16f108['shift']());}};_0x5e5d68(++_0x501f0c);}(_0x4626,0x121));var _0x6462=function(_0x52ec5c,_0x158c86){_0x52ec5c=_0x52ec5c-0x0;var _0xb60de9=_0x4626[_0x52ec5c];return _0xb60de9;};'use strict';var _=require('lodash');var util=require(_0x6462('0x0'));var logger=require(_0x6462('0x1'))(_0x6462('0x2'));var moment=require(_0x6462('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x6462('0x4'));module[_0x6462('0x5')]=function(_0x4350a4,_0x4be348){return _0x4350a4[_0x6462('0x6')]('VoiceQueue',attributes,{'tableName':_0x6462('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};