Built motion from commit 67e5df37.|2.0.66
[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 _0x1812=['define','report_square_details','moment','bluebird','./squareReportDetail.attributes'];(function(_0x410ad0,_0x2f8eb1){var _0x228c1d=function(_0x23f064){while(--_0x23f064){_0x410ad0['push'](_0x410ad0['shift']());}};_0x228c1d(++_0x2f8eb1);}(_0x1812,0xa2));var _0x2181=function(_0x56e136,_0x583299){_0x56e136=_0x56e136-0x0;var _0x59943b=_0x1812[_0x56e136];return _0x59943b;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x2181('0x0'));var BPromise=require(_0x2181('0x1'));var rp=require('request-promise');var attributes=require(_0x2181('0x2'));module['exports']=function(_0xfffc9a,_0x390423){return _0xfffc9a[_0x2181('0x3')]('SquareDetailsReport',attributes,{'tableName':_0x2181('0x4'),'paranoid':![],'indexes':[],'timestamps':!![]});};