Built motion from commit 67e5df37.|2.0.66
[motion2.git] / server / api / squareReport / squareReport.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 _0xf960=['lodash','util','../../config/logger','api','moment','./squareReport.attributes','exports','define','SquareReport','report_square'];(function(_0x415597,_0x392c10){var _0xede8f=function(_0x2b01c3){while(--_0x2b01c3){_0x415597['push'](_0x415597['shift']());}};_0xede8f(++_0x392c10);}(_0xf960,0x190));var _0x0f96=function(_0x3c8e9a,_0x384306){_0x3c8e9a=_0x3c8e9a-0x0;var _0x2d4c57=_0xf960[_0x3c8e9a];return _0x2d4c57;};'use strict';var _=require(_0x0f96('0x0'));var util=require(_0x0f96('0x1'));var logger=require(_0x0f96('0x2'))(_0x0f96('0x3'));var moment=require(_0x0f96('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var attributes=require(_0x0f96('0x5'));module[_0x0f96('0x6')]=function(_0x413795,_0x85ae8c){return _0x413795[_0x0f96('0x7')](_0x0f96('0x8'),attributes,{'tableName':_0x0f96('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};