3eb26ed6aef6285aff5e84def31dcb0d764f4f33
[motion2.git] / server / api / faxQueueReport / faxQueueReport.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 _0x470f=['./faxQueueReport.attributes','exports','report_fax_queue','uniqueid','util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x142b0a,_0xc838ee){var _0x2da2b2=function(_0x49b2e2){while(--_0x49b2e2){_0x142b0a['push'](_0x142b0a['shift']());}};_0x2da2b2(++_0xc838ee);}(_0x470f,0x1dd));var _0xf470=function(_0x50975f,_0x15dfe7){_0x50975f=_0x50975f-0x0;var _0x3dedca=_0x470f[_0x50975f];return _0x3dedca;};'use strict';var _=require('lodash');var util=require(_0xf470('0x0'));var logger=require(_0xf470('0x1'))(_0xf470('0x2'));var moment=require('moment');var BPromise=require(_0xf470('0x3'));var rp=require(_0xf470('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf470('0x5'));var config=require(_0xf470('0x6'));var attributes=require(_0xf470('0x7'));module[_0xf470('0x8')]=function(_0x544569,_0x3ce7c4){return _0x544569['define']('FaxQueueReport',attributes,{'tableName':_0xf470('0x9'),'paranoid':![],'indexes':[{'name':_0xf470('0xa'),'fields':['uniqueid']}],'timestamps':!![]});};