Built motion from commit e6806ed6.|2.6.0
[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 _0x60c6=['lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./squareReportDetail.attributes','exports','report_square_details'];(function(_0x4d8263,_0xd41b8c){var _0x407b1e=function(_0x634c3b){while(--_0x634c3b){_0x4d8263['push'](_0x4d8263['shift']());}};_0x407b1e(++_0xd41b8c);}(_0x60c6,0x129));var _0x660c=function(_0x4f8d61,_0x29eff0){_0x4f8d61=_0x4f8d61-0x0;var _0x3bc078=_0x60c6[_0x4f8d61];return _0x3bc078;};'use strict';var _=require(_0x660c('0x0'));var util=require('util');var logger=require(_0x660c('0x1'))(_0x660c('0x2'));var moment=require(_0x660c('0x3'));var BPromise=require(_0x660c('0x4'));var rp=require(_0x660c('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x660c('0x6'));var config=require(_0x660c('0x7'));var attributes=require(_0x660c('0x8'));module[_0x660c('0x9')]=function(_0x4650b0,_0x4e5375){return _0x4650b0['define']('SquareDetailsReport',attributes,{'tableName':_0x660c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};