Built motion from commit 00bf23f6.|2.6.16
[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 _0x4b2f=['../../config/environment','./squareReportDetail.attributes','SquareDetailsReport','report_square_details','lodash','../../config/logger','api','bluebird','request-promise'];(function(_0x57e00e,_0x36e79a){var _0x415e60=function(_0x5cd7fa){while(--_0x5cd7fa){_0x57e00e['push'](_0x57e00e['shift']());}};_0x415e60(++_0x36e79a);}(_0x4b2f,0x17e));var _0xf4b2=function(_0x512973,_0x564e8b){_0x512973=_0x512973-0x0;var _0x32f2e1=_0x4b2f[_0x512973];return _0x32f2e1;};'use strict';var _=require(_0xf4b2('0x0'));var util=require('util');var logger=require(_0xf4b2('0x1'))(_0xf4b2('0x2'));var moment=require('moment');var BPromise=require(_0xf4b2('0x3'));var rp=require(_0xf4b2('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xf4b2('0x5'));var attributes=require(_0xf4b2('0x6'));module['exports']=function(_0x300d4b,_0x446b0e){return _0x300d4b['define'](_0xf4b2('0x7'),attributes,{'tableName':_0xf4b2('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};