d375b2bf95a6e88334c45424b27dac0d4b27440b
[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 _0xf92d=['./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0xe25c84,_0x6d05f5){var _0x10c898=function(_0x6e8856){while(--_0x6e8856){_0xe25c84['push'](_0xe25c84['shift']());}};_0x10c898(++_0x6d05f5);}(_0xf92d,0x171));var _0xdf92=function(_0x4bfac3,_0x58324d){_0x4bfac3=_0x4bfac3-0x0;var _0x15f0f2=_0xf92d[_0x4bfac3];return _0x15f0f2;};'use strict';var _=require(_0xdf92('0x0'));var util=require('util');var logger=require(_0xdf92('0x1'))('api');var moment=require(_0xdf92('0x2'));var BPromise=require(_0xdf92('0x3'));var rp=require(_0xdf92('0x4'));var fs=require('fs');var path=require(_0xdf92('0x5'));var rimraf=require(_0xdf92('0x6'));var config=require(_0xdf92('0x7'));var attributes=require(_0xdf92('0x8'));module[_0xdf92('0x9')]=function(_0x312032,_0x4930e6){return _0x312032[_0xdf92('0xa')](_0xdf92('0xb'),attributes,{'tableName':_0xdf92('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};