82f359f35c90f00adbf3c76b1bc5e260fe6f6dff
[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 _0x92da=['../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./squareReportDetail.attributes','define'];(function(_0x24453c,_0x1a7751){var _0x29e233=function(_0x12682d){while(--_0x12682d){_0x24453c['push'](_0x24453c['shift']());}};_0x29e233(++_0x1a7751);}(_0x92da,0x1dd));var _0xa92d=function(_0x2d027d,_0x1c447c){_0x2d027d=_0x2d027d-0x0;var _0x11213a=_0x92da[_0x2d027d];return _0x11213a;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xa92d('0x0'))(_0xa92d('0x1'));var moment=require(_0xa92d('0x2'));var BPromise=require(_0xa92d('0x3'));var rp=require(_0xa92d('0x4'));var fs=require('fs');var path=require(_0xa92d('0x5'));var rimraf=require('rimraf');var config=require(_0xa92d('0x6'));var attributes=require(_0xa92d('0x7'));module['exports']=function(_0xac8c05,_0x406eea){return _0xac8c05[_0xa92d('0x8')]('SquareDetailsReport',attributes,{'tableName':'report_square_details','paranoid':![],'indexes':[],'timestamps':!![]});};