Built motion from commit 0900f080.|2.5.45
[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 _0xcbc6=['WhatsappTransferReport','report_whatsapp_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define'];(function(_0x546524,_0x4ba097){var _0x34e028=function(_0x5285fe){while(--_0x5285fe){_0x546524['push'](_0x546524['shift']());}};_0x34e028(++_0x4ba097);}(_0xcbc6,0xa8));var _0x6cbc=function(_0x16380c,_0xc55d7f){_0x16380c=_0x16380c-0x0;var _0x40b45d=_0xcbc6[_0x16380c];return _0x40b45d;};'use strict';var _=require(_0x6cbc('0x0'));var util=require(_0x6cbc('0x1'));var logger=require(_0x6cbc('0x2'))(_0x6cbc('0x3'));var moment=require(_0x6cbc('0x4'));var BPromise=require(_0x6cbc('0x5'));var rp=require(_0x6cbc('0x6'));var fs=require('fs');var path=require(_0x6cbc('0x7'));var rimraf=require(_0x6cbc('0x8'));var config=require(_0x6cbc('0x9'));var attributes=require('./whatsappTransferReport.attributes');module[_0x6cbc('0xa')]=function(_0x5bfc7b,_0x52d506){return _0x5bfc7b[_0x6cbc('0xb')](_0x6cbc('0xc'),attributes,{'tableName':_0x6cbc('0xd'),'paranoid':![],'indexes':[{'name':_0x6cbc('0xe'),'fields':[_0x6cbc('0xe')]}],'timestamps':!![]});};