Built motion from commit (unavailable).|2.5.31
[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 _0xad08=['./squareReport.attributes','exports','define','SquareReport','uid_pname','uniqueid','project_name','leaveAt','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x2d8eb5,_0x2cdbdb){var _0x369934=function(_0x15ec3b){while(--_0x15ec3b){_0x2d8eb5['push'](_0x2d8eb5['shift']());}};_0x369934(++_0x2cdbdb);}(_0xad08,0x1dc));var _0x8ad0=function(_0x4cf98e,_0xba4b79){_0x4cf98e=_0x4cf98e-0x0;var _0x1623ac=_0xad08[_0x4cf98e];return _0x1623ac;};'use strict';var _=require(_0x8ad0('0x0'));var util=require(_0x8ad0('0x1'));var logger=require(_0x8ad0('0x2'))(_0x8ad0('0x3'));var moment=require(_0x8ad0('0x4'));var BPromise=require(_0x8ad0('0x5'));var rp=require(_0x8ad0('0x6'));var fs=require('fs');var path=require(_0x8ad0('0x7'));var rimraf=require(_0x8ad0('0x8'));var config=require(_0x8ad0('0x9'));var attributes=require(_0x8ad0('0xa'));module[_0x8ad0('0xb')]=function(_0x2b8431,_0x279721){return _0x2b8431[_0x8ad0('0xc')](_0x8ad0('0xd'),attributes,{'tableName':'report_square','paranoid':![],'indexes':[{'name':_0x8ad0('0xe'),'fields':[_0x8ad0('0xf'),_0x8ad0('0x10')]},{'name':_0x8ad0('0x11'),'fields':[_0x8ad0('0x11')]}],'timestamps':!![]});};