Built motion from commit 932cf0d0.|2.5.42
[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 _0xb575=['api','moment','request-promise','../../config/environment','./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash'];(function(_0x513616,_0x85c1c1){var _0x5bfadb=function(_0x211f70){while(--_0x211f70){_0x513616['push'](_0x513616['shift']());}};_0x5bfadb(++_0x85c1c1);}(_0xb575,0x95));var _0x5b57=function(_0x1de4cf,_0x29ca6d){_0x1de4cf=_0x1de4cf-0x0;var _0x4eba56=_0xb575[_0x1de4cf];return _0x4eba56;};'use strict';var _=require(_0x5b57('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x5b57('0x1'));var moment=require(_0x5b57('0x2'));var BPromise=require('bluebird');var rp=require(_0x5b57('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x5b57('0x4'));var attributes=require(_0x5b57('0x5'));module[_0x5b57('0x6')]=function(_0x2b968a,_0x31775d){return _0x2b968a[_0x5b57('0x7')](_0x5b57('0x8'),attributes,{'tableName':_0x5b57('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};