Built motion from commit d5e4af8c.|2.6.23
[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 _0x1a09=['report_square_details','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./squareReportDetail.attributes','exports','SquareDetailsReport'];(function(_0x8a1b38,_0x8d53e2){var _0x97ac16=function(_0x1e55b9){while(--_0x1e55b9){_0x8a1b38['push'](_0x8a1b38['shift']());}};_0x97ac16(++_0x8d53e2);}(_0x1a09,0x12a));var _0x91a0=function(_0x1035c1,_0x2d8583){_0x1035c1=_0x1035c1-0x0;var _0x308d67=_0x1a09[_0x1035c1];return _0x308d67;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x91a0('0x0'))(_0x91a0('0x1'));var moment=require(_0x91a0('0x2'));var BPromise=require(_0x91a0('0x3'));var rp=require(_0x91a0('0x4'));var fs=require('fs');var path=require(_0x91a0('0x5'));var rimraf=require('rimraf');var config=require(_0x91a0('0x6'));var attributes=require(_0x91a0('0x7'));module[_0x91a0('0x8')]=function(_0x599f8a,_0x1d6ad8){return _0x599f8a['define'](_0x91a0('0x9'),attributes,{'tableName':_0x91a0('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};