Built motion from commit (unavailable).|2.5.21
[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 _0x6bde=['api','request-promise','path','rimraf','../../config/environment','./whatsappTransferReport.attributes','exports','define','WhatsappTransferReport','report_whatsapp_transfer','uniqueid','lodash','util'];(function(_0x425c27,_0x1ff762){var _0x55b9b2=function(_0x94d059){while(--_0x94d059){_0x425c27['push'](_0x425c27['shift']());}};_0x55b9b2(++_0x1ff762);}(_0x6bde,0x102));var _0xe6bd=function(_0x38d5cc,_0x3617c8){_0x38d5cc=_0x38d5cc-0x0;var _0x5a2437=_0x6bde[_0x38d5cc];return _0x5a2437;};'use strict';var _=require(_0xe6bd('0x0'));var util=require(_0xe6bd('0x1'));var logger=require('../../config/logger')(_0xe6bd('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xe6bd('0x3'));var fs=require('fs');var path=require(_0xe6bd('0x4'));var rimraf=require(_0xe6bd('0x5'));var config=require(_0xe6bd('0x6'));var attributes=require(_0xe6bd('0x7'));module[_0xe6bd('0x8')]=function(_0x37fd25,_0x396866){return _0x37fd25[_0xe6bd('0x9')](_0xe6bd('0xa'),attributes,{'tableName':_0xe6bd('0xb'),'paranoid':![],'indexes':[{'name':_0xe6bd('0xc'),'fields':[_0xe6bd('0xc')]}],'timestamps':!![]});};