83bba694de8fa659ee5510cc0cd1e682f9b733c4
[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 _0x85b2=['moment','request-promise','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define','report_openchannel_transfer','uniqueid','lodash','util','../../config/logger','api'];(function(_0x31cfb7,_0x735a0f){var _0x36214f=function(_0x3a4577){while(--_0x3a4577){_0x31cfb7['push'](_0x31cfb7['shift']());}};_0x36214f(++_0x735a0f);}(_0x85b2,0xa4));var _0x285b=function(_0x1d47a5,_0x9adf9e){_0x1d47a5=_0x1d47a5-0x0;var _0x25bc43=_0x85b2[_0x1d47a5];return _0x25bc43;};'use strict';var _=require(_0x285b('0x0'));var util=require(_0x285b('0x1'));var logger=require(_0x285b('0x2'))(_0x285b('0x3'));var moment=require(_0x285b('0x4'));var BPromise=require('bluebird');var rp=require(_0x285b('0x5'));var fs=require('fs');var path=require(_0x285b('0x6'));var rimraf=require(_0x285b('0x7'));var config=require(_0x285b('0x8'));var attributes=require(_0x285b('0x9'));module[_0x285b('0xa')]=function(_0x17abda,_0x4d618f){return _0x17abda[_0x285b('0xb')]('OpenchannelTransferReport',attributes,{'tableName':_0x285b('0xc'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x285b('0xd')]}],'timestamps':!![]});};