Built motion from commit (unavailable).|2.5.5
[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 _0x0257=['path','rimraf','../../config/environment','exports','define','SquareDetailsReport','report_square_details','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x2a2059,_0x2b145f){var _0x4db1ae=function(_0x465476){while(--_0x465476){_0x2a2059['push'](_0x2a2059['shift']());}};_0x4db1ae(++_0x2b145f);}(_0x0257,0x1db));var _0x7025=function(_0x1d2bc8,_0x2860bc){_0x1d2bc8=_0x1d2bc8-0x0;var _0x1857e1=_0x0257[_0x1d2bc8];return _0x1857e1;};'use strict';var _=require('lodash');var util=require(_0x7025('0x0'));var logger=require(_0x7025('0x1'))(_0x7025('0x2'));var moment=require(_0x7025('0x3'));var BPromise=require(_0x7025('0x4'));var rp=require(_0x7025('0x5'));var fs=require('fs');var path=require(_0x7025('0x6'));var rimraf=require(_0x7025('0x7'));var config=require(_0x7025('0x8'));var attributes=require('./squareReportDetail.attributes');module[_0x7025('0x9')]=function(_0x46eb34,_0x15a7bd){return _0x46eb34[_0x7025('0xa')](_0x7025('0xb'),attributes,{'tableName':_0x7025('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};