Built motion from commit 39adb707.|2.6.14
[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 _0xdaed=['exports','WhatsappTransferReport','uniqueid','lodash','util','api','moment','path','rimraf','../../config/environment','./whatsappTransferReport.attributes'];(function(_0x5c9295,_0x49da94){var _0x53aafb=function(_0x142bff){while(--_0x142bff){_0x5c9295['push'](_0x5c9295['shift']());}};_0x53aafb(++_0x49da94);}(_0xdaed,0x18f));var _0xddae=function(_0x1f1885,_0x24834a){_0x1f1885=_0x1f1885-0x0;var _0x1c892b=_0xdaed[_0x1f1885];return _0x1c892b;};'use strict';var _=require(_0xddae('0x0'));var util=require(_0xddae('0x1'));var logger=require('../../config/logger')(_0xddae('0x2'));var moment=require(_0xddae('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xddae('0x4'));var rimraf=require(_0xddae('0x5'));var config=require(_0xddae('0x6'));var attributes=require(_0xddae('0x7'));module[_0xddae('0x8')]=function(_0x21f70d,_0x51d9f0){return _0x21f70d['define'](_0xddae('0x9'),attributes,{'tableName':'report_whatsapp_transfer','paranoid':![],'indexes':[{'name':_0xddae('0xa'),'fields':[_0xddae('0xa')]}],'timestamps':!![]});};