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 _0x6b8a=['request-promise','path','rimraf','exports','define','SquareDetailsReport','report_square_details','lodash','util','../../config/logger','api','moment'];(function(_0x55cc4a,_0x3ce0e4){var _0x543d48=function(_0x30399a){while(--_0x30399a){_0x55cc4a['push'](_0x55cc4a['shift']());}};_0x543d48(++_0x3ce0e4);}(_0x6b8a,0x1b7));var _0xa6b8=function(_0x5a5e7a,_0x54c93e){_0x5a5e7a=_0x5a5e7a-0x0;var _0x2482ba=_0x6b8a[_0x5a5e7a];return _0x2482ba;};'use strict';var _=require(_0xa6b8('0x0'));var util=require(_0xa6b8('0x1'));var logger=require(_0xa6b8('0x2'))(_0xa6b8('0x3'));var moment=require(_0xa6b8('0x4'));var BPromise=require('bluebird');var rp=require(_0xa6b8('0x5'));var fs=require('fs');var path=require(_0xa6b8('0x6'));var rimraf=require(_0xa6b8('0x7'));var config=require('../../config/environment');var attributes=require('./squareReportDetail.attributes');module[_0xa6b8('0x8')]=function(_0x560c5e,_0x5bb28a){return _0x560c5e[_0xa6b8('0x9')](_0xa6b8('0xa'),attributes,{'tableName':_0xa6b8('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};