Built motion from commit 4fa9d4a7.|2.6.31
[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 _0xdf46=['uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','exports','define','report_fax_transfer'];(function(_0x36c5b0,_0x5001da){var _0xf19333=function(_0x1e880a){while(--_0x1e880a){_0x36c5b0['push'](_0x36c5b0['shift']());}};_0xf19333(++_0x5001da);}(_0xdf46,0x169));var _0x6df4=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xdf46[_0x20a584];return _0x4b41a8;};'use strict';var _=require(_0x6df4('0x0'));var util=require(_0x6df4('0x1'));var logger=require(_0x6df4('0x2'))('api');var moment=require(_0x6df4('0x3'));var BPromise=require(_0x6df4('0x4'));var rp=require(_0x6df4('0x5'));var fs=require('fs');var path=require(_0x6df4('0x6'));var rimraf=require(_0x6df4('0x7'));var config=require('../../config/environment');var attributes=require('./faxTransferReport.attributes');module[_0x6df4('0x8')]=function(_0x4d2de6,_0x12f88a){return _0x4d2de6[_0x6df4('0x9')]('FaxTransferReport',attributes,{'tableName':_0x6df4('0xa'),'paranoid':![],'indexes':[{'name':_0x6df4('0xb'),'fields':[_0x6df4('0xb')]}],'timestamps':!![]});};