e777380fc7b5d152d3acde6532a990f199b162f1
[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 _0x78df=['SquareDetailsReport','report_square_details','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define'];(function(_0x149a9b,_0x5bb275){var _0x2c2bf6=function(_0xfe0c14){while(--_0xfe0c14){_0x149a9b['push'](_0x149a9b['shift']());}};_0x2c2bf6(++_0x5bb275);}(_0x78df,0x7a));var _0xf78d=function(_0x3c7982,_0x167662){_0x3c7982=_0x3c7982-0x0;var _0x28a051=_0x78df[_0x3c7982];return _0x28a051;};'use strict';var _=require('lodash');var util=require(_0xf78d('0x0'));var logger=require(_0xf78d('0x1'))('api');var moment=require(_0xf78d('0x2'));var BPromise=require(_0xf78d('0x3'));var rp=require(_0xf78d('0x4'));var fs=require('fs');var path=require(_0xf78d('0x5'));var rimraf=require(_0xf78d('0x6'));var config=require(_0xf78d('0x7'));var attributes=require('./squareReportDetail.attributes');module[_0xf78d('0x8')]=function(_0x144ac7,_0x3551cc){return _0x144ac7[_0xf78d('0x9')](_0xf78d('0xa'),attributes,{'tableName':_0xf78d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};