2b4774f93c428f07790fb63f1ce9c14db95fde31
[motion2.git] / server / api / whatsappTransferReport / whatsappTransferReport.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 _0x99e1=['../../config/environment','exports','define','WhatsappTransferReport','uniqueid','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x274057,_0x8e11c8){var _0x29fc37=function(_0x4b633c){while(--_0x4b633c){_0x274057['push'](_0x274057['shift']());}};_0x29fc37(++_0x8e11c8);}(_0x99e1,0xd5));var _0x199e=function(_0x26da89,_0x264785){_0x26da89=_0x26da89-0x0;var _0xc95b7b=_0x99e1[_0x26da89];return _0xc95b7b;};'use strict';var _=require(_0x199e('0x0'));var util=require(_0x199e('0x1'));var logger=require(_0x199e('0x2'))(_0x199e('0x3'));var moment=require(_0x199e('0x4'));var BPromise=require('bluebird');var rp=require(_0x199e('0x5'));var fs=require('fs');var path=require(_0x199e('0x6'));var rimraf=require(_0x199e('0x7'));var config=require(_0x199e('0x8'));var attributes=require('./whatsappTransferReport.attributes');module[_0x199e('0x9')]=function(_0x375d27,_0x5300a9){return _0x375d27[_0x199e('0xa')](_0x199e('0xb'),attributes,{'tableName':'report_whatsapp_transfer','paranoid':![],'indexes':[{'name':_0x199e('0xc'),'fields':[_0x199e('0xc')]}],'timestamps':!![]});};