Built motion from commit 85328c08.|2.5.50
[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 _0xfb9a=['bluebird','request-promise','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','define','report_openchannel_transfer','uniqueid','util','api','moment'];(function(_0x819632,_0x5c4ab5){var _0x4c72b5=function(_0x40b60b){while(--_0x40b60b){_0x819632['push'](_0x819632['shift']());}};_0x4c72b5(++_0x5c4ab5);}(_0xfb9a,0x1dd));var _0xafb9=function(_0x17d2e5,_0x304a6c){_0x17d2e5=_0x17d2e5-0x0;var _0x312641=_0xfb9a[_0x17d2e5];return _0x312641;};'use strict';var _=require('lodash');var util=require(_0xafb9('0x0'));var logger=require('../../config/logger')(_0xafb9('0x1'));var moment=require(_0xafb9('0x2'));var BPromise=require(_0xafb9('0x3'));var rp=require(_0xafb9('0x4'));var fs=require('fs');var path=require(_0xafb9('0x5'));var rimraf=require(_0xafb9('0x6'));var config=require(_0xafb9('0x7'));var attributes=require(_0xafb9('0x8'));module['exports']=function(_0x39f625,_0xa057f9){return _0x39f625[_0xafb9('0x9')]('OpenchannelTransferReport',attributes,{'tableName':_0xafb9('0xa'),'paranoid':![],'indexes':[{'name':_0xafb9('0xb'),'fields':[_0xafb9('0xb')]}],'timestamps':!![]});};