Built motion from commit 753c950e.|2.5.42
[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 _0xebe5=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','exports','define','report_square_details'];(function(_0x591838,_0x4006de){var _0x447260=function(_0x254423){while(--_0x254423){_0x591838['push'](_0x591838['shift']());}};_0x447260(++_0x4006de);}(_0xebe5,0xfd));var _0x5ebe=function(_0x436e37,_0x42bd9c){_0x436e37=_0x436e37-0x0;var _0x4b6838=_0xebe5[_0x436e37];return _0x4b6838;};'use strict';var _=require(_0x5ebe('0x0'));var util=require(_0x5ebe('0x1'));var logger=require(_0x5ebe('0x2'))('api');var moment=require(_0x5ebe('0x3'));var BPromise=require(_0x5ebe('0x4'));var rp=require(_0x5ebe('0x5'));var fs=require('fs');var path=require(_0x5ebe('0x6'));var rimraf=require('rimraf');var config=require(_0x5ebe('0x7'));var attributes=require('./squareReportDetail.attributes');module[_0x5ebe('0x8')]=function(_0x239d05,_0x19db29){return _0x239d05[_0x5ebe('0x9')]('SquareDetailsReport',attributes,{'tableName':_0x5ebe('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};