Built motion from commit 753c950e.|2.5.42
[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 _0xc4f0=['moment','bluebird','request-promise','path','./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash','../../config/logger','api'];(function(_0x7e30c2,_0x5e0233){var _0x1fb209=function(_0x574800){while(--_0x574800){_0x7e30c2['push'](_0x7e30c2['shift']());}};_0x1fb209(++_0x5e0233);}(_0xc4f0,0x159));var _0x0c4f=function(_0x1a35c7,_0x4de07b){_0x1a35c7=_0x1a35c7-0x0;var _0x39ef7c=_0xc4f0[_0x1a35c7];return _0x39ef7c;};'use strict';var _=require(_0x0c4f('0x0'));var util=require('util');var logger=require(_0x0c4f('0x1'))(_0x0c4f('0x2'));var moment=require(_0x0c4f('0x3'));var BPromise=require(_0x0c4f('0x4'));var rp=require(_0x0c4f('0x5'));var fs=require('fs');var path=require(_0x0c4f('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x0c4f('0x7'));module[_0x0c4f('0x8')]=function(_0x4ae3fe,_0xeba970){return _0x4ae3fe[_0x0c4f('0x9')](_0x0c4f('0xa'),attributes,{'tableName':_0x0c4f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};