Built motion from commit b5413ace.|2.6.9
[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 _0x59ea=['define','report_fax_transfer','uniqueid','../../config/logger','api','moment','bluebird','request-promise','path','./faxTransferReport.attributes'];(function(_0x5837e7,_0x35de4f){var _0x537783=function(_0x4cce5d){while(--_0x4cce5d){_0x5837e7['push'](_0x5837e7['shift']());}};_0x537783(++_0x35de4f);}(_0x59ea,0x19d));var _0xa59e=function(_0x45bd3f,_0x44b97b){_0x45bd3f=_0x45bd3f-0x0;var _0x5204d3=_0x59ea[_0x45bd3f];return _0x5204d3;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xa59e('0x0'))(_0xa59e('0x1'));var moment=require(_0xa59e('0x2'));var BPromise=require(_0xa59e('0x3'));var rp=require(_0xa59e('0x4'));var fs=require('fs');var path=require(_0xa59e('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xa59e('0x6'));module['exports']=function(_0x3b7d23,_0x345c74){return _0x3b7d23[_0xa59e('0x7')]('FaxTransferReport',attributes,{'tableName':_0xa59e('0x8'),'paranoid':![],'indexes':[{'name':_0xa59e('0x9'),'fields':[_0xa59e('0x9')]}],'timestamps':!![]});};