Built motion from commit (unavailable).|2.5.22
[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 _0xf37a=['../../config/environment','./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash','util','api','moment','bluebird','request-promise','rimraf'];(function(_0x4947a5,_0x14a78f){var _0x2b48aa=function(_0x1d4d98){while(--_0x1d4d98){_0x4947a5['push'](_0x4947a5['shift']());}};_0x2b48aa(++_0x14a78f);}(_0xf37a,0x1f4));var _0xaf37=function(_0x133c7c,_0x470a71){_0x133c7c=_0x133c7c-0x0;var _0x23aeed=_0xf37a[_0x133c7c];return _0x23aeed;};'use strict';var _=require(_0xaf37('0x0'));var util=require(_0xaf37('0x1'));var logger=require('../../config/logger')(_0xaf37('0x2'));var moment=require(_0xaf37('0x3'));var BPromise=require(_0xaf37('0x4'));var rp=require(_0xaf37('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xaf37('0x6'));var config=require(_0xaf37('0x7'));var attributes=require(_0xaf37('0x8'));module[_0xaf37('0x9')]=function(_0x32d8ed,_0xb08fd0){return _0x32d8ed[_0xaf37('0xa')](_0xaf37('0xb'),attributes,{'tableName':_0xaf37('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};