Built motion from commit cb845558.|2.6.34
[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 _0x8828=['api','moment','request-promise','path','./squareReportDetail.attributes','exports','define','SquareDetailsReport','lodash','util','../../config/logger'];(function(_0x28e11b,_0x2c2b09){var _0x5ad2f9=function(_0x22978b){while(--_0x22978b){_0x28e11b['push'](_0x28e11b['shift']());}};_0x5ad2f9(++_0x2c2b09);}(_0x8828,0xb8));var _0x8882=function(_0x3b0861,_0x2fdfda){_0x3b0861=_0x3b0861-0x0;var _0x222042=_0x8828[_0x3b0861];return _0x222042;};'use strict';var _=require(_0x8882('0x0'));var util=require(_0x8882('0x1'));var logger=require(_0x8882('0x2'))(_0x8882('0x3'));var moment=require(_0x8882('0x4'));var BPromise=require('bluebird');var rp=require(_0x8882('0x5'));var fs=require('fs');var path=require(_0x8882('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x8882('0x7'));module[_0x8882('0x8')]=function(_0x56f691,_0x4f8b0b){return _0x56f691[_0x8882('0x9')](_0x8882('0xa'),attributes,{'tableName':'report_square_details','paranoid':![],'indexes':[],'timestamps':!![]});};