Built motion from commit 2b9af5da.|2.6.26
[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 _0x6c3a=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','exports','define','WhatsappTransferReport','uniqueid'];(function(_0x49e5bd,_0x5c6768){var _0x4609ff=function(_0x45169e){while(--_0x45169e){_0x49e5bd['push'](_0x49e5bd['shift']());}};_0x4609ff(++_0x5c6768);}(_0x6c3a,0x1d4));var _0xa6c3=function(_0x1a0600,_0x41feef){_0x1a0600=_0x1a0600-0x0;var _0x734670=_0x6c3a[_0x1a0600];return _0x734670;};'use strict';var _=require(_0xa6c3('0x0'));var util=require(_0xa6c3('0x1'));var logger=require(_0xa6c3('0x2'))('api');var moment=require(_0xa6c3('0x3'));var BPromise=require(_0xa6c3('0x4'));var rp=require(_0xa6c3('0x5'));var fs=require('fs');var path=require(_0xa6c3('0x6'));var rimraf=require('rimraf');var config=require(_0xa6c3('0x7'));var attributes=require('./whatsappTransferReport.attributes');module[_0xa6c3('0x8')]=function(_0x50f3c3,_0x585b01){return _0x50f3c3[_0xa6c3('0x9')](_0xa6c3('0xa'),attributes,{'tableName':'report_whatsapp_transfer','paranoid':![],'indexes':[{'name':_0xa6c3('0xb'),'fields':[_0xa6c3('0xb')]}],'timestamps':!![]});};