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 _0xfe82=['bluebird','request-promise','path','../../config/environment','./squareReport.attributes','exports','define','report_square','project_name','leaveAt','lodash','../../config/logger'];(function(_0x44e3e8,_0x264cfe){var _0x456a44=function(_0x472d6c){while(--_0x472d6c){_0x44e3e8['push'](_0x44e3e8['shift']());}};_0x456a44(++_0x264cfe);}(_0xfe82,0x112));var _0x2fe8=function(_0x250bbc,_0x3297f3){_0x250bbc=_0x250bbc-0x0;var _0x489e34=_0xfe82[_0x250bbc];return _0x489e34;};'use strict';var _=require(_0x2fe8('0x0'));var util=require('util');var logger=require(_0x2fe8('0x1'))('api');var moment=require('moment');var BPromise=require(_0x2fe8('0x2'));var rp=require(_0x2fe8('0x3'));var fs=require('fs');var path=require(_0x2fe8('0x4'));var rimraf=require('rimraf');var config=require(_0x2fe8('0x5'));var attributes=require(_0x2fe8('0x6'));module[_0x2fe8('0x7')]=function(_0x304e9f,_0x4a1398){return _0x304e9f[_0x2fe8('0x8')]('SquareReport',attributes,{'tableName':_0x2fe8('0x9'),'paranoid':![],'indexes':[{'name':'uid_pname','fields':['uniqueid',_0x2fe8('0xa')]},{'name':'leaveAt','fields':[_0x2fe8('0xb')]}],'timestamps':!![]});};