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 _0x26e9=['bluebird','path','rimraf','../../config/environment','exports','define','SquareDetailsReport','report_square_details','util','moment'];(function(_0x4548f2,_0x4a65ca){var _0x3ee32e=function(_0x2a20b7){while(--_0x2a20b7){_0x4548f2['push'](_0x4548f2['shift']());}};_0x3ee32e(++_0x4a65ca);}(_0x26e9,0x1a2));var _0x926e=function(_0x4cd8e1,_0x3fb58a){_0x4cd8e1=_0x4cd8e1-0x0;var _0x5e7ec4=_0x26e9[_0x4cd8e1];return _0x5e7ec4;};'use strict';var _=require('lodash');var util=require(_0x926e('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x926e('0x1'));var BPromise=require(_0x926e('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x926e('0x3'));var rimraf=require(_0x926e('0x4'));var config=require(_0x926e('0x5'));var attributes=require('./squareReportDetail.attributes');module[_0x926e('0x6')]=function(_0x38679d,_0x235e92){return _0x38679d[_0x926e('0x7')](_0x926e('0x8'),attributes,{'tableName':_0x926e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};