08e1cad7bf5fd76981a7582ca2656a7c2942eddf
[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 _0x63c7=['./faxTransferReport.attributes','report_fax_transfer','uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x3daeb8,_0x168a55){var _0xd858b3=function(_0x5be2f5){while(--_0x5be2f5){_0x3daeb8['push'](_0x3daeb8['shift']());}};_0xd858b3(++_0x168a55);}(_0x63c7,0x1b0));var _0x763c=function(_0x308ff9,_0x3148cb){_0x308ff9=_0x308ff9-0x0;var _0x148225=_0x63c7[_0x308ff9];return _0x148225;};'use strict';var _=require(_0x763c('0x0'));var util=require(_0x763c('0x1'));var logger=require(_0x763c('0x2'))('api');var moment=require(_0x763c('0x3'));var BPromise=require(_0x763c('0x4'));var rp=require(_0x763c('0x5'));var fs=require('fs');var path=require(_0x763c('0x6'));var rimraf=require('rimraf');var config=require(_0x763c('0x7'));var attributes=require(_0x763c('0x8'));module['exports']=function(_0x32acb8,_0x1695d1){return _0x32acb8['define']('FaxTransferReport',attributes,{'tableName':_0x763c('0x9'),'paranoid':![],'indexes':[{'name':_0x763c('0xa'),'fields':['uniqueid']}],'timestamps':!![]});};