heimdall-api-platform 3.17.0 → 3.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/dist/lib/clients/http-client.js +1 -1
  2. package/dist/lib/environment.js +1 -1
  3. package/dist/lib/factory/api-gateway.js +1 -1
  4. package/dist/lib/factory/client-factory.js +1 -1
  5. package/dist/lib/factory/function-factory.js +1 -1
  6. package/dist/lib/factory/operation-flow-factory.js +1 -1
  7. package/dist/lib/factory/server-factory.js +1 -1
  8. package/dist/lib/factory/transformation-function-factory.js +1 -1
  9. package/dist/lib/handle-route.js +1 -1
  10. package/dist/lib/index.js +1 -1
  11. package/dist/lib/integrations/commons-elasticsearch.js +1 -1
  12. package/dist/lib/integrations/commons-opensearch.js +1 -1
  13. package/dist/lib/integrations/commons-splunk.js +1 -1
  14. package/dist/lib/license/license-service.js +1 -1
  15. package/dist/lib/models/base-context.js +1 -1
  16. package/dist/lib/models/flow-context.js +1 -1
  17. package/dist/lib/models/monitor-request-view.js +1 -1
  18. package/dist/lib/models/route-context.js +1 -1
  19. package/dist/lib/models/security-route.js +1 -1
  20. package/dist/lib/models/service-context.js +1 -1
  21. package/dist/lib/models/service-group.js +1 -1
  22. package/dist/lib/models/service-route.js +1 -1
  23. package/dist/lib/models/splunk-data.js +1 -1
  24. package/dist/lib/observability/gateway-log-capture.js +1 -1
  25. package/dist/lib/observability/live-streams.js +1 -1
  26. package/dist/lib/observability/models/monitor-flow-step.js +1 -1
  27. package/dist/lib/observability/models/monitor-function-operation.js +1 -1
  28. package/dist/lib/observability/models/monitor-function-transformation.js +1 -1
  29. package/dist/lib/observability/models/monitor-http-operation.js +1 -1
  30. package/dist/lib/observability/models/monitor-mock-operation.js +1 -1
  31. package/dist/lib/observability/monitor-event-bus.js +1 -1
  32. package/dist/lib/observability/monitor-event.js +1 -1
  33. package/dist/lib/observability/subscribers/monitor-event-subscriber.js +1 -1
  34. package/dist/lib/observability/subscribers/opensearch-event-subscriber.js +1 -1
  35. package/dist/lib/observability/subscribers/redis-event-subscriber.js +1 -1
  36. package/dist/lib/observability/subscribers/spans-event-subscriber.js +1 -1
  37. package/dist/lib/observability/subscribers/splunk-event-subscriber.js +1 -1
  38. package/dist/lib/operations/abstract-operation.js +1 -1
  39. package/dist/lib/operations/function.js +1 -1
  40. package/dist/lib/operations/http.js +1 -1
  41. package/dist/lib/operations/mock.js +1 -1
  42. package/dist/lib/operations/monitor-check.js +1 -1
  43. package/dist/lib/orchestration-flow.js +1 -1
  44. package/dist/lib/router.js +1 -1
  45. package/dist/lib/routes/default-routes-admin.js +1 -1
  46. package/dist/lib/routes/default-routes-docs.js +1 -1
  47. package/dist/lib/routes/default-routes-ingest.js +1 -1
  48. package/dist/lib/routes/default-routes-llms.js +1 -1
  49. package/dist/lib/routes/default-routes-mcp.js +1 -1
  50. package/dist/lib/routes/default-routes-monitor-metrics.js +1 -1
  51. package/dist/lib/routes/default-routes-opensearch.js +1 -1
  52. package/dist/lib/routes/default-routes-pos.js +1 -1
  53. package/dist/lib/routes/default-routes-pre.js +1 -1
  54. package/dist/lib/routes/default-routes-redis.js +1 -1
  55. package/dist/lib/routes/llms-txt-builder.js +1 -1
  56. package/dist/lib/routes/native-routes-catalog.js +1 -1
  57. package/dist/lib/routes/route-catalog-builder.js +1 -1
  58. package/dist/lib/security/api-key-validator.js +1 -1
  59. package/dist/lib/security/basic-auth-validator.js +1 -1
  60. package/dist/lib/security/ingest-token-validator.js +1 -1
  61. package/dist/lib/security/jwt-util.js +1 -1
  62. package/dist/lib/security/quota-enforcer.js +1 -1
  63. package/dist/lib/security/rate-limiter.js +1 -1
  64. package/dist/lib/security/resolve-auth-secret.js +1 -1
  65. package/dist/lib/security/security-validation.js +1 -1
  66. package/dist/lib/services/api-key-service.js +1 -1
  67. package/dist/lib/services/consumer-service.js +1 -1
  68. package/dist/lib/services/fixed-window-rate-limit-service.js +1 -1
  69. package/dist/lib/services/health-service.js +1 -1
  70. package/dist/lib/services/ingest-error-service.js +1 -1
  71. package/dist/lib/services/log-ingest-service.js +1 -1
  72. package/dist/lib/services/logfmt-kv.js +1 -1
  73. package/dist/lib/services/metrics-service.js +1 -1
  74. package/dist/lib/services/monitor-metrics-service.js +1 -1
  75. package/dist/lib/services/otlp-ingest-service.js +1 -1
  76. package/dist/lib/services/otlp-protobuf.js +1 -1
  77. package/dist/lib/services/quota-service.js +1 -1
  78. package/dist/lib/services/rate-limit-service.js +1 -1
  79. package/dist/lib/services/server.js +1 -1
  80. package/dist/lib/services/trace-link-repair.js +1 -1
  81. package/dist/lib/storage/key-value-storage.js +1 -1
  82. package/dist/lib/utils/commons-cache.js +1 -1
  83. package/dist/lib/utils/commons-const.js +1 -1
  84. package/dist/lib/utils/commons-context.js +1 -1
  85. package/dist/lib/utils/commons-cookie.js +1 -1
  86. package/dist/lib/utils/commons-date.js +1 -1
  87. package/dist/lib/utils/commons-encoding.js +1 -1
  88. package/dist/lib/utils/commons-errors.js +1 -1
  89. package/dist/lib/utils/commons-headers.js +1 -1
  90. package/dist/lib/utils/commons-logger.js +1 -1
  91. package/dist/lib/utils/commons-trace.js +1 -1
  92. package/dist/lib/utils/commons-util.js +1 -1
  93. package/dist/lib/utils/document-utils.js +1 -1
  94. package/dist/lib/utils/monitor-filter-builder.js +1 -1
  95. package/dist/lib/utils/monitor-query-language.js +1 -1
  96. package/package.json +1 -1
