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 _0x134c=['bluebird','request-promise','path','rimraf','./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash','moment'];(function(_0x5a79e2,_0x319b1a){var _0x266c45=function(_0x172478){while(--_0x172478){_0x5a79e2['push'](_0x5a79e2['shift']());}};_0x266c45(++_0x319b1a);}(_0x134c,0x1a0));var _0xc134=function(_0x3b53b0,_0x23dc58){_0x3b53b0=_0x3b53b0-0x0;var _0x4eddc6=_0x134c[_0x3b53b0];return _0x4eddc6;};'use strict';var _=require(_0xc134('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xc134('0x1'));var BPromise=require(_0xc134('0x2'));var rp=require(_0xc134('0x3'));var fs=require('fs');var path=require(_0xc134('0x4'));var rimraf=require(_0xc134('0x5'));var config=require('../../config/environment');var attributes=require(_0xc134('0x6'));module[_0xc134('0x7')]=function(_0x13a13a,_0x573d8a){return _0x13a13a[_0xc134('0x8')](_0xc134('0x9'),attributes,{'tableName':_0xc134('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};