Built motion from commit 3c2ce842.|2.6.31
[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 _0x9b8a=['./whatsappTransferReport.attributes','WhatsappTransferReport','report_whatsapp_transfer','uniqueid','lodash','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x43282c,_0xa3b93b){var _0x4b15ec=function(_0x55e067){while(--_0x55e067){_0x43282c['push'](_0x43282c['shift']());}};_0x4b15ec(++_0xa3b93b);}(_0x9b8a,0xdc));var _0xa9b8=function(_0x5a3a81,_0x5e862f){_0x5a3a81=_0x5a3a81-0x0;var _0x59f7fa=_0x9b8a[_0x5a3a81];return _0x59f7fa;};'use strict';var _=require(_0xa9b8('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xa9b8('0x1'));var moment=require(_0xa9b8('0x2'));var BPromise=require(_0xa9b8('0x3'));var rp=require(_0xa9b8('0x4'));var fs=require('fs');var path=require(_0xa9b8('0x5'));var rimraf=require(_0xa9b8('0x6'));var config=require(_0xa9b8('0x7'));var attributes=require(_0xa9b8('0x8'));module['exports']=function(_0x4d9ed5,_0x14a910){return _0x4d9ed5['define'](_0xa9b8('0x9'),attributes,{'tableName':_0xa9b8('0xa'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xa9b8('0xb')]}],'timestamps':!![]});};