Built motion from commit (unavailable).|2.5.14
[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 _0xb3e1=['../../config/environment','./squareReport.attributes','exports','uniqueid','project_name','leaveAt','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x96db05,_0x45ba65){var _0x2ed681=function(_0x59eced){while(--_0x59eced){_0x96db05['push'](_0x96db05['shift']());}};_0x2ed681(++_0x45ba65);}(_0xb3e1,0xd8));var _0x1b3e=function(_0x10a212,_0x579d85){_0x10a212=_0x10a212-0x0;var _0x23c82b=_0xb3e1[_0x10a212];return _0x23c82b;};'use strict';var _=require(_0x1b3e('0x0'));var util=require(_0x1b3e('0x1'));var logger=require(_0x1b3e('0x2'))(_0x1b3e('0x3'));var moment=require(_0x1b3e('0x4'));var BPromise=require('bluebird');var rp=require(_0x1b3e('0x5'));var fs=require('fs');var path=require(_0x1b3e('0x6'));var rimraf=require(_0x1b3e('0x7'));var config=require(_0x1b3e('0x8'));var attributes=require(_0x1b3e('0x9'));module[_0x1b3e('0xa')]=function(_0x2b9a6f,_0x5eeb4d){return _0x2b9a6f['define']('SquareReport',attributes,{'tableName':'report_square','paranoid':![],'indexes':[{'name':'uid_pname','fields':[_0x1b3e('0xb'),_0x1b3e('0xc')]},{'name':_0x1b3e('0xd'),'fields':['leaveAt']}],'timestamps':!![]});};