bfc5a55c614742cf93b988c55bce0ae330764c30
[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 _0x764b=['../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./squareReportDetail.attributes','define','SquareDetailsReport','report_square_details','lodash','util'];(function(_0x454589,_0x3e852e){var _0x468c5c=function(_0xa5b1f5){while(--_0xa5b1f5){_0x454589['push'](_0x454589['shift']());}};_0x468c5c(++_0x3e852e);}(_0x764b,0x136));var _0xb764=function(_0x82129b,_0x484ae9){_0x82129b=_0x82129b-0x0;var _0x2ae5dc=_0x764b[_0x82129b];return _0x2ae5dc;};'use strict';var _=require(_0xb764('0x0'));var util=require(_0xb764('0x1'));var logger=require(_0xb764('0x2'))('api');var moment=require(_0xb764('0x3'));var BPromise=require(_0xb764('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb764('0x5'));var rimraf=require(_0xb764('0x6'));var config=require(_0xb764('0x7'));var attributes=require(_0xb764('0x8'));module['exports']=function(_0x4ce72d,_0x4ded64){return _0x4ce72d[_0xb764('0x9')](_0xb764('0xa'),attributes,{'tableName':_0xb764('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};