9c892cd53fccd60aadfbc6591874e15599d7d2a5
[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 _0x4ee8=['bluebird','request-promise','path','rimraf','../../config/environment','exports','define','WhatsappTransferReport','uniqueid','lodash','util','../../config/logger','api','moment'];(function(_0x2b9c78,_0x1e51d9){var _0x333762=function(_0x2b9c35){while(--_0x2b9c35){_0x2b9c78['push'](_0x2b9c78['shift']());}};_0x333762(++_0x1e51d9);}(_0x4ee8,0x79));var _0x84ee=function(_0x5d6456,_0x58ecc7){_0x5d6456=_0x5d6456-0x0;var _0x4d66c1=_0x4ee8[_0x5d6456];return _0x4d66c1;};'use strict';var _=require(_0x84ee('0x0'));var util=require(_0x84ee('0x1'));var logger=require(_0x84ee('0x2'))(_0x84ee('0x3'));var moment=require(_0x84ee('0x4'));var BPromise=require(_0x84ee('0x5'));var rp=require(_0x84ee('0x6'));var fs=require('fs');var path=require(_0x84ee('0x7'));var rimraf=require(_0x84ee('0x8'));var config=require(_0x84ee('0x9'));var attributes=require('./whatsappTransferReport.attributes');module[_0x84ee('0xa')]=function(_0x348018,_0x186685){return _0x348018[_0x84ee('0xb')](_0x84ee('0xc'),attributes,{'tableName':'report_whatsapp_transfer','paranoid':![],'indexes':[{'name':_0x84ee('0xd'),'fields':[_0x84ee('0xd')]}],'timestamps':!![]});};