Built motion from commit 753c950e.|2.5.42
[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 _0x8018=['define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports'];(function(_0x113b90,_0x379516){var _0x382df4=function(_0x49cb24){while(--_0x49cb24){_0x113b90['push'](_0x113b90['shift']());}};_0x382df4(++_0x379516);}(_0x8018,0xd6));var _0x8801=function(_0x3841d6,_0x1ea65e){_0x3841d6=_0x3841d6-0x0;var _0x57b09e=_0x8018[_0x3841d6];return _0x57b09e;};'use strict';var _=require('lodash');var util=require(_0x8801('0x0'));var logger=require(_0x8801('0x1'))(_0x8801('0x2'));var moment=require(_0x8801('0x3'));var BPromise=require(_0x8801('0x4'));var rp=require(_0x8801('0x5'));var fs=require('fs');var path=require(_0x8801('0x6'));var rimraf=require(_0x8801('0x7'));var config=require(_0x8801('0x8'));var attributes=require(_0x8801('0x9'));module[_0x8801('0xa')]=function(_0x56cc9e,_0xea2dcf){return _0x56cc9e[_0x8801('0xb')](_0x8801('0xc'),attributes,{'tableName':_0x8801('0xd'),'paranoid':![],'indexes':[{'name':_0x8801('0xe'),'fields':[_0x8801('0xe')]}],'timestamps':!![]});};