8a2ac7a558b22c086c0b73435e6033078bdd6839
[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 _0xf8da=['../../config/environment','OpenchannelTransferReport','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x48cd34,_0x2cd750){var _0x590e2a=function(_0x1d2e10){while(--_0x1d2e10){_0x48cd34['push'](_0x48cd34['shift']());}};_0x590e2a(++_0x2cd750);}(_0xf8da,0x9d));var _0xaf8d=function(_0x1991bd,_0x664708){_0x1991bd=_0x1991bd-0x0;var _0x20c045=_0xf8da[_0x1991bd];return _0x20c045;};'use strict';var _=require(_0xaf8d('0x0'));var util=require(_0xaf8d('0x1'));var logger=require(_0xaf8d('0x2'))(_0xaf8d('0x3'));var moment=require(_0xaf8d('0x4'));var BPromise=require(_0xaf8d('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xaf8d('0x6'));var rimraf=require(_0xaf8d('0x7'));var config=require(_0xaf8d('0x8'));var attributes=require('./openchannelTransferReport.attributes');module['exports']=function(_0x51eadd,_0x3cc7e5){return _0x51eadd['define'](_0xaf8d('0x9'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0xaf8d('0xa'),'fields':[_0xaf8d('0xa')]}],'timestamps':!![]});};