Built motion from commit c0cdc9d8.|2.6.28
[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 _0xa5ea=['request-promise','path','rimraf','../../config/environment','./faxTransferReport.attributes','define','FaxTransferReport','report_fax_transfer','uniqueid','../../config/logger','api','moment'];(function(_0x38ee0b,_0x46b267){var _0x4e3d8b=function(_0x45af68){while(--_0x45af68){_0x38ee0b['push'](_0x38ee0b['shift']());}};_0x4e3d8b(++_0x46b267);}(_0xa5ea,0x1e9));var _0xaa5e=function(_0x4ed790,_0x3b0fe6){_0x4ed790=_0x4ed790-0x0;var _0x1972cd=_0xa5ea[_0x4ed790];return _0x1972cd;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xaa5e('0x0'))(_0xaa5e('0x1'));var moment=require(_0xaa5e('0x2'));var BPromise=require('bluebird');var rp=require(_0xaa5e('0x3'));var fs=require('fs');var path=require(_0xaa5e('0x4'));var rimraf=require(_0xaa5e('0x5'));var config=require(_0xaa5e('0x6'));var attributes=require(_0xaa5e('0x7'));module['exports']=function(_0x57edd3,_0x133617){return _0x57edd3[_0xaa5e('0x8')](_0xaa5e('0x9'),attributes,{'tableName':_0xaa5e('0xa'),'paranoid':![],'indexes':[{'name':_0xaa5e('0xb'),'fields':[_0xaa5e('0xb')]}],'timestamps':!![]});};