Built motion from commit (unavailable).|2.5.22
[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 _0xb1a8=['../../config/environment','define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','lodash','api','moment','bluebird','request-promise','path'];(function(_0x295560,_0x3cdcec){var _0x197b3f=function(_0x45b15d){while(--_0x45b15d){_0x295560['push'](_0x295560['shift']());}};_0x197b3f(++_0x3cdcec);}(_0xb1a8,0x15a));var _0x8b1a=function(_0x123a63,_0x2761c9){_0x123a63=_0x123a63-0x0;var _0x2f8a5d=_0xb1a8[_0x123a63];return _0x2f8a5d;};'use strict';var _=require(_0x8b1a('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x8b1a('0x1'));var moment=require(_0x8b1a('0x2'));var BPromise=require(_0x8b1a('0x3'));var rp=require(_0x8b1a('0x4'));var fs=require('fs');var path=require(_0x8b1a('0x5'));var rimraf=require('rimraf');var config=require(_0x8b1a('0x6'));var attributes=require('./openchannelTransferReport.attributes');module['exports']=function(_0x29828a,_0x55e653){return _0x29828a[_0x8b1a('0x7')](_0x8b1a('0x8'),attributes,{'tableName':_0x8b1a('0x9'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x8b1a('0xa')]}],'timestamps':!![]});};