3f1d17476e52c1718c98c1bd97f2d97fac4fddd2
[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 _0xefcd=['define','WhatsappTransferReport','uniqueid','util','moment','bluebird','request-promise','path','rimraf','../../config/environment','./whatsappTransferReport.attributes'];(function(_0x4bceac,_0x1e37e9){var _0x1eaaf8=function(_0x3fd9c9){while(--_0x3fd9c9){_0x4bceac['push'](_0x4bceac['shift']());}};_0x1eaaf8(++_0x1e37e9);}(_0xefcd,0x142));var _0xdefc=function(_0x42cae2,_0x284ef8){_0x42cae2=_0x42cae2-0x0;var _0x5f256f=_0xefcd[_0x42cae2];return _0x5f256f;};'use strict';var _=require('lodash');var util=require(_0xdefc('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xdefc('0x1'));var BPromise=require(_0xdefc('0x2'));var rp=require(_0xdefc('0x3'));var fs=require('fs');var path=require(_0xdefc('0x4'));var rimraf=require(_0xdefc('0x5'));var config=require(_0xdefc('0x6'));var attributes=require(_0xdefc('0x7'));module['exports']=function(_0x54c089,_0x3c8891){return _0x54c089[_0xdefc('0x8')](_0xdefc('0x9'),attributes,{'tableName':'report_whatsapp_transfer','paranoid':![],'indexes':[{'name':_0xdefc('0xa'),'fields':[_0xdefc('0xa')]}],'timestamps':!![]});};