Built motion from commit d5e4af8c.|2.6.23
[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 _0xb785=['path','rimraf','./openchannelTransferReport.attributes','exports','OpenchannelTransferReport','report_openchannel_transfer','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x5af5b8,_0x173477){var _0x3e7fa6=function(_0x1a764c){while(--_0x1a764c){_0x5af5b8['push'](_0x5af5b8['shift']());}};_0x3e7fa6(++_0x173477);}(_0xb785,0x172));var _0x5b78=function(_0xef88f,_0x2dd2d0){_0xef88f=_0xef88f-0x0;var _0x3ad795=_0xb785[_0xef88f];return _0x3ad795;};'use strict';var _=require(_0x5b78('0x0'));var util=require(_0x5b78('0x1'));var logger=require(_0x5b78('0x2'))(_0x5b78('0x3'));var moment=require(_0x5b78('0x4'));var BPromise=require(_0x5b78('0x5'));var rp=require(_0x5b78('0x6'));var fs=require('fs');var path=require(_0x5b78('0x7'));var rimraf=require(_0x5b78('0x8'));var config=require('../../config/environment');var attributes=require(_0x5b78('0x9'));module[_0x5b78('0xa')]=function(_0x2a4b6d,_0x4a39bd){return _0x2a4b6d['define'](_0x5b78('0xb'),attributes,{'tableName':_0x5b78('0xc'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};