7e129456df3bf5fab09a112dcd8b19a4605ccf87
[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 _0xc3af=['util','api','bluebird','rimraf','./faxTransferReport.attributes','exports','define','FaxTransferReport','report_fax_transfer','uniqueid','lodash'];(function(_0x587dd0,_0x273922){var _0x56f153=function(_0x27fb33){while(--_0x27fb33){_0x587dd0['push'](_0x587dd0['shift']());}};_0x56f153(++_0x273922);}(_0xc3af,0x112));var _0xfc3a=function(_0x2aee2f,_0xad9887){_0x2aee2f=_0x2aee2f-0x0;var _0x19337f=_0xc3af[_0x2aee2f];return _0x19337f;};'use strict';var _=require(_0xfc3a('0x0'));var util=require(_0xfc3a('0x1'));var logger=require('../../config/logger')(_0xfc3a('0x2'));var moment=require('moment');var BPromise=require(_0xfc3a('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xfc3a('0x4'));var config=require('../../config/environment');var attributes=require(_0xfc3a('0x5'));module[_0xfc3a('0x6')]=function(_0x20c214,_0x5dedef){return _0x20c214[_0xfc3a('0x7')](_0xfc3a('0x8'),attributes,{'tableName':_0xfc3a('0x9'),'paranoid':![],'indexes':[{'name':_0xfc3a('0xa'),'fields':[_0xfc3a('0xa')]}],'timestamps':!![]});};