Built motion from commit (unavailable).|2.5.7
[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 _0x6324=['../../config/logger','api','bluebird','request-promise','path','rimraf','./whatsappTransferReport.attributes','exports','define','WhatsappTransferReport','report_whatsapp_transfer','uniqueid','lodash','util'];(function(_0x4a0e68,_0x45c08c){var _0x4fb274=function(_0x5f36b1){while(--_0x5f36b1){_0x4a0e68['push'](_0x4a0e68['shift']());}};_0x4fb274(++_0x45c08c);}(_0x6324,0xec));var _0x4632=function(_0x162b73,_0x128905){_0x162b73=_0x162b73-0x0;var _0x22e1b6=_0x6324[_0x162b73];return _0x22e1b6;};'use strict';var _=require(_0x4632('0x0'));var util=require(_0x4632('0x1'));var logger=require(_0x4632('0x2'))(_0x4632('0x3'));var moment=require('moment');var BPromise=require(_0x4632('0x4'));var rp=require(_0x4632('0x5'));var fs=require('fs');var path=require(_0x4632('0x6'));var rimraf=require(_0x4632('0x7'));var config=require('../../config/environment');var attributes=require(_0x4632('0x8'));module[_0x4632('0x9')]=function(_0x23cc69,_0x15eed5){return _0x23cc69[_0x4632('0xa')](_0x4632('0xb'),attributes,{'tableName':_0x4632('0xc'),'paranoid':![],'indexes':[{'name':_0x4632('0xd'),'fields':['uniqueid']}],'timestamps':!![]});};