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 _0xf259=['exports','SquareDetailsReport','lodash','api','request-promise','path','rimraf','../../config/environment'];(function(_0x226e5c,_0x19e27e){var _0x1c3fd6=function(_0x1f190e){while(--_0x1f190e){_0x226e5c['push'](_0x226e5c['shift']());}};_0x1c3fd6(++_0x19e27e);}(_0xf259,0xf2));var _0x9f25=function(_0x15003c,_0x5d4410){_0x15003c=_0x15003c-0x0;var _0x568810=_0xf259[_0x15003c];return _0x568810;};'use strict';var _=require(_0x9f25('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x9f25('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x9f25('0x2'));var fs=require('fs');var path=require(_0x9f25('0x3'));var rimraf=require(_0x9f25('0x4'));var config=require(_0x9f25('0x5'));var attributes=require('./squareReportDetail.attributes');module[_0x9f25('0x6')]=function(_0x270ccf,_0x1ae65c){return _0x270ccf['define'](_0x9f25('0x7'),attributes,{'tableName':'report_square_details','paranoid':![],'indexes':[],'timestamps':!![]});};