4d1dfa12e5e0860524bd098d079ca03d16c7d3fb
[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 _0x914a=['moment','request-promise','rimraf','../../config/environment','FaxTransferReport','uniqueid','lodash','util','../../config/logger','api'];(function(_0x279d37,_0x14de3f){var _0x530173=function(_0x37fc79){while(--_0x37fc79){_0x279d37['push'](_0x279d37['shift']());}};_0x530173(++_0x14de3f);}(_0x914a,0x74));var _0xa914=function(_0x18ab9b,_0x5de071){_0x18ab9b=_0x18ab9b-0x0;var _0x15087=_0x914a[_0x18ab9b];return _0x15087;};'use strict';var _=require(_0xa914('0x0'));var util=require(_0xa914('0x1'));var logger=require(_0xa914('0x2'))(_0xa914('0x3'));var moment=require(_0xa914('0x4'));var BPromise=require('bluebird');var rp=require(_0xa914('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa914('0x6'));var config=require(_0xa914('0x7'));var attributes=require('./faxTransferReport.attributes');module['exports']=function(_0x2a27ca,_0x404dd6){return _0x2a27ca['define'](_0xa914('0x8'),attributes,{'tableName':'report_fax_transfer','paranoid':![],'indexes':[{'name':_0xa914('0x9'),'fields':[_0xa914('0x9')]}],'timestamps':!![]});};