heimdall-api-platform 3.18.2 → 3.19.1

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 (98) 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/rate-limit-docs.js +1 -0
  58. package/dist/lib/routes/route-catalog-builder.js +1 -1
  59. package/dist/lib/security/api-key-validator.js +1 -1
  60. package/dist/lib/security/basic-auth-validator.js +1 -1
  61. package/dist/lib/security/ingest-token-validator.js +1 -1
  62. package/dist/lib/security/jwt-util.js +1 -1
  63. package/dist/lib/security/quota-enforcer.js +1 -1
  64. package/dist/lib/security/rate-limiter.js +1 -1
  65. package/dist/lib/security/resolve-auth-secret.js +1 -1
  66. package/dist/lib/security/security-validation.js +1 -1
  67. package/dist/lib/services/api-key-service.js +1 -1
  68. package/dist/lib/services/consumer-service.js +1 -1
  69. package/dist/lib/services/fixed-window-rate-limit-service.js +1 -1
  70. package/dist/lib/services/health-service.js +1 -1
  71. package/dist/lib/services/ingest-error-service.js +1 -1
  72. package/dist/lib/services/log-ingest-service.js +1 -1
  73. package/dist/lib/services/logfmt-kv.js +1 -1
  74. package/dist/lib/services/metrics-service.js +1 -1
  75. package/dist/lib/services/monitor-metrics-service.js +1 -1
  76. package/dist/lib/services/otlp-ingest-service.js +1 -1
  77. package/dist/lib/services/otlp-protobuf.js +1 -1
  78. package/dist/lib/services/quota-service.js +1 -1
  79. package/dist/lib/services/rate-limit-service.js +1 -1
  80. package/dist/lib/services/server.js +1 -1
  81. package/dist/lib/services/trace-link-repair.js +1 -1
  82. package/dist/lib/storage/key-value-storage.js +1 -1
  83. package/dist/lib/utils/commons-cache.js +1 -1
  84. package/dist/lib/utils/commons-card-data-mask.js +1 -1
  85. package/dist/lib/utils/commons-const.js +1 -1
  86. package/dist/lib/utils/commons-context.js +1 -1
  87. package/dist/lib/utils/commons-cookie.js +1 -1
  88. package/dist/lib/utils/commons-date.js +1 -1
  89. package/dist/lib/utils/commons-encoding.js +1 -1
  90. package/dist/lib/utils/commons-errors.js +1 -1
  91. package/dist/lib/utils/commons-headers.js +1 -1
  92. package/dist/lib/utils/commons-logger.js +1 -1
  93. package/dist/lib/utils/commons-trace.js +1 -1
  94. package/dist/lib/utils/commons-util.js +1 -1
  95. package/dist/lib/utils/document-utils.js +1 -1
  96. package/dist/lib/utils/monitor-filter-builder.js +1 -1
  97. package/dist/lib/utils/monitor-query-language.js +1 -1
  98. package/package.json +2 -2
