Built motion from commit (unavailable).|2.2.0
[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 _0xfdb3=['exports','define','FaxTransferReport','uniqueid','lodash','util','api','request-promise'];(function(_0x4e1a81,_0x4c3697){var _0x52ea72=function(_0x4cda82){while(--_0x4cda82){_0x4e1a81['push'](_0x4e1a81['shift']());}};_0x52ea72(++_0x4c3697);}(_0xfdb3,0x10c));var _0x3fdb=function(_0x4dcb93,_0xf8ebe1){_0x4dcb93=_0x4dcb93-0x0;var _0x4275b8=_0xfdb3[_0x4dcb93];return _0x4275b8;};'use strict';var _=require(_0x3fdb('0x0'));var util=require(_0x3fdb('0x1'));var logger=require('../../config/logger')(_0x3fdb('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x3fdb('0x3'));var attributes=require('./faxTransferReport.attributes');module[_0x3fdb('0x4')]=function(_0x8e594f,_0x40f934){return _0x8e594f[_0x3fdb('0x5')](_0x3fdb('0x6'),attributes,{'tableName':'report_fax_transfer','paranoid':![],'indexes':[{'name':_0x3fdb('0x7'),'fields':[_0x3fdb('0x7')]}],'timestamps':!![]});};