fd5c5a58b87f62794b5c927ab0d7642ab3c511b0
[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 _0xb286=['../../config/environment','./faxTransferReport.attributes','exports','define','FaxTransferReport','report_fax_transfer','uniqueid','lodash','util','rimraf'];(function(_0x554d25,_0x28bea0){var _0x5f2346=function(_0x50c986){while(--_0x50c986){_0x554d25['push'](_0x554d25['shift']());}};_0x5f2346(++_0x28bea0);}(_0xb286,0x151));var _0x6b28=function(_0x312130,_0x47f809){_0x312130=_0x312130-0x0;var _0x6124df=_0xb286[_0x312130];return _0x6124df;};'use strict';var _=require(_0x6b28('0x0'));var util=require(_0x6b28('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x6b28('0x2'));var config=require(_0x6b28('0x3'));var attributes=require(_0x6b28('0x4'));module[_0x6b28('0x5')]=function(_0x32bc9d,_0x4e729f){return _0x32bc9d[_0x6b28('0x6')](_0x6b28('0x7'),attributes,{'tableName':_0x6b28('0x8'),'paranoid':![],'indexes':[{'name':_0x6b28('0x9'),'fields':[_0x6b28('0x9')]}],'timestamps':!![]});};