Built motion from commit 7158bc59.|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 _0xa2d4=['SquareDetailsReport','util','bluebird','request-promise','path','rimraf'];(function(_0x3fcc20,_0x57c31b){var _0x15d3ce=function(_0x575619){while(--_0x575619){_0x3fcc20['push'](_0x3fcc20['shift']());}};_0x15d3ce(++_0x57c31b);}(_0xa2d4,0x1f3));var _0x4a2d=function(_0x1d4c3d,_0x4ef405){_0x1d4c3d=_0x1d4c3d-0x0;var _0x39a709=_0xa2d4[_0x1d4c3d];return _0x39a709;};'use strict';var _=require('lodash');var util=require(_0x4a2d('0x0'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x4a2d('0x1'));var rp=require(_0x4a2d('0x2'));var fs=require('fs');var path=require(_0x4a2d('0x3'));var rimraf=require(_0x4a2d('0x4'));var config=require('../../config/environment');var attributes=require('./squareReportDetail.attributes');module['exports']=function(_0x1def41,_0x17ac6a){return _0x1def41['define'](_0x4a2d('0x5'),attributes,{'tableName':'report_square_details','paranoid':![],'indexes':[],'timestamps':!![]});};