Built motion from commit (unavailable).|2.5.2
[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 _0xdb83=['../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./squareReportDetail.attributes','define','SquareDetailsReport','report_square_details','lodash'];(function(_0x430a70,_0x350b19){var _0x606ee=function(_0x3393e5){while(--_0x3393e5){_0x430a70['push'](_0x430a70['shift']());}};_0x606ee(++_0x350b19);}(_0xdb83,0xc5));var _0x3db8=function(_0xa81a7f,_0xc1b7a8){_0xa81a7f=_0xa81a7f-0x0;var _0x29cb87=_0xdb83[_0xa81a7f];return _0x29cb87;};'use strict';var _=require(_0x3db8('0x0'));var util=require('util');var logger=require(_0x3db8('0x1'))('api');var moment=require(_0x3db8('0x2'));var BPromise=require(_0x3db8('0x3'));var rp=require(_0x3db8('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3db8('0x5'));var config=require(_0x3db8('0x6'));var attributes=require(_0x3db8('0x7'));module['exports']=function(_0x3690e6,_0x252278){return _0x3690e6[_0x3db8('0x8')](_0x3db8('0x9'),attributes,{'tableName':_0x3db8('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};