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 _0xbc43=['define','SquareDetailsReport','report_square_details','lodash','util','api','moment','bluebird','request-promise','path','./squareReportDetail.attributes','exports'];(function(_0x338d60,_0x3ae251){var _0x1bc68c=function(_0x4574a3){while(--_0x4574a3){_0x338d60['push'](_0x338d60['shift']());}};_0x1bc68c(++_0x3ae251);}(_0xbc43,0xf3));var _0x3bc4=function(_0xec306d,_0x2c44af){_0xec306d=_0xec306d-0x0;var _0x4fd78a=_0xbc43[_0xec306d];return _0x4fd78a;};'use strict';var _=require(_0x3bc4('0x0'));var util=require(_0x3bc4('0x1'));var logger=require('../../config/logger')(_0x3bc4('0x2'));var moment=require(_0x3bc4('0x3'));var BPromise=require(_0x3bc4('0x4'));var rp=require(_0x3bc4('0x5'));var fs=require('fs');var path=require(_0x3bc4('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x3bc4('0x7'));module[_0x3bc4('0x8')]=function(_0x576859,_0x40ebae){return _0x576859[_0x3bc4('0x9')](_0x3bc4('0xa'),attributes,{'tableName':_0x3bc4('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};