72c875b6626ad5f23d23ea40d9cccb93e19c6823
[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 _0xf6fe=['lodash','util','api','request-promise','rimraf','./faxTransferReport.attributes','exports','define','FaxTransferReport','report_fax_transfer','uniqueid'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0xf6fe,0x181));var _0xef6f=function(_0x58ab94,_0x835f07){_0x58ab94=_0x58ab94-0x0;var _0x5e8fbb=_0xf6fe[_0x58ab94];return _0x5e8fbb;};'use strict';var _=require(_0xef6f('0x0'));var util=require(_0xef6f('0x1'));var logger=require('../../config/logger')(_0xef6f('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xef6f('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xef6f('0x4'));var config=require('../../config/environment');var attributes=require(_0xef6f('0x5'));module[_0xef6f('0x6')]=function(_0x3906e0,_0x51fff1){return _0x3906e0[_0xef6f('0x7')](_0xef6f('0x8'),attributes,{'tableName':_0xef6f('0x9'),'paranoid':![],'indexes':[{'name':_0xef6f('0xa'),'fields':[_0xef6f('0xa')]}],'timestamps':!![]});};