Built motion from commit 19a84241.|2.5.34
[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 _0xeb5e=['util','../../config/logger','api','moment','bluebird','path','rimraf','./faxTransferReport.attributes','exports','report_fax_transfer','uniqueid'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xeb5e,0x134));var _0xeeb5=function(_0x4fde08,_0x463a36){_0x4fde08=_0x4fde08-0x0;var _0x12e725=_0xeb5e[_0x4fde08];return _0x12e725;};'use strict';var _=require('lodash');var util=require(_0xeeb5('0x0'));var logger=require(_0xeeb5('0x1'))(_0xeeb5('0x2'));var moment=require(_0xeeb5('0x3'));var BPromise=require(_0xeeb5('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xeeb5('0x5'));var rimraf=require(_0xeeb5('0x6'));var config=require('../../config/environment');var attributes=require(_0xeeb5('0x7'));module[_0xeeb5('0x8')]=function(_0x456139,_0xda533a){return _0x456139['define']('FaxTransferReport',attributes,{'tableName':_0xeeb5('0x9'),'paranoid':![],'indexes':[{'name':_0xeeb5('0xa'),'fields':[_0xeeb5('0xa')]}],'timestamps':!![]});};