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 _0x5a1c=['request-promise','path','rimraf','../../config/environment','exports','Pause','tools_pauses','lodash','util','moment'];(function(_0x2c22e0,_0x1e7292){var _0x4d3ae8=function(_0x109093){while(--_0x109093){_0x2c22e0['push'](_0x2c22e0['shift']());}};_0x4d3ae8(++_0x1e7292);}(_0x5a1c,0x1b5));var _0xc5a1=function(_0xa602fd,_0x52a378){_0xa602fd=_0xa602fd-0x0;var _0xbb0bd0=_0x5a1c[_0xa602fd];return _0xbb0bd0;};'use strict';var _=require(_0xc5a1('0x0'));var util=require(_0xc5a1('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xc5a1('0x2'));var BPromise=require('bluebird');var rp=require(_0xc5a1('0x3'));var fs=require('fs');var path=require(_0xc5a1('0x4'));var rimraf=require(_0xc5a1('0x5'));var config=require(_0xc5a1('0x6'));var attributes=require('./pause.attributes');module[_0xc5a1('0x7')]=function(_0x3d356e,_0x1ed54a){return _0x3d356e['define'](_0xc5a1('0x8'),attributes,{'tableName':_0xc5a1('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};