6285e3f1cd4ad85968513fbd42fb0a2f39dce83c
[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 _0x86f6=['request-promise','rimraf','../../config/environment','VoiceQueue','voice_queues','util','../../config/logger','api'];(function(_0xdef36b,_0x58c111){var _0x18fdcc=function(_0x3d45df){while(--_0x3d45df){_0xdef36b['push'](_0xdef36b['shift']());}};_0x18fdcc(++_0x58c111);}(_0x86f6,0xa5));var _0x686f=function(_0x1b5c7b,_0x3dcc18){_0x1b5c7b=_0x1b5c7b-0x0;var _0xbc85b=_0x86f6[_0x1b5c7b];return _0xbc85b;};'use strict';var _=require('lodash');var util=require(_0x686f('0x0'));var logger=require(_0x686f('0x1'))(_0x686f('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x686f('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x686f('0x4'));var config=require(_0x686f('0x5'));var attributes=require('./voiceQueue.attributes');module['exports']=function(_0x5133e8,_0x38bfe7){return _0x5133e8['define'](_0x686f('0x6'),attributes,{'tableName':_0x686f('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};