1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x2d07=['define','Pause','lodash','util','api','moment','request-promise','path','rimraf','../../config/environment','./pause.attributes','exports'];(function(_0x599422,_0x593e11){var _0x473fdd=function(_0x437dce){while(--_0x437dce){_0x599422['push'](_0x599422['shift']());}};_0x473fdd(++_0x593e11);}(_0x2d07,0x13a));var _0x72d0=function(_0x53b55f,_0x7980d0){_0x53b55f=_0x53b55f-0x0;var _0x71d9fa=_0x2d07[_0x53b55f];return _0x71d9fa;};'use strict';var _=require(_0x72d0('0x0'));var util=require(_0x72d0('0x1'));var logger=require('../../config/logger')(_0x72d0('0x2'));var moment=require(_0x72d0('0x3'));var BPromise=require('bluebird');var rp=require(_0x72d0('0x4'));var fs=require('fs');var path=require(_0x72d0('0x5'));var rimraf=require(_0x72d0('0x6'));var config=require(_0x72d0('0x7'));var attributes=require(_0x72d0('0x8'));module[_0x72d0('0x9')]=function(_0x4e0f5c,_0x180424){return _0x4e0f5c[_0x72d0('0xa')](_0x72d0('0xb'),attributes,{'tableName':'tools_pauses','paranoid':![],'indexes':[],'timestamps':!![]});};