package/dist/lib/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const _0x5e4590=_0x103a;function _0xa264(){const _0x12bd5a=['ChjVzhvJDgLVBG','lI9ZDg9YywDLl2TLEs12ywX1zs1ZDg9YywDL','uer3rKq','lI9Zzxj2AwnLCY9HCgKTA2v5lxnLCNzPy2u','mZfkBhnQyui','AwjbEgS','tffqBLC','lI9Zzwn1CML0Es9HCgKTA2v5lxzHBgLKyxrVCG','lI9LBNzPCM9UBwvUDa','lI9VyNnLCNzHyMLSAxr5l3n1yNnJCMLIzxjZl21VBML0B3iTzxzLBNqTC3vIC2nYAwjLCG','tuiGAgvHCfrVDgfSpq','nda3nZy2sgnmru5M','mtGXnZDnq05uugq','lI9Mywn0B3j5l2fWAs1NyxrLD2f5','CNnZ','ndaXodG3mKvWBwPjuq','lI9Zzxj2AwnLCY9YyxrLlwXPBwL0lxnLCNzPy2u','lI91DgLSCY9KB2n1BwvUDc11DgLSCW','lI9Zzwn1CML0Es9YyxrLlwXPBwL0zxi','lI91DgLSCY9JB21TB25ZlwvYCM9YCW','lI91DgLSCY9JB21TB25ZlwnHy2HL','CM91BMq','u0Lhvevstq','mJi5nZi5mg9LDun6Dq','mZznBefwC0i','AgvHCfvZzwq','lI91DgLSCY9JB21TB25ZlwnVBNn0','C3rYAw5NAwz5sw5MBW','y29UzMLN','nduWmgLhz2jTsa','mtK0otHiv3HRuNq','C3rHz2u9Aw5MBYbTzxrOB2q9BwvTB3j5ihjZCZ0','lI9VyNnLCNzHyMLSAxr5l21VBML0B3iTzxzLBNq','lI9Zzxj2AwnLCY9JB25ZDw1LCI1Zzxj2AwnL','zxjYB3i','Dw5JyxvNAhrfEgnLChrPB24','lI9VyNnLCNzHyMLSAxr5l3n1yNnJCMLIzxjZl3nWBhvUAY1LDMvUDc1ZDwjZy3jPyMvY','C3rHz2u9zxjYB3iGBwv0Ag9Kpvnjr1rfuK0GCgLKpq','zw52','lI9Zzwn1CML0Es9XDw90ys1LBMzVCMnLCG','BMv4DfrPy2S','ntuWwu1fy2jI','Dxb0Aw1L','zg90zw52','nJeYodC4meLqzuLxEG','zxHWB3j0CW','ihvWDgLTzt0','zxHPDa','lI9VyNnLCNzHyMLSAxr5l3n1yNnJCMLIzxjZl3jLzgLZlwv2zw50lxn1yNnJCMLIzxi','tK9erv9ftLy','ognuANLysW','C3rHz2u9zxjYB3iGBwv0Ag9KpxvUy2f1z2H0rxHJzxb0Aw9UigvYCM9Ypq','BwfJAgLUzuHVC3royw1L','lI9VyNnLCNzHyMLSAxr5l21VBML0B3iTzxzLBNqTyNvZ','BwvTB3j5vxnHz2u'];_0xa264=function(){return _0x12bd5a;};return _0xa264();}(function(_0x36ca0b,_0x1ca252){const _0x58bd94=_0x103a,_0x5bd497=_0x36ca0b();while(!![]){try{const _0x3204a1=parseInt(_0x58bd94(0x11e))/0x1*(parseInt(_0x58bd94(0x138))/0x2)+parseInt(_0x58bd94(0x126))/0x3*(parseInt(_0x58bd94(0x132))/0x4)+-parseInt(_0x58bd94(0x131))/0x5+parseInt(_0x58bd94(0x125))/0x6+-parseInt(_0x58bd94(0x146))/0x7*(-parseInt(_0x58bd94(0x14c))/0x8)+-parseInt(_0x58bd94(0x137))/0x9*(-parseInt(_0x58bd94(0x143))/0xa)+-parseInt(_0x58bd94(0x129))/0xb;if(_0x3204a1===_0x1ca252)break;else _0x5bd497['push'](_0x5bd497['shift']());}catch(_0xf0382e){_0x5bd497['push'](_0x5bd497['shift']());}}}(_0xa264,0x7ac9d));require(_0x5e4590(0x145))[_0x5e4590(0x136)]();function _0x103a(_0x193089,_0xc51181){_0x193089=_0x193089-0x11a;const _0xa2647c=_0xa264();let _0x103a95=_0xa2647c[_0x193089];if(_0x103a['bgMyhs']===undefined){var _0x51f87d=function(_0x26a389){const _0x1c98bd='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x42b9be='',_0x1983f5='';for(let _0x5aa493=0x0,_0x13dd7a,_0x4a506e,_0x4fcbd3=0x0;_0x4a506e=_0x26a389['charAt'](_0x4fcbd3++);~_0x4a506e&&(_0x13dd7a=_0x5aa493%0x4?_0x13dd7a*0x40+_0x4a506e:_0x4a506e,_0x5aa493++%0x4)?_0x42b9be+=String['fromCharCode'](0xff&_0x13dd7a>>(-0x2*_0x5aa493&0x6)):0x0){_0x4a506e=_0x1c98bd['indexOf'](_0x4a506e);}for(let _0x97cbed=0x0,_0x1ee708=_0x42b9be['length'];_0x97cbed<_0x1ee708;_0x97cbed++){_0x1983f5+='%'+('00'+_0x42b9be['charCodeAt'](_0x97cbed)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1983f5);};_0x103a['ljlXhX']=_0x51f87d,_0x103a['DrnjrY']={},_0x103a['bgMyhs']=!![];}const _0x4da261=_0xa2647c[0x0],_0x590ad8=_0x193089+_0x4da261,_0xed0eb1=_0x103a['DrnjrY'][_0x590ad8];return!_0xed0eb1?(_0x103a95=_0x103a['ljlXhX'](_0x103a95),_0x103a['DrnjrY'][_0x590ad8]=_0x103a95):_0x103a95=_0xed0eb1,_0x103a95;}const APIGateway=require(_0x5e4590(0x127)),Environment=require(_0x5e4590(0x122)),Util=require('./utils/commons-util'),JWTUtil=require('./security/jwt-util'),{apiKeyValidator}=require(_0x5e4590(0x121)),{rateLimiter}=require(_0x5e4590(0x12c)),{quotaEnforcer}=require(_0x5e4590(0x141)),Errors=require(_0x5e4590(0x12d)),ClientFactory=require('./factory/client-factory'),CommonsCache=require(_0x5e4590(0x12e)),KeyValueStorage=require(_0x5e4590(0x11b)),{ConsumerService}=require(_0x5e4590(0x13b)),{ApiKeyService}=require(_0x5e4590(0x11d)),{RateLimitService}=require(_0x5e4590(0x12a)),{QuotaService}=require('./services/quota-service'),Const=require(_0x5e4590(0x134)),DocumentUtils=require(_0x5e4590(0x12b)),MonitorEvent=require(_0x5e4590(0x13a)),MonitorEventBus=require(_0x5e4590(0x14f)),MonitorEventSubscriber=require(_0x5e4590(0x123)),OpenSearchEventSubscriber=require('./observability/subscribers/opensearch-event-subscriber'),SplunkEventSubscriber=require(_0x5e4590(0x13e)),RedisEventSubscriber=require(_0x5e4590(0x14a));process[_0x5e4590(0x140)][_0x5e4590(0x14b)]===_0x5e4590(0x11a)&&process['on'](_0x5e4590(0x13d),function(_0x430bdf){const _0x26ca7b=_0x5e4590;Util['error'](_0x26ca7b(0x14d)+Util[_0x26ca7b(0x135)](_0x430bdf)),console['error'](_0x430bdf);});process['on'](_0x5e4590(0x130),function(){const _0x5535be=_0x5e4590,_0x2373fa={'LQPnW':function(_0x2ed907,_0x2b3d65){return _0x2ed907/_0x2b3d65;},'ibAxk':function(_0x13ab2a,_0x59385d){return _0x13ab2a/_0x59385d;},'nnzGN':function(_0x1f5318,_0x1ff059){return _0x1f5318/_0x1ff059;}},_0x266e84=process['memoryUsage']();Util[_0x5535be(0x13c)](_0x5535be(0x13f)+process['pid']+_0x5535be(0x148)+Math[_0x5535be(0x12f)](process[_0x5535be(0x144)]())+'s\x20rss='+Math['round'](_0x266e84[_0x5535be(0x128)]/0x400/0x400)+'MB\x20heapUsed='+Math['round'](_0x2373fa[_0x5535be(0x120)](_0x2373fa[_0x5535be(0x11f)](_0x266e84[_0x5535be(0x133)],0x400),0x400))+_0x5535be(0x124)+Math[_0x5535be(0x12f)](_0x2373fa['nnzGN'](_0x266e84['heapTotal'],0x400)/0x400)+'MB\x20host='+Util[_0x5535be(0x136)][_0x5535be(0x14e)]),process[_0x5535be(0x149)](0x0);}),process[_0x5e4590(0x142)](function memory(){const _0x2d6382=_0x5e4590,_0x324978={'TBdCR':function(_0x2e882c,_0x5f0ce5){return _0x2e882c/_0x5f0ce5;},'PDwFD':function(_0x50d8a2,_0x37da7e){return _0x50d8a2/_0x37da7e;}};Util['warning'](_0x2d6382(0x139)+Math[_0x2d6382(0x12f)](_0x324978['TBdCR'](_0x324978[_0x2d6382(0x11c)](process[_0x2d6382(0x150)]()[_0x2d6382(0x128)],0x400),0x400))+'MB'),setTimeout(memory,Environment['application']['memoryCheckInterval']);}),module[_0x5e4590(0x147)]={'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 _0x483cc9=_0x44ab;function _0x4e8c(){const _0xc16ea0=['BwfJAgLUzuHVC3royw1L','mty0odG4n3zcExfMta','ChjVzhvJDgLVBG','lI9VyNnLCNzHyMLSAxr5l21VBML0B3iTzxzLBNqTyNvZ','uxj6Cei','C3rHz2u9zxjYB3iGBwv0Ag9Kpvnjr1rfuK0GCgLKpq','lI9Zzwn1CML0Es9XDw90ys1LBMzVCMnLCG','lI9VyNnLCNzHyMLSAxr5l21VBML0B3iTzxzLBNq','lI91DgLSCY9JB21TB25ZlwnHy2HL','lI9Zzxj2AwnLCY9XDw90ys1Zzxj2AwnL','AgvHCfvZzwq','CYbYC3m9','CgLK','odi0DxfIC2TI','zwvlDg4','CM91BMq','CNnZ','zw52','mti2rhLgy3vp','Dxb0Aw1L','yxbWBgLJyxrPB24','mZKWnZm5ofrQELjvta','mJu0ody2mNrAvuPKAq','C3rHz2u9zxjYB3iGBwv0Ag9KpxvUy2f1z2H0rxHJzxb0Aw9UigvYCM9Ypq','BMv4DfrPy2S','lI9Zzwn1CML0Es9QD3qTDxrPBa','BwvTB3j5vxnHz2u','u0Lhvevstq','ote0ndb1tgHjr0W','lI9VyNnLCNzHyMLSAxr5l3n1yNnJCMLIzxjZl29Wzw5ZzwfYy2GTzxzLBNqTC3vIC2nYAwjLCG','lI9Zzxj2AwnLCY9JB25ZDw1LCI1Zzxj2AwnL','lI9Mywn0B3j5l2nSAwvUDc1Mywn0B3j5','ndqWntaZEhbTAfvp','zg90zw52','D2fYBMLUzW','lI9Mywn0B3j5l2fWAs1NyxrLD2f5','mZjfyMnty2C','lI9LBNzPCM9UBwvUDa','ihvWDgLTzt0','mtG0odvmrufRr1O','tuiGAg9ZDd0','y29UzMLN','lI9Zzxj2AwnLCY9YyxrLlwXPBwL0lxnLCNzPy2u','ntu0m3HKuhnWrW','lI9Zzwn1CML0Es9YyxrLlwXPBwL0zxi','AgvHCfrVDgfS','lI9Zzxj2AwnLCY9HCgKTA2v5lxnLCNzPy2u','lI9ZDg9YywDLl2TLEs12ywX1zs1ZDg9YywDL','mZi2sfbdveTA','lI9VyNnLCNzHyMLSAxr5l3n1yNnJCMLIzxjZl3jLzgLZlwv2zw50lxn1yNnJCMLIzxi','zxHWB3j0CW','turRrfu','tuiGAgvHCfvZzwq9','lI91DgLSCY9KB2n1BwvUDc11DgLSCW','lI91DgLSCY9JB21TB25ZlwnVBNn0','lI91DgLSCY9JB21TB25Zlxv0AwW'];_0x4e8c=function(){return _0xc16ea0;};return _0x4e8c();}(function(_0x2f11ac,_0x18caa4){const _0x28e1b8=_0x44ab,_0x46e2d2=_0x2f11ac();while(!![]){try{const _0x35c58b=parseInt(_0x28e1b8(0x1bb))/0x1*(parseInt(_0x28e1b8(0x1c0))/0x2)+-parseInt(_0x28e1b8(0x1c9))/0x3+-parseInt(_0x28e1b8(0x1d5))/0x4*(parseInt(_0x28e1b8(0x1b7))/0x5)+parseInt(_0x28e1b8(0x1de))/0x6+parseInt(_0x28e1b8(0x1e8))/0x7*(parseInt(_0x28e1b8(0x1b4))/0x8)+-parseInt(_0x28e1b8(0x1da))/0x9*(parseInt(_0x28e1b8(0x1e4))/0xa)+parseInt(_0x28e1b8(0x1dd))/0xb;if(_0x35c58b===_0x18caa4)break;else _0x46e2d2['push'](_0x46e2d2['shift']());}catch(_0xc310b5){_0x46e2d2['push'](_0x46e2d2['shift']());}}}(_0x4e8c,0x79179));require(_0x483cc9(0x1e9))[_0x483cc9(0x1b9)]();function _0x44ab(_0x4a95b3,_0x10b190){_0x4a95b3=_0x4a95b3-0x1b4;const _0x4e8ca4=_0x4e8c();let _0x44ab04=_0x4e8ca4[_0x4a95b3];if(_0x44ab['zlWonu']===undefined){var _0x5d6be4=function(_0x75a31e){const _0x2e5257='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x275a1a='',_0x26762f='';for(let _0x14a40c=0x0,_0x236e46,_0x1506d5,_0x266888=0x0;_0x1506d5=_0x75a31e['charAt'](_0x266888++);~_0x1506d5&&(_0x236e46=_0x14a40c%0x4?_0x236e46*0x40+_0x1506d5:_0x1506d5,_0x14a40c++%0x4)?_0x275a1a+=String['fromCharCode'](0xff&_0x236e46>>(-0x2*_0x14a40c&0x6)):0x0){_0x1506d5=_0x2e5257['indexOf'](_0x1506d5);}for(let _0x31670f=0x0,_0x185514=_0x275a1a['length'];_0x31670f<_0x185514;_0x31670f++){_0x26762f+='%'+('00'+_0x275a1a['charCodeAt'](_0x31670f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x26762f);};_0x44ab['zxrhrv']=_0x5d6be4,_0x44ab['wONVKX']={},_0x44ab['zlWonu']=!![];}const _0x40d8db=_0x4e8ca4[0x0],_0x47083b=_0x4a95b3+_0x40d8db,_0x4953ad=_0x44ab['wONVKX'][_0x47083b];return!_0x4953ad?(_0x44ab04=_0x44ab['zxrhrv'](_0x44ab04),_0x44ab['wONVKX'][_0x47083b]=_0x44ab04):_0x44ab04=_0x4953ad,_0x44ab04;}const APIGateway=require(_0x483cc9(0x1eb)),Environment=require(_0x483cc9(0x1b5)),Util=require(_0x483cc9(0x1c7)),JWTUtil=require(_0x483cc9(0x1e1)),{apiKeyValidator}=require('./security/api-key-validator'),{rateLimiter}=require(_0x483cc9(0x1bc)),{quotaEnforcer}=require(_0x483cc9(0x1ce)),Errors=require('./utils/commons-errors'),ClientFactory=require(_0x483cc9(0x1e7)),CommonsCache=require(_0x483cc9(0x1d0)),KeyValueStorage=require(_0x483cc9(0x1bf)),{ConsumerService}=require(_0x483cc9(0x1e6)),{ApiKeyService}=require(_0x483cc9(0x1be)),{RateLimitService}=require(_0x483cc9(0x1ba)),{QuotaService}=require(_0x483cc9(0x1d1)),Const=require(_0x483cc9(0x1c6)),DocumentUtils=require(_0x483cc9(0x1c5)),MonitorEvent=require(_0x483cc9(0x1cf)),MonitorEventBus=require(_0x483cc9(0x1cb)),MonitorEventSubscriber=require('./observability/subscribers/monitor-event-subscriber'),OpenSearchEventSubscriber=require(_0x483cc9(0x1e5)),SplunkEventSubscriber=require('./observability/subscribers/splunk-event-subscriber'),RedisEventSubscriber=require(_0x483cc9(0x1c1));process[_0x483cc9(0x1d9)]['NODE_ENV']===_0x483cc9(0x1ca)&&process['on']('uncaughtException',function(_0x5bcf9a){const _0x5c223a=_0x483cc9;Util['error'](_0x5c223a(0x1df)+Util['stringifyInfo'](_0x5bcf9a)),console['error'](_0x5bcf9a);});process['on'](_0x483cc9(0x1e3),function(){const _0x1cd26c=_0x483cc9,_0x2e2127={'QrzpB':function(_0x20fc20,_0x3673e0){return _0x20fc20/_0x3673e0;}},_0x122f57=process[_0x1cd26c(0x1e2)]();Util['error'](_0x1cd26c(0x1cd)+process[_0x1cd26c(0x1d4)]+_0x1cd26c(0x1b6)+Math[_0x1cd26c(0x1d7)](process[_0x1cd26c(0x1db)]())+_0x1cd26c(0x1d3)+Math[_0x1cd26c(0x1d7)](_0x122f57[_0x1cd26c(0x1d8)]/0x400/0x400)+_0x1cd26c(0x1c4)+Math[_0x1cd26c(0x1d7)](_0x2e2127[_0x1cd26c(0x1cc)](_0x2e2127[_0x1cd26c(0x1cc)](_0x122f57[_0x1cd26c(0x1d2)],0x400),0x400))+'MB\x20heapTotal='+Math[_0x1cd26c(0x1d7)](_0x122f57[_0x1cd26c(0x1bd)]/0x400/0x400)+_0x1cd26c(0x1b8)+Util[_0x1cd26c(0x1b9)][_0x1cd26c(0x1c8)]),process['exit'](0x0);}),process[_0x483cc9(0x1e0)](function memory(){const _0x2615f6=_0x483cc9,_0x4c80b5={'MDkDU':function(_0x113f74,_0x271f69){return _0x113f74/_0x271f69;},'eeKtn':function(_0x3d6b04,_0x58b3a2){return _0x3d6b04/_0x58b3a2;}};Util[_0x2615f6(0x1ea)]('stage=info\x20method=memory\x20rss='+Math['round'](_0x4c80b5[_0x2615f6(0x1c3)](_0x4c80b5[_0x2615f6(0x1d6)](process[_0x2615f6(0x1e2)]()[_0x2615f6(0x1d8)],0x400),0x400))+'MB'),setTimeout(memory,Environment[_0x2615f6(0x1dc)]['memoryCheckInterval']);}),module[_0x483cc9(0x1c2)]={'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}}};
@@ -1 +1 @@
1
- 'use strict';function _0x37aa(_0x1de770,_0x4b201e){_0x1de770=_0x1de770-0x11b;const _0x265837=_0x2658();let _0x37aa7c=_0x265837[_0x1de770];if(_0x37aa['runQXR']===undefined){var _0x4d818a=function(_0x2febbe){const _0x4796e8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x52d635='',_0x52998c='';for(let _0x47f989=0x0,_0x5e5353,_0x29b4f1,_0x23ecfd=0x0;_0x29b4f1=_0x2febbe['charAt'](_0x23ecfd++);~_0x29b4f1&&(_0x5e5353=_0x47f989%0x4?_0x5e5353*0x40+_0x29b4f1:_0x29b4f1,_0x47f989++%0x4)?_0x52d635+=String['fromCharCode'](0xff&_0x5e5353>>(-0x2*_0x47f989&0x6)):0x0){_0x29b4f1=_0x4796e8['indexOf'](_0x29b4f1);}for(let _0x51e8a3=0x0,_0x4fcbb7=_0x52d635['length'];_0x51e8a3<_0x4fcbb7;_0x51e8a3++){_0x52998c+='%'+('00'+_0x52d635['charCodeAt'](_0x51e8a3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x52998c);};_0x37aa['VIrUva']=_0x4d818a,_0x37aa['jlBect']={},_0x37aa['runQXR']=!![];}const _0x2ef972=_0x265837[0x0],_0x37b900=_0x1de770+_0x2ef972,_0xf86703=_0x37aa['jlBect'][_0x37b900];return!_0xf86703?(_0x37aa7c=_0x37aa['VIrUva'](_0x37aa7c),_0x37aa['jlBect'][_0x37b900]=_0x37aa7c):_0x37aa7c=_0xf86703,_0x37aa7c;}const _0xae7fc4=_0x37aa;(function(_0x27bc85,_0x214cfd){const _0x2a248c=_0x37aa,_0x2c6e11=_0x27bc85();while(!![]){try{const _0x2a0867=parseInt(_0x2a248c(0x11d))/0x1+-parseInt(_0x2a248c(0x135))/0x2*(-parseInt(_0x2a248c(0x12c))/0x3)+parseInt(_0x2a248c(0x128))/0x4+-parseInt(_0x2a248c(0x12d))/0x5+parseInt(_0x2a248c(0x122))/0x6+-parseInt(_0x2a248c(0x11f))/0x7+-parseInt(_0x2a248c(0x123))/0x8*(-parseInt(_0x2a248c(0x12e))/0x9);if(_0x2a0867===_0x214cfd)break;else _0x2c6e11['push'](_0x2c6e11['shift']());}catch(_0x2b996c){_0x2c6e11['push'](_0x2c6e11['shift']());}}}(_0x2658,0x93162));function _0x2658(){const _0x2dd10a=['CgfZC3DVCMq','mty4nJGWz1HeyNrZ','Bg9JywXOB3n0oJKYmda','DwThAxq','rLD2uM0','m1jRvKn0CW','mJyZodK3mfnhv1HSva','mZm0nZi0nhfYCgjjuW','Aw5MBW','y2fSBa','DxnLCG','zw5HyMXLza','ChjVDg90ExbL','EwL5EMm','mZC4nty4AhrUENz2','AgfZt3DUuhjVCgvYDhK','y3jLyxrLq2XPzw50','nte1mdy1EgzkBgPo','EhjMtLi','nZG3mJaYnuHOtuzyEa','Aw5ZDgfUy2u','yxv0Aa','mJm1ntqWoefothbZsq','mJrSt3rIt0u','zw5HyMXLrwXHC3rPy1nLyxjJAa','lI4VDxrPBhmVy29TBw9UCY11DgLS','zwXHC3rPy1nLyxjJAa'];_0x2658=function(){return _0x2dd10a;};return _0x2658();}const Util=require(_0xae7fc4(0x125)),{Client}=require('elasticsearch'),HOST_DEFAULT=_0xae7fc4(0x129);class ElasticSearch{constructor(_0xecd0b0){const _0x55bf7d=_0xae7fc4,_0x42f712={'cKVMs':function(_0x4e289d,_0x431142){return _0x4e289d===_0x431142;},'OglPH':_0x55bf7d(0x134),'FWvRm':_0x55bf7d(0x126),'xrfNR':_0x55bf7d(0x12a)};this[_0x55bf7d(0x120)]=null,this['enabled']=Object[_0x55bf7d(0x133)][_0x55bf7d(0x11b)]['call'](_0xecd0b0,'enableElasticSearch')?_0xecd0b0[_0x55bf7d(0x124)]:![];if(this['enabled']){if(_0x42f712['cKVMs']('yiyzc',_0x42f712['OglPH'])){let _0x1c13b3=Object[_0x55bf7d(0x133)][_0x55bf7d(0x11b)][_0x55bf7d(0x130)](_0xecd0b0,_0x42f712[_0x55bf7d(0x12b)]);if(_0x1c13b3){Util[_0x55bf7d(0x12f)]('stage=init\x20method=ElasticSearch.constructor\x20message=Creating\x20ElasticSearch\x20Instance\x20host='+(_0xecd0b0['elasticSearch']['host']||HOST_DEFAULT));let _0x346a6a=_0xecd0b0[_0x55bf7d(0x126)];const _0x365947={'host':_0x346a6a['host']||HOST_DEFAULT};_0x346a6a['user']&&_0x346a6a[_0x55bf7d(0x127)]&&(_0x365947[_0x55bf7d(0x121)]={'username':_0x346a6a[_0x55bf7d(0x131)],'password':_0x346a6a[_0x55bf7d(0x127)]}),this[_0x55bf7d(0x120)]=new Client(_0x365947);}}else return this[_0x55bf7d(0x132)];}else _0x42f712[_0x55bf7d(0x11e)]!==_0x55bf7d(0x12a)?this[_0x55bf7d(0x132)]=![]:this['enabled']=![];}['getInstance'](){return this['instance'];}['isEnabled'](){const _0xff1fdc=_0xae7fc4;return this[_0xff1fdc(0x132)];}}exports[_0xae7fc4(0x11c)]=function(_0x23bb2f){return new ElasticSearch(_0x23bb2f);};
1
+ 'use strict';const _0x5006c3=_0x1458;(function(_0x301899,_0x37cb5f){const _0x56e21b=_0x1458,_0x10807d=_0x301899();while(!![]){try{const _0x5f1fd6=-parseInt(_0x56e21b(0x188))/0x1*(-parseInt(_0x56e21b(0x1a6))/0x2)+-parseInt(_0x56e21b(0x1a2))/0x3*(parseInt(_0x56e21b(0x1a5))/0x4)+-parseInt(_0x56e21b(0x194))/0x5+parseInt(_0x56e21b(0x1a7))/0x6*(-parseInt(_0x56e21b(0x18f))/0x7)+parseInt(_0x56e21b(0x189))/0x8*(parseInt(_0x56e21b(0x196))/0x9)+parseInt(_0x56e21b(0x1aa))/0xa+-parseInt(_0x56e21b(0x1ad))/0xb*(-parseInt(_0x56e21b(0x192))/0xc);if(_0x5f1fd6===_0x37cb5f)break;else _0x10807d['push'](_0x10807d['shift']());}catch(_0xee38c3){_0x10807d['push'](_0x10807d['shift']());}}}(_0x3561,0x90f46));function _0x1458(_0x11e8d2,_0x2d9f33){_0x11e8d2=_0x11e8d2-0x188;const _0x3561b8=_0x3561();let _0x145880=_0x3561b8[_0x11e8d2];if(_0x1458['iYkYXX']===undefined){var _0x3b6742=function(_0x2dc6fa){const _0x59eea9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x521e34='',_0x15f3eb='';for(let _0x4ddadc=0x0,_0x517821,_0x5e9171,_0x20471e=0x0;_0x5e9171=_0x2dc6fa['charAt'](_0x20471e++);~_0x5e9171&&(_0x517821=_0x4ddadc%0x4?_0x517821*0x40+_0x5e9171:_0x5e9171,_0x4ddadc++%0x4)?_0x521e34+=String['fromCharCode'](0xff&_0x517821>>(-0x2*_0x4ddadc&0x6)):0x0){_0x5e9171=_0x59eea9['indexOf'](_0x5e9171);}for(let _0x59a92f=0x0,_0x2aace8=_0x521e34['length'];_0x59a92f<_0x2aace8;_0x59a92f++){_0x15f3eb+='%'+('00'+_0x521e34['charCodeAt'](_0x59a92f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x15f3eb);};_0x1458['wGYmyG']=_0x3b6742,_0x1458['dAOjJR']={},_0x1458['iYkYXX']=!![];}const _0x30ba6f=_0x3561b8[0x0],_0x52e0c0=_0x11e8d2+_0x30ba6f,_0x47978d=_0x1458['dAOjJR'][_0x52e0c0];return!_0x47978d?(_0x145880=_0x1458['wGYmyG'](_0x145880),_0x1458['dAOjJR'][_0x52e0c0]=_0x145880):_0x145880=_0x47978d,_0x145880;}function _0x3561(){const _0x46f0a5=['DxnLCG','ntqWnLfAvvDvqG','tePosw4','AgfZt3DUuhjVCgvYDhK','ntK2yxbPr2vI','nJG0nJiYshv3t0vN','ntmXmdC4meLxrKTsAG','z2v0sw5ZDgfUy2u','DgXRzNa','mteXmdC2mhf1s3vKuW','zwXHC3rPy1nLyxjJAa','zw5HyMXLrwXHC3rPy1nLyxjJAa','mtfxreTrtwq','v1DLrKm','Ag9ZDa','mwTuuhLUta','mZjks0XSzNK','Befrz28','y2fSBa','y3jLyxrLq2XPzw50','yxv0Aa','AxnfBMfIBgvK','n3Dur1zOAG','Aw5MBW','wgHbufm','mtaZndqWnJbVtvnvyuS','senVrNG','mJa4ntC3mffIqMHtqW','qKTutg4','mtKXmduYovbbtgjTCW','vefkENK','vLDcAMe','ChjVDg90ExbL','zw5HyMXLza','C3rHz2u9Aw5PDcbTzxrOB2q9rwXHC3rPy1nLyxjJAc5JB25ZDhj1y3rVCIbTzxnZywDLpunYzwf0Aw5NievSyxn0AwntzwfYy2GGsw5ZDgfUy2uGAg9ZDd0','lI4VDxrPBhmVy29TBw9UCY11DgLS','Aw5ZDgfUy2u','rgnrCK0','Bg9JywXOB3n0oJKYmda','CgfZC3DVCMq'];_0x3561=function(){return _0x46f0a5;};return _0x3561();}const Util=require(_0x5006c3(0x19c)),{Client}=require('elasticsearch'),HOST_DEFAULT=_0x5006c3(0x19f);class ElasticSearch{constructor(_0xcdf1f4){const _0xe6d77c=_0x5006c3,_0x3e0daa={'TAJzy':_0xe6d77c(0x1ab),'BKTLn':_0xe6d77c(0x1ac),'HCoFx':function(_0x1fef8c,_0x17888a){return _0x1fef8c!==_0x17888a;},'lAQgo':_0xe6d77c(0x1a9),'VWBja':function(_0x4d3348,_0x3e8829){return _0x4d3348===_0x3e8829;},'LJNIn':_0xe6d77c(0x19e),'WWeFC':_0xe6d77c(0x191)};this['instance']=null,this[_0xe6d77c(0x19a)]=Object[_0xe6d77c(0x199)][_0xe6d77c(0x1a4)][_0xe6d77c(0x18b)](_0xcdf1f4,_0x3e0daa[_0xe6d77c(0x195)])?_0xcdf1f4[_0xe6d77c(0x1ac)]:![];if(this[_0xe6d77c(0x19a)]){if(_0x3e0daa[_0xe6d77c(0x193)](_0x3e0daa[_0xe6d77c(0x18a)],_0x3e0daa['lAQgo']))this[_0xe6d77c(0x19a)]=![];else{let _0x15b7db=Object['prototype']['hasOwnProperty'][_0xe6d77c(0x18b)](_0xcdf1f4,_0x3e0daa[_0xe6d77c(0x197)]);if(_0x15b7db){Util[_0xe6d77c(0x190)](_0xe6d77c(0x19b)+(_0xcdf1f4[_0xe6d77c(0x1ab)][_0xe6d77c(0x1af)]||HOST_DEFAULT));let _0x138791=_0xcdf1f4[_0xe6d77c(0x1ab)];const _0x4547cb={'host':_0x138791[_0xe6d77c(0x1af)]||HOST_DEFAULT};if(_0x138791['user']&&_0x138791['password']){if(_0x3e0daa[_0xe6d77c(0x198)](_0x3e0daa[_0xe6d77c(0x1a3)],_0x3e0daa[_0xe6d77c(0x1ae)])){let _0x5a920c=_0x15e868[_0xe6d77c(0x199)][_0xe6d77c(0x1a4)][_0xe6d77c(0x18b)](_0x4a6beb,_0x3e0daa[_0xe6d77c(0x197)]);if(_0x5a920c){_0x499f38[_0xe6d77c(0x190)](_0xe6d77c(0x19b)+(_0x499819[_0xe6d77c(0x1ab)][_0xe6d77c(0x1af)]||_0x2ddfc5));let _0x45e689=_0x8d47d0[_0xe6d77c(0x1ab)];const _0x34df2a={'host':_0x45e689[_0xe6d77c(0x1af)]||_0xe76402};_0x45e689[_0xe6d77c(0x1a1)]&&_0x45e689['password']&&(_0x34df2a[_0xe6d77c(0x18d)]={'username':_0x45e689[_0xe6d77c(0x1a1)],'password':_0x45e689[_0xe6d77c(0x1a0)]}),this['instance']=new _0x3b2728(_0x34df2a);}}else _0x4547cb[_0xe6d77c(0x18d)]={'username':_0x138791[_0xe6d77c(0x1a1)],'password':_0x138791[_0xe6d77c(0x1a0)]};}this[_0xe6d77c(0x19d)]=new Client(_0x4547cb);}}}else this[_0xe6d77c(0x19a)]=![];}[_0x5006c3(0x1a8)](){const _0x213716=_0x5006c3;return this[_0x213716(0x19d)];}[_0x5006c3(0x18e)](){const _0x22db98=_0x5006c3;return this[_0x22db98(0x19a)];}}exports[_0x5006c3(0x18c)]=function(_0x21a6f9){return new ElasticSearch(_0x21a6f9);};