Built motion from commit (unavailable).|2.4.18
[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 _0x0a2e=['api','bluebird','request-promise','path','rimraf','exports','define','SquareDetailsReport','report_square_details','lodash','util','../../config/logger'];(function(_0x299590,_0x378c8f){var _0x3a085e=function(_0x405ee8){while(--_0x405ee8){_0x299590['push'](_0x299590['shift']());}};_0x3a085e(++_0x378c8f);}(_0x0a2e,0xe1));var _0xe0a2=function(_0x47e309,_0x1e771a){_0x47e309=_0x47e309-0x0;var _0x2e1900=_0x0a2e[_0x47e309];return _0x2e1900;};'use strict';var _=require(_0xe0a2('0x0'));var util=require(_0xe0a2('0x1'));var logger=require(_0xe0a2('0x2'))(_0xe0a2('0x3'));var moment=require('moment');var BPromise=require(_0xe0a2('0x4'));var rp=require(_0xe0a2('0x5'));var fs=require('fs');var path=require(_0xe0a2('0x6'));var rimraf=require(_0xe0a2('0x7'));var config=require('../../config/environment');var attributes=require('./squareReportDetail.attributes');module[_0xe0a2('0x8')]=function(_0x3b41ed,_0x29bf09){return _0x3b41ed[_0xe0a2('0x9')](_0xe0a2('0xa'),attributes,{'tableName':_0xe0a2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};