7de5fad52a93266876f4729063f0e9de4a5e5517
[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 _0xf161=['uniqueid','lodash','util','../../config/logger','api','request-promise','../../config/environment','define','OpenchannelTransferReport'];(function(_0x2b9ae3,_0xd6d709){var _0x4e18a2=function(_0x397406){while(--_0x397406){_0x2b9ae3['push'](_0x2b9ae3['shift']());}};_0x4e18a2(++_0xd6d709);}(_0xf161,0x196));var _0x1f16=function(_0x19159a,_0x1cb5c3){_0x19159a=_0x19159a-0x0;var _0xa677f4=_0xf161[_0x19159a];return _0xa677f4;};'use strict';var _=require(_0x1f16('0x0'));var util=require(_0x1f16('0x1'));var logger=require(_0x1f16('0x2'))(_0x1f16('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x1f16('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x1f16('0x5'));var attributes=require('./openchannelTransferReport.attributes');module['exports']=function(_0x5a40f7,_0x28a0da){return _0x5a40f7[_0x1f16('0x6')](_0x1f16('0x7'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0x1f16('0x8'),'fields':[_0x1f16('0x8')]}],'timestamps':!![]});};