e4c62aac84d3e46f7708fa0e9e34ea96f3452367
[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 _0x6d49=['VoiceQueue','voice_queues','lodash','api','moment','bluebird','request-promise','path','../../config/environment','./voiceQueue.attributes','exports','define'];(function(_0x39a634,_0xa2d86e){var _0xfeb427=function(_0x36c14c){while(--_0x36c14c){_0x39a634['push'](_0x39a634['shift']());}};_0xfeb427(++_0xa2d86e);}(_0x6d49,0xda));var _0x96d4=function(_0x43581c,_0x52c91b){_0x43581c=_0x43581c-0x0;var _0x2bfd4f=_0x6d49[_0x43581c];return _0x2bfd4f;};'use strict';var _=require(_0x96d4('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x96d4('0x1'));var moment=require(_0x96d4('0x2'));var BPromise=require(_0x96d4('0x3'));var rp=require(_0x96d4('0x4'));var fs=require('fs');var path=require(_0x96d4('0x5'));var rimraf=require('rimraf');var config=require(_0x96d4('0x6'));var attributes=require(_0x96d4('0x7'));module[_0x96d4('0x8')]=function(_0x33a58c,_0x4e13d6){return _0x33a58c[_0x96d4('0x9')](_0x96d4('0xa'),attributes,{'tableName':_0x96d4('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};