2f28cb59d538785c90cfd63ed312e7dace93281a
[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 _0x21c5=['path','rimraf','../../config/environment','./squareReportDetail.attributes','exports','report_square_details','lodash','util','../../config/logger','api','moment'];(function(_0xa9de90,_0x3f2c76){var _0x452b90=function(_0x105298){while(--_0x105298){_0xa9de90['push'](_0xa9de90['shift']());}};_0x452b90(++_0x3f2c76);}(_0x21c5,0xed));var _0x521c=function(_0x5114ba,_0x2dc0a5){_0x5114ba=_0x5114ba-0x0;var _0x4cd233=_0x21c5[_0x5114ba];return _0x4cd233;};'use strict';var _=require(_0x521c('0x0'));var util=require(_0x521c('0x1'));var logger=require(_0x521c('0x2'))(_0x521c('0x3'));var moment=require(_0x521c('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x521c('0x5'));var rimraf=require(_0x521c('0x6'));var config=require(_0x521c('0x7'));var attributes=require(_0x521c('0x8'));module[_0x521c('0x9')]=function(_0x4357a1,_0xc0b919){return _0x4357a1['define']('SquareDetailsReport',attributes,{'tableName':_0x521c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};