Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / api / openchannelTransferReport / openchannelTransferReport.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 _0xff45=['rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x2e4b22,_0xfeca96){var _0x2a2626=function(_0x389f2b){while(--_0x389f2b){_0x2e4b22['push'](_0x2e4b22['shift']());}};_0x2a2626(++_0xfeca96);}(_0xff45,0x156));var _0x5ff4=function(_0x14a3e9,_0x50501e){_0x14a3e9=_0x14a3e9-0x0;var _0x8d4550=_0xff45[_0x14a3e9];return _0x8d4550;};'use strict';var _=require(_0x5ff4('0x0'));var util=require(_0x5ff4('0x1'));var logger=require(_0x5ff4('0x2'))(_0x5ff4('0x3'));var moment=require(_0x5ff4('0x4'));var BPromise=require(_0x5ff4('0x5'));var rp=require(_0x5ff4('0x6'));var fs=require('fs');var path=require(_0x5ff4('0x7'));var rimraf=require(_0x5ff4('0x8'));var config=require(_0x5ff4('0x9'));var attributes=require(_0x5ff4('0xa'));module[_0x5ff4('0xb')]=function(_0x555615,_0x4ef8d3){return _0x555615[_0x5ff4('0xc')]('OpenchannelTransferReport',attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0x5ff4('0xd'),'fields':[_0x5ff4('0xd')]}],'timestamps':!![]});};