a7e36090c14233a562902c6956e7dbe5e6c15e53
[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 _0x80d2=['define','voice_queues','lodash','util','api','moment','bluebird','../../config/environment','exports'];(function(_0x478e09,_0xdbb31d){var _0x12aacc=function(_0x402b83){while(--_0x402b83){_0x478e09['push'](_0x478e09['shift']());}};_0x12aacc(++_0xdbb31d);}(_0x80d2,0x146));var _0x280d=function(_0x45123d,_0x41f011){_0x45123d=_0x45123d-0x0;var _0x9c6708=_0x80d2[_0x45123d];return _0x9c6708;};'use strict';var _=require(_0x280d('0x0'));var util=require(_0x280d('0x1'));var logger=require('../../config/logger')(_0x280d('0x2'));var moment=require(_0x280d('0x3'));var BPromise=require(_0x280d('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x280d('0x5'));var attributes=require('./voiceQueue.attributes');module[_0x280d('0x6')]=function(_0x398b34,_0x1e5404){return _0x398b34[_0x280d('0x7')]('VoiceQueue',attributes,{'tableName':_0x280d('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};