Built motion from commit (unavailable).|2.5.22
[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 _0x0284=['SquareReport','uid_pname','uniqueid','project_name','leaveAt','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','./squareReport.attributes','exports','define'];(function(_0x31866c,_0x5ed969){var _0x37af94=function(_0x377e3a){while(--_0x377e3a){_0x31866c['push'](_0x31866c['shift']());}};_0x37af94(++_0x5ed969);}(_0x0284,0xb5));var _0x4028=function(_0x368fb9,_0x1a9895){_0x368fb9=_0x368fb9-0x0;var _0x4892fb=_0x0284[_0x368fb9];return _0x4892fb;};'use strict';var _=require(_0x4028('0x0'));var util=require(_0x4028('0x1'));var logger=require(_0x4028('0x2'))(_0x4028('0x3'));var moment=require(_0x4028('0x4'));var BPromise=require('bluebird');var rp=require(_0x4028('0x5'));var fs=require('fs');var path=require(_0x4028('0x6'));var rimraf=require(_0x4028('0x7'));var config=require('../../config/environment');var attributes=require(_0x4028('0x8'));module[_0x4028('0x9')]=function(_0x411356,_0x5ab968){return _0x411356[_0x4028('0xa')](_0x4028('0xb'),attributes,{'tableName':'report_square','paranoid':![],'indexes':[{'name':_0x4028('0xc'),'fields':[_0x4028('0xd'),_0x4028('0xe')]},{'name':_0x4028('0xf'),'fields':[_0x4028('0xf')]}],'timestamps':!![]});};