a59b1e431c903f7bf9e4a0908d702cb692cb9759
[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 _0x799c=['rimraf','../../config/environment','exports','define','report_square_details','lodash','../../config/logger','moment','path'];(function(_0x47418b,_0x35754c){var _0x14ccd8=function(_0x4bb02d){while(--_0x4bb02d){_0x47418b['push'](_0x47418b['shift']());}};_0x14ccd8(++_0x35754c);}(_0x799c,0x8c));var _0xc799=function(_0x4d9c69,_0x3f2745){_0x4d9c69=_0x4d9c69-0x0;var _0x3403c4=_0x799c[_0x4d9c69];return _0x3403c4;};'use strict';var _=require(_0xc799('0x0'));var util=require('util');var logger=require(_0xc799('0x1'))('api');var moment=require(_0xc799('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xc799('0x3'));var rimraf=require(_0xc799('0x4'));var config=require(_0xc799('0x5'));var attributes=require('./squareReportDetail.attributes');module[_0xc799('0x6')]=function(_0x34a5b5,_0x1b92dc){return _0x34a5b5[_0xc799('0x7')]('SquareDetailsReport',attributes,{'tableName':_0xc799('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};