Built motion from commit fe909640.|2.6.8
[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 _0xf1a2=['rimraf','./faxTransferReport.attributes','exports','define','FaxTransferReport','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x4469ff,_0x4ba6dc){var _0x59c288=function(_0x1ef5a6){while(--_0x1ef5a6){_0x4469ff['push'](_0x4469ff['shift']());}};_0x59c288(++_0x4ba6dc);}(_0xf1a2,0x1f0));var _0x2f1a=function(_0x2dc317,_0x2df461){_0x2dc317=_0x2dc317-0x0;var _0x12f625=_0xf1a2[_0x2dc317];return _0x12f625;};'use strict';var _=require(_0x2f1a('0x0'));var util=require(_0x2f1a('0x1'));var logger=require(_0x2f1a('0x2'))(_0x2f1a('0x3'));var moment=require(_0x2f1a('0x4'));var BPromise=require(_0x2f1a('0x5'));var rp=require(_0x2f1a('0x6'));var fs=require('fs');var path=require(_0x2f1a('0x7'));var rimraf=require(_0x2f1a('0x8'));var config=require('../../config/environment');var attributes=require(_0x2f1a('0x9'));module[_0x2f1a('0xa')]=function(_0x25b609,_0x3ac923){return _0x25b609[_0x2f1a('0xb')](_0x2f1a('0xc'),attributes,{'tableName':'report_fax_transfer','paranoid':![],'indexes':[{'name':_0x2f1a('0xd'),'fields':['uniqueid']}],'timestamps':!![]});};