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 _0xe614=['exports','define','SquareDetailsReport','report_square_details','lodash','util','api','moment','path','../../config/environment','./squareReportDetail.attributes'];(function(_0x4dbaad,_0x730318){var _0x226c72=function(_0x501972){while(--_0x501972){_0x4dbaad['push'](_0x4dbaad['shift']());}};_0x226c72(++_0x730318);}(_0xe614,0x159));var _0x4e61=function(_0x19ce91,_0x5154f3){_0x19ce91=_0x19ce91-0x0;var _0x4ab182=_0xe614[_0x19ce91];return _0x4ab182;};'use strict';var _=require(_0x4e61('0x0'));var util=require(_0x4e61('0x1'));var logger=require('../../config/logger')(_0x4e61('0x2'));var moment=require(_0x4e61('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x4e61('0x4'));var rimraf=require('rimraf');var config=require(_0x4e61('0x5'));var attributes=require(_0x4e61('0x6'));module[_0x4e61('0x7')]=function(_0x5146af,_0x10bc0a){return _0x5146af[_0x4e61('0x8')](_0x4e61('0x9'),attributes,{'tableName':_0x4e61('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};