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 _0xe1c7=['../../config/environment','exports','define','SquareDetailsReport','report_square_details','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf'];(function(_0x2d4271,_0x4cef09){var _0x29f6ac=function(_0x1783f4){while(--_0x1783f4){_0x2d4271['push'](_0x2d4271['shift']());}};_0x29f6ac(++_0x4cef09);}(_0xe1c7,0x71));var _0x7e1c=function(_0x3c4f1f,_0x20d3ec){_0x3c4f1f=_0x3c4f1f-0x0;var _0x19cb69=_0xe1c7[_0x3c4f1f];return _0x19cb69;};'use strict';var _=require(_0x7e1c('0x0'));var util=require('util');var logger=require(_0x7e1c('0x1'))(_0x7e1c('0x2'));var moment=require('moment');var BPromise=require(_0x7e1c('0x3'));var rp=require(_0x7e1c('0x4'));var fs=require('fs');var path=require(_0x7e1c('0x5'));var rimraf=require(_0x7e1c('0x6'));var config=require(_0x7e1c('0x7'));var attributes=require('./squareReportDetail.attributes');module[_0x7e1c('0x8')]=function(_0x200177,_0x52245a){return _0x200177[_0x7e1c('0x9')](_0x7e1c('0xa'),attributes,{'tableName':_0x7e1c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};