Built motion from commit ffdca78c.|2.6.24
[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 _0x6528=['lodash','util','../../config/logger','moment','path','rimraf','../../config/environment','exports','define','report_fax_transfer','uniqueid'];(function(_0x35445f,_0x2b19b3){var _0xc6bc90=function(_0x2be8e5){while(--_0x2be8e5){_0x35445f['push'](_0x35445f['shift']());}};_0xc6bc90(++_0x2b19b3);}(_0x6528,0x160));var _0x8652=function(_0x3dedd6,_0x37a0a7){_0x3dedd6=_0x3dedd6-0x0;var _0x59308e=_0x6528[_0x3dedd6];return _0x59308e;};'use strict';var _=require(_0x8652('0x0'));var util=require(_0x8652('0x1'));var logger=require(_0x8652('0x2'))('api');var moment=require(_0x8652('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x8652('0x4'));var rimraf=require(_0x8652('0x5'));var config=require(_0x8652('0x6'));var attributes=require('./faxTransferReport.attributes');module[_0x8652('0x7')]=function(_0x17eddc,_0x21753f){return _0x17eddc[_0x8652('0x8')]('FaxTransferReport',attributes,{'tableName':_0x8652('0x9'),'paranoid':![],'indexes':[{'name':_0x8652('0xa'),'fields':[_0x8652('0xa')]}],'timestamps':!![]});};