eb286e80d78d2aedf5708a7ee05c4d22841d2c25
[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 _0x56e4=['FaxTransferReport','uniqueid','util','../../config/logger','bluebird','path','rimraf','./faxTransferReport.attributes','exports'];(function(_0x432fca,_0xb0b1b5){var _0x3adba4=function(_0x5e3ae4){while(--_0x5e3ae4){_0x432fca['push'](_0x432fca['shift']());}};_0x3adba4(++_0xb0b1b5);}(_0x56e4,0x92));var _0x456e=function(_0xd40f44,_0x100211){_0xd40f44=_0xd40f44-0x0;var _0x4f9627=_0x56e4[_0xd40f44];return _0x4f9627;};'use strict';var _=require('lodash');var util=require(_0x456e('0x0'));var logger=require(_0x456e('0x1'))('api');var moment=require('moment');var BPromise=require(_0x456e('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x456e('0x3'));var rimraf=require(_0x456e('0x4'));var config=require('../../config/environment');var attributes=require(_0x456e('0x5'));module[_0x456e('0x6')]=function(_0x1bda13,_0x15265e){return _0x1bda13['define'](_0x456e('0x7'),attributes,{'tableName':'report_fax_transfer','paranoid':![],'indexes':[{'name':_0x456e('0x8'),'fields':[_0x456e('0x8')]}],'timestamps':!![]});};