87b534b2edf4ddd52e6c7623d3cecb9cb26ef1c3
[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 _0xee59=['bluebird','rimraf','../../config/environment','./faxTransferReport.attributes','exports','report_fax_transfer','uniqueid','lodash','util','../../config/logger','api','moment'];(function(_0x349118,_0x325854){var _0x2e86c9=function(_0x52d628){while(--_0x52d628){_0x349118['push'](_0x349118['shift']());}};_0x2e86c9(++_0x325854);}(_0xee59,0x8b));var _0x9ee5=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xee59[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x9ee5('0x0'));var util=require(_0x9ee5('0x1'));var logger=require(_0x9ee5('0x2'))(_0x9ee5('0x3'));var moment=require(_0x9ee5('0x4'));var BPromise=require(_0x9ee5('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x9ee5('0x6'));var config=require(_0x9ee5('0x7'));var attributes=require(_0x9ee5('0x8'));module[_0x9ee5('0x9')]=function(_0x2f8ace,_0x3f92c4){return _0x2f8ace['define']('FaxTransferReport',attributes,{'tableName':_0x9ee5('0xa'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x9ee5('0xb')]}],'timestamps':!![]});};