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 _0xe491=['request-promise','path','exports','define','SquareDetailsReport','report_square_details','util','../../config/logger','moment','bluebird'];(function(_0x38a167,_0x744656){var _0x38f379=function(_0x358f34){while(--_0x358f34){_0x38a167['push'](_0x38a167['shift']());}};_0x38f379(++_0x744656);}(_0xe491,0x18c));var _0x1e49=function(_0x2683b0,_0x18a776){_0x2683b0=_0x2683b0-0x0;var _0x176fc1=_0xe491[_0x2683b0];return _0x176fc1;};'use strict';var _=require('lodash');var util=require(_0x1e49('0x0'));var logger=require(_0x1e49('0x1'))('api');var moment=require(_0x1e49('0x2'));var BPromise=require(_0x1e49('0x3'));var rp=require(_0x1e49('0x4'));var fs=require('fs');var path=require(_0x1e49('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./squareReportDetail.attributes');module[_0x1e49('0x6')]=function(_0x4d8825,_0x956d4a){return _0x4d8825[_0x1e49('0x7')](_0x1e49('0x8'),attributes,{'tableName':_0x1e49('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};