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 _0x7f12=['request-promise','rimraf','./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash','util','../../config/logger','moment','bluebird'];(function(_0x165259,_0x5d6abf){var _0x58252a=function(_0x2cda3a){while(--_0x2cda3a){_0x165259['push'](_0x165259['shift']());}};_0x58252a(++_0x5d6abf);}(_0x7f12,0x7f));var _0x27f1=function(_0x5b3546,_0x4f4571){_0x5b3546=_0x5b3546-0x0;var _0x40f027=_0x7f12[_0x5b3546];return _0x40f027;};'use strict';var _=require(_0x27f1('0x0'));var util=require(_0x27f1('0x1'));var logger=require(_0x27f1('0x2'))('api');var moment=require(_0x27f1('0x3'));var BPromise=require(_0x27f1('0x4'));var rp=require(_0x27f1('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x27f1('0x6'));var config=require('../../config/environment');var attributes=require(_0x27f1('0x7'));module[_0x27f1('0x8')]=function(_0x33b9a7,_0xd43e3e){return _0x33b9a7[_0x27f1('0x9')](_0x27f1('0xa'),attributes,{'tableName':_0x27f1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};