Built motion from commit (unavailable).|2.5.7
[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 _0x7b50=['report_fax_queue','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./faxQueueReport.attributes','exports','define','FaxQueueReport'];(function(_0x575f5d,_0x45878f){var _0x25b321=function(_0x37f8c6){while(--_0x37f8c6){_0x575f5d['push'](_0x575f5d['shift']());}};_0x25b321(++_0x45878f);}(_0x7b50,0xa9));var _0x07b5=function(_0x38e30f,_0x26ed4a){_0x38e30f=_0x38e30f-0x0;var _0x4c26d9=_0x7b50[_0x38e30f];return _0x4c26d9;};'use strict';var _=require(_0x07b5('0x0'));var util=require(_0x07b5('0x1'));var logger=require(_0x07b5('0x2'))(_0x07b5('0x3'));var moment=require(_0x07b5('0x4'));var BPromise=require(_0x07b5('0x5'));var rp=require(_0x07b5('0x6'));var fs=require('fs');var path=require(_0x07b5('0x7'));var rimraf=require(_0x07b5('0x8'));var config=require('../../config/environment');var attributes=require(_0x07b5('0x9'));module[_0x07b5('0xa')]=function(_0x3ec35c,_0x2199ae){return _0x3ec35c[_0x07b5('0xb')](_0x07b5('0xc'),attributes,{'tableName':_0x07b5('0xd'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};