c2063e418b78742d8b208f2b7c5c244b2231d2a0
[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 _0x89cb=['api','moment','request-promise','path','rimraf','../../config/environment','exports','define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','../../config/logger'];(function(_0x12f688,_0x585c25){var _0x59c3de=function(_0x4ac301){while(--_0x4ac301){_0x12f688['push'](_0x12f688['shift']());}};_0x59c3de(++_0x585c25);}(_0x89cb,0x12b));var _0xb89c=function(_0x4455c6,_0x1cd515){_0x4455c6=_0x4455c6-0x0;var _0x32dcf7=_0x89cb[_0x4455c6];return _0x32dcf7;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xb89c('0x0'))(_0xb89c('0x1'));var moment=require(_0xb89c('0x2'));var BPromise=require('bluebird');var rp=require(_0xb89c('0x3'));var fs=require('fs');var path=require(_0xb89c('0x4'));var rimraf=require(_0xb89c('0x5'));var config=require(_0xb89c('0x6'));var attributes=require('./openchannelTransferReport.attributes');module[_0xb89c('0x7')]=function(_0x2374ea,_0x1984c2){return _0x2374ea[_0xb89c('0x8')](_0xb89c('0x9'),attributes,{'tableName':_0xb89c('0xa'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xb89c('0xb')]}],'timestamps':!![]});};