Built motion from commit 497d3d92.|2.5.43
[motion2.git] / server / api / faxTransferReport / faxTransferReport.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 _0x18af=['exports','report_fax_transfer','uniqueid','lodash','../../config/logger','api','moment','path','rimraf','../../config/environment'];(function(_0x34f8ba,_0x2bb6a8){var _0xa5ed05=function(_0x497771){while(--_0x497771){_0x34f8ba['push'](_0x34f8ba['shift']());}};_0xa5ed05(++_0x2bb6a8);}(_0x18af,0x19d));var _0xf18a=function(_0x5966e0,_0x1989a1){_0x5966e0=_0x5966e0-0x0;var _0x23253d=_0x18af[_0x5966e0];return _0x23253d;};'use strict';var _=require(_0xf18a('0x0'));var util=require('util');var logger=require(_0xf18a('0x1'))(_0xf18a('0x2'));var moment=require(_0xf18a('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xf18a('0x4'));var rimraf=require(_0xf18a('0x5'));var config=require(_0xf18a('0x6'));var attributes=require('./faxTransferReport.attributes');module[_0xf18a('0x7')]=function(_0x4588fd,_0x3d57d1){return _0x4588fd['define']('FaxTransferReport',attributes,{'tableName':_0xf18a('0x8'),'paranoid':![],'indexes':[{'name':_0xf18a('0x9'),'fields':['uniqueid']}],'timestamps':!![]});};