Built motion from commit 538092ac.|2.6.10
[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 _0xa227=['api','moment','bluebird','./faxTransferReport.attributes','exports','define','uniqueid','util','../../config/logger'];(function(_0x26a906,_0x3d135c){var _0x495575=function(_0x2365af){while(--_0x2365af){_0x26a906['push'](_0x26a906['shift']());}};_0x495575(++_0x3d135c);}(_0xa227,0x16f));var _0x7a22=function(_0x2ad447,_0x2860a9){_0x2ad447=_0x2ad447-0x0;var _0x5e34df=_0xa227[_0x2ad447];return _0x5e34df;};'use strict';var _=require('lodash');var util=require(_0x7a22('0x0'));var logger=require(_0x7a22('0x1'))(_0x7a22('0x2'));var moment=require(_0x7a22('0x3'));var BPromise=require(_0x7a22('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x7a22('0x5'));module[_0x7a22('0x6')]=function(_0x13f20c,_0x14a526){return _0x13f20c[_0x7a22('0x7')]('FaxTransferReport',attributes,{'tableName':'report_fax_transfer','paranoid':![],'indexes':[{'name':_0x7a22('0x8'),'fields':[_0x7a22('0x8')]}],'timestamps':!![]});};