1c41c240456aa29b388b6d656e5a6d2abfe7321c
[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 _0xd5f9=['rimraf','../../config/environment','./squareReportDetail.attributes','define','SquareDetailsReport','lodash','util','../../config/logger','api','bluebird','request-promise','path'];(function(_0x37d3f7,_0x192fa4){var _0x4aead5=function(_0x4168d4){while(--_0x4168d4){_0x37d3f7['push'](_0x37d3f7['shift']());}};_0x4aead5(++_0x192fa4);}(_0xd5f9,0x1f1));var _0x9d5f=function(_0x5b8262,_0x93ab76){_0x5b8262=_0x5b8262-0x0;var _0x21f734=_0xd5f9[_0x5b8262];return _0x21f734;};'use strict';var _=require(_0x9d5f('0x0'));var util=require(_0x9d5f('0x1'));var logger=require(_0x9d5f('0x2'))(_0x9d5f('0x3'));var moment=require('moment');var BPromise=require(_0x9d5f('0x4'));var rp=require(_0x9d5f('0x5'));var fs=require('fs');var path=require(_0x9d5f('0x6'));var rimraf=require(_0x9d5f('0x7'));var config=require(_0x9d5f('0x8'));var attributes=require(_0x9d5f('0x9'));module['exports']=function(_0x546c04,_0x58edae){return _0x546c04[_0x9d5f('0xa')](_0x9d5f('0xb'),attributes,{'tableName':'report_square_details','paranoid':![],'indexes':[],'timestamps':!![]});};