Built motion from commit (unavailable).|2.5.11
[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 _0x029a=['report_square_details','util','../../config/logger','moment','request-promise','path','../../config/environment','exports','define','SquareDetailsReport'];(function(_0x5e3a03,_0x2f9925){var _0x4a8548=function(_0x75336f){while(--_0x75336f){_0x5e3a03['push'](_0x5e3a03['shift']());}};_0x4a8548(++_0x2f9925);}(_0x029a,0xb5));var _0xa029=function(_0x4e627e,_0x51d5d2){_0x4e627e=_0x4e627e-0x0;var _0x46da3e=_0x029a[_0x4e627e];return _0x46da3e;};'use strict';var _=require('lodash');var util=require(_0xa029('0x0'));var logger=require(_0xa029('0x1'))('api');var moment=require(_0xa029('0x2'));var BPromise=require('bluebird');var rp=require(_0xa029('0x3'));var fs=require('fs');var path=require(_0xa029('0x4'));var rimraf=require('rimraf');var config=require(_0xa029('0x5'));var attributes=require('./squareReportDetail.attributes');module[_0xa029('0x6')]=function(_0x525520,_0x22ac41){return _0x525520[_0xa029('0x7')](_0xa029('0x8'),attributes,{'tableName':_0xa029('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};