package/dist/lib/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const _0xb9cba=_0x4cfc;(function(_0xf4c148,_0x521485){const _0x3de40d=_0x4cfc,_0x351c50=_0xf4c148();while(!![]){try{const _0x359981=parseInt(_0x3de40d(0x161))/0x1*(-parseInt(_0x3de40d(0x16f))/0x2)+-parseInt(_0x3de40d(0x172))/0x3+parseInt(_0x3de40d(0x153))/0x4*(parseInt(_0x3de40d(0x154))/0x5)+-parseInt(_0x3de40d(0x14a))/0x6+parseInt(_0x3de40d(0x179))/0x7*(-parseInt(_0x3de40d(0x178))/0x8)+parseInt(_0x3de40d(0x166))/0x9+parseInt(_0x3de40d(0x162))/0xa;if(_0x359981===_0x521485)break;else _0x351c50['push'](_0x351c50['shift']());}catch(_0x569299){_0x351c50['push'](_0x351c50['shift']());}}}(_0x3d79,0x9bb0e));function _0x4cfc(_0x343941,_0x6791bd){_0x343941=_0x343941-0x143;const _0x3d799b=_0x3d79();let _0x4cfc40=_0x3d799b[_0x343941];if(_0x4cfc['XRxMyw']===undefined){var _0x5980d7=function(_0x2cc59f){const _0x52c648='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x20989f='',_0x56a830='';for(let _0x4ba3d3=0x0,_0x2addc9,_0x34747c,_0x4f79b8=0x0;_0x34747c=_0x2cc59f['charAt'](_0x4f79b8++);~_0x34747c&&(_0x2addc9=_0x4ba3d3%0x4?_0x2addc9*0x40+_0x34747c:_0x34747c,_0x4ba3d3++%0x4)?_0x20989f+=String['fromCharCode'](0xff&_0x2addc9>>(-0x2*_0x4ba3d3&0x6)):0x0){_0x34747c=_0x52c648['indexOf'](_0x34747c);}for(let _0x1bca83=0x0,_0x315d3e=_0x20989f['length'];_0x1bca83<_0x315d3e;_0x1bca83++){_0x56a830+='%'+('00'+_0x20989f['charCodeAt'](_0x1bca83)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x56a830);};_0x4cfc['HfqGDo']=_0x5980d7,_0x4cfc['apLcMi']={},_0x4cfc['XRxMyw']=!![];}const _0x2908b5=_0x3d799b[0x0],_0x27edf2=_0x343941+_0x2908b5,_0xc43245=_0x4cfc['apLcMi'][_0x27edf2];return!_0xc43245?(_0x4cfc40=_0x4cfc['HfqGDo'](_0x4cfc40),_0x4cfc['apLcMi'][_0x27edf2]=_0x4cfc40):_0x4cfc40=_0xc43245,_0x4cfc40;}function _0x3d79(){const _0x2baa07=['zxjYB3i','C3rYAw5NAwz5sw5MBW','Dxb0Aw1L','zxHWB3j0CW','lI9VyNnLCNzHyMLSAxr5l3n1yNnJCMLIzxjZl21VBML0B3iTzxzLBNqTC3vIC2nYAwjLCG','CM91BMq','lI9VyNnLCNzHyMLSAxr5l21VBML0B3iTzxzLBNq','mte2wvHZDu5L','lI9VyNnLCNzHyMLSAxr5l3n1yNnJCMLIzxjZl29Wzw5ZzwfYy2GTzxzLBNqTC3vIC2nYAwjLCG','BwfJAgLUzuHVC3royw1L','mJK2mdq4ngrmDvHNyq','ihvWDgLTzt0','ruXmDeS','C3rHz2u9zxjYB3iGBwv0Ag9KpxvUy2f1z2H0rxHJzxb0Aw9UigvYCM9Ypq','zw52','tuiGAgvHCfrVDgfSpq','mZu4mJrZthzhwMC','mtC1n0jtBMHjCq','AgvHCfrVDgfS','zg90zw52','lI9Zzwn1CML0Es9QD3qTDxrPBa','lI9Zzxj2AwnLCY9HCgKTA2v5lxnLCNzPy2u','C3rHz2u9zxjYB3iGBwv0Ag9Kpvnjr1rfuK0GCgLKpq','lI9LBNzPCM9UBwvUDa','D2fYBMLUzW','txDIr3e','BwvTB3j5q2HLy2TjBNrLCNzHBa','mti5nZyZofjKDxPdDa','BMv4DfrPy2S','lI9VyNnLCNzHyMLSAxr5l3n1yNnJCMLIzxjZl3nWBhvUAY1LDMvUDc1ZDwjZy3jPyMvY','CNnZ','wvLLugG','C3rHz2u9Aw5MBYbTzxrOB2q9BwvTB3j5ihjZCZ0','lI9Zzwn1CML0Es9HCgKTA2v5lxzHBgLKyxrVCG','lI9ZDg9YywDLl2TLEs12ywX1zs1ZDg9YywDL','Dw5JyxvNAhrfEgnLChrPB24','mZzKsMrftwq','mJK3mJmWBhHvDLfe','lI9Mywn0B3j5l2fWAs1NyxrLD2f5','ChjVzhvJDgLVBG','u0Lhvevstq','y29UzMLN','yxbWBgLJyxrPB24','tK9erv9ftLy','lI9Zzwn1CML0Es9YyxrLlwXPBwL0zxi','uffSrfG','lI91DgLSCY9JB21TB25Zlxv0AwW','CgLK','CfzdsK0','BwvTB3j5vxnHz2u','nta4ouH4uwvytG','mJa0mZq0mZbuzfHwzey','tuiGAgvHCfvZzwq9','lI91DgLSCY9JB21TB25ZlwvYCM9YCW','lI9VyNnLCNzHyMLSAxr5l21VBML0B3iTzxzLBNqTyNvZ','nJeZmZq0nLLnAvHgqW','lI9Zzxj2AwnLCY9JB25ZDw1LCI1Zzxj2AwnL'];_0x3d79=function(){return _0x2baa07;};return _0x3d79();}require(_0xb9cba(0x17b))[_0xb9cba(0x158)]();const APIGateway=require(_0xb9cba(0x155)),Environment=require(_0xb9cba(0x146)),Util=require(_0xb9cba(0x15d)),JWTUtil=require(_0xb9cba(0x143)),{apiKeyValidator}=require(_0xb9cba(0x150)),{rateLimiter}=require(_0xb9cba(0x15b)),{quotaEnforcer}=require('./security/quota-enforcer'),Errors=require(_0xb9cba(0x164)),ClientFactory=require('./factory/client-factory'),CommonsCache=require('./utils/commons-cache'),KeyValueStorage=require(_0xb9cba(0x151)),{ConsumerService}=require(_0xb9cba(0x167)),{ApiKeyService}=require(_0xb9cba(0x144)),{RateLimitService}=require('./services/rate-limit-service'),{QuotaService}=require('./services/quota-service'),Const=require('./utils/commons-const'),DocumentUtils=require('./utils/document-utils'),MonitorEvent=require(_0xb9cba(0x16e)),MonitorEventBus=require(_0xb9cba(0x165)),MonitorEventSubscriber=require(_0xb9cba(0x16c)),OpenSearchEventSubscriber=require(_0xb9cba(0x170)),SplunkEventSubscriber=require(_0xb9cba(0x14c)),RedisEventSubscriber=require('./observability/subscribers/redis-event-subscriber');process[_0xb9cba(0x176)][_0xb9cba(0x15a)]===_0xb9cba(0x156)&&process['on'](_0xb9cba(0x152),function(_0x4c102e){const _0x4c528d=_0xb9cba;Util[_0x4c528d(0x168)](_0x4c528d(0x175)+Util[_0x4c528d(0x169)](_0x4c102e)),console['error'](_0x4c102e);});process['on'](_0xb9cba(0x157),function(){const _0x8bd14c=_0xb9cba,_0x2e78a4={'pVCJM':function(_0x5e4baf,_0x173e7a){return _0x5e4baf/_0x173e7a;},'MwbGq':function(_0x3a6aac,_0x4bd8f1){return _0x3a6aac/_0x4bd8f1;},'YYePh':function(_0x578b3c,_0x50e9d6){return _0x578b3c/_0x50e9d6;},'ELLtK':function(_0x13e8a4,_0x198a5e){return _0x13e8a4/_0x198a5e;}},_0x48c6d4=process['memoryUsage']();Util['error'](_0x8bd14c(0x145)+process[_0x8bd14c(0x15e)]+_0x8bd14c(0x173)+Math[_0x8bd14c(0x16d)](process[_0x8bd14c(0x16a)]())+'s\x20rss='+Math['round'](_0x2e78a4[_0x8bd14c(0x15f)](_0x2e78a4[_0x8bd14c(0x148)](_0x48c6d4[_0x8bd14c(0x14d)],0x400),0x400))+_0x8bd14c(0x163)+Math[_0x8bd14c(0x16d)](_0x2e78a4[_0x8bd14c(0x14e)](_0x2e78a4[_0x8bd14c(0x148)](_0x48c6d4['heapUsed'],0x400),0x400))+_0x8bd14c(0x177)+Math[_0x8bd14c(0x16d)](_0x2e78a4[_0x8bd14c(0x174)](_0x48c6d4[_0x8bd14c(0x17a)]/0x400,0x400))+'MB\x20host='+Util[_0x8bd14c(0x158)][_0x8bd14c(0x171)]),process['exit'](0x0);}),process[_0xb9cba(0x14b)](function memory(){const _0x40d6c4=_0xb9cba,_0x45c7b1={'otoej':function(_0x43d396,_0xcaa95){return _0x43d396/_0xcaa95;},'PQlDX':function(_0x5950d0,_0x2c8ad0,_0x35a268){return _0x5950d0(_0x2c8ad0,_0x35a268);}};Util[_0x40d6c4(0x147)](_0x40d6c4(0x14f)+Math[_0x40d6c4(0x16d)](_0x45c7b1['otoej'](_0x45c7b1['otoej'](process[_0x40d6c4(0x160)]()[_0x40d6c4(0x14d)],0x400),0x400))+'MB'),_0x45c7b1[_0x40d6c4(0x15c)](setTimeout,memory,Environment[_0x40d6c4(0x159)][_0x40d6c4(0x149)]);}),module[_0xb9cba(0x16b)]={'APIGateway':APIGateway,'Environment':Environment,'Const':Const,'Util':Util,'JWTUtil':JWTUtil,'ApiKeyValidator':apiKeyValidator,'RateLimiter':rateLimiter,'QuotaEnforcer':quotaEnforcer,'Errors':Errors,'ClientFactory':ClientFactory,'CommonsCache':CommonsCache,'KeyValueStorage':KeyValueStorage,'ConsumerService':ConsumerService,'ApiKeyService':ApiKeyService,'RateLimitService':RateLimitService,'QuotaService':QuotaService,'DocumentUtils':DocumentUtils,'Models':{'MonitorEvent':MonitorEvent},'Observability':{'MonitorEvent':MonitorEvent,'MonitorEventBus':MonitorEventBus,'Subscribers':{'MonitorEventSubscriber':MonitorEventSubscriber,'OpenSearchEventSubscriber':OpenSearchEventSubscriber,'SplunkEventSubscriber':SplunkEventSubscriber,'RedisEventSubscriber':RedisEventSubscriber}}};
2
+ 'use strict';const _0x26c00c=_0xc5e8;(function(_0x52a94d,_0x32963c){const _0x1722eb=_0xc5e8,_0x31b320=_0x52a94d();while(!![]){try{const _0x4bb49a=parseInt(_0x1722eb(0x200))/0x1+parseInt(_0x1722eb(0x20d))/0x2+parseInt(_0x1722eb(0x206))/0x3*(-parseInt(_0x1722eb(0x201))/0x4)+parseInt(_0x1722eb(0x217))/0x5+parseInt(_0x1722eb(0x21b))/0x6*(-parseInt(_0x1722eb(0x1f5))/0x7)+parseInt(_0x1722eb(0x20b))/0x8+-parseInt(_0x1722eb(0x225))/0x9*(parseInt(_0x1722eb(0x1fe))/0xa);if(_0x4bb49a===_0x32963c)break;else _0x31b320['push'](_0x31b320['shift']());}catch(_0x567fdb){_0x31b320['push'](_0x31b320['shift']());}}}(_0x677a,0x86e9b));function _0xc5e8(_0x508c69,_0x5256e0){_0x508c69=_0x508c69-0x1ef;const _0x677a5d=_0x677a();let _0xc5e86b=_0x677a5d[_0x508c69];if(_0xc5e8['beDSuO']===undefined){var _0x2562d7=function(_0x10f689){const _0x85b6b9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x20f5fc='',_0x13286e='';for(let _0x1ffcad=0x0,_0x56fbfc,_0x5d409f,_0x359057=0x0;_0x5d409f=_0x10f689['charAt'](_0x359057++);~_0x5d409f&&(_0x56fbfc=_0x1ffcad%0x4?_0x56fbfc*0x40+_0x5d409f:_0x5d409f,_0x1ffcad++%0x4)?_0x20f5fc+=String['fromCharCode'](0xff&_0x56fbfc>>(-0x2*_0x1ffcad&0x6)):0x0){_0x5d409f=_0x85b6b9['indexOf'](_0x5d409f);}for(let _0x36798e=0x0,_0x4d72f0=_0x20f5fc['length'];_0x36798e<_0x4d72f0;_0x36798e++){_0x13286e+='%'+('00'+_0x20f5fc['charCodeAt'](_0x36798e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x13286e);};_0xc5e8['kFtdPT']=_0x2562d7,_0xc5e8['ZfrfuR']={},_0xc5e8['beDSuO']=!![];}const _0x58eaf5=_0x677a5d[0x0],_0x599f96=_0x508c69+_0x58eaf5,_0x163589=_0xc5e8['ZfrfuR'][_0x599f96];return!_0x163589?(_0xc5e86b=_0xc5e8['kFtdPT'](_0xc5e86b),_0xc5e8['ZfrfuR'][_0x599f96]=_0xc5e86b):_0xc5e86b=_0x163589,_0xc5e86b;}require(_0x26c00c(0x1f6))[_0x26c00c(0x20c)]();const APIGateway=require(_0x26c00c(0x21a)),Environment=require(_0x26c00c(0x1f7)),Util=require(_0x26c00c(0x20f)),JWTUtil=require(_0x26c00c(0x210)),{apiKeyValidator}=require(_0x26c00c(0x211)),{rateLimiter}=require(_0x26c00c(0x214)),{quotaEnforcer}=require('./security/quota-enforcer'),Errors=require('./utils/commons-errors'),ClientFactory=require('./factory/client-factory'),CommonsCache=require(_0x26c00c(0x1fd)),KeyValueStorage=require(_0x26c00c(0x21f)),{ConsumerService}=require('./services/consumer-service'),{ApiKeyService}=require(_0x26c00c(0x1f2)),{RateLimitService}=require(_0x26c00c(0x1f1)),{QuotaService}=require(_0x26c00c(0x1ef)),Const=require(_0x26c00c(0x20e)),DocumentUtils=require(_0x26c00c(0x1fb)),MonitorEvent=require(_0x26c00c(0x21e)),MonitorEventBus=require('./observability/monitor-event-bus'),MonitorEventSubscriber=require('./observability/subscribers/monitor-event-subscriber'),OpenSearchEventSubscriber=require(_0x26c00c(0x216)),SplunkEventSubscriber=require(_0x26c00c(0x221)),RedisEventSubscriber=require(_0x26c00c(0x209));process[_0x26c00c(0x1f4)][_0x26c00c(0x20a)]===_0x26c00c(0x21d)&&process['on'](_0x26c00c(0x1fa),function(_0x1efcb2){const _0x1f6352=_0x26c00c;Util[_0x1f6352(0x212)]('stage=error\x20method=uncaughtException\x20error='+Util[_0x1f6352(0x213)](_0x1efcb2)),console['error'](_0x1efcb2);});process['on'](_0x26c00c(0x207),function(){const _0x35cdbd=_0x26c00c,_0x7ffdc={'ZeDlV':function(_0x3a8198,_0x520e6e){return _0x3a8198/_0x520e6e;},'hzoQY':function(_0x1f3bb4,_0xa9049d){return _0x1f3bb4/_0xa9049d;}},_0x1095b1=process['memoryUsage']();Util[_0x35cdbd(0x212)](_0x35cdbd(0x223)+process[_0x35cdbd(0x219)]+'\x20uptime='+Math[_0x35cdbd(0x1fc)](process[_0x35cdbd(0x208)]())+'s\x20rss='+Math['round'](_0x7ffdc[_0x35cdbd(0x1f3)](_0x1095b1['rss'],0x400)/0x400)+_0x35cdbd(0x218)+Math['round'](_0x7ffdc[_0x35cdbd(0x1f3)](_0x7ffdc[_0x35cdbd(0x1f3)](_0x1095b1[_0x35cdbd(0x204)],0x400),0x400))+_0x35cdbd(0x1ff)+Math[_0x35cdbd(0x1fc)](_0x7ffdc[_0x35cdbd(0x1f8)](_0x7ffdc[_0x35cdbd(0x1f3)](_0x1095b1[_0x35cdbd(0x203)],0x400),0x400))+'MB\x20host='+Util[_0x35cdbd(0x20c)][_0x35cdbd(0x21c)]),process[_0x35cdbd(0x220)](0x0);}),process['nextTick'](function memory(){const _0x5ef336=_0x26c00c,_0x247abe={'weGUx':function(_0x5e2623,_0xf289f7){return _0x5e2623/_0xf289f7;},'mNhJj':function(_0x50f1c1,_0x1f5a83,_0x145475){return _0x50f1c1(_0x1f5a83,_0x145475);}};Util['warning']('stage=info\x20method=memory\x20rss='+Math[_0x5ef336(0x1fc)](_0x247abe[_0x5ef336(0x202)](_0x247abe[_0x5ef336(0x202)](process[_0x5ef336(0x222)]()[_0x5ef336(0x1f0)],0x400),0x400))+'MB'),_0x247abe[_0x5ef336(0x224)](setTimeout,memory,Environment[_0x5ef336(0x215)][_0x5ef336(0x1f9)]);}),module[_0x26c00c(0x205)]={'APIGateway':APIGateway,'Environment':Environment,'Const':Const,'Util':Util,'JWTUtil':JWTUtil,'ApiKeyValidator':apiKeyValidator,'RateLimiter':rateLimiter,'QuotaEnforcer':quotaEnforcer,'Errors':Errors,'ClientFactory':ClientFactory,'CommonsCache':CommonsCache,'KeyValueStorage':KeyValueStorage,'ConsumerService':ConsumerService,'ApiKeyService':ApiKeyService,'RateLimitService':RateLimitService,'QuotaService':QuotaService,'DocumentUtils':DocumentUtils,'Models':{'MonitorEvent':MonitorEvent},'Observability':{'MonitorEvent':MonitorEvent,'MonitorEventBus':MonitorEventBus,'Subscribers':{'MonitorEventSubscriber':MonitorEventSubscriber,'OpenSearchEventSubscriber':OpenSearchEventSubscriber,'SplunkEventSubscriber':SplunkEventSubscriber,'RedisEventSubscriber':RedisEventSubscriber}}};function _0x677a(){const _0x291b00=['y29UzMLN','nZu3odqWCe5JrgXP','lI91DgLSCY9JB21TB25ZlwnVBNn0','lI91DgLSCY9JB21TB25Zlxv0AwW','lI9Zzwn1CML0Es9QD3qTDxrPBa','lI9Zzwn1CML0Es9HCgKTA2v5lxzHBgLKyxrVCG','zxjYB3i','C3rYAw5NAwz5sw5MBW','lI9Zzwn1CML0Es9YyxrLlwXPBwL0zxi','yxbWBgLJyxrPB24','lI9VyNnLCNzHyMLSAxr5l3n1yNnJCMLIzxjZl29Wzw5ZzwfYy2GTzxzLBNqTC3vIC2nYAwjLCG','ntK2mtmWCeLfvfnW','tuiGAgvHCfvZzwq9','CgLK','lI9Mywn0B3j5l2fWAs1NyxrLD2f5','nNDsv09gyG','BwfJAgLUzuHVC3royw1L','ChjVzhvJDgLVBG','lI9VyNnLCNzHyMLSAxr5l21VBML0B3iTzxzLBNq','lI9ZDg9YywDLl2TLEs12ywX1zs1ZDg9YywDL','zxHPDa','lI9VyNnLCNzHyMLSAxr5l3n1yNnJCMLIzxjZl3nWBhvUAY1LDMvUDc1ZDwjZy3jPyMvY','BwvTB3j5vxnHz2u','C3rHz2u9zxjYB3iGBwv0Ag9Kpvnjr1rfuK0GCgLKpq','Bu5OsMO','ndi2nMLVvwXVza','lI9Zzxj2AwnLCY9XDw90ys1Zzxj2AwnL','CNnZ','lI9Zzxj2AwnLCY9YyxrLlwXPBwL0lxnLCNzPy2u','lI9Zzxj2AwnLCY9HCgKTA2v5lxnLCNzPy2u','wMveBfy','zw52','mZeYmZa1rK1nAw1p','zg90zw52','lI9LBNzPCM9UBwvUDa','AhPVuvK','BwvTB3j5q2HLy2TjBNrLCNzHBa','Dw5JyxvNAhrfEgnLChrPB24','lI91DgLSCY9KB2n1BwvUDc11DgLSCW','CM91BMq','lI91DgLSCY9JB21TB25ZlwnHy2HL','mtm5mtbequz0tfC','tuiGAgvHCfrVDgfSpq','nJm1nJKXrwHly3Di','ntjwq2Xzquq','D2vhvxG','AgvHCfrVDgfS','AgvHCfvZzwq','zxHWB3j0CW','mtq2mdu4seXNqu9s','u0Lhvevstq','Dxb0Aw1L','lI9VyNnLCNzHyMLSAxr5l3n1yNnJCMLIzxjZl3jLzgLZlwv2zw50lxn1yNnJCMLIzxi','tK9erv9ftLy','nJa0nta2nhfZteXYCq'];_0x677a=function(){return _0x291b00;};return _0x677a();}
@@ -1 +1 @@
1
- 'use strict';const _0x48a94e=_0x20e4;(function(_0x14e0cd,_0x294ddf){const _0x41ef64=_0x20e4,_0x23796c=_0x14e0cd();while(!![]){try{const _0x26d522=-parseInt(_0x41ef64(0x1ef))/0x1+parseInt(_0x41ef64(0x1f5))/0x2+parseInt(_0x41ef64(0x1f0))/0x3*(parseInt(_0x41ef64(0x1e8))/0x4)+parseInt(_0x41ef64(0x205))/0x5+parseInt(_0x41ef64(0x203))/0x6*(parseInt(_0x41ef64(0x1ff))/0x7)+-parseInt(_0x41ef64(0x1f8))/0x8+-parseInt(_0x41ef64(0x1f4))/0x9;if(_0x26d522===_0x294ddf)break;else _0x23796c['push'](_0x23796c['shift']());}catch(_0x3ffe62){_0x23796c['push'](_0x23796c['shift']());}}}(_0x19e7,0xa8cfe));const Util=require(_0x48a94e(0x1ea)),{Client}=require(_0x48a94e(0x1e7)),HOST_DEFAULT=_0x48a94e(0x1ec);function _0x19e7(){const _0x57d656=['DxnLCG','CMTkAwC','Aw5MBW','n0nJt21Xuq','AxnfBMfIBgvK','AgfZt3DUuhjVCgvYDhK','y2fSBa','mJC2mZiXmgfPq3DnzG','z2v0sw5ZDgfUy2u','mJu0ndC1EvHnwu56','zwXHC3rPy3nLyxjJAa','ndK0ndG1nK5rAMPgwG','wLHzz0q','lI4VDxrPBhmVy29TBw9UCY11DgLS','zw5HyMXLrwXHC3rPy1nLyxjJAa','Bg9JywXOB3n0oJKYmda','CgfZC3DVCMq','zwXHC3rPy1nLyxjJAa','mJe3ndaXvenZB2nL','m29Pr2neBq','zgf3sM0','svbIEue','rLD5BgO','mta2nJG5mJrTBLLAv0C','mtCYotCZmeLRs2nIvq','C3rHz2u9Aw5PDcbTzxrOB2q9rwXHC3rPy1nLyxjJAc5JB25ZDhj1y3rVCIbTzxnZywDLpunYzwf0Aw5NievSyxn0AwntzwfYy2GGsw5ZDgfUy2uGAg9ZDd0','zw5HyMXLza','nde0ntC0nefcCKXptG','Ag9ZDa','ChjVDg90ExbL','Aw5ZDgfUy2u'];_0x19e7=function(){return _0x57d656;};return _0x19e7();}class ElasticSearch{constructor(_0x341dce){const _0x5ed9fc=_0x48a94e,_0x200969={'oiiaf':'enableElasticSearch','IPbyA':function(_0x39b667,_0x11c09c){return _0x39b667===_0x11c09c;},'FWylj':_0x5ed9fc(0x1fd),'ZXYgD':'elasticSearch','xBKYq':_0x5ed9fc(0x1f1)};this[_0x5ed9fc(0x1fb)]=null,this[_0x5ed9fc(0x1f7)]=Object['prototype']['hasOwnProperty'][_0x5ed9fc(0x202)](_0x341dce,_0x200969['oiiaf'])?_0x341dce[_0x5ed9fc(0x1eb)]:![];if(this[_0x5ed9fc(0x1f7)]){if(_0x200969['IPbyA'](_0x200969[_0x5ed9fc(0x1f3)],_0x200969[_0x5ed9fc(0x1f3)])){let _0x102939=Object[_0x5ed9fc(0x1fa)][_0x5ed9fc(0x201)][_0x5ed9fc(0x202)](_0x341dce,_0x200969[_0x5ed9fc(0x1e9)]);if(_0x102939){Util[_0x5ed9fc(0x1fe)](_0x5ed9fc(0x1f6)+(_0x341dce['elasticSearch'][_0x5ed9fc(0x1f9)]||HOST_DEFAULT));let _0xc3e987=_0x341dce[_0x5ed9fc(0x1ee)];const _0x151725={'host':_0xc3e987[_0x5ed9fc(0x1f9)]||HOST_DEFAULT};_0xc3e987['user']&&_0xc3e987[_0x5ed9fc(0x1ed)]&&(_0x151725['auth']={'username':_0xc3e987[_0x5ed9fc(0x1fc)],'password':_0xc3e987[_0x5ed9fc(0x1ed)]}),this[_0x5ed9fc(0x1fb)]=new Client(_0x151725);}}else return this[_0x5ed9fc(0x1f7)];}else{if(_0x200969[_0x5ed9fc(0x1f2)](_0x200969['xBKYq'],_0x5ed9fc(0x1f1)))this[_0x5ed9fc(0x1f7)]=![];else return this[_0x5ed9fc(0x1fb)];}}[_0x48a94e(0x204)](){const _0x4f46d4=_0x48a94e;return this[_0x4f46d4(0x1fb)];}[_0x48a94e(0x200)](){const _0x1261ae=_0x48a94e;return this[_0x1261ae(0x1f7)];}}function _0x20e4(_0x2a4fad,_0x4ef519){_0x2a4fad=_0x2a4fad-0x1e7;const _0x19e776=_0x19e7();let _0x20e483=_0x19e776[_0x2a4fad];if(_0x20e4['UOkUZG']===undefined){var _0x1d17c5=function(_0xf15ca1){const _0x526828='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x31c201='',_0x35d47c='';for(let _0x570b22=0x0,_0x4209ca,_0x2795f7,_0x5eb0d2=0x0;_0x2795f7=_0xf15ca1['charAt'](_0x5eb0d2++);~_0x2795f7&&(_0x4209ca=_0x570b22%0x4?_0x4209ca*0x40+_0x2795f7:_0x2795f7,_0x570b22++%0x4)?_0x31c201+=String['fromCharCode'](0xff&_0x4209ca>>(-0x2*_0x570b22&0x6)):0x0){_0x2795f7=_0x526828['indexOf'](_0x2795f7);}for(let _0x220296=0x0,_0xf91c9b=_0x31c201['length'];_0x220296<_0xf91c9b;_0x220296++){_0x35d47c+='%'+('00'+_0x31c201['charCodeAt'](_0x220296)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x35d47c);};_0x20e4['UzKvqE']=_0x1d17c5,_0x20e4['vxCkik']={},_0x20e4['UOkUZG']=!![];}const _0x16d94f=_0x19e776[0x0],_0x353ce6=_0x2a4fad+_0x16d94f,_0x40d37a=_0x20e4['vxCkik'][_0x353ce6];return!_0x40d37a?(_0x20e483=_0x20e4['UzKvqE'](_0x20e483),_0x20e4['vxCkik'][_0x353ce6]=_0x20e483):_0x20e483=_0x40d37a,_0x20e483;}exports['createClient']=function(_0x8a51b0){return new ElasticSearch(_0x8a51b0);};
1
+ 'use strict';function _0x4bc3(_0x560e63,_0x3ed89f){_0x560e63=_0x560e63-0xec;const _0xc83429=_0xc834();let _0x4bc36d=_0xc83429[_0x560e63];if(_0x4bc3['YhQVOJ']===undefined){var _0x4d4c28=function(_0x500e0f){const _0x1902ef='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xc64298='',_0x404da0='';for(let _0xf05642=0x0,_0x309f46,_0x1d8cf7,_0x149b72=0x0;_0x1d8cf7=_0x500e0f['charAt'](_0x149b72++);~_0x1d8cf7&&(_0x309f46=_0xf05642%0x4?_0x309f46*0x40+_0x1d8cf7:_0x1d8cf7,_0xf05642++%0x4)?_0xc64298+=String['fromCharCode'](0xff&_0x309f46>>(-0x2*_0xf05642&0x6)):0x0){_0x1d8cf7=_0x1902ef['indexOf'](_0x1d8cf7);}for(let _0x39c68b=0x0,_0x39968b=_0xc64298['length'];_0x39c68b<_0x39968b;_0x39c68b++){_0x404da0+='%'+('00'+_0xc64298['charCodeAt'](_0x39c68b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x404da0);};_0x4bc3['vePTWR']=_0x4d4c28,_0x4bc3['QhreVS']={},_0x4bc3['YhQVOJ']=!![];}const _0x51a1e9=_0xc83429[0x0],_0x291fb9=_0x560e63+_0x51a1e9,_0xb98827=_0x4bc3['QhreVS'][_0x291fb9];return!_0xb98827?(_0x4bc36d=_0x4bc3['vePTWR'](_0x4bc36d),_0x4bc3['QhreVS'][_0x291fb9]=_0x4bc36d):_0x4bc36d=_0xb98827,_0x4bc36d;}const _0xcfa586=_0x4bc3;function _0xc834(){const _0xe0d7bd=['Ag9ZDa','mZu5mZy0ofDTD0vzqG','A1DMC20','zwXHC3rPy1nLyxjJAa','mJy3mJaYwNrdBxbc','DKnLCue','CgfZC3DVCMq','mZiXody0yvzTzMfI','mJuXmtaXnJbtr2XgvwS','mtyXnJu0owLUAvzWzW','rhnWC0u','B1rKr2O','Ee9vBhq','vwHgEwe','mJD4A2TxB0W','Aw5MBW','ChjVDg90ExbL','zw5HyMXLza','tLPWtKG','zwXHC3rPy3nLyxjJAa','zw5HyMXLrwXHC3rPy1nLyxjJAa','Aw5ZDgfUy2u','C1PRyKC','C3rHz2u9Aw5PDcbTzxrOB2q9rwXHC3rPy1nLyxjJAc5JB25ZDhj1y3rVCIbTzxnZywDLpunYzwf0Aw5NievSyxn0AwntzwfYy2GGsw5ZDgfUy2uGAg9ZDd0','y2fSBa','n1PbyxDXtW','yxv0Aa','CxryD3K','ntC5nZK5ofn5qMf3yG','mtvpA0vrrLO','s21RAwS','DxnLCG','C3bgCvK','mZyWmteXnKT2AxjrAq','AgfZt3DUuhjVCgvYDhK','y3jLyxrLq2XPzw50'];_0xc834=function(){return _0xe0d7bd;};return _0xc834();}(function(_0xd4f8e5,_0x3803ef){const _0x3624a3=_0x4bc3,_0x5ae0f7=_0xd4f8e5();while(!![]){try{const _0x390732=parseInt(_0x3624a3(0x103))/0x1+parseInt(_0x3624a3(0xfe))/0x2*(parseInt(_0x3624a3(0x108))/0x3)+parseInt(_0x3624a3(0x101))/0x4*(-parseInt(_0x3624a3(0xf3))/0x5)+parseInt(_0x3624a3(0xf7))/0x6+parseInt(_0x3624a3(0xef))/0x7*(-parseInt(_0x3624a3(0xfb))/0x8)+parseInt(_0x3624a3(0xf2))/0x9+-parseInt(_0x3624a3(0x102))/0xa;if(_0x390732===_0x3803ef)break;else _0x5ae0f7['push'](_0x5ae0f7['shift']());}catch(_0x30e8db){_0x5ae0f7['push'](_0x5ae0f7['shift']());}}}(_0xc834,0xd2632));const Util=require('../utils/commons-util'),{Client}=require(_0xcfa586(0x10d)),HOST_DEFAULT='localhost:9200';class ElasticSearch{constructor(_0x2ef784){const _0x4940bd=_0xcfa586,_0x41fcc5={'NZpNH':_0x4940bd(0x10e),'oTdGj':function(_0x167862,_0x3ae030){return _0x167862!==_0x3ae030;},'xOUlt':_0x4940bd(0xf6),'DspsE':'elasticSearch','kWfsm':function(_0x421d44,_0x3419a6){return _0x421d44!==_0x3419a6;},'vCeqA':_0x4940bd(0xf4),'sZkbG':function(_0x2e1511,_0x4e115a){return _0x2e1511===_0x4e115a;},'nAqpI':_0x4940bd(0xf1)};this['instance']=null,this['enabled']=Object[_0x4940bd(0x10a)]['hasOwnProperty'][_0x4940bd(0xee)](_0x2ef784,_0x41fcc5[_0x4940bd(0x10c)])?_0x2ef784['enableElasticSearch']:![];if(this[_0x4940bd(0x10b)]){if(_0x41fcc5[_0x4940bd(0x105)](_0x41fcc5['xOUlt'],_0x41fcc5[_0x4940bd(0x106)]))this[_0x4940bd(0x10b)]=![];else{let _0x4a9220=Object[_0x4940bd(0x10a)][_0x4940bd(0xf8)][_0x4940bd(0xee)](_0x2ef784,_0x41fcc5[_0x4940bd(0x104)]);if(_0x4a9220){Util[_0x4940bd(0x109)](_0x4940bd(0xed)+(_0x2ef784[_0x4940bd(0xfd)][_0x4940bd(0xfa)]||HOST_DEFAULT));let _0x41634b=_0x2ef784[_0x4940bd(0xfd)];const _0x585d7d={'host':_0x41634b['host']||HOST_DEFAULT};if(_0x41634b['user']&&_0x41634b[_0x4940bd(0x100)]){if(_0x41fcc5[_0x4940bd(0xfc)](_0x41fcc5[_0x4940bd(0xff)],_0x4940bd(0x107)))_0x585d7d['auth']={'username':_0x41634b[_0x4940bd(0xf5)],'password':_0x41634b['password']};else return this[_0x4940bd(0x10f)];}this['instance']=new Client(_0x585d7d);}}}else{if(_0x41fcc5[_0x4940bd(0xec)](_0x4940bd(0xf1),_0x41fcc5['nAqpI']))this['enabled']=![];else{_0x195fd4[_0x4940bd(0x109)](_0x4940bd(0xed)+(_0x33cde3[_0x4940bd(0xfd)]['host']||_0x445202));let _0x4cabda=_0x502020[_0x4940bd(0xfd)];const _0x42d775={'host':_0x4cabda[_0x4940bd(0xfa)]||_0xec2eb2};_0x4cabda[_0x4940bd(0xf5)]&&_0x4cabda[_0x4940bd(0x100)]&&(_0x42d775[_0x4940bd(0xf0)]={'username':_0x4cabda['user'],'password':_0x4cabda[_0x4940bd(0x100)]}),this[_0x4940bd(0x10f)]=new _0x196a80(_0x42d775);}}}['getInstance'](){const _0x4e8a1f=_0xcfa586;return this[_0x4e8a1f(0x10f)];}['isEnabled'](){const _0x58597a=_0xcfa586;return this[_0x58597a(0x10b)];}}exports[_0xcfa586(0xf9)]=function(_0x3f27f1){return new ElasticSearch(_0x3f27f1);};