6e3689f5590a4d6a09a92544b7f537d4da8ea3fa
[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 _0xa8c3=['exports','define','report_openchannel_transfer','uniqueid','lodash','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./openchannelTransferReport.attributes'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0xa8c3,0x7c));var _0x3a8c=function(_0x30b0d8,_0x57470c){_0x30b0d8=_0x30b0d8-0x0;var _0x459c09=_0xa8c3[_0x30b0d8];return _0x459c09;};'use strict';var _=require(_0x3a8c('0x0'));var util=require('util');var logger=require(_0x3a8c('0x1'))(_0x3a8c('0x2'));var moment=require('moment');var BPromise=require(_0x3a8c('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3a8c('0x4'));var rimraf=require(_0x3a8c('0x5'));var config=require(_0x3a8c('0x6'));var attributes=require(_0x3a8c('0x7'));module[_0x3a8c('0x8')]=function(_0x5277f8,_0x158e6b){return _0x5277f8[_0x3a8c('0x9')]('OpenchannelTransferReport',attributes,{'tableName':_0x3a8c('0xa'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x3a8c('0xb')]}],'timestamps':!![]});};