Built motion from commit ffdca78c.|2.6.24
[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 _0xe5e8=['request-promise','path','rimraf','./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash','util','../../config/logger'];(function(_0x2dbcf0,_0x1c9ce9){var _0x185a15=function(_0x51b059){while(--_0x51b059){_0x2dbcf0['push'](_0x2dbcf0['shift']());}};_0x185a15(++_0x1c9ce9);}(_0xe5e8,0x1ec));var _0x8e5e=function(_0x44f6f7,_0x3e560e){_0x44f6f7=_0x44f6f7-0x0;var _0x10a542=_0xe5e8[_0x44f6f7];return _0x10a542;};'use strict';var _=require(_0x8e5e('0x0'));var util=require(_0x8e5e('0x1'));var logger=require(_0x8e5e('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x8e5e('0x3'));var fs=require('fs');var path=require(_0x8e5e('0x4'));var rimraf=require(_0x8e5e('0x5'));var config=require('../../config/environment');var attributes=require(_0x8e5e('0x6'));module[_0x8e5e('0x7')]=function(_0x2e4501,_0x141e8a){return _0x2e4501[_0x8e5e('0x8')](_0x8e5e('0x9'),attributes,{'tableName':_0x8e5e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};