Built motion from commit 9d0783e6.|2.6.13
[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 _0x4cbf=['report_openchannel_transfer','uniqueid','lodash','util','moment','bluebird','request-promise','rimraf','exports','define'];(function(_0x37978c,_0x29ed82){var _0x18306c=function(_0x47880c){while(--_0x47880c){_0x37978c['push'](_0x37978c['shift']());}};_0x18306c(++_0x29ed82);}(_0x4cbf,0x174));var _0xf4cb=function(_0xd1d19a,_0x1933f0){_0xd1d19a=_0xd1d19a-0x0;var _0x52a79d=_0x4cbf[_0xd1d19a];return _0x52a79d;};'use strict';var _=require(_0xf4cb('0x0'));var util=require(_0xf4cb('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xf4cb('0x2'));var BPromise=require(_0xf4cb('0x3'));var rp=require(_0xf4cb('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf4cb('0x5'));var config=require('../../config/environment');var attributes=require('./openchannelTransferReport.attributes');module[_0xf4cb('0x6')]=function(_0x5aa409,_0x5933ce){return _0x5aa409[_0xf4cb('0x7')]('OpenchannelTransferReport',attributes,{'tableName':_0xf4cb('0x8'),'paranoid':![],'indexes':[{'name':_0xf4cb('0x9'),'fields':[_0xf4cb('0x9')]}],'timestamps':!![]});};