Built motion from commit (unavailable).|2.5.4
[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 _0xb8cd=['./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash','util','../../config/logger','api','moment','request-promise','path','../../config/environment'];(function(_0x5f23f2,_0x476d21){var _0x4332d3=function(_0x58f341){while(--_0x58f341){_0x5f23f2['push'](_0x5f23f2['shift']());}};_0x4332d3(++_0x476d21);}(_0xb8cd,0x1d9));var _0xdb8c=function(_0x236377,_0x3a5ae){_0x236377=_0x236377-0x0;var _0x1e694b=_0xb8cd[_0x236377];return _0x1e694b;};'use strict';var _=require(_0xdb8c('0x0'));var util=require(_0xdb8c('0x1'));var logger=require(_0xdb8c('0x2'))(_0xdb8c('0x3'));var moment=require(_0xdb8c('0x4'));var BPromise=require('bluebird');var rp=require(_0xdb8c('0x5'));var fs=require('fs');var path=require(_0xdb8c('0x6'));var rimraf=require('rimraf');var config=require(_0xdb8c('0x7'));var attributes=require(_0xdb8c('0x8'));module[_0xdb8c('0x9')]=function(_0x5372d1,_0x20841c){return _0x5372d1[_0xdb8c('0xa')](_0xdb8c('0xb'),attributes,{'tableName':_0xdb8c('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};