6ad88edaec94ee13f857a76bebd08eefb0b7052c
[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 _0x8b5a=['report_square_details','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./squareReportDetail.attributes','exports','define','SquareDetailsReport'];(function(_0xefaa96,_0xcd4a91){var _0x35fc07=function(_0x203422){while(--_0x203422){_0xefaa96['push'](_0xefaa96['shift']());}};_0x35fc07(++_0xcd4a91);}(_0x8b5a,0x1e2));var _0xa8b5=function(_0xeb3c2c,_0x162e6b){_0xeb3c2c=_0xeb3c2c-0x0;var _0xf849b5=_0x8b5a[_0xeb3c2c];return _0xf849b5;};'use strict';var _=require('lodash');var util=require(_0xa8b5('0x0'));var logger=require(_0xa8b5('0x1'))(_0xa8b5('0x2'));var moment=require(_0xa8b5('0x3'));var BPromise=require(_0xa8b5('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa8b5('0x5'));var rimraf=require(_0xa8b5('0x6'));var config=require(_0xa8b5('0x7'));var attributes=require(_0xa8b5('0x8'));module[_0xa8b5('0x9')]=function(_0x322005,_0xd4126a){return _0x322005[_0xa8b5('0xa')](_0xa8b5('0xb'),attributes,{'tableName':_0xa8b5('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};