7ff03b9199e0f95a0cefff7551124efec2aa29a2
[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 _0x6df8=['path','../../config/environment','define','report_openchannel_transfer','uniqueid','lodash','util','api','moment','request-promise'];(function(_0x1c1006,_0x3e09e7){var _0x55804f=function(_0x2997c5){while(--_0x2997c5){_0x1c1006['push'](_0x1c1006['shift']());}};_0x55804f(++_0x3e09e7);}(_0x6df8,0x113));var _0x86df=function(_0x54d315,_0x4b5561){_0x54d315=_0x54d315-0x0;var _0x2483c5=_0x6df8[_0x54d315];return _0x2483c5;};'use strict';var _=require(_0x86df('0x0'));var util=require(_0x86df('0x1'));var logger=require('../../config/logger')(_0x86df('0x2'));var moment=require(_0x86df('0x3'));var BPromise=require('bluebird');var rp=require(_0x86df('0x4'));var fs=require('fs');var path=require(_0x86df('0x5'));var rimraf=require('rimraf');var config=require(_0x86df('0x6'));var attributes=require('./openchannelTransferReport.attributes');module['exports']=function(_0x9a6b6d,_0x4f6ee9){return _0x9a6b6d[_0x86df('0x7')]('OpenchannelTransferReport',attributes,{'tableName':_0x86df('0x8'),'paranoid':![],'indexes':[{'name':_0x86df('0x9'),'fields':['uniqueid']}],'timestamps':!![]});};