Built motion from commit 863c3375.|2.6.28
[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 _0x5a1a=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','OpenchannelTransferReport','uniqueid','lodash','util'];(function(_0x2ff1f6,_0x1bc588){var _0xbae96d=function(_0x505c67){while(--_0x505c67){_0x2ff1f6['push'](_0x2ff1f6['shift']());}};_0xbae96d(++_0x1bc588);}(_0x5a1a,0x172));var _0xa5a1=function(_0x1d8468,_0x524250){_0x1d8468=_0x1d8468-0x0;var _0x3c7e0a=_0x5a1a[_0x1d8468];return _0x3c7e0a;};'use strict';var _=require(_0xa5a1('0x0'));var util=require(_0xa5a1('0x1'));var logger=require(_0xa5a1('0x2'))(_0xa5a1('0x3'));var moment=require(_0xa5a1('0x4'));var BPromise=require(_0xa5a1('0x5'));var rp=require(_0xa5a1('0x6'));var fs=require('fs');var path=require(_0xa5a1('0x7'));var rimraf=require(_0xa5a1('0x8'));var config=require(_0xa5a1('0x9'));var attributes=require('./openchannelTransferReport.attributes');module['exports']=function(_0x24afc2,_0x5312c4){return _0x24afc2['define'](_0xa5a1('0xa'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xa5a1('0xb')]}],'timestamps':!![]});};