6db4bd9e3818243924bbf3453e0ddaf29b25b578
[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 _0x4646=['report_openchannel_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport'];(function(_0x244cee,_0x4b513f){var _0x30a8ff=function(_0xfe60b3){while(--_0xfe60b3){_0x244cee['push'](_0x244cee['shift']());}};_0x30a8ff(++_0x4b513f);}(_0x4646,0x6b));var _0x6464=function(_0x591634,_0x20613d){_0x591634=_0x591634-0x0;var _0x120838=_0x4646[_0x591634];return _0x120838;};'use strict';var _=require(_0x6464('0x0'));var util=require(_0x6464('0x1'));var logger=require(_0x6464('0x2'))(_0x6464('0x3'));var moment=require(_0x6464('0x4'));var BPromise=require(_0x6464('0x5'));var rp=require(_0x6464('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6464('0x7'));var config=require(_0x6464('0x8'));var attributes=require(_0x6464('0x9'));module[_0x6464('0xa')]=function(_0xc496a6,_0x21cba5){return _0xc496a6[_0x6464('0xb')](_0x6464('0xc'),attributes,{'tableName':_0x6464('0xd'),'paranoid':![],'indexes':[{'name':_0x6464('0xe'),'fields':[_0x6464('0xe')]}],'timestamps':!![]});};