cf1b8f8f8e09faf2b899b62447266fca20d41342
[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 _0x3d8c=['../../config/environment','./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x797219,_0x28c28b){var _0x76bb98=function(_0x1ec30e){while(--_0x1ec30e){_0x797219['push'](_0x797219['shift']());}};_0x76bb98(++_0x28c28b);}(_0x3d8c,0x114));var _0xc3d8=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x3d8c[_0x2c91e9];return _0x13f0ff;};'use strict';var _=require(_0xc3d8('0x0'));var util=require(_0xc3d8('0x1'));var logger=require(_0xc3d8('0x2'))(_0xc3d8('0x3'));var moment=require(_0xc3d8('0x4'));var BPromise=require(_0xc3d8('0x5'));var rp=require(_0xc3d8('0x6'));var fs=require('fs');var path=require(_0xc3d8('0x7'));var rimraf=require(_0xc3d8('0x8'));var config=require(_0xc3d8('0x9'));var attributes=require(_0xc3d8('0xa'));module[_0xc3d8('0xb')]=function(_0x8baeae,_0x1ad7fb){return _0x8baeae[_0xc3d8('0xc')](_0xc3d8('0xd'),attributes,{'tableName':_0xc3d8('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};