100718dbd4ac3408c79aeb4e52d074ddcde1336a
[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 _0x4328=['../../config/environment','./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x1dc9b7,_0x8f8656){var _0x5dfa74=function(_0x3568b5){while(--_0x3568b5){_0x1dc9b7['push'](_0x1dc9b7['shift']());}};_0x5dfa74(++_0x8f8656);}(_0x4328,0x7b));var _0x8432=function(_0x9b416b,_0x2d8523){_0x9b416b=_0x9b416b-0x0;var _0x4eb066=_0x4328[_0x9b416b];return _0x4eb066;};'use strict';var _=require('lodash');var util=require(_0x8432('0x0'));var logger=require(_0x8432('0x1'))(_0x8432('0x2'));var moment=require(_0x8432('0x3'));var BPromise=require(_0x8432('0x4'));var rp=require(_0x8432('0x5'));var fs=require('fs');var path=require(_0x8432('0x6'));var rimraf=require('rimraf');var config=require(_0x8432('0x7'));var attributes=require(_0x8432('0x8'));module[_0x8432('0x9')]=function(_0x442234,_0x2c4c68){return _0x442234[_0x8432('0xa')](_0x8432('0xb'),attributes,{'tableName':_0x8432('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};