c902dd140901372abc6f32ce83766fe9ac5f7a05
[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 _0xeed2=['../../config/environment','./whatsappTransferReport.attributes','WhatsappTransferReport','report_whatsapp_transfer','uniqueid','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x53c313,_0x4c9000){var _0x449ca7=function(_0x230aa8){while(--_0x230aa8){_0x53c313['push'](_0x53c313['shift']());}};_0x449ca7(++_0x4c9000);}(_0xeed2,0x123));var _0x2eed=function(_0x151a4c,_0x473e79){_0x151a4c=_0x151a4c-0x0;var _0x29ce79=_0xeed2[_0x151a4c];return _0x29ce79;};'use strict';var _=require(_0x2eed('0x0'));var util=require(_0x2eed('0x1'));var logger=require(_0x2eed('0x2'))(_0x2eed('0x3'));var moment=require(_0x2eed('0x4'));var BPromise=require('bluebird');var rp=require(_0x2eed('0x5'));var fs=require('fs');var path=require(_0x2eed('0x6'));var rimraf=require(_0x2eed('0x7'));var config=require(_0x2eed('0x8'));var attributes=require(_0x2eed('0x9'));module['exports']=function(_0x14b379,_0x50aa84){return _0x14b379['define'](_0x2eed('0xa'),attributes,{'tableName':_0x2eed('0xb'),'paranoid':![],'indexes':[{'name':_0x2eed('0xc'),'fields':[_0x2eed('0xc')]}],'timestamps':!![]});};