1ea532c58d62bfa5dc70f3eed070978234266647
[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 _0x991f=['report_fax_transfer','uniqueid','lodash','util','../../config/logger','api','request-promise','path','rimraf','../../config/environment','./faxTransferReport.attributes','exports','define','FaxTransferReport'];(function(_0x46b01f,_0x43dc27){var _0x5b091a=function(_0x2d9713){while(--_0x2d9713){_0x46b01f['push'](_0x46b01f['shift']());}};_0x5b091a(++_0x43dc27);}(_0x991f,0x10c));var _0xf991=function(_0x2c6b54,_0x1a1991){_0x2c6b54=_0x2c6b54-0x0;var _0x5f4cd7=_0x991f[_0x2c6b54];return _0x5f4cd7;};'use strict';var _=require(_0xf991('0x0'));var util=require(_0xf991('0x1'));var logger=require(_0xf991('0x2'))(_0xf991('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xf991('0x4'));var fs=require('fs');var path=require(_0xf991('0x5'));var rimraf=require(_0xf991('0x6'));var config=require(_0xf991('0x7'));var attributes=require(_0xf991('0x8'));module[_0xf991('0x9')]=function(_0x194384,_0x4f6499){return _0x194384[_0xf991('0xa')](_0xf991('0xb'),attributes,{'tableName':_0xf991('0xc'),'paranoid':![],'indexes':[{'name':_0xf991('0xd'),'fields':['uniqueid']}],'timestamps':!![]});};