Built motion from commit (unavailable).|2.5.22
[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 _0x6df5=['exports','define','report_whatsapp_transfer','uniqueid','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./whatsappTransferReport.attributes'];(function(_0x536539,_0x177246){var _0x3c2f29=function(_0x4f0efa){while(--_0x4f0efa){_0x536539['push'](_0x536539['shift']());}};_0x3c2f29(++_0x177246);}(_0x6df5,0x12a));var _0x56df=function(_0x4139b8,_0x554564){_0x4139b8=_0x4139b8-0x0;var _0x40c6d6=_0x6df5[_0x4139b8];return _0x40c6d6;};'use strict';var _=require('lodash');var util=require(_0x56df('0x0'));var logger=require(_0x56df('0x1'))(_0x56df('0x2'));var moment=require(_0x56df('0x3'));var BPromise=require(_0x56df('0x4'));var rp=require(_0x56df('0x5'));var fs=require('fs');var path=require(_0x56df('0x6'));var rimraf=require(_0x56df('0x7'));var config=require(_0x56df('0x8'));var attributes=require(_0x56df('0x9'));module[_0x56df('0xa')]=function(_0x21dc17,_0x5ec3b2){return _0x21dc17[_0x56df('0xb')]('WhatsappTransferReport',attributes,{'tableName':_0x56df('0xc'),'paranoid':![],'indexes':[{'name':_0x56df('0xd'),'fields':[_0x56df('0xd')]}],'timestamps':!![]});};