be70694bb86c7dede4fe523edc1db1fe9dc1142d
[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 _0x8aa2=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./whatsappTransferReport.attributes','report_whatsapp_transfer','uniqueid'];(function(_0x6afc9c,_0xf6b755){var _0x195d68=function(_0x48f1eb){while(--_0x48f1eb){_0x6afc9c['push'](_0x6afc9c['shift']());}};_0x195d68(++_0xf6b755);}(_0x8aa2,0x145));var _0x28aa=function(_0x5b212d,_0x1cca8c){_0x5b212d=_0x5b212d-0x0;var _0x3cca3b=_0x8aa2[_0x5b212d];return _0x3cca3b;};'use strict';var _=require(_0x28aa('0x0'));var util=require(_0x28aa('0x1'));var logger=require(_0x28aa('0x2'))(_0x28aa('0x3'));var moment=require(_0x28aa('0x4'));var BPromise=require(_0x28aa('0x5'));var rp=require(_0x28aa('0x6'));var fs=require('fs');var path=require(_0x28aa('0x7'));var rimraf=require(_0x28aa('0x8'));var config=require(_0x28aa('0x9'));var attributes=require(_0x28aa('0xa'));module['exports']=function(_0x3c14de,_0x129ff3){return _0x3c14de['define']('WhatsappTransferReport',attributes,{'tableName':_0x28aa('0xb'),'paranoid':![],'indexes':[{'name':_0x28aa('0xc'),'fields':[_0x28aa('0xc')]}],'timestamps':!![]});};