Built motion from commit 936e8062.|2.5.33
[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 _0xafc6=['uniqueid','lodash','../../config/logger','api','request-promise','path','rimraf','../../config/environment','exports','define'];(function(_0x5e82ae,_0x1bf62f){var _0x2e3d18=function(_0x42dc5b){while(--_0x42dc5b){_0x5e82ae['push'](_0x5e82ae['shift']());}};_0x2e3d18(++_0x1bf62f);}(_0xafc6,0xab));var _0x6afc=function(_0x39e84d,_0x11931d){_0x39e84d=_0x39e84d-0x0;var _0x1991bc=_0xafc6[_0x39e84d];return _0x1991bc;};'use strict';var _=require(_0x6afc('0x0'));var util=require('util');var logger=require(_0x6afc('0x1'))(_0x6afc('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x6afc('0x3'));var fs=require('fs');var path=require(_0x6afc('0x4'));var rimraf=require(_0x6afc('0x5'));var config=require(_0x6afc('0x6'));var attributes=require('./openchannelTransferReport.attributes');module[_0x6afc('0x7')]=function(_0xea2edd,_0xd45e51){return _0xea2edd[_0x6afc('0x8')]('OpenchannelTransferReport',attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0x6afc('0x9'),'fields':['uniqueid']}],'timestamps':!![]});};