Built motion from commit (unavailable).|2.4.4
[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 _0xe605=['./faxQueueReport.attributes','exports','report_fax_queue','uniqueid','lodash','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x15875f,_0x1e87bc){var _0x10bebb=function(_0x451fe1){while(--_0x451fe1){_0x15875f['push'](_0x15875f['shift']());}};_0x10bebb(++_0x1e87bc);}(_0xe605,0x1d2));var _0x5e60=function(_0x2be19c,_0x2d9136){_0x2be19c=_0x2be19c-0x0;var _0x52c145=_0xe605[_0x2be19c];return _0x52c145;};'use strict';var _=require(_0x5e60('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x5e60('0x1'));var moment=require(_0x5e60('0x2'));var BPromise=require(_0x5e60('0x3'));var rp=require(_0x5e60('0x4'));var fs=require('fs');var path=require(_0x5e60('0x5'));var rimraf=require(_0x5e60('0x6'));var config=require('../../config/environment');var attributes=require(_0x5e60('0x7'));module[_0x5e60('0x8')]=function(_0xe15e6b,_0x61678f){return _0xe15e6b['define']('FaxQueueReport',attributes,{'tableName':_0x5e60('0x9'),'paranoid':![],'indexes':[{'name':_0x5e60('0xa'),'fields':[_0x5e60('0xa')]}],'timestamps':!![]});};