Built motion from commit 14588770.|2.5.38
[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 _0x2310=['bluebird','request-promise','path','rimraf','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','lodash','api','moment'];(function(_0x3b77f0,_0x22d102){var _0x1edcca=function(_0x3d3fdd){while(--_0x3d3fdd){_0x3b77f0['push'](_0x3b77f0['shift']());}};_0x1edcca(++_0x22d102);}(_0x2310,0x1b7));var _0x0231=function(_0x377660,_0x5c7b44){_0x377660=_0x377660-0x0;var _0x175286=_0x2310[_0x377660];return _0x175286;};'use strict';var _=require(_0x0231('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x0231('0x1'));var moment=require(_0x0231('0x2'));var BPromise=require(_0x0231('0x3'));var rp=require(_0x0231('0x4'));var fs=require('fs');var path=require(_0x0231('0x5'));var rimraf=require(_0x0231('0x6'));var config=require('../../config/environment');var attributes=require(_0x0231('0x7'));module[_0x0231('0x8')]=function(_0x3d5276,_0x47ec1f){return _0x3d5276[_0x0231('0x9')](_0x0231('0xa'),attributes,{'tableName':_0x0231('0xb'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x0231('0xc')]}],'timestamps':!![]});};