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 _0xebcd=['lodash','../../config/logger','bluebird','path','../../config/environment','./pause.attributes','exports','define','tools_pauses'];(function(_0x44329b,_0x3df695){var _0x1b75a7=function(_0x3cf4bd){while(--_0x3cf4bd){_0x44329b['push'](_0x44329b['shift']());}};_0x1b75a7(++_0x3df695);}(_0xebcd,0x18c));var _0xdebc=function(_0x3a8dc1,_0x2f03b8){_0x3a8dc1=_0x3a8dc1-0x0;var _0x4b3595=_0xebcd[_0x3a8dc1];return _0x4b3595;};'use strict';var _=require(_0xdebc('0x0'));var util=require('util');var logger=require(_0xdebc('0x1'))('api');var moment=require('moment');var BPromise=require(_0xdebc('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xdebc('0x3'));var rimraf=require('rimraf');var config=require(_0xdebc('0x4'));var attributes=require(_0xdebc('0x5'));module[_0xdebc('0x6')]=function(_0xa8e1d3,_0x1e5295){return _0xa8e1d3[_0xdebc('0x7')]('Pause',attributes,{'tableName':_0xdebc('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};