Built motion from commit (unavailable).|2.5.1
[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 _0xe500=['../../config/environment','FaxTransferReport','uniqueid','lodash','util','../../config/logger','api','moment','request-promise','rimraf'];(function(_0x26ea1f,_0x12eb55){var _0x5df37f=function(_0x5a7bc3){while(--_0x5a7bc3){_0x26ea1f['push'](_0x26ea1f['shift']());}};_0x5df37f(++_0x12eb55);}(_0xe500,0x67));var _0x0e50=function(_0x5c78d9,_0x2736c7){_0x5c78d9=_0x5c78d9-0x0;var _0x69ae1f=_0xe500[_0x5c78d9];return _0x69ae1f;};'use strict';var _=require(_0x0e50('0x0'));var util=require(_0x0e50('0x1'));var logger=require(_0x0e50('0x2'))(_0x0e50('0x3'));var moment=require(_0x0e50('0x4'));var BPromise=require('bluebird');var rp=require(_0x0e50('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0e50('0x6'));var config=require(_0x0e50('0x7'));var attributes=require('./faxTransferReport.attributes');module['exports']=function(_0x2f60ab,_0x245dfb){return _0x2f60ab['define'](_0x0e50('0x8'),attributes,{'tableName':'report_fax_transfer','paranoid':![],'indexes':[{'name':_0x0e50('0x9'),'fields':['uniqueid']}],'timestamps':!![]});};