Built motion from commit 43538d75.|2.5.35
[motion2.git] / server / api / squareReportDetail / squareReportDetail.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x4107=['rimraf','../../config/environment','./squareReportDetail.attributes','exports','define','report_square_details','lodash','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0xd39ba5,_0x1839fb){var _0x5eb60e=function(_0x274eb6){while(--_0x274eb6){_0xd39ba5['push'](_0xd39ba5['shift']());}};_0x5eb60e(++_0x1839fb);}(_0x4107,0xa2));var _0x7410=function(_0x24f862,_0x4b645a){_0x24f862=_0x24f862-0x0;var _0x198aa4=_0x4107[_0x24f862];return _0x198aa4;};'use strict';var _=require(_0x7410('0x0'));var util=require('util');var logger=require(_0x7410('0x1'))(_0x7410('0x2'));var moment=require(_0x7410('0x3'));var BPromise=require(_0x7410('0x4'));var rp=require(_0x7410('0x5'));var fs=require('fs');var path=require(_0x7410('0x6'));var rimraf=require(_0x7410('0x7'));var config=require(_0x7410('0x8'));var attributes=require(_0x7410('0x9'));module[_0x7410('0xa')]=function(_0x438b9d,_0x5c916c){return _0x438b9d[_0x7410('0xb')]('SquareDetailsReport',attributes,{'tableName':_0x7410('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};