Built motion from commit c116dc8b.|2.6.30
[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 _0x150a=['WhatsappTransferReport','report_whatsapp_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./whatsappTransferReport.attributes','exports','define'];(function(_0x196325,_0x3e3df1){var _0x418802=function(_0x30c436){while(--_0x30c436){_0x196325['push'](_0x196325['shift']());}};_0x418802(++_0x3e3df1);}(_0x150a,0x15c));var _0xa150=function(_0x42ee5a,_0x23bc15){_0x42ee5a=_0x42ee5a-0x0;var _0x40d05a=_0x150a[_0x42ee5a];return _0x40d05a;};'use strict';var _=require(_0xa150('0x0'));var util=require(_0xa150('0x1'));var logger=require(_0xa150('0x2'))(_0xa150('0x3'));var moment=require(_0xa150('0x4'));var BPromise=require(_0xa150('0x5'));var rp=require(_0xa150('0x6'));var fs=require('fs');var path=require(_0xa150('0x7'));var rimraf=require('rimraf');var config=require(_0xa150('0x8'));var attributes=require(_0xa150('0x9'));module[_0xa150('0xa')]=function(_0x10ad63,_0x2b4a0b){return _0x10ad63[_0xa150('0xb')](_0xa150('0xc'),attributes,{'tableName':_0xa150('0xd'),'paranoid':![],'indexes':[{'name':_0xa150('0xe'),'fields':[_0xa150('0xe')]}],'timestamps':!![]});};