3198bc2a3d4777feeb49e5aded8634d7e7f6e29e
[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 _0x651e=['../../config/environment','./whatsappTransferReport.attributes','exports','define','WhatsappTransferReport','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x15efb2,_0x4d6946){var _0x41f151=function(_0x3895d5){while(--_0x3895d5){_0x15efb2['push'](_0x15efb2['shift']());}};_0x41f151(++_0x4d6946);}(_0x651e,0x1aa));var _0xe651=function(_0x5f2abb,_0x19cf2c){_0x5f2abb=_0x5f2abb-0x0;var _0x5c71b6=_0x651e[_0x5f2abb];return _0x5c71b6;};'use strict';var _=require(_0xe651('0x0'));var util=require(_0xe651('0x1'));var logger=require(_0xe651('0x2'))(_0xe651('0x3'));var moment=require(_0xe651('0x4'));var BPromise=require(_0xe651('0x5'));var rp=require(_0xe651('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe651('0x7'));var config=require(_0xe651('0x8'));var attributes=require(_0xe651('0x9'));module[_0xe651('0xa')]=function(_0x41717d,_0x35e19f){return _0x41717d[_0xe651('0xb')](_0xe651('0xc'),attributes,{'tableName':'report_whatsapp_transfer','paranoid':![],'indexes':[{'name':_0xe651('0xd'),'fields':[_0xe651('0xd')]}],'timestamps':!![]});};