97a0ce7bea52ff218ee4c927539d2db5796b40f9
[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 _0x8bc3=['define','FaxQueueReport','report_fax_queue','uniqueid','lodash','util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./faxQueueReport.attributes','exports'];(function(_0x2fc68c,_0x5d1f78){var _0x182ac7=function(_0x569a9c){while(--_0x569a9c){_0x2fc68c['push'](_0x2fc68c['shift']());}};_0x182ac7(++_0x5d1f78);}(_0x8bc3,0x138));var _0x38bc=function(_0x4d84c4,_0x5bf8cb){_0x4d84c4=_0x4d84c4-0x0;var _0x7c9625=_0x8bc3[_0x4d84c4];return _0x7c9625;};'use strict';var _=require(_0x38bc('0x0'));var util=require(_0x38bc('0x1'));var logger=require(_0x38bc('0x2'))(_0x38bc('0x3'));var moment=require(_0x38bc('0x4'));var BPromise=require('bluebird');var rp=require(_0x38bc('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x38bc('0x6'));var config=require(_0x38bc('0x7'));var attributes=require(_0x38bc('0x8'));module[_0x38bc('0x9')]=function(_0x308307,_0x166c7c){return _0x308307[_0x38bc('0xa')](_0x38bc('0xb'),attributes,{'tableName':_0x38bc('0xc'),'paranoid':![],'indexes':[{'name':_0x38bc('0xd'),'fields':[_0x38bc('0xd')]}],'timestamps':!![]});};