Built motion from commit 85328c08.|2.5.50
[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 _0x6a18=['exports','define','SquareDetailsReport','report_square_details','lodash','util','../../config/logger','api','moment','path','../../config/environment','./squareReportDetail.attributes'];(function(_0xf8c326,_0x38c9d3){var _0x307a22=function(_0x5ab46b){while(--_0x5ab46b){_0xf8c326['push'](_0xf8c326['shift']());}};_0x307a22(++_0x38c9d3);}(_0x6a18,0x184));var _0x86a1=function(_0x3ee3d7,_0x1df7a8){_0x3ee3d7=_0x3ee3d7-0x0;var _0x46332a=_0x6a18[_0x3ee3d7];return _0x46332a;};'use strict';var _=require(_0x86a1('0x0'));var util=require(_0x86a1('0x1'));var logger=require(_0x86a1('0x2'))(_0x86a1('0x3'));var moment=require(_0x86a1('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x86a1('0x5'));var rimraf=require('rimraf');var config=require(_0x86a1('0x6'));var attributes=require(_0x86a1('0x7'));module[_0x86a1('0x8')]=function(_0x3110e0,_0x3cd2d1){return _0x3110e0[_0x86a1('0x9')](_0x86a1('0xa'),attributes,{'tableName':_0x86a1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};