a4b99d03d93fd90fb6b4d9afef1d1720c7502296
[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 _0x4484=['request-promise','../../config/environment','./voiceQueue.attributes','define','voice_queues','../../config/logger','moment'];(function(_0x2fac9f,_0x432f24){var _0xcb5e0f=function(_0x458f68){while(--_0x458f68){_0x2fac9f['push'](_0x2fac9f['shift']());}};_0xcb5e0f(++_0x432f24);}(_0x4484,0xf3));var _0x4448=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x4484[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x4448('0x0'))('api');var moment=require(_0x4448('0x1'));var BPromise=require('bluebird');var rp=require(_0x4448('0x2'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x4448('0x3'));var attributes=require(_0x4448('0x4'));module['exports']=function(_0x22a5db,_0x50627f){return _0x22a5db[_0x4448('0x5')]('VoiceQueue',attributes,{'tableName':_0x4448('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};