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 _0x160c=['SquareDetailsReport','util','../../config/logger','api','path','../../config/environment','./squareReportDetail.attributes','exports'];(function(_0x556c92,_0xc074d3){var _0x3a9e78=function(_0x4c5ee2){while(--_0x4c5ee2){_0x556c92['push'](_0x556c92['shift']());}};_0x3a9e78(++_0xc074d3);}(_0x160c,0x181));var _0xc160=function(_0x3f77fc,_0x221da3){_0x3f77fc=_0x3f77fc-0x0;var _0x1c2080=_0x160c[_0x3f77fc];return _0x1c2080;};'use strict';var _=require('lodash');var util=require(_0xc160('0x0'));var logger=require(_0xc160('0x1'))(_0xc160('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xc160('0x3'));var rimraf=require('rimraf');var config=require(_0xc160('0x4'));var attributes=require(_0xc160('0x5'));module[_0xc160('0x6')]=function(_0x5e6340,_0x46df17){return _0x5e6340['define'](_0xc160('0x7'),attributes,{'tableName':'report_square_details','paranoid':![],'indexes':[],'timestamps':!![]});};