478a7693fc8a1199167a780f49b512eee823ded0
[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 _0xffe2=['request-promise','path','../../config/environment','./faxTransferReport.attributes','exports','FaxTransferReport','report_fax_transfer','uniqueid','lodash','util','../../config/logger','api','moment'];(function(_0xd3f51e,_0x5de83a){var _0x540d0c=function(_0x57ca85){while(--_0x57ca85){_0xd3f51e['push'](_0xd3f51e['shift']());}};_0x540d0c(++_0x5de83a);}(_0xffe2,0x167));var _0x2ffe=function(_0x527b54,_0x8de366){_0x527b54=_0x527b54-0x0;var _0x19f6f0=_0xffe2[_0x527b54];return _0x19f6f0;};'use strict';var _=require(_0x2ffe('0x0'));var util=require(_0x2ffe('0x1'));var logger=require(_0x2ffe('0x2'))(_0x2ffe('0x3'));var moment=require(_0x2ffe('0x4'));var BPromise=require('bluebird');var rp=require(_0x2ffe('0x5'));var fs=require('fs');var path=require(_0x2ffe('0x6'));var rimraf=require('rimraf');var config=require(_0x2ffe('0x7'));var attributes=require(_0x2ffe('0x8'));module[_0x2ffe('0x9')]=function(_0x28f948,_0x3718a6){return _0x28f948['define'](_0x2ffe('0xa'),attributes,{'tableName':_0x2ffe('0xb'),'paranoid':![],'indexes':[{'name':_0x2ffe('0xc'),'fields':[_0x2ffe('0xc')]}],'timestamps':!![]});};