Built motion from commit (unavailable).|2.5.0
[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 _0x553d=['api','moment','request-promise','path','rimraf','../../config/environment','exports','define','SquareDetailsReport','report_square_details','lodash','util'];(function(_0x8c1005,_0x1f3f16){var _0x175354=function(_0xd0e9c4){while(--_0xd0e9c4){_0x8c1005['push'](_0x8c1005['shift']());}};_0x175354(++_0x1f3f16);}(_0x553d,0x1a2));var _0xd553=function(_0x2ff8e8,_0x15b50a){_0x2ff8e8=_0x2ff8e8-0x0;var _0x16212b=_0x553d[_0x2ff8e8];return _0x16212b;};'use strict';var _=require(_0xd553('0x0'));var util=require(_0xd553('0x1'));var logger=require('../../config/logger')(_0xd553('0x2'));var moment=require(_0xd553('0x3'));var BPromise=require('bluebird');var rp=require(_0xd553('0x4'));var fs=require('fs');var path=require(_0xd553('0x5'));var rimraf=require(_0xd553('0x6'));var config=require(_0xd553('0x7'));var attributes=require('./squareReportDetail.attributes');module[_0xd553('0x8')]=function(_0x225a95,_0x4a7b2c){return _0x225a95[_0xd553('0x9')](_0xd553('0xa'),attributes,{'tableName':_0xd553('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};