Built motion from commit (unavailable).|2.5.21
[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 _0xe51d=['request-promise','path','rimraf','../../config/environment','./faxTransferReport.attributes','exports','define','FaxTransferReport','report_fax_transfer','uniqueid','util','../../config/logger','api','moment','bluebird'];(function(_0x5554c5,_0x4e2cec){var _0x359003=function(_0x5e8394){while(--_0x5e8394){_0x5554c5['push'](_0x5554c5['shift']());}};_0x359003(++_0x4e2cec);}(_0xe51d,0x73));var _0xde51=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xe51d[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0xde51('0x0'));var logger=require(_0xde51('0x1'))(_0xde51('0x2'));var moment=require(_0xde51('0x3'));var BPromise=require(_0xde51('0x4'));var rp=require(_0xde51('0x5'));var fs=require('fs');var path=require(_0xde51('0x6'));var rimraf=require(_0xde51('0x7'));var config=require(_0xde51('0x8'));var attributes=require(_0xde51('0x9'));module[_0xde51('0xa')]=function(_0x5e27f5,_0x4ae920){return _0x5e27f5[_0xde51('0xb')](_0xde51('0xc'),attributes,{'tableName':_0xde51('0xd'),'paranoid':![],'indexes':[{'name':_0xde51('0xe'),'fields':[_0xde51('0xe')]}],'timestamps':!![]});};