Built motion from commit 092f8824.|2.5.49
[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 _0x7570=['SquareDetailsReport','report_square_details','lodash','util','../../config/logger','moment','bluebird','request-promise','../../config/environment','./squareReportDetail.attributes','exports'];(function(_0x7c3b5f,_0x50016e){var _0x573063=function(_0x434b09){while(--_0x434b09){_0x7c3b5f['push'](_0x7c3b5f['shift']());}};_0x573063(++_0x50016e);}(_0x7570,0xde));var _0x0757=function(_0x1917c7,_0x5e14c1){_0x1917c7=_0x1917c7-0x0;var _0x585ec7=_0x7570[_0x1917c7];return _0x585ec7;};'use strict';var _=require(_0x0757('0x0'));var util=require(_0x0757('0x1'));var logger=require(_0x0757('0x2'))('api');var moment=require(_0x0757('0x3'));var BPromise=require(_0x0757('0x4'));var rp=require(_0x0757('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x0757('0x6'));var attributes=require(_0x0757('0x7'));module[_0x0757('0x8')]=function(_0x6e074c,_0x10006f){return _0x6e074c['define'](_0x0757('0x9'),attributes,{'tableName':_0x0757('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};