Built motion from commit (unavailable).|2.5.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 _0xafbd=['define','FaxTransferReport','report_fax_transfer','uniqueid','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','exports'];(function(_0x4914e2,_0x48be8f){var _0x2dcd07=function(_0x1a2565){while(--_0x1a2565){_0x4914e2['push'](_0x4914e2['shift']());}};_0x2dcd07(++_0x48be8f);}(_0xafbd,0x17d));var _0xdafb=function(_0x5eb22e,_0x27cbac){_0x5eb22e=_0x5eb22e-0x0;var _0x27fed5=_0xafbd[_0x5eb22e];return _0x27fed5;};'use strict';var _=require(_0xdafb('0x0'));var util=require(_0xdafb('0x1'));var logger=require('../../config/logger')(_0xdafb('0x2'));var moment=require(_0xdafb('0x3'));var BPromise=require(_0xdafb('0x4'));var rp=require(_0xdafb('0x5'));var fs=require('fs');var path=require(_0xdafb('0x6'));var rimraf=require('rimraf');var config=require(_0xdafb('0x7'));var attributes=require('./faxTransferReport.attributes');module[_0xdafb('0x8')]=function(_0x2ac2a3,_0x23b224){return _0x2ac2a3[_0xdafb('0x9')](_0xdafb('0xa'),attributes,{'tableName':_0xdafb('0xb'),'paranoid':![],'indexes':[{'name':_0xdafb('0xc'),'fields':[_0xdafb('0xc')]}],'timestamps':!![]});};