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 _0x6d05=['define','SquareDetailsReport','report_square_details','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./squareReportDetail.attributes','exports'];(function(_0x15a76a,_0x58645f){var _0x3cd894=function(_0x2e524d){while(--_0x2e524d){_0x15a76a['push'](_0x15a76a['shift']());}};_0x3cd894(++_0x58645f);}(_0x6d05,0x145));var _0x56d0=function(_0x1e5a2a,_0x246ded){_0x1e5a2a=_0x1e5a2a-0x0;var _0x30ade5=_0x6d05[_0x1e5a2a];return _0x30ade5;};'use strict';var _=require(_0x56d0('0x0'));var util=require('util');var logger=require(_0x56d0('0x1'))(_0x56d0('0x2'));var moment=require(_0x56d0('0x3'));var BPromise=require(_0x56d0('0x4'));var rp=require(_0x56d0('0x5'));var fs=require('fs');var path=require(_0x56d0('0x6'));var rimraf=require(_0x56d0('0x7'));var config=require(_0x56d0('0x8'));var attributes=require(_0x56d0('0x9'));module[_0x56d0('0xa')]=function(_0x248aeb,_0x43da8a){return _0x248aeb[_0x56d0('0xb')](_0x56d0('0xc'),attributes,{'tableName':_0x56d0('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};