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 _0x9bc1=['bluebird','path','rimraf','../../config/environment','./squareReportDetail.attributes','exports','SquareDetailsReport','lodash','util','../../config/logger','api','moment'];(function(_0x810e4d,_0x909ef4){var _0x13f01c=function(_0x12fd89){while(--_0x12fd89){_0x810e4d['push'](_0x810e4d['shift']());}};_0x13f01c(++_0x909ef4);}(_0x9bc1,0x163));var _0x19bc=function(_0x2c5ce4,_0x1b4766){_0x2c5ce4=_0x2c5ce4-0x0;var _0x4060a3=_0x9bc1[_0x2c5ce4];return _0x4060a3;};'use strict';var _=require(_0x19bc('0x0'));var util=require(_0x19bc('0x1'));var logger=require(_0x19bc('0x2'))(_0x19bc('0x3'));var moment=require(_0x19bc('0x4'));var BPromise=require(_0x19bc('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x19bc('0x6'));var rimraf=require(_0x19bc('0x7'));var config=require(_0x19bc('0x8'));var attributes=require(_0x19bc('0x9'));module[_0x19bc('0xa')]=function(_0x9fef0f,_0x1fadc0){return _0x9fef0f['define'](_0x19bc('0xb'),attributes,{'tableName':'report_square_details','paranoid':![],'indexes':[],'timestamps':!![]});};