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 _0x74b4=['path','../../config/environment','exports','define','SquareDetailsReport','report_square_details','lodash','api','moment','request-promise'];(function(_0x1ee0a1,_0x51058e){var _0x1d2d5b=function(_0x35cfb5){while(--_0x35cfb5){_0x1ee0a1['push'](_0x1ee0a1['shift']());}};_0x1d2d5b(++_0x51058e);}(_0x74b4,0x1f0));var _0x474b=function(_0xdf63ba,_0x4622c6){_0xdf63ba=_0xdf63ba-0x0;var _0xfb3a08=_0x74b4[_0xdf63ba];return _0xfb3a08;};'use strict';var _=require(_0x474b('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x474b('0x1'));var moment=require(_0x474b('0x2'));var BPromise=require('bluebird');var rp=require(_0x474b('0x3'));var fs=require('fs');var path=require(_0x474b('0x4'));var rimraf=require('rimraf');var config=require(_0x474b('0x5'));var attributes=require('./squareReportDetail.attributes');module[_0x474b('0x6')]=function(_0x1e4c3f,_0x1aa517){return _0x1e4c3f[_0x474b('0x7')](_0x474b('0x8'),attributes,{'tableName':_0x474b('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};