Built motion from commit (unavailable).|2.5.29
[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 _0xbf44=['lodash','util','../../config/logger','api','bluebird','request-promise','./squareReportDetail.attributes','exports','define','SquareDetailsReport'];(function(_0x145502,_0x1e40cc){var _0xe09036=function(_0x21c56c){while(--_0x21c56c){_0x145502['push'](_0x145502['shift']());}};_0xe09036(++_0x1e40cc);}(_0xbf44,0xa0));var _0x4bf4=function(_0x347b7e,_0xacc98e){_0x347b7e=_0x347b7e-0x0;var _0x20cf15=_0xbf44[_0x347b7e];return _0x20cf15;};'use strict';var _=require(_0x4bf4('0x0'));var util=require(_0x4bf4('0x1'));var logger=require(_0x4bf4('0x2'))(_0x4bf4('0x3'));var moment=require('moment');var BPromise=require(_0x4bf4('0x4'));var rp=require(_0x4bf4('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x4bf4('0x6'));module[_0x4bf4('0x7')]=function(_0x383d63,_0x1738c8){return _0x383d63[_0x4bf4('0x8')](_0x4bf4('0x9'),attributes,{'tableName':'report_square_details','paranoid':![],'indexes':[],'timestamps':!![]});};