Built motion from commit 9e1399f3.|2.5.37
[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 _0xe6a7=['moment','bluebird','request-promise','path','../../config/environment','./whatsappTransferReport.attributes','exports','define','WhatsappTransferReport','report_whatsapp_transfer','uniqueid','lodash','util','../../config/logger','api'];(function(_0xca877,_0x1ad358){var _0x3d7691=function(_0x57bc76){while(--_0x57bc76){_0xca877['push'](_0xca877['shift']());}};_0x3d7691(++_0x1ad358);}(_0xe6a7,0x128));var _0x7e6a=function(_0x33db5e,_0x4a807c){_0x33db5e=_0x33db5e-0x0;var _0x154c97=_0xe6a7[_0x33db5e];return _0x154c97;};'use strict';var _=require(_0x7e6a('0x0'));var util=require(_0x7e6a('0x1'));var logger=require(_0x7e6a('0x2'))(_0x7e6a('0x3'));var moment=require(_0x7e6a('0x4'));var BPromise=require(_0x7e6a('0x5'));var rp=require(_0x7e6a('0x6'));var fs=require('fs');var path=require(_0x7e6a('0x7'));var rimraf=require('rimraf');var config=require(_0x7e6a('0x8'));var attributes=require(_0x7e6a('0x9'));module[_0x7e6a('0xa')]=function(_0x4b913a,_0x416565){return _0x4b913a[_0x7e6a('0xb')](_0x7e6a('0xc'),attributes,{'tableName':_0x7e6a('0xd'),'paranoid':![],'indexes':[{'name':_0x7e6a('0xe'),'fields':[_0x7e6a('0xe')]}],'timestamps':!![]});};