Built motion from commit (unavailable).|2.0.71
[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 _0xa81f=['lodash','api','bluebird','request-promise','./squareReportDetail.attributes','exports','SquareDetailsReport','report_square_details'];(function(_0xb49f68,_0x3b2899){var _0x503f83=function(_0x332838){while(--_0x332838){_0xb49f68['push'](_0xb49f68['shift']());}};_0x503f83(++_0x3b2899);}(_0xa81f,0x158));var _0xfa81=function(_0x1df7b8,_0x2fe5e5){_0x1df7b8=_0x1df7b8-0x0;var _0x29d911=_0xa81f[_0x1df7b8];return _0x29d911;};'use strict';var _=require(_0xfa81('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xfa81('0x1'));var moment=require('moment');var BPromise=require(_0xfa81('0x2'));var rp=require(_0xfa81('0x3'));var attributes=require(_0xfa81('0x4'));module[_0xfa81('0x5')]=function(_0x269812,_0x1c01e8){return _0x269812['define'](_0xfa81('0x6'),attributes,{'tableName':_0xfa81('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};