Built motion from commit f16df95f.|2.5.40
[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 _0xc338=['./squareReport.attributes','exports','define','uid_pname','uniqueid','project_name','leaveAt','lodash','util','../../config/logger','moment','request-promise','path','../../config/environment'];(function(_0x23a9f1,_0x398300){var _0x58359f=function(_0x406ce1){while(--_0x406ce1){_0x23a9f1['push'](_0x23a9f1['shift']());}};_0x58359f(++_0x398300);}(_0xc338,0x69));var _0x8c33=function(_0x506889,_0x5cd2a){_0x506889=_0x506889-0x0;var _0x24a2c7=_0xc338[_0x506889];return _0x24a2c7;};'use strict';var _=require(_0x8c33('0x0'));var util=require(_0x8c33('0x1'));var logger=require(_0x8c33('0x2'))('api');var moment=require(_0x8c33('0x3'));var BPromise=require('bluebird');var rp=require(_0x8c33('0x4'));var fs=require('fs');var path=require(_0x8c33('0x5'));var rimraf=require('rimraf');var config=require(_0x8c33('0x6'));var attributes=require(_0x8c33('0x7'));module[_0x8c33('0x8')]=function(_0x3f817e,_0x51919f){return _0x3f817e[_0x8c33('0x9')]('SquareReport',attributes,{'tableName':'report_square','paranoid':![],'indexes':[{'name':_0x8c33('0xa'),'fields':[_0x8c33('0xb'),_0x8c33('0xc')]},{'name':_0x8c33('0xd'),'fields':[_0x8c33('0xd')]}],'timestamps':!![]});};