7c42a59680fc19b00379819f8d75954a2c009ec6
[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 _0xa441=['bluebird','request-promise','path','rimraf','../../config/environment','./squareReportDetail.attributes','exports','define','report_square_details','lodash','util','api','moment'];(function(_0x84a189,_0x323ae4){var _0x476af8=function(_0x52e014){while(--_0x52e014){_0x84a189['push'](_0x84a189['shift']());}};_0x476af8(++_0x323ae4);}(_0xa441,0xe6));var _0x1a44=function(_0x42d8b4,_0x46dc44){_0x42d8b4=_0x42d8b4-0x0;var _0x2d5c4d=_0xa441[_0x42d8b4];return _0x2d5c4d;};'use strict';var _=require(_0x1a44('0x0'));var util=require(_0x1a44('0x1'));var logger=require('../../config/logger')(_0x1a44('0x2'));var moment=require(_0x1a44('0x3'));var BPromise=require(_0x1a44('0x4'));var rp=require(_0x1a44('0x5'));var fs=require('fs');var path=require(_0x1a44('0x6'));var rimraf=require(_0x1a44('0x7'));var config=require(_0x1a44('0x8'));var attributes=require(_0x1a44('0x9'));module[_0x1a44('0xa')]=function(_0xb5a089,_0x2a2982){return _0xb5a089[_0x1a44('0xb')]('SquareDetailsReport',attributes,{'tableName':_0x1a44('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};