94b7458d2e0ccbfaa89d95f8bf14a3e956b487b2
[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 _0xe151=['util','../../config/logger','api','moment','path','rimraf','../../config/environment','./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash'];(function(_0x46e1eb,_0x1daeaf){var _0x2b7426=function(_0x55305e){while(--_0x55305e){_0x46e1eb['push'](_0x46e1eb['shift']());}};_0x2b7426(++_0x1daeaf);}(_0xe151,0x137));var _0x1e15=function(_0x19f20a,_0x49fa82){_0x19f20a=_0x19f20a-0x0;var _0x436896=_0xe151[_0x19f20a];return _0x436896;};'use strict';var _=require(_0x1e15('0x0'));var util=require(_0x1e15('0x1'));var logger=require(_0x1e15('0x2'))(_0x1e15('0x3'));var moment=require(_0x1e15('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x1e15('0x5'));var rimraf=require(_0x1e15('0x6'));var config=require(_0x1e15('0x7'));var attributes=require(_0x1e15('0x8'));module[_0x1e15('0x9')]=function(_0x46ff32,_0x1c8a89){return _0x46ff32[_0x1e15('0xa')](_0x1e15('0xb'),attributes,{'tableName':_0x1e15('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};