aae704188a40943e643d64a49cdf25e13c833945
[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 _0x5a1d=['rimraf','../../config/environment','./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash','../../config/logger','api','moment','request-promise'];(function(_0x155638,_0x554e73){var _0xbb13ce=function(_0x25e4bd){while(--_0x25e4bd){_0x155638['push'](_0x155638['shift']());}};_0xbb13ce(++_0x554e73);}(_0x5a1d,0xc7));var _0xd5a1=function(_0x44e468,_0x54818d){_0x44e468=_0x44e468-0x0;var _0x5dc2e4=_0x5a1d[_0x44e468];return _0x5dc2e4;};'use strict';var _=require(_0xd5a1('0x0'));var util=require('util');var logger=require(_0xd5a1('0x1'))(_0xd5a1('0x2'));var moment=require(_0xd5a1('0x3'));var BPromise=require('bluebird');var rp=require(_0xd5a1('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd5a1('0x5'));var config=require(_0xd5a1('0x6'));var attributes=require(_0xd5a1('0x7'));module[_0xd5a1('0x8')]=function(_0xc9c298,_0x4dc8d9){return _0xc9c298[_0xd5a1('0x9')](_0xd5a1('0xa'),attributes,{'tableName':_0xd5a1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};