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 _0xa3b0=['leaveAt','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./squareReport.attributes','exports','SquareReport','report_square','uid_pname','uniqueid','project_name'];(function(_0x1bb560,_0xeae53f){var _0x41416f=function(_0x4e3965){while(--_0x4e3965){_0x1bb560['push'](_0x1bb560['shift']());}};_0x41416f(++_0xeae53f);}(_0xa3b0,0x1b3));var _0x0a3b=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa3b0[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x0a3b('0x0'))('api');var moment=require('moment');var BPromise=require(_0x0a3b('0x1'));var rp=require(_0x0a3b('0x2'));var fs=require('fs');var path=require(_0x0a3b('0x3'));var rimraf=require(_0x0a3b('0x4'));var config=require(_0x0a3b('0x5'));var attributes=require(_0x0a3b('0x6'));module[_0x0a3b('0x7')]=function(_0x2f7491,_0x373186){return _0x2f7491['define'](_0x0a3b('0x8'),attributes,{'tableName':_0x0a3b('0x9'),'paranoid':![],'indexes':[{'name':_0x0a3b('0xa'),'fields':[_0x0a3b('0xb'),_0x0a3b('0xc')]},{'name':'leaveAt','fields':[_0x0a3b('0xd')]}],'timestamps':!![]});};