Built motion from commit 19a84241.|2.5.34
[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 _0x6290=['./openchannelTransferReport.attributes','exports','define','report_openchannel_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x5c15af,_0x4061d5){var _0x54a6e4=function(_0x114a44){while(--_0x114a44){_0x5c15af['push'](_0x5c15af['shift']());}};_0x54a6e4(++_0x4061d5);}(_0x6290,0xe5));var _0x0629=function(_0x1d14ff,_0xfdd011){_0x1d14ff=_0x1d14ff-0x0;var _0x1a9ef2=_0x6290[_0x1d14ff];return _0x1a9ef2;};'use strict';var _=require(_0x0629('0x0'));var util=require(_0x0629('0x1'));var logger=require(_0x0629('0x2'))(_0x0629('0x3'));var moment=require(_0x0629('0x4'));var BPromise=require(_0x0629('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0629('0x6'));var rimraf=require(_0x0629('0x7'));var config=require(_0x0629('0x8'));var attributes=require(_0x0629('0x9'));module[_0x0629('0xa')]=function(_0x21f5be,_0x29d6f5){return _0x21f5be[_0x0629('0xb')]('OpenchannelTransferReport',attributes,{'tableName':_0x0629('0xc'),'paranoid':![],'indexes':[{'name':_0x0629('0xd'),'fields':[_0x0629('0xd')]}],'timestamps':!![]});};