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 _0x61e6=['exports','define','SquareDetailsReport','report_square_details','lodash','util','api','request-promise','rimraf','../../config/environment','./squareReportDetail.attributes'];(function(_0x2a5627,_0x47a4b7){var _0x554f9e=function(_0x52f7e7){while(--_0x52f7e7){_0x2a5627['push'](_0x2a5627['shift']());}};_0x554f9e(++_0x47a4b7);}(_0x61e6,0x10c));var _0x661e=function(_0x31686d,_0x4afd1b){_0x31686d=_0x31686d-0x0;var _0x59853a=_0x61e6[_0x31686d];return _0x59853a;};'use strict';var _=require(_0x661e('0x0'));var util=require(_0x661e('0x1'));var logger=require('../../config/logger')(_0x661e('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x661e('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x661e('0x4'));var config=require(_0x661e('0x5'));var attributes=require(_0x661e('0x6'));module[_0x661e('0x7')]=function(_0x3df270,_0x327d4b){return _0x3df270[_0x661e('0x8')](_0x661e('0x9'),attributes,{'tableName':_0x661e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};