2957123c4c0462ffe50e9486ccf7c86b880bb359
[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 _0x5f2c=['report_fax_transfer','uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./faxTransferReport.attributes','exports','define'];(function(_0xd511d,_0x3546b9){var _0x3f148e=function(_0x51f35f){while(--_0x51f35f){_0xd511d['push'](_0xd511d['shift']());}};_0x3f148e(++_0x3546b9);}(_0x5f2c,0x80));var _0xc5f2=function(_0x4cf98e,_0xba4b79){_0x4cf98e=_0x4cf98e-0x0;var _0x1623ac=_0x5f2c[_0x4cf98e];return _0x1623ac;};'use strict';var _=require(_0xc5f2('0x0'));var util=require(_0xc5f2('0x1'));var logger=require(_0xc5f2('0x2'))('api');var moment=require(_0xc5f2('0x3'));var BPromise=require(_0xc5f2('0x4'));var rp=require(_0xc5f2('0x5'));var fs=require('fs');var path=require(_0xc5f2('0x6'));var rimraf=require(_0xc5f2('0x7'));var config=require(_0xc5f2('0x8'));var attributes=require(_0xc5f2('0x9'));module[_0xc5f2('0xa')]=function(_0x545dd1,_0x2ac200){return _0x545dd1[_0xc5f2('0xb')]('FaxTransferReport',attributes,{'tableName':_0xc5f2('0xc'),'paranoid':![],'indexes':[{'name':_0xc5f2('0xd'),'fields':[_0xc5f2('0xd')]}],'timestamps':!![]});};