Built motion from commit (unavailable).|2.5.7
[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 _0x8ae2=['define','SquareDetailsReport','report_square_details','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./squareReportDetail.attributes','exports'];(function(_0xbf10ce,_0x2ebbfe){var _0x5ded01=function(_0x3ca3c4){while(--_0x3ca3c4){_0xbf10ce['push'](_0xbf10ce['shift']());}};_0x5ded01(++_0x2ebbfe);}(_0x8ae2,0x121));var _0x28ae=function(_0x3a1796,_0x5dd6e3){_0x3a1796=_0x3a1796-0x0;var _0x527fac=_0x8ae2[_0x3a1796];return _0x527fac;};'use strict';var _=require(_0x28ae('0x0'));var util=require(_0x28ae('0x1'));var logger=require(_0x28ae('0x2'))('api');var moment=require(_0x28ae('0x3'));var BPromise=require('bluebird');var rp=require(_0x28ae('0x4'));var fs=require('fs');var path=require(_0x28ae('0x5'));var rimraf=require(_0x28ae('0x6'));var config=require(_0x28ae('0x7'));var attributes=require(_0x28ae('0x8'));module[_0x28ae('0x9')]=function(_0x3cc359,_0x49a92d){return _0x3cc359[_0x28ae('0xa')](_0x28ae('0xb'),attributes,{'tableName':_0x28ae('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};