Built motion from commit (unavailable).|2.5.14
[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 _0xe22d=['util','../../config/logger','api','moment','bluebird','path','../../config/environment','./faxTransferReport.attributes','exports','define','FaxTransferReport','lodash'];(function(_0x6d2976,_0x2e27b5){var _0x50031f=function(_0x2c6969){while(--_0x2c6969){_0x6d2976['push'](_0x6d2976['shift']());}};_0x50031f(++_0x2e27b5);}(_0xe22d,0x1bb));var _0xde22=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0xe22d[_0x1facfa];return _0x9ec701;};'use strict';var _=require(_0xde22('0x0'));var util=require(_0xde22('0x1'));var logger=require(_0xde22('0x2'))(_0xde22('0x3'));var moment=require(_0xde22('0x4'));var BPromise=require(_0xde22('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xde22('0x6'));var rimraf=require('rimraf');var config=require(_0xde22('0x7'));var attributes=require(_0xde22('0x8'));module[_0xde22('0x9')]=function(_0x6881b4,_0x129e05){return _0x6881b4[_0xde22('0xa')](_0xde22('0xb'),attributes,{'tableName':'report_fax_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};