Built motion from commit (unavailable).|2.5.4
[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 _0x88e9=['report_fax_transfer','uniqueid','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./faxTransferReport.attributes','exports','FaxTransferReport'];(function(_0x1b8e60,_0x21b885){var _0x363363=function(_0x5987c7){while(--_0x5987c7){_0x1b8e60['push'](_0x1b8e60['shift']());}};_0x363363(++_0x21b885);}(_0x88e9,0x141));var _0x988e=function(_0xcc3d40,_0x3c0f3c){_0xcc3d40=_0xcc3d40-0x0;var _0x4160a3=_0x88e9[_0xcc3d40];return _0x4160a3;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x988e('0x0'))(_0x988e('0x1'));var moment=require(_0x988e('0x2'));var BPromise=require(_0x988e('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x988e('0x4'));var config=require(_0x988e('0x5'));var attributes=require(_0x988e('0x6'));module[_0x988e('0x7')]=function(_0x30bad0,_0x4cbc80){return _0x30bad0['define'](_0x988e('0x8'),attributes,{'tableName':_0x988e('0x9'),'paranoid':![],'indexes':[{'name':_0x988e('0xa'),'fields':[_0x988e('0xa')]}],'timestamps':!![]});};