ea731e7b9f1c448e7888068c9dcacbb7d4b84ffd
[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 _0x96cf=['define','report_square_details','moment','bluebird','request-promise','rimraf','../../config/environment','exports'];(function(_0x1161eb,_0x1d33ea){var _0x5b6184=function(_0x495bb1){while(--_0x495bb1){_0x1161eb['push'](_0x1161eb['shift']());}};_0x5b6184(++_0x1d33ea);}(_0x96cf,0x6a));var _0xf96c=function(_0x1d99b0,_0x218fc8){_0x1d99b0=_0x1d99b0-0x0;var _0xff07fa=_0x96cf[_0x1d99b0];return _0xff07fa;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xf96c('0x0'));var BPromise=require(_0xf96c('0x1'));var rp=require(_0xf96c('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf96c('0x3'));var config=require(_0xf96c('0x4'));var attributes=require('./squareReportDetail.attributes');module[_0xf96c('0x5')]=function(_0x17a0b8,_0x4906b7){return _0x17a0b8[_0xf96c('0x6')]('SquareDetailsReport',attributes,{'tableName':_0xf96c('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};