cribl-control-plane 0.5.0-beta.4 → 0.5.0-beta.5

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 (162) hide show
  1. package/dist/commonjs/lib/config.d.ts +3 -3
  2. package/dist/commonjs/lib/config.js +3 -3
  3. package/dist/commonjs/models/collectorazureblob.d.ts +643 -19
  4. package/dist/commonjs/models/collectorazureblob.d.ts.map +1 -1
  5. package/dist/commonjs/models/collectorazureblob.js +437 -20
  6. package/dist/commonjs/models/collectorazureblob.js.map +1 -1
  7. package/dist/commonjs/models/collectorconf.d.ts +26 -2
  8. package/dist/commonjs/models/collectorconf.d.ts.map +1 -1
  9. package/dist/commonjs/models/collectorconf.js +12 -12
  10. package/dist/commonjs/models/collectorconf.js.map +1 -1
  11. package/dist/commonjs/models/collectorgooglecloudstorage.d.ts +316 -19
  12. package/dist/commonjs/models/collectorgooglecloudstorage.d.ts.map +1 -1
  13. package/dist/commonjs/models/collectorgooglecloudstorage.js +222 -20
  14. package/dist/commonjs/models/collectorgooglecloudstorage.js.map +1 -1
  15. package/dist/commonjs/models/collectorhealthcheck.d.ts +3635 -72
  16. package/dist/commonjs/models/collectorhealthcheck.d.ts.map +1 -1
  17. package/dist/commonjs/models/collectorhealthcheck.js +2828 -126
  18. package/dist/commonjs/models/collectorhealthcheck.js.map +1 -1
  19. package/dist/commonjs/models/collectorrest.d.ts +6369 -147
  20. package/dist/commonjs/models/collectorrest.d.ts.map +1 -1
  21. package/dist/commonjs/models/collectorrest.js +5232 -96
  22. package/dist/commonjs/models/collectorrest.js.map +1 -1
  23. package/dist/commonjs/models/collectors3.d.ts +1003 -34
  24. package/dist/commonjs/models/collectors3.d.ts.map +1 -1
  25. package/dist/commonjs/models/collectors3.js +653 -32
  26. package/dist/commonjs/models/collectors3.js.map +1 -1
  27. package/dist/commonjs/models/collectorsplunk.d.ts +1803 -82
  28. package/dist/commonjs/models/collectorsplunk.d.ts.map +1 -1
  29. package/dist/commonjs/models/collectorsplunk.js +1320 -50
  30. package/dist/commonjs/models/collectorsplunk.js.map +1 -1
  31. package/dist/commonjs/models/functionconfschemahandlebars.d.ts +46 -0
  32. package/dist/commonjs/models/functionconfschemahandlebars.d.ts.map +1 -0
  33. package/dist/commonjs/models/{functionconfschemahandlebar.js → functionconfschemahandlebars.js} +12 -11
  34. package/dist/commonjs/models/functionconfschemahandlebars.js.map +1 -0
  35. package/dist/commonjs/models/functionconfschemanotificationpolicies.d.ts +5 -0
  36. package/dist/commonjs/models/functionconfschemanotificationpolicies.d.ts.map +1 -1
  37. package/dist/commonjs/models/functionconfschemanotificationpolicies.js +2 -0
  38. package/dist/commonjs/models/functionconfschemanotificationpolicies.js.map +1 -1
  39. package/dist/commonjs/models/{functionhandlebar.d.ts → functionhandlebars.d.ts} +7 -7
  40. package/dist/commonjs/models/functionhandlebars.d.ts.map +1 -0
  41. package/dist/commonjs/models/{functionhandlebar.js → functionhandlebars.js} +9 -9
  42. package/dist/commonjs/models/functionhandlebars.js.map +1 -0
  43. package/dist/commonjs/models/functionresponse.d.ts +2 -2
  44. package/dist/commonjs/models/functionresponse.d.ts.map +1 -1
  45. package/dist/commonjs/models/functionresponse.js +2 -2
  46. package/dist/commonjs/models/functionresponse.js.map +1 -1
  47. package/dist/commonjs/models/index.d.ts +3 -3
  48. package/dist/commonjs/models/index.d.ts.map +1 -1
  49. package/dist/commonjs/models/index.js +3 -3
  50. package/dist/commonjs/models/index.js.map +1 -1
  51. package/dist/commonjs/models/pipelinefunctionconf.d.ts +2 -2
  52. package/dist/commonjs/models/pipelinefunctionconf.d.ts.map +1 -1
  53. package/dist/commonjs/models/pipelinefunctionconf.js +2 -2
  54. package/dist/commonjs/models/pipelinefunctionconf.js.map +1 -1
  55. package/dist/commonjs/models/pipelinefunctionconfinput.d.ts +3 -3
  56. package/dist/commonjs/models/pipelinefunctionconfinput.d.ts.map +1 -1
  57. package/dist/commonjs/models/pipelinefunctionconfinput.js +2 -2
  58. package/dist/commonjs/models/pipelinefunctionconfinput.js.map +1 -1
  59. package/dist/commonjs/models/pipelinefunctionhandlebars.d.ts +109 -0
  60. package/dist/commonjs/models/pipelinefunctionhandlebars.d.ts.map +1 -0
  61. package/dist/commonjs/models/pipelinefunctionhandlebars.js +114 -0
  62. package/dist/commonjs/models/pipelinefunctionhandlebars.js.map +1 -0
  63. package/dist/esm/lib/config.d.ts +3 -3
  64. package/dist/esm/lib/config.js +3 -3
  65. package/dist/esm/models/collectorazureblob.d.ts +643 -19
  66. package/dist/esm/models/collectorazureblob.d.ts.map +1 -1
  67. package/dist/esm/models/collectorazureblob.js +412 -17
  68. package/dist/esm/models/collectorazureblob.js.map +1 -1
  69. package/dist/esm/models/collectorconf.d.ts +26 -2
  70. package/dist/esm/models/collectorconf.d.ts.map +1 -1
  71. package/dist/esm/models/collectorconf.js +12 -12
  72. package/dist/esm/models/collectorconf.js.map +1 -1
  73. package/dist/esm/models/collectorgooglecloudstorage.d.ts +316 -19
  74. package/dist/esm/models/collectorgooglecloudstorage.d.ts.map +1 -1
  75. package/dist/esm/models/collectorgooglecloudstorage.js +209 -17
  76. package/dist/esm/models/collectorgooglecloudstorage.js.map +1 -1
  77. package/dist/esm/models/collectorhealthcheck.d.ts +3635 -72
  78. package/dist/esm/models/collectorhealthcheck.d.ts.map +1 -1
  79. package/dist/esm/models/collectorhealthcheck.js +2681 -119
  80. package/dist/esm/models/collectorhealthcheck.js.map +1 -1
  81. package/dist/esm/models/collectorrest.d.ts +6369 -147
  82. package/dist/esm/models/collectorrest.d.ts.map +1 -1
  83. package/dist/esm/models/collectorrest.js +4941 -83
  84. package/dist/esm/models/collectorrest.js.map +1 -1
  85. package/dist/esm/models/collectors3.d.ts +1003 -34
  86. package/dist/esm/models/collectors3.d.ts.map +1 -1
  87. package/dist/esm/models/collectors3.js +631 -29
  88. package/dist/esm/models/collectors3.js.map +1 -1
  89. package/dist/esm/models/collectorsplunk.d.ts +1803 -82
  90. package/dist/esm/models/collectorsplunk.d.ts.map +1 -1
  91. package/dist/esm/models/collectorsplunk.js +1261 -43
  92. package/dist/esm/models/collectorsplunk.js.map +1 -1
  93. package/dist/esm/models/functionconfschemahandlebars.d.ts +46 -0
  94. package/dist/esm/models/functionconfschemahandlebars.d.ts.map +1 -0
  95. package/dist/esm/models/functionconfschemahandlebars.js +26 -0
  96. package/dist/esm/models/functionconfschemahandlebars.js.map +1 -0
  97. package/dist/esm/models/functionconfschemanotificationpolicies.d.ts +5 -0
  98. package/dist/esm/models/functionconfschemanotificationpolicies.d.ts.map +1 -1
  99. package/dist/esm/models/functionconfschemanotificationpolicies.js +2 -0
  100. package/dist/esm/models/functionconfschemanotificationpolicies.js.map +1 -1
  101. package/dist/esm/models/{functionhandlebar.d.ts → functionhandlebars.d.ts} +7 -7
  102. package/dist/esm/models/functionhandlebars.d.ts.map +1 -0
  103. package/dist/esm/models/{functionhandlebar.js → functionhandlebars.js} +7 -7
  104. package/dist/esm/models/functionhandlebars.js.map +1 -0
  105. package/dist/esm/models/functionresponse.d.ts +2 -2
  106. package/dist/esm/models/functionresponse.d.ts.map +1 -1
  107. package/dist/esm/models/functionresponse.js +2 -2
  108. package/dist/esm/models/functionresponse.js.map +1 -1
  109. package/dist/esm/models/index.d.ts +3 -3
  110. package/dist/esm/models/index.d.ts.map +1 -1
  111. package/dist/esm/models/index.js +3 -3
  112. package/dist/esm/models/index.js.map +1 -1
  113. package/dist/esm/models/pipelinefunctionconf.d.ts +2 -2
  114. package/dist/esm/models/pipelinefunctionconf.d.ts.map +1 -1
  115. package/dist/esm/models/pipelinefunctionconf.js +2 -2
  116. package/dist/esm/models/pipelinefunctionconf.js.map +1 -1
  117. package/dist/esm/models/pipelinefunctionconfinput.d.ts +3 -3
  118. package/dist/esm/models/pipelinefunctionconfinput.d.ts.map +1 -1
  119. package/dist/esm/models/pipelinefunctionconfinput.js +2 -2
  120. package/dist/esm/models/pipelinefunctionconfinput.js.map +1 -1
  121. package/dist/esm/models/pipelinefunctionhandlebars.d.ts +109 -0
  122. package/dist/esm/models/pipelinefunctionhandlebars.d.ts.map +1 -0
  123. package/dist/esm/models/pipelinefunctionhandlebars.js +72 -0
  124. package/dist/esm/models/pipelinefunctionhandlebars.js.map +1 -0
  125. package/examples/package-lock.json +1 -1
  126. package/jsr.json +1 -1
  127. package/package.json +1 -1
  128. package/src/lib/config.ts +3 -3
  129. package/src/models/collectorazureblob.ts +1317 -91
  130. package/src/models/collectorconf.ts +36 -24
  131. package/src/models/collectorgooglecloudstorage.ts +698 -66
  132. package/src/models/collectorhealthcheck.ts +7751 -175
  133. package/src/models/collectorrest.ts +13275 -231
  134. package/src/models/collectors3.ts +1722 -97
  135. package/src/models/collectorsplunk.ts +3531 -187
  136. package/src/models/{functionconfschemahandlebar.ts → functionconfschemahandlebars.ts} +23 -20
  137. package/src/models/functionconfschemanotificationpolicies.ts +7 -0
  138. package/src/models/{functionhandlebar.ts → functionhandlebars.ts} +14 -14
  139. package/src/models/functionresponse.ts +5 -5
  140. package/src/models/index.ts +3 -3
  141. package/src/models/pipelinefunctionconf.ts +5 -5
  142. package/src/models/pipelinefunctionconfinput.ts +7 -7
  143. package/src/models/{pipelinefunctionhandlebar.ts → pipelinefunctionhandlebars.ts} +67 -62
  144. package/dist/commonjs/models/functionconfschemahandlebar.d.ts +0 -44
  145. package/dist/commonjs/models/functionconfschemahandlebar.d.ts.map +0 -1
  146. package/dist/commonjs/models/functionconfschemahandlebar.js.map +0 -1
  147. package/dist/commonjs/models/functionhandlebar.d.ts.map +0 -1
  148. package/dist/commonjs/models/functionhandlebar.js.map +0 -1
  149. package/dist/commonjs/models/pipelinefunctionhandlebar.d.ts +0 -108
  150. package/dist/commonjs/models/pipelinefunctionhandlebar.d.ts.map +0 -1
  151. package/dist/commonjs/models/pipelinefunctionhandlebar.js +0 -112
  152. package/dist/commonjs/models/pipelinefunctionhandlebar.js.map +0 -1
  153. package/dist/esm/models/functionconfschemahandlebar.d.ts +0 -44
  154. package/dist/esm/models/functionconfschemahandlebar.d.ts.map +0 -1
  155. package/dist/esm/models/functionconfschemahandlebar.js +0 -25
  156. package/dist/esm/models/functionconfschemahandlebar.js.map +0 -1
  157. package/dist/esm/models/functionhandlebar.d.ts.map +0 -1
  158. package/dist/esm/models/functionhandlebar.js.map +0 -1
  159. package/dist/esm/models/pipelinefunctionhandlebar.d.ts +0 -108
  160. package/dist/esm/models/pipelinefunctionhandlebar.d.ts.map +0 -1
  161. package/dist/esm/models/pipelinefunctionhandlebar.js +0 -70
  162. package/dist/esm/models/pipelinefunctionhandlebar.js.map +0 -1
@@ -36,22 +36,174 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.CollectorHealthCheck$outboundSchema = exports.CollectorHealthCheck$inboundSchema = exports.CollectorHealthCheckRetryRules$outboundSchema = exports.CollectorHealthCheckRetryRules$inboundSchema = exports.CollectorHealthCheckRetryType$outboundSchema = exports.CollectorHealthCheckRetryType$inboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers$outboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers$inboundSchema = exports.CollectorHealthCheckAuthentication$outboundSchema = exports.CollectorHealthCheckAuthentication$inboundSchema = exports.CollectorHealthCheckCollectRequestHeader$outboundSchema = exports.CollectorHealthCheckCollectRequestHeader$inboundSchema = exports.HealthCheckMethod$outboundSchema = exports.HealthCheckMethod$inboundSchema = exports.CollectorHealthCheckDiscovery$outboundSchema = exports.CollectorHealthCheckDiscovery$inboundSchema = exports.CollectorHealthCheckDiscoverType$outboundSchema = exports.CollectorHealthCheckDiscoverType$inboundSchema = exports.CollectorHealthCheckRetryType = exports.CollectorHealthCheckHiddenDefaultBreakers = exports.CollectorHealthCheckAuthentication = exports.HealthCheckMethod = exports.CollectorHealthCheckDiscoverType = void 0;
40
- exports.collectorHealthCheckDiscoveryToJSON = collectorHealthCheckDiscoveryToJSON;
41
- exports.collectorHealthCheckDiscoveryFromJSON = collectorHealthCheckDiscoveryFromJSON;
42
- exports.collectorHealthCheckCollectRequestHeaderToJSON = collectorHealthCheckCollectRequestHeaderToJSON;
43
- exports.collectorHealthCheckCollectRequestHeaderFromJSON = collectorHealthCheckCollectRequestHeaderFromJSON;
44
- exports.collectorHealthCheckRetryRulesToJSON = collectorHealthCheckRetryRulesToJSON;
45
- exports.collectorHealthCheckRetryRulesFromJSON = collectorHealthCheckRetryRulesFromJSON;
39
+ exports.CollectorHealthCheckDiscoverType2 = exports.HealthCheckMethod2 = exports.CollectorHealthCheckType3 = exports.CollectorHealthCheckRetryType3 = exports.CollectorHealthCheckHiddenDefaultBreakers3 = exports.CollectorHealthCheckAuthentication3 = exports.CollectorHealthCheckDiscoverType3 = exports.HealthCheckMethod3 = exports.CollectorHealthCheckType4 = exports.CollectorHealthCheckRetryType4 = exports.CollectorHealthCheckHiddenDefaultBreakers4 = exports.HealthCheckMethod4 = exports.CollectorHealthCheckDiscoverType4 = exports.CollectorHealthCheckAuthentication4 = exports.CollectorHealthCheckType5 = exports.CollectorHealthCheckRetryType5 = exports.CollectorHealthCheckHiddenDefaultBreakers5 = exports.HealthCheckMethod5 = exports.CollectorHealthCheckDiscoverType5 = exports.CollectorHealthCheckAuthentication5 = exports.CollectorHealthCheckType6 = exports.CollectorHealthCheckRetryType6 = exports.CollectorHealthCheckHiddenDefaultBreakers6 = exports.HealthCheckMethod6 = exports.CollectorHealthCheckDiscoverType6 = exports.CollectorHealthCheckAuthentication6 = exports.CollectorHealthCheckType7 = exports.CollectorHealthCheckRetryType7 = exports.CollectorHealthCheckHiddenDefaultBreakers7 = exports.HealthCheckMethod7 = exports.CollectorHealthCheckDiscoverType7 = exports.CollectorHealthCheckAuthentication7 = exports.CollectorHealthCheckType8 = exports.CollectorHealthCheckRetryType8 = exports.CollectorHealthCheckHiddenDefaultBreakers8 = exports.HealthCheckMethod8 = exports.CollectorHealthCheckDiscoverType8 = exports.CollectorHealthCheckAuthentication8 = exports.CollectorHealthCheckType9 = exports.CollectorHealthCheckRetryType9 = exports.CollectorHealthCheckHiddenDefaultBreakers9 = exports.HealthCheckMethod9 = exports.CollectorHealthCheckDiscoverType9 = exports.CollectorHealthCheckAuthentication9 = exports.CollectorHealthCheckType10 = exports.CollectorHealthCheckRetryType10 = exports.CollectorHealthCheckHiddenDefaultBreakers10 = exports.HealthCheckMethod10 = exports.CollectorHealthCheckDiscoverType10 = exports.CollectorHealthCheckAuthentication10 = void 0;
40
+ exports.CollectorHealthCheckCollectRequestParam9$outboundSchema = exports.CollectorHealthCheckCollectRequestParam9$inboundSchema = exports.HealthCheckMethod9$outboundSchema = exports.HealthCheckMethod9$inboundSchema = exports.CollectorHealthCheckDiscovery9$outboundSchema = exports.CollectorHealthCheckDiscovery9$inboundSchema = exports.CollectorHealthCheckDiscoverType9$outboundSchema = exports.CollectorHealthCheckDiscoverType9$inboundSchema = exports.CollectorHealthCheckAuthRequestHeader9$outboundSchema = exports.CollectorHealthCheckAuthRequestHeader9$inboundSchema = exports.CollectorHealthCheckAuthRequestParam9$outboundSchema = exports.CollectorHealthCheckAuthRequestParam9$inboundSchema = exports.CollectorHealthCheckAuthentication9$outboundSchema = exports.CollectorHealthCheckAuthentication9$inboundSchema = exports.CollectorHealthCheckHealthCheck10$outboundSchema = exports.CollectorHealthCheckHealthCheck10$inboundSchema = exports.CollectorHealthCheckType10$outboundSchema = exports.CollectorHealthCheckType10$inboundSchema = exports.CollectorHealthCheckRetryRules10$outboundSchema = exports.CollectorHealthCheckRetryRules10$inboundSchema = exports.CollectorHealthCheckRetryType10$outboundSchema = exports.CollectorHealthCheckRetryType10$inboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers10$outboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers10$inboundSchema = exports.CollectorHealthCheckCollectRequestHeader10$outboundSchema = exports.CollectorHealthCheckCollectRequestHeader10$inboundSchema = exports.CollectorHealthCheckCollectRequestParam10$outboundSchema = exports.CollectorHealthCheckCollectRequestParam10$inboundSchema = exports.HealthCheckMethod10$outboundSchema = exports.HealthCheckMethod10$inboundSchema = exports.CollectorHealthCheckDiscovery10$outboundSchema = exports.CollectorHealthCheckDiscovery10$inboundSchema = exports.CollectorHealthCheckDiscoverType10$outboundSchema = exports.CollectorHealthCheckDiscoverType10$inboundSchema = exports.CollectorHealthCheckAuthRequestHeader10$outboundSchema = exports.CollectorHealthCheckAuthRequestHeader10$inboundSchema = exports.CollectorHealthCheckAuthRequestParam10$outboundSchema = exports.CollectorHealthCheckAuthRequestParam10$inboundSchema = exports.CollectorHealthCheckAuthentication10$outboundSchema = exports.CollectorHealthCheckAuthentication10$inboundSchema = exports.CollectorHealthCheckType1 = exports.CollectorHealthCheckRetryType1 = exports.CollectorHealthCheckHiddenDefaultBreakers1 = exports.CollectorHealthCheckAuthentication1 = exports.CollectorHealthCheckDiscoverType1 = exports.HealthCheckMethod1 = exports.CollectorHealthCheckType2 = exports.CollectorHealthCheckRetryType2 = exports.CollectorHealthCheckHiddenDefaultBreakers2 = exports.CollectorHealthCheckAuthentication2 = void 0;
41
+ exports.CollectorHealthCheckCollectRequestParam7$outboundSchema = exports.CollectorHealthCheckCollectRequestParam7$inboundSchema = exports.HealthCheckMethod7$outboundSchema = exports.HealthCheckMethod7$inboundSchema = exports.CollectorHealthCheckDiscovery7$outboundSchema = exports.CollectorHealthCheckDiscovery7$inboundSchema = exports.CollectorHealthCheckDiscoverType7$outboundSchema = exports.CollectorHealthCheckDiscoverType7$inboundSchema = exports.CollectorHealthCheckAuthRequestHeader7$outboundSchema = exports.CollectorHealthCheckAuthRequestHeader7$inboundSchema = exports.CollectorHealthCheckAuthentication7$outboundSchema = exports.CollectorHealthCheckAuthentication7$inboundSchema = exports.CollectorHealthCheckHealthCheck8$outboundSchema = exports.CollectorHealthCheckHealthCheck8$inboundSchema = exports.CollectorHealthCheckType8$outboundSchema = exports.CollectorHealthCheckType8$inboundSchema = exports.CollectorHealthCheckAuthRequestParam8$outboundSchema = exports.CollectorHealthCheckAuthRequestParam8$inboundSchema = exports.CollectorHealthCheckRetryRules8$outboundSchema = exports.CollectorHealthCheckRetryRules8$inboundSchema = exports.CollectorHealthCheckRetryType8$outboundSchema = exports.CollectorHealthCheckRetryType8$inboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers8$outboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers8$inboundSchema = exports.CollectorHealthCheckCollectRequestHeader8$outboundSchema = exports.CollectorHealthCheckCollectRequestHeader8$inboundSchema = exports.CollectorHealthCheckCollectRequestParam8$outboundSchema = exports.CollectorHealthCheckCollectRequestParam8$inboundSchema = exports.HealthCheckMethod8$outboundSchema = exports.HealthCheckMethod8$inboundSchema = exports.CollectorHealthCheckDiscovery8$outboundSchema = exports.CollectorHealthCheckDiscovery8$inboundSchema = exports.CollectorHealthCheckDiscoverType8$outboundSchema = exports.CollectorHealthCheckDiscoverType8$inboundSchema = exports.CollectorHealthCheckAuthRequestHeader8$outboundSchema = exports.CollectorHealthCheckAuthRequestHeader8$inboundSchema = exports.CollectorHealthCheckAuthentication8$outboundSchema = exports.CollectorHealthCheckAuthentication8$inboundSchema = exports.CollectorHealthCheckHealthCheck9$outboundSchema = exports.CollectorHealthCheckHealthCheck9$inboundSchema = exports.CollectorHealthCheckType9$outboundSchema = exports.CollectorHealthCheckType9$inboundSchema = exports.CollectorHealthCheckRetryRules9$outboundSchema = exports.CollectorHealthCheckRetryRules9$inboundSchema = exports.CollectorHealthCheckRetryType9$outboundSchema = exports.CollectorHealthCheckRetryType9$inboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers9$outboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers9$inboundSchema = exports.CollectorHealthCheckCollectRequestHeader9$outboundSchema = exports.CollectorHealthCheckCollectRequestHeader9$inboundSchema = void 0;
42
+ exports.CollectorHealthCheckCollectRequestParam5$outboundSchema = exports.CollectorHealthCheckCollectRequestParam5$inboundSchema = exports.HealthCheckMethod5$outboundSchema = exports.HealthCheckMethod5$inboundSchema = exports.CollectorHealthCheckDiscovery5$outboundSchema = exports.CollectorHealthCheckDiscovery5$inboundSchema = exports.CollectorHealthCheckDiscoverType5$outboundSchema = exports.CollectorHealthCheckDiscoverType5$inboundSchema = exports.CollectorHealthCheckAuthentication5$outboundSchema = exports.CollectorHealthCheckAuthentication5$inboundSchema = exports.CollectorHealthCheckHealthCheck6$outboundSchema = exports.CollectorHealthCheckHealthCheck6$inboundSchema = exports.CollectorHealthCheckType6$outboundSchema = exports.CollectorHealthCheckType6$inboundSchema = exports.CollectorHealthCheckAuthRequestParam6$outboundSchema = exports.CollectorHealthCheckAuthRequestParam6$inboundSchema = exports.CollectorHealthCheckAuthRequestHeader6$outboundSchema = exports.CollectorHealthCheckAuthRequestHeader6$inboundSchema = exports.CollectorHealthCheckRetryRules6$outboundSchema = exports.CollectorHealthCheckRetryRules6$inboundSchema = exports.CollectorHealthCheckRetryType6$outboundSchema = exports.CollectorHealthCheckRetryType6$inboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers6$outboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers6$inboundSchema = exports.CollectorHealthCheckCollectRequestHeader6$outboundSchema = exports.CollectorHealthCheckCollectRequestHeader6$inboundSchema = exports.CollectorHealthCheckCollectRequestParam6$outboundSchema = exports.CollectorHealthCheckCollectRequestParam6$inboundSchema = exports.HealthCheckMethod6$outboundSchema = exports.HealthCheckMethod6$inboundSchema = exports.CollectorHealthCheckDiscovery6$outboundSchema = exports.CollectorHealthCheckDiscovery6$inboundSchema = exports.CollectorHealthCheckDiscoverType6$outboundSchema = exports.CollectorHealthCheckDiscoverType6$inboundSchema = exports.CollectorHealthCheckAuthentication6$outboundSchema = exports.CollectorHealthCheckAuthentication6$inboundSchema = exports.CollectorHealthCheckHealthCheck7$outboundSchema = exports.CollectorHealthCheckHealthCheck7$inboundSchema = exports.CollectorHealthCheckType7$outboundSchema = exports.CollectorHealthCheckType7$inboundSchema = exports.CollectorHealthCheckAuthRequestParam7$outboundSchema = exports.CollectorHealthCheckAuthRequestParam7$inboundSchema = exports.CollectorHealthCheckRetryRules7$outboundSchema = exports.CollectorHealthCheckRetryRules7$inboundSchema = exports.CollectorHealthCheckRetryType7$outboundSchema = exports.CollectorHealthCheckRetryType7$inboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers7$outboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers7$inboundSchema = exports.CollectorHealthCheckCollectRequestHeader7$outboundSchema = exports.CollectorHealthCheckCollectRequestHeader7$inboundSchema = void 0;
43
+ exports.CollectorHealthCheckCollectRequestParam3$outboundSchema = exports.CollectorHealthCheckCollectRequestParam3$inboundSchema = exports.CollectorHealthCheckDiscovery3$outboundSchema = exports.CollectorHealthCheckDiscovery3$inboundSchema = exports.CollectorHealthCheckDiscoverType3$outboundSchema = exports.CollectorHealthCheckDiscoverType3$inboundSchema = exports.HealthCheckMethod3$outboundSchema = exports.HealthCheckMethod3$inboundSchema = exports.CollectorHealthCheckHealthCheck4$outboundSchema = exports.CollectorHealthCheckHealthCheck4$inboundSchema = exports.CollectorHealthCheckType4$outboundSchema = exports.CollectorHealthCheckType4$inboundSchema = exports.CollectorHealthCheckAuthRequestParam4$outboundSchema = exports.CollectorHealthCheckAuthRequestParam4$inboundSchema = exports.CollectorHealthCheckAuthRequestHeader4$outboundSchema = exports.CollectorHealthCheckAuthRequestHeader4$inboundSchema = exports.CollectorHealthCheckRetryRules4$outboundSchema = exports.CollectorHealthCheckRetryRules4$inboundSchema = exports.CollectorHealthCheckRetryType4$outboundSchema = exports.CollectorHealthCheckRetryType4$inboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers4$outboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers4$inboundSchema = exports.CollectorHealthCheckCollectRequestHeader4$outboundSchema = exports.CollectorHealthCheckCollectRequestHeader4$inboundSchema = exports.CollectorHealthCheckCollectRequestParam4$outboundSchema = exports.CollectorHealthCheckCollectRequestParam4$inboundSchema = exports.HealthCheckMethod4$outboundSchema = exports.HealthCheckMethod4$inboundSchema = exports.CollectorHealthCheckDiscovery4$outboundSchema = exports.CollectorHealthCheckDiscovery4$inboundSchema = exports.CollectorHealthCheckDiscoverType4$outboundSchema = exports.CollectorHealthCheckDiscoverType4$inboundSchema = exports.CollectorHealthCheckAuthentication4$outboundSchema = exports.CollectorHealthCheckAuthentication4$inboundSchema = exports.CollectorHealthCheckHealthCheck5$outboundSchema = exports.CollectorHealthCheckHealthCheck5$inboundSchema = exports.CollectorHealthCheckType5$outboundSchema = exports.CollectorHealthCheckType5$inboundSchema = exports.CollectorHealthCheckAuthRequestParam5$outboundSchema = exports.CollectorHealthCheckAuthRequestParam5$inboundSchema = exports.CollectorHealthCheckAuthRequestHeader5$outboundSchema = exports.CollectorHealthCheckAuthRequestHeader5$inboundSchema = exports.CollectorHealthCheckRetryRules5$outboundSchema = exports.CollectorHealthCheckRetryRules5$inboundSchema = exports.CollectorHealthCheckRetryType5$outboundSchema = exports.CollectorHealthCheckRetryType5$inboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers5$outboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers5$inboundSchema = exports.CollectorHealthCheckCollectRequestHeader5$outboundSchema = exports.CollectorHealthCheckCollectRequestHeader5$inboundSchema = void 0;
44
+ exports.CollectorHealthCheckDiscoverType1$outboundSchema = exports.CollectorHealthCheckDiscoverType1$inboundSchema = exports.CollectorHealthCheckCollectRequestParam1$outboundSchema = exports.CollectorHealthCheckCollectRequestParam1$inboundSchema = exports.HealthCheckMethod1$outboundSchema = exports.HealthCheckMethod1$inboundSchema = exports.CollectorHealthCheckHealthCheck2$outboundSchema = exports.CollectorHealthCheckHealthCheck2$inboundSchema = exports.CollectorHealthCheckType2$outboundSchema = exports.CollectorHealthCheckType2$inboundSchema = exports.CollectorHealthCheckAuthRequestParam2$outboundSchema = exports.CollectorHealthCheckAuthRequestParam2$inboundSchema = exports.CollectorHealthCheckAuthRequestHeader2$outboundSchema = exports.CollectorHealthCheckAuthRequestHeader2$inboundSchema = exports.CollectorHealthCheckRetryRules2$outboundSchema = exports.CollectorHealthCheckRetryRules2$inboundSchema = exports.CollectorHealthCheckRetryType2$outboundSchema = exports.CollectorHealthCheckRetryType2$inboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers2$outboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers2$inboundSchema = exports.CollectorHealthCheckAuthentication2$outboundSchema = exports.CollectorHealthCheckAuthentication2$inboundSchema = exports.CollectorHealthCheckCollectRequestHeader2$outboundSchema = exports.CollectorHealthCheckCollectRequestHeader2$inboundSchema = exports.CollectorHealthCheckDiscovery2$outboundSchema = exports.CollectorHealthCheckDiscovery2$inboundSchema = exports.CollectorHealthCheckDiscoverType2$outboundSchema = exports.CollectorHealthCheckDiscoverType2$inboundSchema = exports.CollectorHealthCheckCollectRequestParam2$outboundSchema = exports.CollectorHealthCheckCollectRequestParam2$inboundSchema = exports.HealthCheckMethod2$outboundSchema = exports.HealthCheckMethod2$inboundSchema = exports.CollectorHealthCheckHealthCheck3$outboundSchema = exports.CollectorHealthCheckHealthCheck3$inboundSchema = exports.CollectorHealthCheckType3$outboundSchema = exports.CollectorHealthCheckType3$inboundSchema = exports.CollectorHealthCheckAuthRequestParam3$outboundSchema = exports.CollectorHealthCheckAuthRequestParam3$inboundSchema = exports.CollectorHealthCheckAuthRequestHeader3$outboundSchema = exports.CollectorHealthCheckAuthRequestHeader3$inboundSchema = exports.CollectorHealthCheckRetryRules3$outboundSchema = exports.CollectorHealthCheckRetryRules3$inboundSchema = exports.CollectorHealthCheckRetryType3$outboundSchema = exports.CollectorHealthCheckRetryType3$inboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers3$outboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers3$inboundSchema = exports.CollectorHealthCheckAuthentication3$outboundSchema = exports.CollectorHealthCheckAuthentication3$inboundSchema = exports.CollectorHealthCheckCollectRequestHeader3$outboundSchema = exports.CollectorHealthCheckCollectRequestHeader3$inboundSchema = void 0;
45
+ exports.CollectorHealthCheck$outboundSchema = exports.CollectorHealthCheck$inboundSchema = exports.CollectorHealthCheckHealthCheck1$outboundSchema = exports.CollectorHealthCheckHealthCheck1$inboundSchema = exports.CollectorHealthCheckType1$outboundSchema = exports.CollectorHealthCheckType1$inboundSchema = exports.CollectorHealthCheckAuthRequestParam1$outboundSchema = exports.CollectorHealthCheckAuthRequestParam1$inboundSchema = exports.CollectorHealthCheckAuthRequestHeader1$outboundSchema = exports.CollectorHealthCheckAuthRequestHeader1$inboundSchema = exports.CollectorHealthCheckRetryRules1$outboundSchema = exports.CollectorHealthCheckRetryRules1$inboundSchema = exports.CollectorHealthCheckRetryType1$outboundSchema = exports.CollectorHealthCheckRetryType1$inboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers1$outboundSchema = exports.CollectorHealthCheckHiddenDefaultBreakers1$inboundSchema = exports.CollectorHealthCheckAuthentication1$outboundSchema = exports.CollectorHealthCheckAuthentication1$inboundSchema = exports.CollectorHealthCheckCollectRequestHeader1$outboundSchema = exports.CollectorHealthCheckCollectRequestHeader1$inboundSchema = exports.CollectorHealthCheckDiscovery1$outboundSchema = exports.CollectorHealthCheckDiscovery1$inboundSchema = void 0;
46
+ exports.collectorHealthCheckAuthRequestParam10ToJSON = collectorHealthCheckAuthRequestParam10ToJSON;
47
+ exports.collectorHealthCheckAuthRequestParam10FromJSON = collectorHealthCheckAuthRequestParam10FromJSON;
48
+ exports.collectorHealthCheckAuthRequestHeader10ToJSON = collectorHealthCheckAuthRequestHeader10ToJSON;
49
+ exports.collectorHealthCheckAuthRequestHeader10FromJSON = collectorHealthCheckAuthRequestHeader10FromJSON;
50
+ exports.collectorHealthCheckDiscovery10ToJSON = collectorHealthCheckDiscovery10ToJSON;
51
+ exports.collectorHealthCheckDiscovery10FromJSON = collectorHealthCheckDiscovery10FromJSON;
52
+ exports.collectorHealthCheckCollectRequestParam10ToJSON = collectorHealthCheckCollectRequestParam10ToJSON;
53
+ exports.collectorHealthCheckCollectRequestParam10FromJSON = collectorHealthCheckCollectRequestParam10FromJSON;
54
+ exports.collectorHealthCheckCollectRequestHeader10ToJSON = collectorHealthCheckCollectRequestHeader10ToJSON;
55
+ exports.collectorHealthCheckCollectRequestHeader10FromJSON = collectorHealthCheckCollectRequestHeader10FromJSON;
56
+ exports.collectorHealthCheckRetryRules10ToJSON = collectorHealthCheckRetryRules10ToJSON;
57
+ exports.collectorHealthCheckRetryRules10FromJSON = collectorHealthCheckRetryRules10FromJSON;
58
+ exports.collectorHealthCheckHealthCheck10ToJSON = collectorHealthCheckHealthCheck10ToJSON;
59
+ exports.collectorHealthCheckHealthCheck10FromJSON = collectorHealthCheckHealthCheck10FromJSON;
60
+ exports.collectorHealthCheckAuthRequestParam9ToJSON = collectorHealthCheckAuthRequestParam9ToJSON;
61
+ exports.collectorHealthCheckAuthRequestParam9FromJSON = collectorHealthCheckAuthRequestParam9FromJSON;
62
+ exports.collectorHealthCheckAuthRequestHeader9ToJSON = collectorHealthCheckAuthRequestHeader9ToJSON;
63
+ exports.collectorHealthCheckAuthRequestHeader9FromJSON = collectorHealthCheckAuthRequestHeader9FromJSON;
64
+ exports.collectorHealthCheckDiscovery9ToJSON = collectorHealthCheckDiscovery9ToJSON;
65
+ exports.collectorHealthCheckDiscovery9FromJSON = collectorHealthCheckDiscovery9FromJSON;
66
+ exports.collectorHealthCheckCollectRequestParam9ToJSON = collectorHealthCheckCollectRequestParam9ToJSON;
67
+ exports.collectorHealthCheckCollectRequestParam9FromJSON = collectorHealthCheckCollectRequestParam9FromJSON;
68
+ exports.collectorHealthCheckCollectRequestHeader9ToJSON = collectorHealthCheckCollectRequestHeader9ToJSON;
69
+ exports.collectorHealthCheckCollectRequestHeader9FromJSON = collectorHealthCheckCollectRequestHeader9FromJSON;
70
+ exports.collectorHealthCheckRetryRules9ToJSON = collectorHealthCheckRetryRules9ToJSON;
71
+ exports.collectorHealthCheckRetryRules9FromJSON = collectorHealthCheckRetryRules9FromJSON;
72
+ exports.collectorHealthCheckHealthCheck9ToJSON = collectorHealthCheckHealthCheck9ToJSON;
73
+ exports.collectorHealthCheckHealthCheck9FromJSON = collectorHealthCheckHealthCheck9FromJSON;
74
+ exports.collectorHealthCheckAuthRequestHeader8ToJSON = collectorHealthCheckAuthRequestHeader8ToJSON;
75
+ exports.collectorHealthCheckAuthRequestHeader8FromJSON = collectorHealthCheckAuthRequestHeader8FromJSON;
76
+ exports.collectorHealthCheckDiscovery8ToJSON = collectorHealthCheckDiscovery8ToJSON;
77
+ exports.collectorHealthCheckDiscovery8FromJSON = collectorHealthCheckDiscovery8FromJSON;
78
+ exports.collectorHealthCheckCollectRequestParam8ToJSON = collectorHealthCheckCollectRequestParam8ToJSON;
79
+ exports.collectorHealthCheckCollectRequestParam8FromJSON = collectorHealthCheckCollectRequestParam8FromJSON;
80
+ exports.collectorHealthCheckCollectRequestHeader8ToJSON = collectorHealthCheckCollectRequestHeader8ToJSON;
81
+ exports.collectorHealthCheckCollectRequestHeader8FromJSON = collectorHealthCheckCollectRequestHeader8FromJSON;
82
+ exports.collectorHealthCheckRetryRules8ToJSON = collectorHealthCheckRetryRules8ToJSON;
83
+ exports.collectorHealthCheckRetryRules8FromJSON = collectorHealthCheckRetryRules8FromJSON;
84
+ exports.collectorHealthCheckAuthRequestParam8ToJSON = collectorHealthCheckAuthRequestParam8ToJSON;
85
+ exports.collectorHealthCheckAuthRequestParam8FromJSON = collectorHealthCheckAuthRequestParam8FromJSON;
86
+ exports.collectorHealthCheckHealthCheck8ToJSON = collectorHealthCheckHealthCheck8ToJSON;
87
+ exports.collectorHealthCheckHealthCheck8FromJSON = collectorHealthCheckHealthCheck8FromJSON;
88
+ exports.collectorHealthCheckAuthRequestHeader7ToJSON = collectorHealthCheckAuthRequestHeader7ToJSON;
89
+ exports.collectorHealthCheckAuthRequestHeader7FromJSON = collectorHealthCheckAuthRequestHeader7FromJSON;
90
+ exports.collectorHealthCheckDiscovery7ToJSON = collectorHealthCheckDiscovery7ToJSON;
91
+ exports.collectorHealthCheckDiscovery7FromJSON = collectorHealthCheckDiscovery7FromJSON;
92
+ exports.collectorHealthCheckCollectRequestParam7ToJSON = collectorHealthCheckCollectRequestParam7ToJSON;
93
+ exports.collectorHealthCheckCollectRequestParam7FromJSON = collectorHealthCheckCollectRequestParam7FromJSON;
94
+ exports.collectorHealthCheckCollectRequestHeader7ToJSON = collectorHealthCheckCollectRequestHeader7ToJSON;
95
+ exports.collectorHealthCheckCollectRequestHeader7FromJSON = collectorHealthCheckCollectRequestHeader7FromJSON;
96
+ exports.collectorHealthCheckRetryRules7ToJSON = collectorHealthCheckRetryRules7ToJSON;
97
+ exports.collectorHealthCheckRetryRules7FromJSON = collectorHealthCheckRetryRules7FromJSON;
98
+ exports.collectorHealthCheckAuthRequestParam7ToJSON = collectorHealthCheckAuthRequestParam7ToJSON;
99
+ exports.collectorHealthCheckAuthRequestParam7FromJSON = collectorHealthCheckAuthRequestParam7FromJSON;
100
+ exports.collectorHealthCheckHealthCheck7ToJSON = collectorHealthCheckHealthCheck7ToJSON;
101
+ exports.collectorHealthCheckHealthCheck7FromJSON = collectorHealthCheckHealthCheck7FromJSON;
102
+ exports.collectorHealthCheckDiscovery6ToJSON = collectorHealthCheckDiscovery6ToJSON;
103
+ exports.collectorHealthCheckDiscovery6FromJSON = collectorHealthCheckDiscovery6FromJSON;
104
+ exports.collectorHealthCheckCollectRequestParam6ToJSON = collectorHealthCheckCollectRequestParam6ToJSON;
105
+ exports.collectorHealthCheckCollectRequestParam6FromJSON = collectorHealthCheckCollectRequestParam6FromJSON;
106
+ exports.collectorHealthCheckCollectRequestHeader6ToJSON = collectorHealthCheckCollectRequestHeader6ToJSON;
107
+ exports.collectorHealthCheckCollectRequestHeader6FromJSON = collectorHealthCheckCollectRequestHeader6FromJSON;
108
+ exports.collectorHealthCheckRetryRules6ToJSON = collectorHealthCheckRetryRules6ToJSON;
109
+ exports.collectorHealthCheckRetryRules6FromJSON = collectorHealthCheckRetryRules6FromJSON;
110
+ exports.collectorHealthCheckAuthRequestHeader6ToJSON = collectorHealthCheckAuthRequestHeader6ToJSON;
111
+ exports.collectorHealthCheckAuthRequestHeader6FromJSON = collectorHealthCheckAuthRequestHeader6FromJSON;
112
+ exports.collectorHealthCheckAuthRequestParam6ToJSON = collectorHealthCheckAuthRequestParam6ToJSON;
113
+ exports.collectorHealthCheckAuthRequestParam6FromJSON = collectorHealthCheckAuthRequestParam6FromJSON;
114
+ exports.collectorHealthCheckHealthCheck6ToJSON = collectorHealthCheckHealthCheck6ToJSON;
115
+ exports.collectorHealthCheckHealthCheck6FromJSON = collectorHealthCheckHealthCheck6FromJSON;
116
+ exports.collectorHealthCheckDiscovery5ToJSON = collectorHealthCheckDiscovery5ToJSON;
117
+ exports.collectorHealthCheckDiscovery5FromJSON = collectorHealthCheckDiscovery5FromJSON;
118
+ exports.collectorHealthCheckCollectRequestParam5ToJSON = collectorHealthCheckCollectRequestParam5ToJSON;
119
+ exports.collectorHealthCheckCollectRequestParam5FromJSON = collectorHealthCheckCollectRequestParam5FromJSON;
120
+ exports.collectorHealthCheckCollectRequestHeader5ToJSON = collectorHealthCheckCollectRequestHeader5ToJSON;
121
+ exports.collectorHealthCheckCollectRequestHeader5FromJSON = collectorHealthCheckCollectRequestHeader5FromJSON;
122
+ exports.collectorHealthCheckRetryRules5ToJSON = collectorHealthCheckRetryRules5ToJSON;
123
+ exports.collectorHealthCheckRetryRules5FromJSON = collectorHealthCheckRetryRules5FromJSON;
124
+ exports.collectorHealthCheckAuthRequestHeader5ToJSON = collectorHealthCheckAuthRequestHeader5ToJSON;
125
+ exports.collectorHealthCheckAuthRequestHeader5FromJSON = collectorHealthCheckAuthRequestHeader5FromJSON;
126
+ exports.collectorHealthCheckAuthRequestParam5ToJSON = collectorHealthCheckAuthRequestParam5ToJSON;
127
+ exports.collectorHealthCheckAuthRequestParam5FromJSON = collectorHealthCheckAuthRequestParam5FromJSON;
128
+ exports.collectorHealthCheckHealthCheck5ToJSON = collectorHealthCheckHealthCheck5ToJSON;
129
+ exports.collectorHealthCheckHealthCheck5FromJSON = collectorHealthCheckHealthCheck5FromJSON;
130
+ exports.collectorHealthCheckDiscovery4ToJSON = collectorHealthCheckDiscovery4ToJSON;
131
+ exports.collectorHealthCheckDiscovery4FromJSON = collectorHealthCheckDiscovery4FromJSON;
132
+ exports.collectorHealthCheckCollectRequestParam4ToJSON = collectorHealthCheckCollectRequestParam4ToJSON;
133
+ exports.collectorHealthCheckCollectRequestParam4FromJSON = collectorHealthCheckCollectRequestParam4FromJSON;
134
+ exports.collectorHealthCheckCollectRequestHeader4ToJSON = collectorHealthCheckCollectRequestHeader4ToJSON;
135
+ exports.collectorHealthCheckCollectRequestHeader4FromJSON = collectorHealthCheckCollectRequestHeader4FromJSON;
136
+ exports.collectorHealthCheckRetryRules4ToJSON = collectorHealthCheckRetryRules4ToJSON;
137
+ exports.collectorHealthCheckRetryRules4FromJSON = collectorHealthCheckRetryRules4FromJSON;
138
+ exports.collectorHealthCheckAuthRequestHeader4ToJSON = collectorHealthCheckAuthRequestHeader4ToJSON;
139
+ exports.collectorHealthCheckAuthRequestHeader4FromJSON = collectorHealthCheckAuthRequestHeader4FromJSON;
140
+ exports.collectorHealthCheckAuthRequestParam4ToJSON = collectorHealthCheckAuthRequestParam4ToJSON;
141
+ exports.collectorHealthCheckAuthRequestParam4FromJSON = collectorHealthCheckAuthRequestParam4FromJSON;
142
+ exports.collectorHealthCheckHealthCheck4ToJSON = collectorHealthCheckHealthCheck4ToJSON;
143
+ exports.collectorHealthCheckHealthCheck4FromJSON = collectorHealthCheckHealthCheck4FromJSON;
144
+ exports.collectorHealthCheckDiscovery3ToJSON = collectorHealthCheckDiscovery3ToJSON;
145
+ exports.collectorHealthCheckDiscovery3FromJSON = collectorHealthCheckDiscovery3FromJSON;
146
+ exports.collectorHealthCheckCollectRequestParam3ToJSON = collectorHealthCheckCollectRequestParam3ToJSON;
147
+ exports.collectorHealthCheckCollectRequestParam3FromJSON = collectorHealthCheckCollectRequestParam3FromJSON;
148
+ exports.collectorHealthCheckCollectRequestHeader3ToJSON = collectorHealthCheckCollectRequestHeader3ToJSON;
149
+ exports.collectorHealthCheckCollectRequestHeader3FromJSON = collectorHealthCheckCollectRequestHeader3FromJSON;
150
+ exports.collectorHealthCheckRetryRules3ToJSON = collectorHealthCheckRetryRules3ToJSON;
151
+ exports.collectorHealthCheckRetryRules3FromJSON = collectorHealthCheckRetryRules3FromJSON;
152
+ exports.collectorHealthCheckAuthRequestHeader3ToJSON = collectorHealthCheckAuthRequestHeader3ToJSON;
153
+ exports.collectorHealthCheckAuthRequestHeader3FromJSON = collectorHealthCheckAuthRequestHeader3FromJSON;
154
+ exports.collectorHealthCheckAuthRequestParam3ToJSON = collectorHealthCheckAuthRequestParam3ToJSON;
155
+ exports.collectorHealthCheckAuthRequestParam3FromJSON = collectorHealthCheckAuthRequestParam3FromJSON;
156
+ exports.collectorHealthCheckHealthCheck3ToJSON = collectorHealthCheckHealthCheck3ToJSON;
157
+ exports.collectorHealthCheckHealthCheck3FromJSON = collectorHealthCheckHealthCheck3FromJSON;
158
+ exports.collectorHealthCheckCollectRequestParam2ToJSON = collectorHealthCheckCollectRequestParam2ToJSON;
159
+ exports.collectorHealthCheckCollectRequestParam2FromJSON = collectorHealthCheckCollectRequestParam2FromJSON;
160
+ exports.collectorHealthCheckDiscovery2ToJSON = collectorHealthCheckDiscovery2ToJSON;
161
+ exports.collectorHealthCheckDiscovery2FromJSON = collectorHealthCheckDiscovery2FromJSON;
162
+ exports.collectorHealthCheckCollectRequestHeader2ToJSON = collectorHealthCheckCollectRequestHeader2ToJSON;
163
+ exports.collectorHealthCheckCollectRequestHeader2FromJSON = collectorHealthCheckCollectRequestHeader2FromJSON;
164
+ exports.collectorHealthCheckRetryRules2ToJSON = collectorHealthCheckRetryRules2ToJSON;
165
+ exports.collectorHealthCheckRetryRules2FromJSON = collectorHealthCheckRetryRules2FromJSON;
166
+ exports.collectorHealthCheckAuthRequestHeader2ToJSON = collectorHealthCheckAuthRequestHeader2ToJSON;
167
+ exports.collectorHealthCheckAuthRequestHeader2FromJSON = collectorHealthCheckAuthRequestHeader2FromJSON;
168
+ exports.collectorHealthCheckAuthRequestParam2ToJSON = collectorHealthCheckAuthRequestParam2ToJSON;
169
+ exports.collectorHealthCheckAuthRequestParam2FromJSON = collectorHealthCheckAuthRequestParam2FromJSON;
170
+ exports.collectorHealthCheckHealthCheck2ToJSON = collectorHealthCheckHealthCheck2ToJSON;
171
+ exports.collectorHealthCheckHealthCheck2FromJSON = collectorHealthCheckHealthCheck2FromJSON;
172
+ exports.collectorHealthCheckCollectRequestParam1ToJSON = collectorHealthCheckCollectRequestParam1ToJSON;
173
+ exports.collectorHealthCheckCollectRequestParam1FromJSON = collectorHealthCheckCollectRequestParam1FromJSON;
174
+ exports.collectorHealthCheckDiscovery1ToJSON = collectorHealthCheckDiscovery1ToJSON;
175
+ exports.collectorHealthCheckDiscovery1FromJSON = collectorHealthCheckDiscovery1FromJSON;
176
+ exports.collectorHealthCheckCollectRequestHeader1ToJSON = collectorHealthCheckCollectRequestHeader1ToJSON;
177
+ exports.collectorHealthCheckCollectRequestHeader1FromJSON = collectorHealthCheckCollectRequestHeader1FromJSON;
178
+ exports.collectorHealthCheckRetryRules1ToJSON = collectorHealthCheckRetryRules1ToJSON;
179
+ exports.collectorHealthCheckRetryRules1FromJSON = collectorHealthCheckRetryRules1FromJSON;
180
+ exports.collectorHealthCheckAuthRequestHeader1ToJSON = collectorHealthCheckAuthRequestHeader1ToJSON;
181
+ exports.collectorHealthCheckAuthRequestHeader1FromJSON = collectorHealthCheckAuthRequestHeader1FromJSON;
182
+ exports.collectorHealthCheckAuthRequestParam1ToJSON = collectorHealthCheckAuthRequestParam1ToJSON;
183
+ exports.collectorHealthCheckAuthRequestParam1FromJSON = collectorHealthCheckAuthRequestParam1FromJSON;
184
+ exports.collectorHealthCheckHealthCheck1ToJSON = collectorHealthCheckHealthCheck1ToJSON;
185
+ exports.collectorHealthCheckHealthCheck1FromJSON = collectorHealthCheckHealthCheck1FromJSON;
46
186
  exports.collectorHealthCheckToJSON = collectorHealthCheckToJSON;
47
187
  exports.collectorHealthCheckFromJSON = collectorHealthCheckFromJSON;
48
188
  const z = __importStar(require("zod/v3"));
49
189
  const schemas_js_1 = require("../lib/schemas.js");
50
190
  const openEnums = __importStar(require("../types/enums.js"));
191
+ /**
192
+ * Authentication method for Discover and Collect REST calls. You can specify API Key–based authentication by adding the appropriate Collect headers.
193
+ */
194
+ exports.CollectorHealthCheckAuthentication10 = {
195
+ None: "none",
196
+ Basic: "basic",
197
+ BasicSecret: "basicSecret",
198
+ Login: "login",
199
+ LoginSecret: "loginSecret",
200
+ Oauth: "oauth",
201
+ OauthSecret: "oauthSecret",
202
+ };
51
203
  /**
52
204
  * Defines how task discovery will be performed. Use None to skip the discovery. Use HTTP Request to make a REST call to discover tasks. Use Item List to enumerate items for collect to retrieve. Use JSON Response to manually define discover tasks as a JSON array of objects. Each entry returned by the discover operation will result in a collect task.
53
205
  */
54
- exports.CollectorHealthCheckDiscoverType = {
206
+ exports.CollectorHealthCheckDiscoverType10 = {
55
207
  /**
56
208
  * HTTP Request
57
209
  */
@@ -72,7 +224,7 @@ exports.CollectorHealthCheckDiscoverType = {
72
224
  /**
73
225
  * Health check HTTP method.
74
226
  */
75
- exports.HealthCheckMethod = {
227
+ exports.HealthCheckMethod10 = {
76
228
  /**
77
229
  * GET
78
230
  */
@@ -86,10 +238,36 @@ exports.HealthCheckMethod = {
86
238
  */
87
239
  PostWithBody: "post_with_body",
88
240
  };
241
+ exports.CollectorHealthCheckHiddenDefaultBreakers10 = {
242
+ Cribl: "Cribl",
243
+ };
244
+ /**
245
+ * The algorithm to use when performing HTTP retries
246
+ */
247
+ exports.CollectorHealthCheckRetryType10 = {
248
+ /**
249
+ * Disabled
250
+ */
251
+ None: "none",
252
+ /**
253
+ * Backoff
254
+ */
255
+ Backoff: "backoff",
256
+ /**
257
+ * Static
258
+ */
259
+ Static: "static",
260
+ };
261
+ /**
262
+ * Collector type: health_check
263
+ */
264
+ exports.CollectorHealthCheckType10 = {
265
+ HealthCheck: "health_check",
266
+ };
89
267
  /**
90
268
  * Authentication method for Discover and Collect REST calls. You can specify API Key–based authentication by adding the appropriate Collect headers.
91
269
  */
92
- exports.CollectorHealthCheckAuthentication = {
270
+ exports.CollectorHealthCheckAuthentication9 = {
93
271
  None: "none",
94
272
  Basic: "basic",
95
273
  BasicSecret: "basicSecret",
@@ -98,13 +276,51 @@ exports.CollectorHealthCheckAuthentication = {
98
276
  Oauth: "oauth",
99
277
  OauthSecret: "oauthSecret",
100
278
  };
101
- exports.CollectorHealthCheckHiddenDefaultBreakers = {
279
+ /**
280
+ * Defines how task discovery will be performed. Use None to skip the discovery. Use HTTP Request to make a REST call to discover tasks. Use Item List to enumerate items for collect to retrieve. Use JSON Response to manually define discover tasks as a JSON array of objects. Each entry returned by the discover operation will result in a collect task.
281
+ */
282
+ exports.CollectorHealthCheckDiscoverType9 = {
283
+ /**
284
+ * HTTP Request
285
+ */
286
+ Http: "http",
287
+ /**
288
+ * JSON Response
289
+ */
290
+ Json: "json",
291
+ /**
292
+ * Item List
293
+ */
294
+ List: "list",
295
+ /**
296
+ * None
297
+ */
298
+ None: "none",
299
+ };
300
+ /**
301
+ * Health check HTTP method.
302
+ */
303
+ exports.HealthCheckMethod9 = {
304
+ /**
305
+ * GET
306
+ */
307
+ Get: "get",
308
+ /**
309
+ * POST
310
+ */
311
+ Post: "post",
312
+ /**
313
+ * POST with Body
314
+ */
315
+ PostWithBody: "post_with_body",
316
+ };
317
+ exports.CollectorHealthCheckHiddenDefaultBreakers9 = {
102
318
  Cribl: "Cribl",
103
319
  };
104
320
  /**
105
321
  * The algorithm to use when performing HTTP retries
106
322
  */
107
- exports.CollectorHealthCheckRetryType = {
323
+ exports.CollectorHealthCheckRetryType9 = {
108
324
  /**
109
325
  * Disabled
110
326
  */
@@ -118,120 +334,2606 @@ exports.CollectorHealthCheckRetryType = {
118
334
  */
119
335
  Static: "static",
120
336
  };
121
- /** @internal */
122
- exports.CollectorHealthCheckDiscoverType$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckDiscoverType);
123
- /** @internal */
124
- exports.CollectorHealthCheckDiscoverType$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckDiscoverType);
125
- /** @internal */
126
- exports.CollectorHealthCheckDiscovery$inboundSchema = z.object({
127
- discoverType: exports.CollectorHealthCheckDiscoverType$inboundSchema.default("none"),
128
- });
129
- /** @internal */
130
- exports.CollectorHealthCheckDiscovery$outboundSchema = z.object({
131
- discoverType: exports.CollectorHealthCheckDiscoverType$outboundSchema.default("none"),
132
- });
133
- function collectorHealthCheckDiscoveryToJSON(collectorHealthCheckDiscovery) {
134
- return JSON.stringify(exports.CollectorHealthCheckDiscovery$outboundSchema.parse(collectorHealthCheckDiscovery));
135
- }
136
- function collectorHealthCheckDiscoveryFromJSON(jsonString) {
137
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckDiscovery$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckDiscovery' from JSON`);
138
- }
139
- /** @internal */
140
- exports.HealthCheckMethod$inboundSchema = openEnums.inboundSchema(exports.HealthCheckMethod);
141
- /** @internal */
142
- exports.HealthCheckMethod$outboundSchema = openEnums.outboundSchema(exports.HealthCheckMethod);
143
- /** @internal */
144
- exports.CollectorHealthCheckCollectRequestHeader$inboundSchema = z.object({
145
- name: z.string(),
146
- value: z.string(),
147
- });
148
- /** @internal */
149
- exports.CollectorHealthCheckCollectRequestHeader$outboundSchema = z.object({
150
- name: z.string(),
151
- value: z.string(),
152
- });
153
- function collectorHealthCheckCollectRequestHeaderToJSON(collectorHealthCheckCollectRequestHeader) {
154
- return JSON.stringify(exports.CollectorHealthCheckCollectRequestHeader$outboundSchema.parse(collectorHealthCheckCollectRequestHeader));
155
- }
156
- function collectorHealthCheckCollectRequestHeaderFromJSON(jsonString) {
157
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestHeader$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestHeader' from JSON`);
158
- }
159
- /** @internal */
160
- exports.CollectorHealthCheckAuthentication$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckAuthentication);
161
- /** @internal */
162
- exports.CollectorHealthCheckAuthentication$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckAuthentication);
163
- /** @internal */
164
- exports.CollectorHealthCheckHiddenDefaultBreakers$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers);
165
- /** @internal */
166
- exports.CollectorHealthCheckHiddenDefaultBreakers$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers);
167
- /** @internal */
168
- exports.CollectorHealthCheckRetryType$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckRetryType);
169
- /** @internal */
170
- exports.CollectorHealthCheckRetryType$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckRetryType);
171
- /** @internal */
172
- exports.CollectorHealthCheckRetryRules$inboundSchema = z.object({
173
- type: exports.CollectorHealthCheckRetryType$inboundSchema.default("backoff"),
174
- interval: z.any().optional(),
175
- limit: z.any().optional(),
176
- multiplier: z.any().optional(),
177
- codes: z.any().optional(),
178
- enableHeader: z.any().optional(),
179
- });
180
- /** @internal */
181
- exports.CollectorHealthCheckRetryRules$outboundSchema = z.object({
182
- type: exports.CollectorHealthCheckRetryType$outboundSchema.default("backoff"),
183
- interval: z.any().optional(),
184
- limit: z.any().optional(),
185
- multiplier: z.any().optional(),
186
- codes: z.any().optional(),
187
- enableHeader: z.any().optional(),
188
- });
189
- function collectorHealthCheckRetryRulesToJSON(collectorHealthCheckRetryRules) {
190
- return JSON.stringify(exports.CollectorHealthCheckRetryRules$outboundSchema.parse(collectorHealthCheckRetryRules));
191
- }
192
- function collectorHealthCheckRetryRulesFromJSON(jsonString) {
193
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckRetryRules$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckRetryRules' from JSON`);
194
- }
195
- /** @internal */
196
- exports.CollectorHealthCheck$inboundSchema = z.object({
197
- discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery$inboundSchema)
198
- .optional(),
199
- collectUrl: z.string(),
200
- collectMethod: exports.HealthCheckMethod$inboundSchema.default("get"),
201
- collectRequestParams: z.any().optional(),
202
- collectBody: z.any().optional(),
203
- collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader$inboundSchema)).optional(),
204
- authenticateCollect: z.boolean().default(false),
205
- authentication: exports.CollectorHealthCheckAuthentication$inboundSchema.default("none"),
206
- timeout: z.number().default(30),
207
- rejectUnauthorized: z.boolean().default(false),
208
- defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers$inboundSchema
209
- .optional(),
210
- safeHeaders: z.array(z.string()).optional(),
211
- retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules$inboundSchema)
212
- .optional(),
213
- type: z.literal("health_check"),
214
- });
215
- /** @internal */
216
- exports.CollectorHealthCheck$outboundSchema = z.object({
217
- discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery$outboundSchema)
218
- .optional(),
219
- collectUrl: z.string(),
220
- collectMethod: exports.HealthCheckMethod$outboundSchema.default("get"),
221
- collectRequestParams: z.any().optional(),
222
- collectBody: z.any().optional(),
223
- collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader$outboundSchema)).optional(),
224
- authenticateCollect: z.boolean().default(false),
225
- authentication: exports.CollectorHealthCheckAuthentication$outboundSchema.default("none"),
226
- timeout: z.number().default(30),
227
- rejectUnauthorized: z.boolean().default(false),
228
- defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers$outboundSchema
229
- .optional(),
230
- safeHeaders: z.array(z.string()).optional(),
231
- retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules$outboundSchema)
232
- .optional(),
233
- type: z.literal("health_check"),
234
- });
337
+ /**
338
+ * Collector type: health_check
339
+ */
340
+ exports.CollectorHealthCheckType9 = {
341
+ HealthCheck: "health_check",
342
+ };
343
+ /**
344
+ * Authentication method for Discover and Collect REST calls. You can specify API Key–based authentication by adding the appropriate Collect headers.
345
+ */
346
+ exports.CollectorHealthCheckAuthentication8 = {
347
+ None: "none",
348
+ Basic: "basic",
349
+ BasicSecret: "basicSecret",
350
+ Login: "login",
351
+ LoginSecret: "loginSecret",
352
+ Oauth: "oauth",
353
+ OauthSecret: "oauthSecret",
354
+ };
355
+ /**
356
+ * Defines how task discovery will be performed. Use None to skip the discovery. Use HTTP Request to make a REST call to discover tasks. Use Item List to enumerate items for collect to retrieve. Use JSON Response to manually define discover tasks as a JSON array of objects. Each entry returned by the discover operation will result in a collect task.
357
+ */
358
+ exports.CollectorHealthCheckDiscoverType8 = {
359
+ /**
360
+ * HTTP Request
361
+ */
362
+ Http: "http",
363
+ /**
364
+ * JSON Response
365
+ */
366
+ Json: "json",
367
+ /**
368
+ * Item List
369
+ */
370
+ List: "list",
371
+ /**
372
+ * None
373
+ */
374
+ None: "none",
375
+ };
376
+ /**
377
+ * Health check HTTP method.
378
+ */
379
+ exports.HealthCheckMethod8 = {
380
+ /**
381
+ * GET
382
+ */
383
+ Get: "get",
384
+ /**
385
+ * POST
386
+ */
387
+ Post: "post",
388
+ /**
389
+ * POST with Body
390
+ */
391
+ PostWithBody: "post_with_body",
392
+ };
393
+ exports.CollectorHealthCheckHiddenDefaultBreakers8 = {
394
+ Cribl: "Cribl",
395
+ };
396
+ /**
397
+ * The algorithm to use when performing HTTP retries
398
+ */
399
+ exports.CollectorHealthCheckRetryType8 = {
400
+ /**
401
+ * Disabled
402
+ */
403
+ None: "none",
404
+ /**
405
+ * Backoff
406
+ */
407
+ Backoff: "backoff",
408
+ /**
409
+ * Static
410
+ */
411
+ Static: "static",
412
+ };
413
+ /**
414
+ * Collector type: health_check
415
+ */
416
+ exports.CollectorHealthCheckType8 = {
417
+ HealthCheck: "health_check",
418
+ };
419
+ /**
420
+ * Authentication method for Discover and Collect REST calls. You can specify API Key–based authentication by adding the appropriate Collect headers.
421
+ */
422
+ exports.CollectorHealthCheckAuthentication7 = {
423
+ None: "none",
424
+ Basic: "basic",
425
+ BasicSecret: "basicSecret",
426
+ Login: "login",
427
+ LoginSecret: "loginSecret",
428
+ Oauth: "oauth",
429
+ OauthSecret: "oauthSecret",
430
+ };
431
+ /**
432
+ * Defines how task discovery will be performed. Use None to skip the discovery. Use HTTP Request to make a REST call to discover tasks. Use Item List to enumerate items for collect to retrieve. Use JSON Response to manually define discover tasks as a JSON array of objects. Each entry returned by the discover operation will result in a collect task.
433
+ */
434
+ exports.CollectorHealthCheckDiscoverType7 = {
435
+ /**
436
+ * HTTP Request
437
+ */
438
+ Http: "http",
439
+ /**
440
+ * JSON Response
441
+ */
442
+ Json: "json",
443
+ /**
444
+ * Item List
445
+ */
446
+ List: "list",
447
+ /**
448
+ * None
449
+ */
450
+ None: "none",
451
+ };
452
+ /**
453
+ * Health check HTTP method.
454
+ */
455
+ exports.HealthCheckMethod7 = {
456
+ /**
457
+ * GET
458
+ */
459
+ Get: "get",
460
+ /**
461
+ * POST
462
+ */
463
+ Post: "post",
464
+ /**
465
+ * POST with Body
466
+ */
467
+ PostWithBody: "post_with_body",
468
+ };
469
+ exports.CollectorHealthCheckHiddenDefaultBreakers7 = {
470
+ Cribl: "Cribl",
471
+ };
472
+ /**
473
+ * The algorithm to use when performing HTTP retries
474
+ */
475
+ exports.CollectorHealthCheckRetryType7 = {
476
+ /**
477
+ * Disabled
478
+ */
479
+ None: "none",
480
+ /**
481
+ * Backoff
482
+ */
483
+ Backoff: "backoff",
484
+ /**
485
+ * Static
486
+ */
487
+ Static: "static",
488
+ };
489
+ /**
490
+ * Collector type: health_check
491
+ */
492
+ exports.CollectorHealthCheckType7 = {
493
+ HealthCheck: "health_check",
494
+ };
495
+ /**
496
+ * Authentication method for Discover and Collect REST calls. You can specify API Key–based authentication by adding the appropriate Collect headers.
497
+ */
498
+ exports.CollectorHealthCheckAuthentication6 = {
499
+ None: "none",
500
+ Basic: "basic",
501
+ BasicSecret: "basicSecret",
502
+ Login: "login",
503
+ LoginSecret: "loginSecret",
504
+ Oauth: "oauth",
505
+ OauthSecret: "oauthSecret",
506
+ };
507
+ /**
508
+ * Defines how task discovery will be performed. Use None to skip the discovery. Use HTTP Request to make a REST call to discover tasks. Use Item List to enumerate items for collect to retrieve. Use JSON Response to manually define discover tasks as a JSON array of objects. Each entry returned by the discover operation will result in a collect task.
509
+ */
510
+ exports.CollectorHealthCheckDiscoverType6 = {
511
+ /**
512
+ * HTTP Request
513
+ */
514
+ Http: "http",
515
+ /**
516
+ * JSON Response
517
+ */
518
+ Json: "json",
519
+ /**
520
+ * Item List
521
+ */
522
+ List: "list",
523
+ /**
524
+ * None
525
+ */
526
+ None: "none",
527
+ };
528
+ /**
529
+ * Health check HTTP method.
530
+ */
531
+ exports.HealthCheckMethod6 = {
532
+ /**
533
+ * GET
534
+ */
535
+ Get: "get",
536
+ /**
537
+ * POST
538
+ */
539
+ Post: "post",
540
+ /**
541
+ * POST with Body
542
+ */
543
+ PostWithBody: "post_with_body",
544
+ };
545
+ exports.CollectorHealthCheckHiddenDefaultBreakers6 = {
546
+ Cribl: "Cribl",
547
+ };
548
+ /**
549
+ * The algorithm to use when performing HTTP retries
550
+ */
551
+ exports.CollectorHealthCheckRetryType6 = {
552
+ /**
553
+ * Disabled
554
+ */
555
+ None: "none",
556
+ /**
557
+ * Backoff
558
+ */
559
+ Backoff: "backoff",
560
+ /**
561
+ * Static
562
+ */
563
+ Static: "static",
564
+ };
565
+ /**
566
+ * Collector type: health_check
567
+ */
568
+ exports.CollectorHealthCheckType6 = {
569
+ HealthCheck: "health_check",
570
+ };
571
+ /**
572
+ * Authentication method for Discover and Collect REST calls. You can specify API Key–based authentication by adding the appropriate Collect headers.
573
+ */
574
+ exports.CollectorHealthCheckAuthentication5 = {
575
+ None: "none",
576
+ Basic: "basic",
577
+ BasicSecret: "basicSecret",
578
+ Login: "login",
579
+ LoginSecret: "loginSecret",
580
+ Oauth: "oauth",
581
+ OauthSecret: "oauthSecret",
582
+ };
583
+ /**
584
+ * Defines how task discovery will be performed. Use None to skip the discovery. Use HTTP Request to make a REST call to discover tasks. Use Item List to enumerate items for collect to retrieve. Use JSON Response to manually define discover tasks as a JSON array of objects. Each entry returned by the discover operation will result in a collect task.
585
+ */
586
+ exports.CollectorHealthCheckDiscoverType5 = {
587
+ /**
588
+ * HTTP Request
589
+ */
590
+ Http: "http",
591
+ /**
592
+ * JSON Response
593
+ */
594
+ Json: "json",
595
+ /**
596
+ * Item List
597
+ */
598
+ List: "list",
599
+ /**
600
+ * None
601
+ */
602
+ None: "none",
603
+ };
604
+ /**
605
+ * Health check HTTP method.
606
+ */
607
+ exports.HealthCheckMethod5 = {
608
+ /**
609
+ * GET
610
+ */
611
+ Get: "get",
612
+ /**
613
+ * POST
614
+ */
615
+ Post: "post",
616
+ /**
617
+ * POST with Body
618
+ */
619
+ PostWithBody: "post_with_body",
620
+ };
621
+ exports.CollectorHealthCheckHiddenDefaultBreakers5 = {
622
+ Cribl: "Cribl",
623
+ };
624
+ /**
625
+ * The algorithm to use when performing HTTP retries
626
+ */
627
+ exports.CollectorHealthCheckRetryType5 = {
628
+ /**
629
+ * Disabled
630
+ */
631
+ None: "none",
632
+ /**
633
+ * Backoff
634
+ */
635
+ Backoff: "backoff",
636
+ /**
637
+ * Static
638
+ */
639
+ Static: "static",
640
+ };
641
+ /**
642
+ * Collector type: health_check
643
+ */
644
+ exports.CollectorHealthCheckType5 = {
645
+ HealthCheck: "health_check",
646
+ };
647
+ /**
648
+ * Authentication method for Discover and Collect REST calls. You can specify API Key–based authentication by adding the appropriate Collect headers.
649
+ */
650
+ exports.CollectorHealthCheckAuthentication4 = {
651
+ None: "none",
652
+ Basic: "basic",
653
+ BasicSecret: "basicSecret",
654
+ Login: "login",
655
+ LoginSecret: "loginSecret",
656
+ Oauth: "oauth",
657
+ OauthSecret: "oauthSecret",
658
+ };
659
+ /**
660
+ * Defines how task discovery will be performed. Use None to skip the discovery. Use HTTP Request to make a REST call to discover tasks. Use Item List to enumerate items for collect to retrieve. Use JSON Response to manually define discover tasks as a JSON array of objects. Each entry returned by the discover operation will result in a collect task.
661
+ */
662
+ exports.CollectorHealthCheckDiscoverType4 = {
663
+ /**
664
+ * HTTP Request
665
+ */
666
+ Http: "http",
667
+ /**
668
+ * JSON Response
669
+ */
670
+ Json: "json",
671
+ /**
672
+ * Item List
673
+ */
674
+ List: "list",
675
+ /**
676
+ * None
677
+ */
678
+ None: "none",
679
+ };
680
+ /**
681
+ * Health check HTTP method.
682
+ */
683
+ exports.HealthCheckMethod4 = {
684
+ /**
685
+ * GET
686
+ */
687
+ Get: "get",
688
+ /**
689
+ * POST
690
+ */
691
+ Post: "post",
692
+ /**
693
+ * POST with Body
694
+ */
695
+ PostWithBody: "post_with_body",
696
+ };
697
+ exports.CollectorHealthCheckHiddenDefaultBreakers4 = {
698
+ Cribl: "Cribl",
699
+ };
700
+ /**
701
+ * The algorithm to use when performing HTTP retries
702
+ */
703
+ exports.CollectorHealthCheckRetryType4 = {
704
+ /**
705
+ * Disabled
706
+ */
707
+ None: "none",
708
+ /**
709
+ * Backoff
710
+ */
711
+ Backoff: "backoff",
712
+ /**
713
+ * Static
714
+ */
715
+ Static: "static",
716
+ };
717
+ /**
718
+ * Collector type: health_check
719
+ */
720
+ exports.CollectorHealthCheckType4 = {
721
+ HealthCheck: "health_check",
722
+ };
723
+ /**
724
+ * Health check HTTP method.
725
+ */
726
+ exports.HealthCheckMethod3 = {
727
+ /**
728
+ * GET
729
+ */
730
+ Get: "get",
731
+ /**
732
+ * POST
733
+ */
734
+ Post: "post",
735
+ /**
736
+ * POST with Body
737
+ */
738
+ PostWithBody: "post_with_body",
739
+ };
740
+ /**
741
+ * Defines how task discovery will be performed. Use None to skip the discovery. Use HTTP Request to make a REST call to discover tasks. Use Item List to enumerate items for collect to retrieve. Use JSON Response to manually define discover tasks as a JSON array of objects. Each entry returned by the discover operation will result in a collect task.
742
+ */
743
+ exports.CollectorHealthCheckDiscoverType3 = {
744
+ /**
745
+ * HTTP Request
746
+ */
747
+ Http: "http",
748
+ /**
749
+ * JSON Response
750
+ */
751
+ Json: "json",
752
+ /**
753
+ * Item List
754
+ */
755
+ List: "list",
756
+ /**
757
+ * None
758
+ */
759
+ None: "none",
760
+ };
761
+ /**
762
+ * Authentication method for Discover and Collect REST calls. You can specify API Key–based authentication by adding the appropriate Collect headers.
763
+ */
764
+ exports.CollectorHealthCheckAuthentication3 = {
765
+ None: "none",
766
+ Basic: "basic",
767
+ BasicSecret: "basicSecret",
768
+ Login: "login",
769
+ LoginSecret: "loginSecret",
770
+ Oauth: "oauth",
771
+ OauthSecret: "oauthSecret",
772
+ };
773
+ exports.CollectorHealthCheckHiddenDefaultBreakers3 = {
774
+ Cribl: "Cribl",
775
+ };
776
+ /**
777
+ * The algorithm to use when performing HTTP retries
778
+ */
779
+ exports.CollectorHealthCheckRetryType3 = {
780
+ /**
781
+ * Disabled
782
+ */
783
+ None: "none",
784
+ /**
785
+ * Backoff
786
+ */
787
+ Backoff: "backoff",
788
+ /**
789
+ * Static
790
+ */
791
+ Static: "static",
792
+ };
793
+ /**
794
+ * Collector type: health_check
795
+ */
796
+ exports.CollectorHealthCheckType3 = {
797
+ HealthCheck: "health_check",
798
+ };
799
+ /**
800
+ * Health check HTTP method.
801
+ */
802
+ exports.HealthCheckMethod2 = {
803
+ /**
804
+ * GET
805
+ */
806
+ Get: "get",
807
+ /**
808
+ * POST
809
+ */
810
+ Post: "post",
811
+ /**
812
+ * POST with Body
813
+ */
814
+ PostWithBody: "post_with_body",
815
+ };
816
+ /**
817
+ * Defines how task discovery will be performed. Use None to skip the discovery. Use HTTP Request to make a REST call to discover tasks. Use Item List to enumerate items for collect to retrieve. Use JSON Response to manually define discover tasks as a JSON array of objects. Each entry returned by the discover operation will result in a collect task.
818
+ */
819
+ exports.CollectorHealthCheckDiscoverType2 = {
820
+ /**
821
+ * HTTP Request
822
+ */
823
+ Http: "http",
824
+ /**
825
+ * JSON Response
826
+ */
827
+ Json: "json",
828
+ /**
829
+ * Item List
830
+ */
831
+ List: "list",
832
+ /**
833
+ * None
834
+ */
835
+ None: "none",
836
+ };
837
+ /**
838
+ * Authentication method for Discover and Collect REST calls. You can specify API Key–based authentication by adding the appropriate Collect headers.
839
+ */
840
+ exports.CollectorHealthCheckAuthentication2 = {
841
+ None: "none",
842
+ Basic: "basic",
843
+ BasicSecret: "basicSecret",
844
+ Login: "login",
845
+ LoginSecret: "loginSecret",
846
+ Oauth: "oauth",
847
+ OauthSecret: "oauthSecret",
848
+ };
849
+ exports.CollectorHealthCheckHiddenDefaultBreakers2 = {
850
+ Cribl: "Cribl",
851
+ };
852
+ /**
853
+ * The algorithm to use when performing HTTP retries
854
+ */
855
+ exports.CollectorHealthCheckRetryType2 = {
856
+ /**
857
+ * Disabled
858
+ */
859
+ None: "none",
860
+ /**
861
+ * Backoff
862
+ */
863
+ Backoff: "backoff",
864
+ /**
865
+ * Static
866
+ */
867
+ Static: "static",
868
+ };
869
+ /**
870
+ * Collector type: health_check
871
+ */
872
+ exports.CollectorHealthCheckType2 = {
873
+ HealthCheck: "health_check",
874
+ };
875
+ /**
876
+ * Health check HTTP method.
877
+ */
878
+ exports.HealthCheckMethod1 = {
879
+ /**
880
+ * GET
881
+ */
882
+ Get: "get",
883
+ /**
884
+ * POST
885
+ */
886
+ Post: "post",
887
+ /**
888
+ * POST with Body
889
+ */
890
+ PostWithBody: "post_with_body",
891
+ };
892
+ /**
893
+ * Defines how task discovery will be performed. Use None to skip the discovery. Use HTTP Request to make a REST call to discover tasks. Use Item List to enumerate items for collect to retrieve. Use JSON Response to manually define discover tasks as a JSON array of objects. Each entry returned by the discover operation will result in a collect task.
894
+ */
895
+ exports.CollectorHealthCheckDiscoverType1 = {
896
+ /**
897
+ * HTTP Request
898
+ */
899
+ Http: "http",
900
+ /**
901
+ * JSON Response
902
+ */
903
+ Json: "json",
904
+ /**
905
+ * Item List
906
+ */
907
+ List: "list",
908
+ /**
909
+ * None
910
+ */
911
+ None: "none",
912
+ };
913
+ /**
914
+ * Authentication method for Discover and Collect REST calls. You can specify API Key–based authentication by adding the appropriate Collect headers.
915
+ */
916
+ exports.CollectorHealthCheckAuthentication1 = {
917
+ None: "none",
918
+ Basic: "basic",
919
+ BasicSecret: "basicSecret",
920
+ Login: "login",
921
+ LoginSecret: "loginSecret",
922
+ Oauth: "oauth",
923
+ OauthSecret: "oauthSecret",
924
+ };
925
+ exports.CollectorHealthCheckHiddenDefaultBreakers1 = {
926
+ Cribl: "Cribl",
927
+ };
928
+ /**
929
+ * The algorithm to use when performing HTTP retries
930
+ */
931
+ exports.CollectorHealthCheckRetryType1 = {
932
+ /**
933
+ * Disabled
934
+ */
935
+ None: "none",
936
+ /**
937
+ * Backoff
938
+ */
939
+ Backoff: "backoff",
940
+ /**
941
+ * Static
942
+ */
943
+ Static: "static",
944
+ };
945
+ /**
946
+ * Collector type: health_check
947
+ */
948
+ exports.CollectorHealthCheckType1 = {
949
+ HealthCheck: "health_check",
950
+ };
951
+ /** @internal */
952
+ exports.CollectorHealthCheckAuthentication10$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckAuthentication10);
953
+ /** @internal */
954
+ exports.CollectorHealthCheckAuthentication10$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckAuthentication10);
955
+ /** @internal */
956
+ exports.CollectorHealthCheckAuthRequestParam10$inboundSchema = z.object({
957
+ name: z.string(),
958
+ value: z.string(),
959
+ });
960
+ /** @internal */
961
+ exports.CollectorHealthCheckAuthRequestParam10$outboundSchema = z.object({
962
+ name: z.string(),
963
+ value: z.string(),
964
+ });
965
+ function collectorHealthCheckAuthRequestParam10ToJSON(collectorHealthCheckAuthRequestParam10) {
966
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestParam10$outboundSchema.parse(collectorHealthCheckAuthRequestParam10));
967
+ }
968
+ function collectorHealthCheckAuthRequestParam10FromJSON(jsonString) {
969
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestParam10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestParam10' from JSON`);
970
+ }
971
+ /** @internal */
972
+ exports.CollectorHealthCheckAuthRequestHeader10$inboundSchema = z.object({
973
+ name: z.string(),
974
+ value: z.string(),
975
+ });
976
+ /** @internal */
977
+ exports.CollectorHealthCheckAuthRequestHeader10$outboundSchema = z.object({
978
+ name: z.string(),
979
+ value: z.string(),
980
+ });
981
+ function collectorHealthCheckAuthRequestHeader10ToJSON(collectorHealthCheckAuthRequestHeader10) {
982
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestHeader10$outboundSchema.parse(collectorHealthCheckAuthRequestHeader10));
983
+ }
984
+ function collectorHealthCheckAuthRequestHeader10FromJSON(jsonString) {
985
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestHeader10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestHeader10' from JSON`);
986
+ }
987
+ /** @internal */
988
+ exports.CollectorHealthCheckDiscoverType10$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckDiscoverType10);
989
+ /** @internal */
990
+ exports.CollectorHealthCheckDiscoverType10$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckDiscoverType10);
991
+ /** @internal */
992
+ exports.CollectorHealthCheckDiscovery10$inboundSchema = z.object({
993
+ discoverType: exports.CollectorHealthCheckDiscoverType10$inboundSchema.default("none"),
994
+ });
995
+ /** @internal */
996
+ exports.CollectorHealthCheckDiscovery10$outboundSchema = z.object({
997
+ discoverType: exports.CollectorHealthCheckDiscoverType10$outboundSchema.default("none"),
998
+ });
999
+ function collectorHealthCheckDiscovery10ToJSON(collectorHealthCheckDiscovery10) {
1000
+ return JSON.stringify(exports.CollectorHealthCheckDiscovery10$outboundSchema.parse(collectorHealthCheckDiscovery10));
1001
+ }
1002
+ function collectorHealthCheckDiscovery10FromJSON(jsonString) {
1003
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckDiscovery10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckDiscovery10' from JSON`);
1004
+ }
1005
+ /** @internal */
1006
+ exports.HealthCheckMethod10$inboundSchema = openEnums.inboundSchema(exports.HealthCheckMethod10);
1007
+ /** @internal */
1008
+ exports.HealthCheckMethod10$outboundSchema = openEnums.outboundSchema(exports.HealthCheckMethod10);
1009
+ /** @internal */
1010
+ exports.CollectorHealthCheckCollectRequestParam10$inboundSchema = z.object({
1011
+ name: z.string(),
1012
+ value: z.string(),
1013
+ });
1014
+ /** @internal */
1015
+ exports.CollectorHealthCheckCollectRequestParam10$outboundSchema = z.object({
1016
+ name: z.string(),
1017
+ value: z.string(),
1018
+ });
1019
+ function collectorHealthCheckCollectRequestParam10ToJSON(collectorHealthCheckCollectRequestParam10) {
1020
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestParam10$outboundSchema.parse(collectorHealthCheckCollectRequestParam10));
1021
+ }
1022
+ function collectorHealthCheckCollectRequestParam10FromJSON(jsonString) {
1023
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestParam10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestParam10' from JSON`);
1024
+ }
1025
+ /** @internal */
1026
+ exports.CollectorHealthCheckCollectRequestHeader10$inboundSchema = z.object({
1027
+ name: z.string(),
1028
+ value: z.string(),
1029
+ });
1030
+ /** @internal */
1031
+ exports.CollectorHealthCheckCollectRequestHeader10$outboundSchema = z.object({
1032
+ name: z.string(),
1033
+ value: z.string(),
1034
+ });
1035
+ function collectorHealthCheckCollectRequestHeader10ToJSON(collectorHealthCheckCollectRequestHeader10) {
1036
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestHeader10$outboundSchema.parse(collectorHealthCheckCollectRequestHeader10));
1037
+ }
1038
+ function collectorHealthCheckCollectRequestHeader10FromJSON(jsonString) {
1039
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestHeader10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestHeader10' from JSON`);
1040
+ }
1041
+ /** @internal */
1042
+ exports.CollectorHealthCheckHiddenDefaultBreakers10$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers10);
1043
+ /** @internal */
1044
+ exports.CollectorHealthCheckHiddenDefaultBreakers10$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers10);
1045
+ /** @internal */
1046
+ exports.CollectorHealthCheckRetryType10$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckRetryType10);
1047
+ /** @internal */
1048
+ exports.CollectorHealthCheckRetryType10$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckRetryType10);
1049
+ /** @internal */
1050
+ exports.CollectorHealthCheckRetryRules10$inboundSchema = z.object({
1051
+ type: exports.CollectorHealthCheckRetryType10$inboundSchema.default("backoff"),
1052
+ interval: z.any().optional(),
1053
+ limit: z.any().optional(),
1054
+ multiplier: z.any().optional(),
1055
+ codes: z.any().optional(),
1056
+ enableHeader: z.any().optional(),
1057
+ });
1058
+ /** @internal */
1059
+ exports.CollectorHealthCheckRetryRules10$outboundSchema = z.object({
1060
+ type: exports.CollectorHealthCheckRetryType10$outboundSchema.default("backoff"),
1061
+ interval: z.any().optional(),
1062
+ limit: z.any().optional(),
1063
+ multiplier: z.any().optional(),
1064
+ codes: z.any().optional(),
1065
+ enableHeader: z.any().optional(),
1066
+ });
1067
+ function collectorHealthCheckRetryRules10ToJSON(collectorHealthCheckRetryRules10) {
1068
+ return JSON.stringify(exports.CollectorHealthCheckRetryRules10$outboundSchema.parse(collectorHealthCheckRetryRules10));
1069
+ }
1070
+ function collectorHealthCheckRetryRules10FromJSON(jsonString) {
1071
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckRetryRules10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckRetryRules10' from JSON`);
1072
+ }
1073
+ /** @internal */
1074
+ exports.CollectorHealthCheckType10$inboundSchema = z.nativeEnum(exports.CollectorHealthCheckType10);
1075
+ /** @internal */
1076
+ exports.CollectorHealthCheckType10$outboundSchema = exports.CollectorHealthCheckType10$inboundSchema;
1077
+ /** @internal */
1078
+ exports.CollectorHealthCheckHealthCheck10$inboundSchema = z.object({
1079
+ authentication: exports.CollectorHealthCheckAuthentication10$inboundSchema.default("none"),
1080
+ loginUrl: z.string().default(""),
1081
+ tokenRespAttribute: z.string().optional(),
1082
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1083
+ clientSecretParamName: z.string().default("client_secret"),
1084
+ textSecret: z.string(),
1085
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam10$inboundSchema)).optional(),
1086
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader10$inboundSchema)).optional(),
1087
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery10$inboundSchema)
1088
+ .optional(),
1089
+ collectUrl: z.string(),
1090
+ collectMethod: exports.HealthCheckMethod10$inboundSchema.default("get"),
1091
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam10$inboundSchema)).optional(),
1092
+ collectBody: z.string().default("`{ }`"),
1093
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader10$inboundSchema)).optional(),
1094
+ authenticateCollect: z.boolean().default(false),
1095
+ timeout: z.number().default(30),
1096
+ rejectUnauthorized: z.boolean().default(false),
1097
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers10$inboundSchema
1098
+ .optional(),
1099
+ safeHeaders: z.array(z.string()).optional(),
1100
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules10$inboundSchema)
1101
+ .optional(),
1102
+ username: z.string().optional(),
1103
+ password: z.string().optional(),
1104
+ credentialsSecret: z.string().optional(),
1105
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1106
+ clientSecretParamValue: z.string().optional(),
1107
+ type: exports.CollectorHealthCheckType10$inboundSchema,
1108
+ });
1109
+ /** @internal */
1110
+ exports.CollectorHealthCheckHealthCheck10$outboundSchema = z.object({
1111
+ authentication: exports.CollectorHealthCheckAuthentication10$outboundSchema.default("none"),
1112
+ loginUrl: z.string().default(""),
1113
+ tokenRespAttribute: z.string().optional(),
1114
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1115
+ clientSecretParamName: z.string().default("client_secret"),
1116
+ textSecret: z.string(),
1117
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam10$outboundSchema)).optional(),
1118
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader10$outboundSchema)).optional(),
1119
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery10$outboundSchema)
1120
+ .optional(),
1121
+ collectUrl: z.string(),
1122
+ collectMethod: exports.HealthCheckMethod10$outboundSchema.default("get"),
1123
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam10$outboundSchema)).optional(),
1124
+ collectBody: z.string().default("`{ }`"),
1125
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader10$outboundSchema)).optional(),
1126
+ authenticateCollect: z.boolean().default(false),
1127
+ timeout: z.number().default(30),
1128
+ rejectUnauthorized: z.boolean().default(false),
1129
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers10$outboundSchema
1130
+ .optional(),
1131
+ safeHeaders: z.array(z.string()).optional(),
1132
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules10$outboundSchema)
1133
+ .optional(),
1134
+ username: z.string().optional(),
1135
+ password: z.string().optional(),
1136
+ credentialsSecret: z.string().optional(),
1137
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1138
+ clientSecretParamValue: z.string().optional(),
1139
+ type: exports.CollectorHealthCheckType10$outboundSchema,
1140
+ });
1141
+ function collectorHealthCheckHealthCheck10ToJSON(collectorHealthCheckHealthCheck10) {
1142
+ return JSON.stringify(exports.CollectorHealthCheckHealthCheck10$outboundSchema.parse(collectorHealthCheckHealthCheck10));
1143
+ }
1144
+ function collectorHealthCheckHealthCheck10FromJSON(jsonString) {
1145
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckHealthCheck10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckHealthCheck10' from JSON`);
1146
+ }
1147
+ /** @internal */
1148
+ exports.CollectorHealthCheckAuthentication9$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckAuthentication9);
1149
+ /** @internal */
1150
+ exports.CollectorHealthCheckAuthentication9$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckAuthentication9);
1151
+ /** @internal */
1152
+ exports.CollectorHealthCheckAuthRequestParam9$inboundSchema = z.object({
1153
+ name: z.string(),
1154
+ value: z.string(),
1155
+ });
1156
+ /** @internal */
1157
+ exports.CollectorHealthCheckAuthRequestParam9$outboundSchema = z.object({
1158
+ name: z.string(),
1159
+ value: z.string(),
1160
+ });
1161
+ function collectorHealthCheckAuthRequestParam9ToJSON(collectorHealthCheckAuthRequestParam9) {
1162
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestParam9$outboundSchema.parse(collectorHealthCheckAuthRequestParam9));
1163
+ }
1164
+ function collectorHealthCheckAuthRequestParam9FromJSON(jsonString) {
1165
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestParam9$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestParam9' from JSON`);
1166
+ }
1167
+ /** @internal */
1168
+ exports.CollectorHealthCheckAuthRequestHeader9$inboundSchema = z.object({
1169
+ name: z.string(),
1170
+ value: z.string(),
1171
+ });
1172
+ /** @internal */
1173
+ exports.CollectorHealthCheckAuthRequestHeader9$outboundSchema = z.object({
1174
+ name: z.string(),
1175
+ value: z.string(),
1176
+ });
1177
+ function collectorHealthCheckAuthRequestHeader9ToJSON(collectorHealthCheckAuthRequestHeader9) {
1178
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestHeader9$outboundSchema.parse(collectorHealthCheckAuthRequestHeader9));
1179
+ }
1180
+ function collectorHealthCheckAuthRequestHeader9FromJSON(jsonString) {
1181
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestHeader9$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestHeader9' from JSON`);
1182
+ }
1183
+ /** @internal */
1184
+ exports.CollectorHealthCheckDiscoverType9$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckDiscoverType9);
1185
+ /** @internal */
1186
+ exports.CollectorHealthCheckDiscoverType9$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckDiscoverType9);
1187
+ /** @internal */
1188
+ exports.CollectorHealthCheckDiscovery9$inboundSchema = z.object({
1189
+ discoverType: exports.CollectorHealthCheckDiscoverType9$inboundSchema.default("none"),
1190
+ });
1191
+ /** @internal */
1192
+ exports.CollectorHealthCheckDiscovery9$outboundSchema = z.object({
1193
+ discoverType: exports.CollectorHealthCheckDiscoverType9$outboundSchema.default("none"),
1194
+ });
1195
+ function collectorHealthCheckDiscovery9ToJSON(collectorHealthCheckDiscovery9) {
1196
+ return JSON.stringify(exports.CollectorHealthCheckDiscovery9$outboundSchema.parse(collectorHealthCheckDiscovery9));
1197
+ }
1198
+ function collectorHealthCheckDiscovery9FromJSON(jsonString) {
1199
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckDiscovery9$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckDiscovery9' from JSON`);
1200
+ }
1201
+ /** @internal */
1202
+ exports.HealthCheckMethod9$inboundSchema = openEnums.inboundSchema(exports.HealthCheckMethod9);
1203
+ /** @internal */
1204
+ exports.HealthCheckMethod9$outboundSchema = openEnums.outboundSchema(exports.HealthCheckMethod9);
1205
+ /** @internal */
1206
+ exports.CollectorHealthCheckCollectRequestParam9$inboundSchema = z.object({
1207
+ name: z.string(),
1208
+ value: z.string(),
1209
+ });
1210
+ /** @internal */
1211
+ exports.CollectorHealthCheckCollectRequestParam9$outboundSchema = z.object({
1212
+ name: z.string(),
1213
+ value: z.string(),
1214
+ });
1215
+ function collectorHealthCheckCollectRequestParam9ToJSON(collectorHealthCheckCollectRequestParam9) {
1216
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestParam9$outboundSchema.parse(collectorHealthCheckCollectRequestParam9));
1217
+ }
1218
+ function collectorHealthCheckCollectRequestParam9FromJSON(jsonString) {
1219
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestParam9$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestParam9' from JSON`);
1220
+ }
1221
+ /** @internal */
1222
+ exports.CollectorHealthCheckCollectRequestHeader9$inboundSchema = z.object({
1223
+ name: z.string(),
1224
+ value: z.string(),
1225
+ });
1226
+ /** @internal */
1227
+ exports.CollectorHealthCheckCollectRequestHeader9$outboundSchema = z.object({
1228
+ name: z.string(),
1229
+ value: z.string(),
1230
+ });
1231
+ function collectorHealthCheckCollectRequestHeader9ToJSON(collectorHealthCheckCollectRequestHeader9) {
1232
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestHeader9$outboundSchema.parse(collectorHealthCheckCollectRequestHeader9));
1233
+ }
1234
+ function collectorHealthCheckCollectRequestHeader9FromJSON(jsonString) {
1235
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestHeader9$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestHeader9' from JSON`);
1236
+ }
1237
+ /** @internal */
1238
+ exports.CollectorHealthCheckHiddenDefaultBreakers9$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers9);
1239
+ /** @internal */
1240
+ exports.CollectorHealthCheckHiddenDefaultBreakers9$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers9);
1241
+ /** @internal */
1242
+ exports.CollectorHealthCheckRetryType9$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckRetryType9);
1243
+ /** @internal */
1244
+ exports.CollectorHealthCheckRetryType9$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckRetryType9);
1245
+ /** @internal */
1246
+ exports.CollectorHealthCheckRetryRules9$inboundSchema = z.object({
1247
+ type: exports.CollectorHealthCheckRetryType9$inboundSchema.default("backoff"),
1248
+ interval: z.any().optional(),
1249
+ limit: z.any().optional(),
1250
+ multiplier: z.any().optional(),
1251
+ codes: z.any().optional(),
1252
+ enableHeader: z.any().optional(),
1253
+ });
1254
+ /** @internal */
1255
+ exports.CollectorHealthCheckRetryRules9$outboundSchema = z.object({
1256
+ type: exports.CollectorHealthCheckRetryType9$outboundSchema.default("backoff"),
1257
+ interval: z.any().optional(),
1258
+ limit: z.any().optional(),
1259
+ multiplier: z.any().optional(),
1260
+ codes: z.any().optional(),
1261
+ enableHeader: z.any().optional(),
1262
+ });
1263
+ function collectorHealthCheckRetryRules9ToJSON(collectorHealthCheckRetryRules9) {
1264
+ return JSON.stringify(exports.CollectorHealthCheckRetryRules9$outboundSchema.parse(collectorHealthCheckRetryRules9));
1265
+ }
1266
+ function collectorHealthCheckRetryRules9FromJSON(jsonString) {
1267
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckRetryRules9$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckRetryRules9' from JSON`);
1268
+ }
1269
+ /** @internal */
1270
+ exports.CollectorHealthCheckType9$inboundSchema = z.nativeEnum(exports.CollectorHealthCheckType9);
1271
+ /** @internal */
1272
+ exports.CollectorHealthCheckType9$outboundSchema = exports.CollectorHealthCheckType9$inboundSchema;
1273
+ /** @internal */
1274
+ exports.CollectorHealthCheckHealthCheck9$inboundSchema = z.object({
1275
+ authentication: exports.CollectorHealthCheckAuthentication9$inboundSchema.default("none"),
1276
+ loginUrl: z.string().default(""),
1277
+ tokenRespAttribute: z.string().optional(),
1278
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1279
+ clientSecretParamName: z.string().default("client_secret"),
1280
+ clientSecretParamValue: z.string(),
1281
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam9$inboundSchema)).optional(),
1282
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader9$inboundSchema)).optional(),
1283
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery9$inboundSchema)
1284
+ .optional(),
1285
+ collectUrl: z.string(),
1286
+ collectMethod: exports.HealthCheckMethod9$inboundSchema.default("get"),
1287
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam9$inboundSchema)).optional(),
1288
+ collectBody: z.string().default("`{ }`"),
1289
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader9$inboundSchema)).optional(),
1290
+ authenticateCollect: z.boolean().default(false),
1291
+ timeout: z.number().default(30),
1292
+ rejectUnauthorized: z.boolean().default(false),
1293
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers9$inboundSchema
1294
+ .optional(),
1295
+ safeHeaders: z.array(z.string()).optional(),
1296
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules9$inboundSchema)
1297
+ .optional(),
1298
+ username: z.string().optional(),
1299
+ password: z.string().optional(),
1300
+ credentialsSecret: z.string().optional(),
1301
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1302
+ textSecret: z.string().optional(),
1303
+ type: exports.CollectorHealthCheckType9$inboundSchema,
1304
+ });
1305
+ /** @internal */
1306
+ exports.CollectorHealthCheckHealthCheck9$outboundSchema = z.object({
1307
+ authentication: exports.CollectorHealthCheckAuthentication9$outboundSchema.default("none"),
1308
+ loginUrl: z.string().default(""),
1309
+ tokenRespAttribute: z.string().optional(),
1310
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1311
+ clientSecretParamName: z.string().default("client_secret"),
1312
+ clientSecretParamValue: z.string(),
1313
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam9$outboundSchema)).optional(),
1314
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader9$outboundSchema)).optional(),
1315
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery9$outboundSchema)
1316
+ .optional(),
1317
+ collectUrl: z.string(),
1318
+ collectMethod: exports.HealthCheckMethod9$outboundSchema.default("get"),
1319
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam9$outboundSchema)).optional(),
1320
+ collectBody: z.string().default("`{ }`"),
1321
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader9$outboundSchema)).optional(),
1322
+ authenticateCollect: z.boolean().default(false),
1323
+ timeout: z.number().default(30),
1324
+ rejectUnauthorized: z.boolean().default(false),
1325
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers9$outboundSchema
1326
+ .optional(),
1327
+ safeHeaders: z.array(z.string()).optional(),
1328
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules9$outboundSchema)
1329
+ .optional(),
1330
+ username: z.string().optional(),
1331
+ password: z.string().optional(),
1332
+ credentialsSecret: z.string().optional(),
1333
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1334
+ textSecret: z.string().optional(),
1335
+ type: exports.CollectorHealthCheckType9$outboundSchema,
1336
+ });
1337
+ function collectorHealthCheckHealthCheck9ToJSON(collectorHealthCheckHealthCheck9) {
1338
+ return JSON.stringify(exports.CollectorHealthCheckHealthCheck9$outboundSchema.parse(collectorHealthCheckHealthCheck9));
1339
+ }
1340
+ function collectorHealthCheckHealthCheck9FromJSON(jsonString) {
1341
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckHealthCheck9$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckHealthCheck9' from JSON`);
1342
+ }
1343
+ /** @internal */
1344
+ exports.CollectorHealthCheckAuthentication8$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckAuthentication8);
1345
+ /** @internal */
1346
+ exports.CollectorHealthCheckAuthentication8$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckAuthentication8);
1347
+ /** @internal */
1348
+ exports.CollectorHealthCheckAuthRequestHeader8$inboundSchema = z.object({
1349
+ name: z.string(),
1350
+ value: z.string(),
1351
+ });
1352
+ /** @internal */
1353
+ exports.CollectorHealthCheckAuthRequestHeader8$outboundSchema = z.object({
1354
+ name: z.string(),
1355
+ value: z.string(),
1356
+ });
1357
+ function collectorHealthCheckAuthRequestHeader8ToJSON(collectorHealthCheckAuthRequestHeader8) {
1358
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestHeader8$outboundSchema.parse(collectorHealthCheckAuthRequestHeader8));
1359
+ }
1360
+ function collectorHealthCheckAuthRequestHeader8FromJSON(jsonString) {
1361
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestHeader8$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestHeader8' from JSON`);
1362
+ }
1363
+ /** @internal */
1364
+ exports.CollectorHealthCheckDiscoverType8$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckDiscoverType8);
1365
+ /** @internal */
1366
+ exports.CollectorHealthCheckDiscoverType8$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckDiscoverType8);
1367
+ /** @internal */
1368
+ exports.CollectorHealthCheckDiscovery8$inboundSchema = z.object({
1369
+ discoverType: exports.CollectorHealthCheckDiscoverType8$inboundSchema.default("none"),
1370
+ });
1371
+ /** @internal */
1372
+ exports.CollectorHealthCheckDiscovery8$outboundSchema = z.object({
1373
+ discoverType: exports.CollectorHealthCheckDiscoverType8$outboundSchema.default("none"),
1374
+ });
1375
+ function collectorHealthCheckDiscovery8ToJSON(collectorHealthCheckDiscovery8) {
1376
+ return JSON.stringify(exports.CollectorHealthCheckDiscovery8$outboundSchema.parse(collectorHealthCheckDiscovery8));
1377
+ }
1378
+ function collectorHealthCheckDiscovery8FromJSON(jsonString) {
1379
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckDiscovery8$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckDiscovery8' from JSON`);
1380
+ }
1381
+ /** @internal */
1382
+ exports.HealthCheckMethod8$inboundSchema = openEnums.inboundSchema(exports.HealthCheckMethod8);
1383
+ /** @internal */
1384
+ exports.HealthCheckMethod8$outboundSchema = openEnums.outboundSchema(exports.HealthCheckMethod8);
1385
+ /** @internal */
1386
+ exports.CollectorHealthCheckCollectRequestParam8$inboundSchema = z.object({
1387
+ name: z.string(),
1388
+ value: z.string(),
1389
+ });
1390
+ /** @internal */
1391
+ exports.CollectorHealthCheckCollectRequestParam8$outboundSchema = z.object({
1392
+ name: z.string(),
1393
+ value: z.string(),
1394
+ });
1395
+ function collectorHealthCheckCollectRequestParam8ToJSON(collectorHealthCheckCollectRequestParam8) {
1396
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestParam8$outboundSchema.parse(collectorHealthCheckCollectRequestParam8));
1397
+ }
1398
+ function collectorHealthCheckCollectRequestParam8FromJSON(jsonString) {
1399
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestParam8$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestParam8' from JSON`);
1400
+ }
1401
+ /** @internal */
1402
+ exports.CollectorHealthCheckCollectRequestHeader8$inboundSchema = z.object({
1403
+ name: z.string(),
1404
+ value: z.string(),
1405
+ });
1406
+ /** @internal */
1407
+ exports.CollectorHealthCheckCollectRequestHeader8$outboundSchema = z.object({
1408
+ name: z.string(),
1409
+ value: z.string(),
1410
+ });
1411
+ function collectorHealthCheckCollectRequestHeader8ToJSON(collectorHealthCheckCollectRequestHeader8) {
1412
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestHeader8$outboundSchema.parse(collectorHealthCheckCollectRequestHeader8));
1413
+ }
1414
+ function collectorHealthCheckCollectRequestHeader8FromJSON(jsonString) {
1415
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestHeader8$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestHeader8' from JSON`);
1416
+ }
1417
+ /** @internal */
1418
+ exports.CollectorHealthCheckHiddenDefaultBreakers8$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers8);
1419
+ /** @internal */
1420
+ exports.CollectorHealthCheckHiddenDefaultBreakers8$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers8);
1421
+ /** @internal */
1422
+ exports.CollectorHealthCheckRetryType8$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckRetryType8);
1423
+ /** @internal */
1424
+ exports.CollectorHealthCheckRetryType8$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckRetryType8);
1425
+ /** @internal */
1426
+ exports.CollectorHealthCheckRetryRules8$inboundSchema = z.object({
1427
+ type: exports.CollectorHealthCheckRetryType8$inboundSchema.default("backoff"),
1428
+ interval: z.any().optional(),
1429
+ limit: z.any().optional(),
1430
+ multiplier: z.any().optional(),
1431
+ codes: z.any().optional(),
1432
+ enableHeader: z.any().optional(),
1433
+ });
1434
+ /** @internal */
1435
+ exports.CollectorHealthCheckRetryRules8$outboundSchema = z.object({
1436
+ type: exports.CollectorHealthCheckRetryType8$outboundSchema.default("backoff"),
1437
+ interval: z.any().optional(),
1438
+ limit: z.any().optional(),
1439
+ multiplier: z.any().optional(),
1440
+ codes: z.any().optional(),
1441
+ enableHeader: z.any().optional(),
1442
+ });
1443
+ function collectorHealthCheckRetryRules8ToJSON(collectorHealthCheckRetryRules8) {
1444
+ return JSON.stringify(exports.CollectorHealthCheckRetryRules8$outboundSchema.parse(collectorHealthCheckRetryRules8));
1445
+ }
1446
+ function collectorHealthCheckRetryRules8FromJSON(jsonString) {
1447
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckRetryRules8$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckRetryRules8' from JSON`);
1448
+ }
1449
+ /** @internal */
1450
+ exports.CollectorHealthCheckAuthRequestParam8$inboundSchema = z.object({
1451
+ name: z.string(),
1452
+ value: z.string(),
1453
+ });
1454
+ /** @internal */
1455
+ exports.CollectorHealthCheckAuthRequestParam8$outboundSchema = z.object({
1456
+ name: z.string(),
1457
+ value: z.string(),
1458
+ });
1459
+ function collectorHealthCheckAuthRequestParam8ToJSON(collectorHealthCheckAuthRequestParam8) {
1460
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestParam8$outboundSchema.parse(collectorHealthCheckAuthRequestParam8));
1461
+ }
1462
+ function collectorHealthCheckAuthRequestParam8FromJSON(jsonString) {
1463
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestParam8$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestParam8' from JSON`);
1464
+ }
1465
+ /** @internal */
1466
+ exports.CollectorHealthCheckType8$inboundSchema = z.nativeEnum(exports.CollectorHealthCheckType8);
1467
+ /** @internal */
1468
+ exports.CollectorHealthCheckType8$outboundSchema = exports.CollectorHealthCheckType8$inboundSchema;
1469
+ /** @internal */
1470
+ exports.CollectorHealthCheckHealthCheck8$inboundSchema = z.object({
1471
+ authentication: exports.CollectorHealthCheckAuthentication8$inboundSchema.default("none"),
1472
+ loginUrl: z.string().default(""),
1473
+ credentialsSecret: z.string(),
1474
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1475
+ tokenRespAttribute: z.string().optional(),
1476
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1477
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader8$inboundSchema)).optional(),
1478
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery8$inboundSchema)
1479
+ .optional(),
1480
+ collectUrl: z.string(),
1481
+ collectMethod: exports.HealthCheckMethod8$inboundSchema.default("get"),
1482
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam8$inboundSchema)).optional(),
1483
+ collectBody: z.string().default("`{ }`"),
1484
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader8$inboundSchema)).optional(),
1485
+ authenticateCollect: z.boolean().default(false),
1486
+ timeout: z.number().default(30),
1487
+ rejectUnauthorized: z.boolean().default(false),
1488
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers8$inboundSchema
1489
+ .optional(),
1490
+ safeHeaders: z.array(z.string()).optional(),
1491
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules8$inboundSchema)
1492
+ .optional(),
1493
+ username: z.string().optional(),
1494
+ password: z.string().optional(),
1495
+ clientSecretParamName: z.string().default("client_secret"),
1496
+ clientSecretParamValue: z.string().optional(),
1497
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam8$inboundSchema)).optional(),
1498
+ textSecret: z.string().optional(),
1499
+ type: exports.CollectorHealthCheckType8$inboundSchema,
1500
+ });
1501
+ /** @internal */
1502
+ exports.CollectorHealthCheckHealthCheck8$outboundSchema = z.object({
1503
+ authentication: exports.CollectorHealthCheckAuthentication8$outboundSchema.default("none"),
1504
+ loginUrl: z.string().default(""),
1505
+ credentialsSecret: z.string(),
1506
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1507
+ tokenRespAttribute: z.string().optional(),
1508
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1509
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader8$outboundSchema)).optional(),
1510
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery8$outboundSchema)
1511
+ .optional(),
1512
+ collectUrl: z.string(),
1513
+ collectMethod: exports.HealthCheckMethod8$outboundSchema.default("get"),
1514
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam8$outboundSchema)).optional(),
1515
+ collectBody: z.string().default("`{ }`"),
1516
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader8$outboundSchema)).optional(),
1517
+ authenticateCollect: z.boolean().default(false),
1518
+ timeout: z.number().default(30),
1519
+ rejectUnauthorized: z.boolean().default(false),
1520
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers8$outboundSchema
1521
+ .optional(),
1522
+ safeHeaders: z.array(z.string()).optional(),
1523
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules8$outboundSchema)
1524
+ .optional(),
1525
+ username: z.string().optional(),
1526
+ password: z.string().optional(),
1527
+ clientSecretParamName: z.string().default("client_secret"),
1528
+ clientSecretParamValue: z.string().optional(),
1529
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam8$outboundSchema)).optional(),
1530
+ textSecret: z.string().optional(),
1531
+ type: exports.CollectorHealthCheckType8$outboundSchema,
1532
+ });
1533
+ function collectorHealthCheckHealthCheck8ToJSON(collectorHealthCheckHealthCheck8) {
1534
+ return JSON.stringify(exports.CollectorHealthCheckHealthCheck8$outboundSchema.parse(collectorHealthCheckHealthCheck8));
1535
+ }
1536
+ function collectorHealthCheckHealthCheck8FromJSON(jsonString) {
1537
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckHealthCheck8$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckHealthCheck8' from JSON`);
1538
+ }
1539
+ /** @internal */
1540
+ exports.CollectorHealthCheckAuthentication7$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckAuthentication7);
1541
+ /** @internal */
1542
+ exports.CollectorHealthCheckAuthentication7$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckAuthentication7);
1543
+ /** @internal */
1544
+ exports.CollectorHealthCheckAuthRequestHeader7$inboundSchema = z.object({
1545
+ name: z.string(),
1546
+ value: z.string(),
1547
+ });
1548
+ /** @internal */
1549
+ exports.CollectorHealthCheckAuthRequestHeader7$outboundSchema = z.object({
1550
+ name: z.string(),
1551
+ value: z.string(),
1552
+ });
1553
+ function collectorHealthCheckAuthRequestHeader7ToJSON(collectorHealthCheckAuthRequestHeader7) {
1554
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestHeader7$outboundSchema.parse(collectorHealthCheckAuthRequestHeader7));
1555
+ }
1556
+ function collectorHealthCheckAuthRequestHeader7FromJSON(jsonString) {
1557
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestHeader7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestHeader7' from JSON`);
1558
+ }
1559
+ /** @internal */
1560
+ exports.CollectorHealthCheckDiscoverType7$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckDiscoverType7);
1561
+ /** @internal */
1562
+ exports.CollectorHealthCheckDiscoverType7$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckDiscoverType7);
1563
+ /** @internal */
1564
+ exports.CollectorHealthCheckDiscovery7$inboundSchema = z.object({
1565
+ discoverType: exports.CollectorHealthCheckDiscoverType7$inboundSchema.default("none"),
1566
+ });
1567
+ /** @internal */
1568
+ exports.CollectorHealthCheckDiscovery7$outboundSchema = z.object({
1569
+ discoverType: exports.CollectorHealthCheckDiscoverType7$outboundSchema.default("none"),
1570
+ });
1571
+ function collectorHealthCheckDiscovery7ToJSON(collectorHealthCheckDiscovery7) {
1572
+ return JSON.stringify(exports.CollectorHealthCheckDiscovery7$outboundSchema.parse(collectorHealthCheckDiscovery7));
1573
+ }
1574
+ function collectorHealthCheckDiscovery7FromJSON(jsonString) {
1575
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckDiscovery7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckDiscovery7' from JSON`);
1576
+ }
1577
+ /** @internal */
1578
+ exports.HealthCheckMethod7$inboundSchema = openEnums.inboundSchema(exports.HealthCheckMethod7);
1579
+ /** @internal */
1580
+ exports.HealthCheckMethod7$outboundSchema = openEnums.outboundSchema(exports.HealthCheckMethod7);
1581
+ /** @internal */
1582
+ exports.CollectorHealthCheckCollectRequestParam7$inboundSchema = z.object({
1583
+ name: z.string(),
1584
+ value: z.string(),
1585
+ });
1586
+ /** @internal */
1587
+ exports.CollectorHealthCheckCollectRequestParam7$outboundSchema = z.object({
1588
+ name: z.string(),
1589
+ value: z.string(),
1590
+ });
1591
+ function collectorHealthCheckCollectRequestParam7ToJSON(collectorHealthCheckCollectRequestParam7) {
1592
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestParam7$outboundSchema.parse(collectorHealthCheckCollectRequestParam7));
1593
+ }
1594
+ function collectorHealthCheckCollectRequestParam7FromJSON(jsonString) {
1595
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestParam7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestParam7' from JSON`);
1596
+ }
1597
+ /** @internal */
1598
+ exports.CollectorHealthCheckCollectRequestHeader7$inboundSchema = z.object({
1599
+ name: z.string(),
1600
+ value: z.string(),
1601
+ });
1602
+ /** @internal */
1603
+ exports.CollectorHealthCheckCollectRequestHeader7$outboundSchema = z.object({
1604
+ name: z.string(),
1605
+ value: z.string(),
1606
+ });
1607
+ function collectorHealthCheckCollectRequestHeader7ToJSON(collectorHealthCheckCollectRequestHeader7) {
1608
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestHeader7$outboundSchema.parse(collectorHealthCheckCollectRequestHeader7));
1609
+ }
1610
+ function collectorHealthCheckCollectRequestHeader7FromJSON(jsonString) {
1611
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestHeader7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestHeader7' from JSON`);
1612
+ }
1613
+ /** @internal */
1614
+ exports.CollectorHealthCheckHiddenDefaultBreakers7$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers7);
1615
+ /** @internal */
1616
+ exports.CollectorHealthCheckHiddenDefaultBreakers7$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers7);
1617
+ /** @internal */
1618
+ exports.CollectorHealthCheckRetryType7$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckRetryType7);
1619
+ /** @internal */
1620
+ exports.CollectorHealthCheckRetryType7$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckRetryType7);
1621
+ /** @internal */
1622
+ exports.CollectorHealthCheckRetryRules7$inboundSchema = z.object({
1623
+ type: exports.CollectorHealthCheckRetryType7$inboundSchema.default("backoff"),
1624
+ interval: z.any().optional(),
1625
+ limit: z.any().optional(),
1626
+ multiplier: z.any().optional(),
1627
+ codes: z.any().optional(),
1628
+ enableHeader: z.any().optional(),
1629
+ });
1630
+ /** @internal */
1631
+ exports.CollectorHealthCheckRetryRules7$outboundSchema = z.object({
1632
+ type: exports.CollectorHealthCheckRetryType7$outboundSchema.default("backoff"),
1633
+ interval: z.any().optional(),
1634
+ limit: z.any().optional(),
1635
+ multiplier: z.any().optional(),
1636
+ codes: z.any().optional(),
1637
+ enableHeader: z.any().optional(),
1638
+ });
1639
+ function collectorHealthCheckRetryRules7ToJSON(collectorHealthCheckRetryRules7) {
1640
+ return JSON.stringify(exports.CollectorHealthCheckRetryRules7$outboundSchema.parse(collectorHealthCheckRetryRules7));
1641
+ }
1642
+ function collectorHealthCheckRetryRules7FromJSON(jsonString) {
1643
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckRetryRules7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckRetryRules7' from JSON`);
1644
+ }
1645
+ /** @internal */
1646
+ exports.CollectorHealthCheckAuthRequestParam7$inboundSchema = z.object({
1647
+ name: z.string(),
1648
+ value: z.string(),
1649
+ });
1650
+ /** @internal */
1651
+ exports.CollectorHealthCheckAuthRequestParam7$outboundSchema = z.object({
1652
+ name: z.string(),
1653
+ value: z.string(),
1654
+ });
1655
+ function collectorHealthCheckAuthRequestParam7ToJSON(collectorHealthCheckAuthRequestParam7) {
1656
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestParam7$outboundSchema.parse(collectorHealthCheckAuthRequestParam7));
1657
+ }
1658
+ function collectorHealthCheckAuthRequestParam7FromJSON(jsonString) {
1659
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestParam7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestParam7' from JSON`);
1660
+ }
1661
+ /** @internal */
1662
+ exports.CollectorHealthCheckType7$inboundSchema = z.nativeEnum(exports.CollectorHealthCheckType7);
1663
+ /** @internal */
1664
+ exports.CollectorHealthCheckType7$outboundSchema = exports.CollectorHealthCheckType7$inboundSchema;
1665
+ /** @internal */
1666
+ exports.CollectorHealthCheckHealthCheck7$inboundSchema = z.object({
1667
+ authentication: exports.CollectorHealthCheckAuthentication7$inboundSchema.default("none"),
1668
+ loginUrl: z.string().default(""),
1669
+ username: z.string(),
1670
+ password: z.string(),
1671
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1672
+ tokenRespAttribute: z.string().optional(),
1673
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1674
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader7$inboundSchema)).optional(),
1675
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery7$inboundSchema)
1676
+ .optional(),
1677
+ collectUrl: z.string(),
1678
+ collectMethod: exports.HealthCheckMethod7$inboundSchema.default("get"),
1679
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam7$inboundSchema)).optional(),
1680
+ collectBody: z.string().default("`{ }`"),
1681
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader7$inboundSchema)).optional(),
1682
+ authenticateCollect: z.boolean().default(false),
1683
+ timeout: z.number().default(30),
1684
+ rejectUnauthorized: z.boolean().default(false),
1685
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers7$inboundSchema
1686
+ .optional(),
1687
+ safeHeaders: z.array(z.string()).optional(),
1688
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules7$inboundSchema)
1689
+ .optional(),
1690
+ credentialsSecret: z.string().optional(),
1691
+ clientSecretParamName: z.string().default("client_secret"),
1692
+ clientSecretParamValue: z.string().optional(),
1693
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam7$inboundSchema)).optional(),
1694
+ textSecret: z.string().optional(),
1695
+ type: exports.CollectorHealthCheckType7$inboundSchema,
1696
+ });
1697
+ /** @internal */
1698
+ exports.CollectorHealthCheckHealthCheck7$outboundSchema = z.object({
1699
+ authentication: exports.CollectorHealthCheckAuthentication7$outboundSchema.default("none"),
1700
+ loginUrl: z.string().default(""),
1701
+ username: z.string(),
1702
+ password: z.string(),
1703
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1704
+ tokenRespAttribute: z.string().optional(),
1705
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1706
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader7$outboundSchema)).optional(),
1707
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery7$outboundSchema)
1708
+ .optional(),
1709
+ collectUrl: z.string(),
1710
+ collectMethod: exports.HealthCheckMethod7$outboundSchema.default("get"),
1711
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam7$outboundSchema)).optional(),
1712
+ collectBody: z.string().default("`{ }`"),
1713
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader7$outboundSchema)).optional(),
1714
+ authenticateCollect: z.boolean().default(false),
1715
+ timeout: z.number().default(30),
1716
+ rejectUnauthorized: z.boolean().default(false),
1717
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers7$outboundSchema
1718
+ .optional(),
1719
+ safeHeaders: z.array(z.string()).optional(),
1720
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules7$outboundSchema)
1721
+ .optional(),
1722
+ credentialsSecret: z.string().optional(),
1723
+ clientSecretParamName: z.string().default("client_secret"),
1724
+ clientSecretParamValue: z.string().optional(),
1725
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam7$outboundSchema)).optional(),
1726
+ textSecret: z.string().optional(),
1727
+ type: exports.CollectorHealthCheckType7$outboundSchema,
1728
+ });
1729
+ function collectorHealthCheckHealthCheck7ToJSON(collectorHealthCheckHealthCheck7) {
1730
+ return JSON.stringify(exports.CollectorHealthCheckHealthCheck7$outboundSchema.parse(collectorHealthCheckHealthCheck7));
1731
+ }
1732
+ function collectorHealthCheckHealthCheck7FromJSON(jsonString) {
1733
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckHealthCheck7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckHealthCheck7' from JSON`);
1734
+ }
1735
+ /** @internal */
1736
+ exports.CollectorHealthCheckAuthentication6$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckAuthentication6);
1737
+ /** @internal */
1738
+ exports.CollectorHealthCheckAuthentication6$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckAuthentication6);
1739
+ /** @internal */
1740
+ exports.CollectorHealthCheckDiscoverType6$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckDiscoverType6);
1741
+ /** @internal */
1742
+ exports.CollectorHealthCheckDiscoverType6$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckDiscoverType6);
1743
+ /** @internal */
1744
+ exports.CollectorHealthCheckDiscovery6$inboundSchema = z.object({
1745
+ discoverType: exports.CollectorHealthCheckDiscoverType6$inboundSchema.default("none"),
1746
+ });
1747
+ /** @internal */
1748
+ exports.CollectorHealthCheckDiscovery6$outboundSchema = z.object({
1749
+ discoverType: exports.CollectorHealthCheckDiscoverType6$outboundSchema.default("none"),
1750
+ });
1751
+ function collectorHealthCheckDiscovery6ToJSON(collectorHealthCheckDiscovery6) {
1752
+ return JSON.stringify(exports.CollectorHealthCheckDiscovery6$outboundSchema.parse(collectorHealthCheckDiscovery6));
1753
+ }
1754
+ function collectorHealthCheckDiscovery6FromJSON(jsonString) {
1755
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckDiscovery6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckDiscovery6' from JSON`);
1756
+ }
1757
+ /** @internal */
1758
+ exports.HealthCheckMethod6$inboundSchema = openEnums.inboundSchema(exports.HealthCheckMethod6);
1759
+ /** @internal */
1760
+ exports.HealthCheckMethod6$outboundSchema = openEnums.outboundSchema(exports.HealthCheckMethod6);
1761
+ /** @internal */
1762
+ exports.CollectorHealthCheckCollectRequestParam6$inboundSchema = z.object({
1763
+ name: z.string(),
1764
+ value: z.string(),
1765
+ });
1766
+ /** @internal */
1767
+ exports.CollectorHealthCheckCollectRequestParam6$outboundSchema = z.object({
1768
+ name: z.string(),
1769
+ value: z.string(),
1770
+ });
1771
+ function collectorHealthCheckCollectRequestParam6ToJSON(collectorHealthCheckCollectRequestParam6) {
1772
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestParam6$outboundSchema.parse(collectorHealthCheckCollectRequestParam6));
1773
+ }
1774
+ function collectorHealthCheckCollectRequestParam6FromJSON(jsonString) {
1775
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestParam6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestParam6' from JSON`);
1776
+ }
1777
+ /** @internal */
1778
+ exports.CollectorHealthCheckCollectRequestHeader6$inboundSchema = z.object({
1779
+ name: z.string(),
1780
+ value: z.string(),
1781
+ });
1782
+ /** @internal */
1783
+ exports.CollectorHealthCheckCollectRequestHeader6$outboundSchema = z.object({
1784
+ name: z.string(),
1785
+ value: z.string(),
1786
+ });
1787
+ function collectorHealthCheckCollectRequestHeader6ToJSON(collectorHealthCheckCollectRequestHeader6) {
1788
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestHeader6$outboundSchema.parse(collectorHealthCheckCollectRequestHeader6));
1789
+ }
1790
+ function collectorHealthCheckCollectRequestHeader6FromJSON(jsonString) {
1791
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestHeader6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestHeader6' from JSON`);
1792
+ }
1793
+ /** @internal */
1794
+ exports.CollectorHealthCheckHiddenDefaultBreakers6$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers6);
1795
+ /** @internal */
1796
+ exports.CollectorHealthCheckHiddenDefaultBreakers6$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers6);
1797
+ /** @internal */
1798
+ exports.CollectorHealthCheckRetryType6$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckRetryType6);
1799
+ /** @internal */
1800
+ exports.CollectorHealthCheckRetryType6$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckRetryType6);
1801
+ /** @internal */
1802
+ exports.CollectorHealthCheckRetryRules6$inboundSchema = z.object({
1803
+ type: exports.CollectorHealthCheckRetryType6$inboundSchema.default("backoff"),
1804
+ interval: z.any().optional(),
1805
+ limit: z.any().optional(),
1806
+ multiplier: z.any().optional(),
1807
+ codes: z.any().optional(),
1808
+ enableHeader: z.any().optional(),
1809
+ });
1810
+ /** @internal */
1811
+ exports.CollectorHealthCheckRetryRules6$outboundSchema = z.object({
1812
+ type: exports.CollectorHealthCheckRetryType6$outboundSchema.default("backoff"),
1813
+ interval: z.any().optional(),
1814
+ limit: z.any().optional(),
1815
+ multiplier: z.any().optional(),
1816
+ codes: z.any().optional(),
1817
+ enableHeader: z.any().optional(),
1818
+ });
1819
+ function collectorHealthCheckRetryRules6ToJSON(collectorHealthCheckRetryRules6) {
1820
+ return JSON.stringify(exports.CollectorHealthCheckRetryRules6$outboundSchema.parse(collectorHealthCheckRetryRules6));
1821
+ }
1822
+ function collectorHealthCheckRetryRules6FromJSON(jsonString) {
1823
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckRetryRules6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckRetryRules6' from JSON`);
1824
+ }
1825
+ /** @internal */
1826
+ exports.CollectorHealthCheckAuthRequestHeader6$inboundSchema = z.object({
1827
+ name: z.string(),
1828
+ value: z.string(),
1829
+ });
1830
+ /** @internal */
1831
+ exports.CollectorHealthCheckAuthRequestHeader6$outboundSchema = z.object({
1832
+ name: z.string(),
1833
+ value: z.string(),
1834
+ });
1835
+ function collectorHealthCheckAuthRequestHeader6ToJSON(collectorHealthCheckAuthRequestHeader6) {
1836
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestHeader6$outboundSchema.parse(collectorHealthCheckAuthRequestHeader6));
1837
+ }
1838
+ function collectorHealthCheckAuthRequestHeader6FromJSON(jsonString) {
1839
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestHeader6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestHeader6' from JSON`);
1840
+ }
1841
+ /** @internal */
1842
+ exports.CollectorHealthCheckAuthRequestParam6$inboundSchema = z.object({
1843
+ name: z.string(),
1844
+ value: z.string(),
1845
+ });
1846
+ /** @internal */
1847
+ exports.CollectorHealthCheckAuthRequestParam6$outboundSchema = z.object({
1848
+ name: z.string(),
1849
+ value: z.string(),
1850
+ });
1851
+ function collectorHealthCheckAuthRequestParam6ToJSON(collectorHealthCheckAuthRequestParam6) {
1852
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestParam6$outboundSchema.parse(collectorHealthCheckAuthRequestParam6));
1853
+ }
1854
+ function collectorHealthCheckAuthRequestParam6FromJSON(jsonString) {
1855
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestParam6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestParam6' from JSON`);
1856
+ }
1857
+ /** @internal */
1858
+ exports.CollectorHealthCheckType6$inboundSchema = z.nativeEnum(exports.CollectorHealthCheckType6);
1859
+ /** @internal */
1860
+ exports.CollectorHealthCheckType6$outboundSchema = exports.CollectorHealthCheckType6$inboundSchema;
1861
+ /** @internal */
1862
+ exports.CollectorHealthCheckHealthCheck6$inboundSchema = z.object({
1863
+ authentication: exports.CollectorHealthCheckAuthentication6$inboundSchema.default("none"),
1864
+ credentialsSecret: z.string(),
1865
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery6$inboundSchema)
1866
+ .optional(),
1867
+ collectUrl: z.string(),
1868
+ collectMethod: exports.HealthCheckMethod6$inboundSchema.default("get"),
1869
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam6$inboundSchema)).optional(),
1870
+ collectBody: z.string().default("`{ }`"),
1871
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader6$inboundSchema)).optional(),
1872
+ authenticateCollect: z.boolean().default(false),
1873
+ timeout: z.number().default(30),
1874
+ rejectUnauthorized: z.boolean().default(false),
1875
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers6$inboundSchema
1876
+ .optional(),
1877
+ safeHeaders: z.array(z.string()).optional(),
1878
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules6$inboundSchema)
1879
+ .optional(),
1880
+ username: z.string().optional(),
1881
+ password: z.string().optional(),
1882
+ loginUrl: z.string().default(""),
1883
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1884
+ tokenRespAttribute: z.string().optional(),
1885
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1886
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader6$inboundSchema)).optional(),
1887
+ clientSecretParamName: z.string().default("client_secret"),
1888
+ clientSecretParamValue: z.string().optional(),
1889
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam6$inboundSchema)).optional(),
1890
+ textSecret: z.string().optional(),
1891
+ type: exports.CollectorHealthCheckType6$inboundSchema,
1892
+ });
1893
+ /** @internal */
1894
+ exports.CollectorHealthCheckHealthCheck6$outboundSchema = z.object({
1895
+ authentication: exports.CollectorHealthCheckAuthentication6$outboundSchema.default("none"),
1896
+ credentialsSecret: z.string(),
1897
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery6$outboundSchema)
1898
+ .optional(),
1899
+ collectUrl: z.string(),
1900
+ collectMethod: exports.HealthCheckMethod6$outboundSchema.default("get"),
1901
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam6$outboundSchema)).optional(),
1902
+ collectBody: z.string().default("`{ }`"),
1903
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader6$outboundSchema)).optional(),
1904
+ authenticateCollect: z.boolean().default(false),
1905
+ timeout: z.number().default(30),
1906
+ rejectUnauthorized: z.boolean().default(false),
1907
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers6$outboundSchema
1908
+ .optional(),
1909
+ safeHeaders: z.array(z.string()).optional(),
1910
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules6$outboundSchema)
1911
+ .optional(),
1912
+ username: z.string().optional(),
1913
+ password: z.string().optional(),
1914
+ loginUrl: z.string().default(""),
1915
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1916
+ tokenRespAttribute: z.string().optional(),
1917
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1918
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader6$outboundSchema)).optional(),
1919
+ clientSecretParamName: z.string().default("client_secret"),
1920
+ clientSecretParamValue: z.string().optional(),
1921
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam6$outboundSchema)).optional(),
1922
+ textSecret: z.string().optional(),
1923
+ type: exports.CollectorHealthCheckType6$outboundSchema,
1924
+ });
1925
+ function collectorHealthCheckHealthCheck6ToJSON(collectorHealthCheckHealthCheck6) {
1926
+ return JSON.stringify(exports.CollectorHealthCheckHealthCheck6$outboundSchema.parse(collectorHealthCheckHealthCheck6));
1927
+ }
1928
+ function collectorHealthCheckHealthCheck6FromJSON(jsonString) {
1929
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckHealthCheck6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckHealthCheck6' from JSON`);
1930
+ }
1931
+ /** @internal */
1932
+ exports.CollectorHealthCheckAuthentication5$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckAuthentication5);
1933
+ /** @internal */
1934
+ exports.CollectorHealthCheckAuthentication5$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckAuthentication5);
1935
+ /** @internal */
1936
+ exports.CollectorHealthCheckDiscoverType5$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckDiscoverType5);
1937
+ /** @internal */
1938
+ exports.CollectorHealthCheckDiscoverType5$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckDiscoverType5);
1939
+ /** @internal */
1940
+ exports.CollectorHealthCheckDiscovery5$inboundSchema = z.object({
1941
+ discoverType: exports.CollectorHealthCheckDiscoverType5$inboundSchema.default("none"),
1942
+ });
1943
+ /** @internal */
1944
+ exports.CollectorHealthCheckDiscovery5$outboundSchema = z.object({
1945
+ discoverType: exports.CollectorHealthCheckDiscoverType5$outboundSchema.default("none"),
1946
+ });
1947
+ function collectorHealthCheckDiscovery5ToJSON(collectorHealthCheckDiscovery5) {
1948
+ return JSON.stringify(exports.CollectorHealthCheckDiscovery5$outboundSchema.parse(collectorHealthCheckDiscovery5));
1949
+ }
1950
+ function collectorHealthCheckDiscovery5FromJSON(jsonString) {
1951
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckDiscovery5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckDiscovery5' from JSON`);
1952
+ }
1953
+ /** @internal */
1954
+ exports.HealthCheckMethod5$inboundSchema = openEnums.inboundSchema(exports.HealthCheckMethod5);
1955
+ /** @internal */
1956
+ exports.HealthCheckMethod5$outboundSchema = openEnums.outboundSchema(exports.HealthCheckMethod5);
1957
+ /** @internal */
1958
+ exports.CollectorHealthCheckCollectRequestParam5$inboundSchema = z.object({
1959
+ name: z.string(),
1960
+ value: z.string(),
1961
+ });
1962
+ /** @internal */
1963
+ exports.CollectorHealthCheckCollectRequestParam5$outboundSchema = z.object({
1964
+ name: z.string(),
1965
+ value: z.string(),
1966
+ });
1967
+ function collectorHealthCheckCollectRequestParam5ToJSON(collectorHealthCheckCollectRequestParam5) {
1968
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestParam5$outboundSchema.parse(collectorHealthCheckCollectRequestParam5));
1969
+ }
1970
+ function collectorHealthCheckCollectRequestParam5FromJSON(jsonString) {
1971
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestParam5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestParam5' from JSON`);
1972
+ }
1973
+ /** @internal */
1974
+ exports.CollectorHealthCheckCollectRequestHeader5$inboundSchema = z.object({
1975
+ name: z.string(),
1976
+ value: z.string(),
1977
+ });
1978
+ /** @internal */
1979
+ exports.CollectorHealthCheckCollectRequestHeader5$outboundSchema = z.object({
1980
+ name: z.string(),
1981
+ value: z.string(),
1982
+ });
1983
+ function collectorHealthCheckCollectRequestHeader5ToJSON(collectorHealthCheckCollectRequestHeader5) {
1984
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestHeader5$outboundSchema.parse(collectorHealthCheckCollectRequestHeader5));
1985
+ }
1986
+ function collectorHealthCheckCollectRequestHeader5FromJSON(jsonString) {
1987
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestHeader5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestHeader5' from JSON`);
1988
+ }
1989
+ /** @internal */
1990
+ exports.CollectorHealthCheckHiddenDefaultBreakers5$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers5);
1991
+ /** @internal */
1992
+ exports.CollectorHealthCheckHiddenDefaultBreakers5$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers5);
1993
+ /** @internal */
1994
+ exports.CollectorHealthCheckRetryType5$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckRetryType5);
1995
+ /** @internal */
1996
+ exports.CollectorHealthCheckRetryType5$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckRetryType5);
1997
+ /** @internal */
1998
+ exports.CollectorHealthCheckRetryRules5$inboundSchema = z.object({
1999
+ type: exports.CollectorHealthCheckRetryType5$inboundSchema.default("backoff"),
2000
+ interval: z.any().optional(),
2001
+ limit: z.any().optional(),
2002
+ multiplier: z.any().optional(),
2003
+ codes: z.any().optional(),
2004
+ enableHeader: z.any().optional(),
2005
+ });
2006
+ /** @internal */
2007
+ exports.CollectorHealthCheckRetryRules5$outboundSchema = z.object({
2008
+ type: exports.CollectorHealthCheckRetryType5$outboundSchema.default("backoff"),
2009
+ interval: z.any().optional(),
2010
+ limit: z.any().optional(),
2011
+ multiplier: z.any().optional(),
2012
+ codes: z.any().optional(),
2013
+ enableHeader: z.any().optional(),
2014
+ });
2015
+ function collectorHealthCheckRetryRules5ToJSON(collectorHealthCheckRetryRules5) {
2016
+ return JSON.stringify(exports.CollectorHealthCheckRetryRules5$outboundSchema.parse(collectorHealthCheckRetryRules5));
2017
+ }
2018
+ function collectorHealthCheckRetryRules5FromJSON(jsonString) {
2019
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckRetryRules5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckRetryRules5' from JSON`);
2020
+ }
2021
+ /** @internal */
2022
+ exports.CollectorHealthCheckAuthRequestHeader5$inboundSchema = z.object({
2023
+ name: z.string(),
2024
+ value: z.string(),
2025
+ });
2026
+ /** @internal */
2027
+ exports.CollectorHealthCheckAuthRequestHeader5$outboundSchema = z.object({
2028
+ name: z.string(),
2029
+ value: z.string(),
2030
+ });
2031
+ function collectorHealthCheckAuthRequestHeader5ToJSON(collectorHealthCheckAuthRequestHeader5) {
2032
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestHeader5$outboundSchema.parse(collectorHealthCheckAuthRequestHeader5));
2033
+ }
2034
+ function collectorHealthCheckAuthRequestHeader5FromJSON(jsonString) {
2035
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestHeader5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestHeader5' from JSON`);
2036
+ }
2037
+ /** @internal */
2038
+ exports.CollectorHealthCheckAuthRequestParam5$inboundSchema = z.object({
2039
+ name: z.string(),
2040
+ value: z.string(),
2041
+ });
2042
+ /** @internal */
2043
+ exports.CollectorHealthCheckAuthRequestParam5$outboundSchema = z.object({
2044
+ name: z.string(),
2045
+ value: z.string(),
2046
+ });
2047
+ function collectorHealthCheckAuthRequestParam5ToJSON(collectorHealthCheckAuthRequestParam5) {
2048
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestParam5$outboundSchema.parse(collectorHealthCheckAuthRequestParam5));
2049
+ }
2050
+ function collectorHealthCheckAuthRequestParam5FromJSON(jsonString) {
2051
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestParam5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestParam5' from JSON`);
2052
+ }
2053
+ /** @internal */
2054
+ exports.CollectorHealthCheckType5$inboundSchema = z.nativeEnum(exports.CollectorHealthCheckType5);
2055
+ /** @internal */
2056
+ exports.CollectorHealthCheckType5$outboundSchema = exports.CollectorHealthCheckType5$inboundSchema;
2057
+ /** @internal */
2058
+ exports.CollectorHealthCheckHealthCheck5$inboundSchema = z.object({
2059
+ authentication: exports.CollectorHealthCheckAuthentication5$inboundSchema.default("none"),
2060
+ username: z.string(),
2061
+ password: z.string(),
2062
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery5$inboundSchema)
2063
+ .optional(),
2064
+ collectUrl: z.string(),
2065
+ collectMethod: exports.HealthCheckMethod5$inboundSchema.default("get"),
2066
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam5$inboundSchema)).optional(),
2067
+ collectBody: z.string().default("`{ }`"),
2068
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader5$inboundSchema)).optional(),
2069
+ authenticateCollect: z.boolean().default(false),
2070
+ timeout: z.number().default(30),
2071
+ rejectUnauthorized: z.boolean().default(false),
2072
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers5$inboundSchema
2073
+ .optional(),
2074
+ safeHeaders: z.array(z.string()).optional(),
2075
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules5$inboundSchema)
2076
+ .optional(),
2077
+ credentialsSecret: z.string().optional(),
2078
+ loginUrl: z.string().default(""),
2079
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
2080
+ tokenRespAttribute: z.string().optional(),
2081
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
2082
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader5$inboundSchema)).optional(),
2083
+ clientSecretParamName: z.string().default("client_secret"),
2084
+ clientSecretParamValue: z.string().optional(),
2085
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam5$inboundSchema)).optional(),
2086
+ textSecret: z.string().optional(),
2087
+ type: exports.CollectorHealthCheckType5$inboundSchema,
2088
+ });
2089
+ /** @internal */
2090
+ exports.CollectorHealthCheckHealthCheck5$outboundSchema = z.object({
2091
+ authentication: exports.CollectorHealthCheckAuthentication5$outboundSchema.default("none"),
2092
+ username: z.string(),
2093
+ password: z.string(),
2094
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery5$outboundSchema)
2095
+ .optional(),
2096
+ collectUrl: z.string(),
2097
+ collectMethod: exports.HealthCheckMethod5$outboundSchema.default("get"),
2098
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam5$outboundSchema)).optional(),
2099
+ collectBody: z.string().default("`{ }`"),
2100
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader5$outboundSchema)).optional(),
2101
+ authenticateCollect: z.boolean().default(false),
2102
+ timeout: z.number().default(30),
2103
+ rejectUnauthorized: z.boolean().default(false),
2104
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers5$outboundSchema
2105
+ .optional(),
2106
+ safeHeaders: z.array(z.string()).optional(),
2107
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules5$outboundSchema)
2108
+ .optional(),
2109
+ credentialsSecret: z.string().optional(),
2110
+ loginUrl: z.string().default(""),
2111
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
2112
+ tokenRespAttribute: z.string().optional(),
2113
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
2114
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader5$outboundSchema)).optional(),
2115
+ clientSecretParamName: z.string().default("client_secret"),
2116
+ clientSecretParamValue: z.string().optional(),
2117
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam5$outboundSchema)).optional(),
2118
+ textSecret: z.string().optional(),
2119
+ type: exports.CollectorHealthCheckType5$outboundSchema,
2120
+ });
2121
+ function collectorHealthCheckHealthCheck5ToJSON(collectorHealthCheckHealthCheck5) {
2122
+ return JSON.stringify(exports.CollectorHealthCheckHealthCheck5$outboundSchema.parse(collectorHealthCheckHealthCheck5));
2123
+ }
2124
+ function collectorHealthCheckHealthCheck5FromJSON(jsonString) {
2125
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckHealthCheck5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckHealthCheck5' from JSON`);
2126
+ }
2127
+ /** @internal */
2128
+ exports.CollectorHealthCheckAuthentication4$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckAuthentication4);
2129
+ /** @internal */
2130
+ exports.CollectorHealthCheckAuthentication4$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckAuthentication4);
2131
+ /** @internal */
2132
+ exports.CollectorHealthCheckDiscoverType4$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckDiscoverType4);
2133
+ /** @internal */
2134
+ exports.CollectorHealthCheckDiscoverType4$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckDiscoverType4);
2135
+ /** @internal */
2136
+ exports.CollectorHealthCheckDiscovery4$inboundSchema = z.object({
2137
+ discoverType: exports.CollectorHealthCheckDiscoverType4$inboundSchema.default("none"),
2138
+ });
2139
+ /** @internal */
2140
+ exports.CollectorHealthCheckDiscovery4$outboundSchema = z.object({
2141
+ discoverType: exports.CollectorHealthCheckDiscoverType4$outboundSchema.default("none"),
2142
+ });
2143
+ function collectorHealthCheckDiscovery4ToJSON(collectorHealthCheckDiscovery4) {
2144
+ return JSON.stringify(exports.CollectorHealthCheckDiscovery4$outboundSchema.parse(collectorHealthCheckDiscovery4));
2145
+ }
2146
+ function collectorHealthCheckDiscovery4FromJSON(jsonString) {
2147
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckDiscovery4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckDiscovery4' from JSON`);
2148
+ }
2149
+ /** @internal */
2150
+ exports.HealthCheckMethod4$inboundSchema = openEnums.inboundSchema(exports.HealthCheckMethod4);
2151
+ /** @internal */
2152
+ exports.HealthCheckMethod4$outboundSchema = openEnums.outboundSchema(exports.HealthCheckMethod4);
2153
+ /** @internal */
2154
+ exports.CollectorHealthCheckCollectRequestParam4$inboundSchema = z.object({
2155
+ name: z.string(),
2156
+ value: z.string(),
2157
+ });
2158
+ /** @internal */
2159
+ exports.CollectorHealthCheckCollectRequestParam4$outboundSchema = z.object({
2160
+ name: z.string(),
2161
+ value: z.string(),
2162
+ });
2163
+ function collectorHealthCheckCollectRequestParam4ToJSON(collectorHealthCheckCollectRequestParam4) {
2164
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestParam4$outboundSchema.parse(collectorHealthCheckCollectRequestParam4));
2165
+ }
2166
+ function collectorHealthCheckCollectRequestParam4FromJSON(jsonString) {
2167
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestParam4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestParam4' from JSON`);
2168
+ }
2169
+ /** @internal */
2170
+ exports.CollectorHealthCheckCollectRequestHeader4$inboundSchema = z.object({
2171
+ name: z.string(),
2172
+ value: z.string(),
2173
+ });
2174
+ /** @internal */
2175
+ exports.CollectorHealthCheckCollectRequestHeader4$outboundSchema = z.object({
2176
+ name: z.string(),
2177
+ value: z.string(),
2178
+ });
2179
+ function collectorHealthCheckCollectRequestHeader4ToJSON(collectorHealthCheckCollectRequestHeader4) {
2180
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestHeader4$outboundSchema.parse(collectorHealthCheckCollectRequestHeader4));
2181
+ }
2182
+ function collectorHealthCheckCollectRequestHeader4FromJSON(jsonString) {
2183
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestHeader4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestHeader4' from JSON`);
2184
+ }
2185
+ /** @internal */
2186
+ exports.CollectorHealthCheckHiddenDefaultBreakers4$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers4);
2187
+ /** @internal */
2188
+ exports.CollectorHealthCheckHiddenDefaultBreakers4$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers4);
2189
+ /** @internal */
2190
+ exports.CollectorHealthCheckRetryType4$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckRetryType4);
2191
+ /** @internal */
2192
+ exports.CollectorHealthCheckRetryType4$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckRetryType4);
2193
+ /** @internal */
2194
+ exports.CollectorHealthCheckRetryRules4$inboundSchema = z.object({
2195
+ type: exports.CollectorHealthCheckRetryType4$inboundSchema.default("backoff"),
2196
+ interval: z.any().optional(),
2197
+ limit: z.any().optional(),
2198
+ multiplier: z.any().optional(),
2199
+ codes: z.any().optional(),
2200
+ enableHeader: z.any().optional(),
2201
+ });
2202
+ /** @internal */
2203
+ exports.CollectorHealthCheckRetryRules4$outboundSchema = z.object({
2204
+ type: exports.CollectorHealthCheckRetryType4$outboundSchema.default("backoff"),
2205
+ interval: z.any().optional(),
2206
+ limit: z.any().optional(),
2207
+ multiplier: z.any().optional(),
2208
+ codes: z.any().optional(),
2209
+ enableHeader: z.any().optional(),
2210
+ });
2211
+ function collectorHealthCheckRetryRules4ToJSON(collectorHealthCheckRetryRules4) {
2212
+ return JSON.stringify(exports.CollectorHealthCheckRetryRules4$outboundSchema.parse(collectorHealthCheckRetryRules4));
2213
+ }
2214
+ function collectorHealthCheckRetryRules4FromJSON(jsonString) {
2215
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckRetryRules4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckRetryRules4' from JSON`);
2216
+ }
2217
+ /** @internal */
2218
+ exports.CollectorHealthCheckAuthRequestHeader4$inboundSchema = z.object({
2219
+ name: z.string(),
2220
+ value: z.string(),
2221
+ });
2222
+ /** @internal */
2223
+ exports.CollectorHealthCheckAuthRequestHeader4$outboundSchema = z.object({
2224
+ name: z.string(),
2225
+ value: z.string(),
2226
+ });
2227
+ function collectorHealthCheckAuthRequestHeader4ToJSON(collectorHealthCheckAuthRequestHeader4) {
2228
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestHeader4$outboundSchema.parse(collectorHealthCheckAuthRequestHeader4));
2229
+ }
2230
+ function collectorHealthCheckAuthRequestHeader4FromJSON(jsonString) {
2231
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestHeader4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestHeader4' from JSON`);
2232
+ }
2233
+ /** @internal */
2234
+ exports.CollectorHealthCheckAuthRequestParam4$inboundSchema = z.object({
2235
+ name: z.string(),
2236
+ value: z.string(),
2237
+ });
2238
+ /** @internal */
2239
+ exports.CollectorHealthCheckAuthRequestParam4$outboundSchema = z.object({
2240
+ name: z.string(),
2241
+ value: z.string(),
2242
+ });
2243
+ function collectorHealthCheckAuthRequestParam4ToJSON(collectorHealthCheckAuthRequestParam4) {
2244
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestParam4$outboundSchema.parse(collectorHealthCheckAuthRequestParam4));
2245
+ }
2246
+ function collectorHealthCheckAuthRequestParam4FromJSON(jsonString) {
2247
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestParam4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestParam4' from JSON`);
2248
+ }
2249
+ /** @internal */
2250
+ exports.CollectorHealthCheckType4$inboundSchema = z.nativeEnum(exports.CollectorHealthCheckType4);
2251
+ /** @internal */
2252
+ exports.CollectorHealthCheckType4$outboundSchema = exports.CollectorHealthCheckType4$inboundSchema;
2253
+ /** @internal */
2254
+ exports.CollectorHealthCheckHealthCheck4$inboundSchema = z.object({
2255
+ authentication: exports.CollectorHealthCheckAuthentication4$inboundSchema.default("none"),
2256
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery4$inboundSchema)
2257
+ .optional(),
2258
+ collectUrl: z.string(),
2259
+ collectMethod: exports.HealthCheckMethod4$inboundSchema.default("get"),
2260
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam4$inboundSchema)).optional(),
2261
+ collectBody: z.string().default("`{ }`"),
2262
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader4$inboundSchema)).optional(),
2263
+ authenticateCollect: z.boolean().default(false),
2264
+ timeout: z.number().default(30),
2265
+ rejectUnauthorized: z.boolean().default(false),
2266
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers4$inboundSchema
2267
+ .optional(),
2268
+ safeHeaders: z.array(z.string()).optional(),
2269
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules4$inboundSchema)
2270
+ .optional(),
2271
+ username: z.string().optional(),
2272
+ password: z.string().optional(),
2273
+ credentialsSecret: z.string().optional(),
2274
+ loginUrl: z.string().default(""),
2275
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
2276
+ tokenRespAttribute: z.string().optional(),
2277
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
2278
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader4$inboundSchema)).optional(),
2279
+ clientSecretParamName: z.string().default("client_secret"),
2280
+ clientSecretParamValue: z.string().optional(),
2281
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam4$inboundSchema)).optional(),
2282
+ textSecret: z.string().optional(),
2283
+ type: exports.CollectorHealthCheckType4$inboundSchema,
2284
+ });
2285
+ /** @internal */
2286
+ exports.CollectorHealthCheckHealthCheck4$outboundSchema = z.object({
2287
+ authentication: exports.CollectorHealthCheckAuthentication4$outboundSchema.default("none"),
2288
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery4$outboundSchema)
2289
+ .optional(),
2290
+ collectUrl: z.string(),
2291
+ collectMethod: exports.HealthCheckMethod4$outboundSchema.default("get"),
2292
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam4$outboundSchema)).optional(),
2293
+ collectBody: z.string().default("`{ }`"),
2294
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader4$outboundSchema)).optional(),
2295
+ authenticateCollect: z.boolean().default(false),
2296
+ timeout: z.number().default(30),
2297
+ rejectUnauthorized: z.boolean().default(false),
2298
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers4$outboundSchema
2299
+ .optional(),
2300
+ safeHeaders: z.array(z.string()).optional(),
2301
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules4$outboundSchema)
2302
+ .optional(),
2303
+ username: z.string().optional(),
2304
+ password: z.string().optional(),
2305
+ credentialsSecret: z.string().optional(),
2306
+ loginUrl: z.string().default(""),
2307
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
2308
+ tokenRespAttribute: z.string().optional(),
2309
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
2310
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader4$outboundSchema)).optional(),
2311
+ clientSecretParamName: z.string().default("client_secret"),
2312
+ clientSecretParamValue: z.string().optional(),
2313
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam4$outboundSchema)).optional(),
2314
+ textSecret: z.string().optional(),
2315
+ type: exports.CollectorHealthCheckType4$outboundSchema,
2316
+ });
2317
+ function collectorHealthCheckHealthCheck4ToJSON(collectorHealthCheckHealthCheck4) {
2318
+ return JSON.stringify(exports.CollectorHealthCheckHealthCheck4$outboundSchema.parse(collectorHealthCheckHealthCheck4));
2319
+ }
2320
+ function collectorHealthCheckHealthCheck4FromJSON(jsonString) {
2321
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckHealthCheck4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckHealthCheck4' from JSON`);
2322
+ }
2323
+ /** @internal */
2324
+ exports.HealthCheckMethod3$inboundSchema = openEnums.inboundSchema(exports.HealthCheckMethod3);
2325
+ /** @internal */
2326
+ exports.HealthCheckMethod3$outboundSchema = openEnums.outboundSchema(exports.HealthCheckMethod3);
2327
+ /** @internal */
2328
+ exports.CollectorHealthCheckDiscoverType3$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckDiscoverType3);
2329
+ /** @internal */
2330
+ exports.CollectorHealthCheckDiscoverType3$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckDiscoverType3);
2331
+ /** @internal */
2332
+ exports.CollectorHealthCheckDiscovery3$inboundSchema = z.object({
2333
+ discoverType: exports.CollectorHealthCheckDiscoverType3$inboundSchema.default("none"),
2334
+ });
2335
+ /** @internal */
2336
+ exports.CollectorHealthCheckDiscovery3$outboundSchema = z.object({
2337
+ discoverType: exports.CollectorHealthCheckDiscoverType3$outboundSchema.default("none"),
2338
+ });
2339
+ function collectorHealthCheckDiscovery3ToJSON(collectorHealthCheckDiscovery3) {
2340
+ return JSON.stringify(exports.CollectorHealthCheckDiscovery3$outboundSchema.parse(collectorHealthCheckDiscovery3));
2341
+ }
2342
+ function collectorHealthCheckDiscovery3FromJSON(jsonString) {
2343
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckDiscovery3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckDiscovery3' from JSON`);
2344
+ }
2345
+ /** @internal */
2346
+ exports.CollectorHealthCheckCollectRequestParam3$inboundSchema = z.object({
2347
+ name: z.string(),
2348
+ value: z.string(),
2349
+ });
2350
+ /** @internal */
2351
+ exports.CollectorHealthCheckCollectRequestParam3$outboundSchema = z.object({
2352
+ name: z.string(),
2353
+ value: z.string(),
2354
+ });
2355
+ function collectorHealthCheckCollectRequestParam3ToJSON(collectorHealthCheckCollectRequestParam3) {
2356
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestParam3$outboundSchema.parse(collectorHealthCheckCollectRequestParam3));
2357
+ }
2358
+ function collectorHealthCheckCollectRequestParam3FromJSON(jsonString) {
2359
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestParam3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestParam3' from JSON`);
2360
+ }
2361
+ /** @internal */
2362
+ exports.CollectorHealthCheckCollectRequestHeader3$inboundSchema = z.object({
2363
+ name: z.string(),
2364
+ value: z.string(),
2365
+ });
2366
+ /** @internal */
2367
+ exports.CollectorHealthCheckCollectRequestHeader3$outboundSchema = z.object({
2368
+ name: z.string(),
2369
+ value: z.string(),
2370
+ });
2371
+ function collectorHealthCheckCollectRequestHeader3ToJSON(collectorHealthCheckCollectRequestHeader3) {
2372
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestHeader3$outboundSchema.parse(collectorHealthCheckCollectRequestHeader3));
2373
+ }
2374
+ function collectorHealthCheckCollectRequestHeader3FromJSON(jsonString) {
2375
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestHeader3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestHeader3' from JSON`);
2376
+ }
2377
+ /** @internal */
2378
+ exports.CollectorHealthCheckAuthentication3$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckAuthentication3);
2379
+ /** @internal */
2380
+ exports.CollectorHealthCheckAuthentication3$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckAuthentication3);
2381
+ /** @internal */
2382
+ exports.CollectorHealthCheckHiddenDefaultBreakers3$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers3);
2383
+ /** @internal */
2384
+ exports.CollectorHealthCheckHiddenDefaultBreakers3$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers3);
2385
+ /** @internal */
2386
+ exports.CollectorHealthCheckRetryType3$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckRetryType3);
2387
+ /** @internal */
2388
+ exports.CollectorHealthCheckRetryType3$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckRetryType3);
2389
+ /** @internal */
2390
+ exports.CollectorHealthCheckRetryRules3$inboundSchema = z.object({
2391
+ type: exports.CollectorHealthCheckRetryType3$inboundSchema.default("backoff"),
2392
+ interval: z.any().optional(),
2393
+ limit: z.any().optional(),
2394
+ multiplier: z.any().optional(),
2395
+ codes: z.any().optional(),
2396
+ enableHeader: z.any().optional(),
2397
+ });
2398
+ /** @internal */
2399
+ exports.CollectorHealthCheckRetryRules3$outboundSchema = z.object({
2400
+ type: exports.CollectorHealthCheckRetryType3$outboundSchema.default("backoff"),
2401
+ interval: z.any().optional(),
2402
+ limit: z.any().optional(),
2403
+ multiplier: z.any().optional(),
2404
+ codes: z.any().optional(),
2405
+ enableHeader: z.any().optional(),
2406
+ });
2407
+ function collectorHealthCheckRetryRules3ToJSON(collectorHealthCheckRetryRules3) {
2408
+ return JSON.stringify(exports.CollectorHealthCheckRetryRules3$outboundSchema.parse(collectorHealthCheckRetryRules3));
2409
+ }
2410
+ function collectorHealthCheckRetryRules3FromJSON(jsonString) {
2411
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckRetryRules3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckRetryRules3' from JSON`);
2412
+ }
2413
+ /** @internal */
2414
+ exports.CollectorHealthCheckAuthRequestHeader3$inboundSchema = z.object({
2415
+ name: z.string(),
2416
+ value: z.string(),
2417
+ });
2418
+ /** @internal */
2419
+ exports.CollectorHealthCheckAuthRequestHeader3$outboundSchema = z.object({
2420
+ name: z.string(),
2421
+ value: z.string(),
2422
+ });
2423
+ function collectorHealthCheckAuthRequestHeader3ToJSON(collectorHealthCheckAuthRequestHeader3) {
2424
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestHeader3$outboundSchema.parse(collectorHealthCheckAuthRequestHeader3));
2425
+ }
2426
+ function collectorHealthCheckAuthRequestHeader3FromJSON(jsonString) {
2427
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestHeader3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestHeader3' from JSON`);
2428
+ }
2429
+ /** @internal */
2430
+ exports.CollectorHealthCheckAuthRequestParam3$inboundSchema = z.object({
2431
+ name: z.string(),
2432
+ value: z.string(),
2433
+ });
2434
+ /** @internal */
2435
+ exports.CollectorHealthCheckAuthRequestParam3$outboundSchema = z.object({
2436
+ name: z.string(),
2437
+ value: z.string(),
2438
+ });
2439
+ function collectorHealthCheckAuthRequestParam3ToJSON(collectorHealthCheckAuthRequestParam3) {
2440
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestParam3$outboundSchema.parse(collectorHealthCheckAuthRequestParam3));
2441
+ }
2442
+ function collectorHealthCheckAuthRequestParam3FromJSON(jsonString) {
2443
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestParam3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestParam3' from JSON`);
2444
+ }
2445
+ /** @internal */
2446
+ exports.CollectorHealthCheckType3$inboundSchema = z.nativeEnum(exports.CollectorHealthCheckType3);
2447
+ /** @internal */
2448
+ exports.CollectorHealthCheckType3$outboundSchema = exports.CollectorHealthCheckType3$inboundSchema;
2449
+ /** @internal */
2450
+ exports.CollectorHealthCheckHealthCheck3$inboundSchema = z.object({
2451
+ collectMethod: exports.HealthCheckMethod3$inboundSchema.default("get"),
2452
+ collectBody: z.string().default("`{ }`"),
2453
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery3$inboundSchema)
2454
+ .optional(),
2455
+ collectUrl: z.string(),
2456
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam3$inboundSchema)).optional(),
2457
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader3$inboundSchema)).optional(),
2458
+ authenticateCollect: z.boolean().default(false),
2459
+ authentication: exports.CollectorHealthCheckAuthentication3$inboundSchema.default("none"),
2460
+ timeout: z.number().default(30),
2461
+ rejectUnauthorized: z.boolean().default(false),
2462
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers3$inboundSchema
2463
+ .optional(),
2464
+ safeHeaders: z.array(z.string()).optional(),
2465
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules3$inboundSchema)
2466
+ .optional(),
2467
+ username: z.string().optional(),
2468
+ password: z.string().optional(),
2469
+ credentialsSecret: z.string().optional(),
2470
+ loginUrl: z.string().default(""),
2471
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
2472
+ tokenRespAttribute: z.string().optional(),
2473
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
2474
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader3$inboundSchema)).optional(),
2475
+ clientSecretParamName: z.string().default("client_secret"),
2476
+ clientSecretParamValue: z.string().optional(),
2477
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam3$inboundSchema)).optional(),
2478
+ textSecret: z.string().optional(),
2479
+ type: exports.CollectorHealthCheckType3$inboundSchema,
2480
+ });
2481
+ /** @internal */
2482
+ exports.CollectorHealthCheckHealthCheck3$outboundSchema = z.object({
2483
+ collectMethod: exports.HealthCheckMethod3$outboundSchema.default("get"),
2484
+ collectBody: z.string().default("`{ }`"),
2485
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery3$outboundSchema)
2486
+ .optional(),
2487
+ collectUrl: z.string(),
2488
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam3$outboundSchema)).optional(),
2489
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader3$outboundSchema)).optional(),
2490
+ authenticateCollect: z.boolean().default(false),
2491
+ authentication: exports.CollectorHealthCheckAuthentication3$outboundSchema.default("none"),
2492
+ timeout: z.number().default(30),
2493
+ rejectUnauthorized: z.boolean().default(false),
2494
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers3$outboundSchema
2495
+ .optional(),
2496
+ safeHeaders: z.array(z.string()).optional(),
2497
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules3$outboundSchema)
2498
+ .optional(),
2499
+ username: z.string().optional(),
2500
+ password: z.string().optional(),
2501
+ credentialsSecret: z.string().optional(),
2502
+ loginUrl: z.string().default(""),
2503
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
2504
+ tokenRespAttribute: z.string().optional(),
2505
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
2506
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader3$outboundSchema)).optional(),
2507
+ clientSecretParamName: z.string().default("client_secret"),
2508
+ clientSecretParamValue: z.string().optional(),
2509
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam3$outboundSchema)).optional(),
2510
+ textSecret: z.string().optional(),
2511
+ type: exports.CollectorHealthCheckType3$outboundSchema,
2512
+ });
2513
+ function collectorHealthCheckHealthCheck3ToJSON(collectorHealthCheckHealthCheck3) {
2514
+ return JSON.stringify(exports.CollectorHealthCheckHealthCheck3$outboundSchema.parse(collectorHealthCheckHealthCheck3));
2515
+ }
2516
+ function collectorHealthCheckHealthCheck3FromJSON(jsonString) {
2517
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckHealthCheck3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckHealthCheck3' from JSON`);
2518
+ }
2519
+ /** @internal */
2520
+ exports.HealthCheckMethod2$inboundSchema = openEnums.inboundSchema(exports.HealthCheckMethod2);
2521
+ /** @internal */
2522
+ exports.HealthCheckMethod2$outboundSchema = openEnums.outboundSchema(exports.HealthCheckMethod2);
2523
+ /** @internal */
2524
+ exports.CollectorHealthCheckCollectRequestParam2$inboundSchema = z.object({
2525
+ name: z.string(),
2526
+ value: z.string(),
2527
+ });
2528
+ /** @internal */
2529
+ exports.CollectorHealthCheckCollectRequestParam2$outboundSchema = z.object({
2530
+ name: z.string(),
2531
+ value: z.string(),
2532
+ });
2533
+ function collectorHealthCheckCollectRequestParam2ToJSON(collectorHealthCheckCollectRequestParam2) {
2534
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestParam2$outboundSchema.parse(collectorHealthCheckCollectRequestParam2));
2535
+ }
2536
+ function collectorHealthCheckCollectRequestParam2FromJSON(jsonString) {
2537
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestParam2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestParam2' from JSON`);
2538
+ }
2539
+ /** @internal */
2540
+ exports.CollectorHealthCheckDiscoverType2$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckDiscoverType2);
2541
+ /** @internal */
2542
+ exports.CollectorHealthCheckDiscoverType2$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckDiscoverType2);
2543
+ /** @internal */
2544
+ exports.CollectorHealthCheckDiscovery2$inboundSchema = z.object({
2545
+ discoverType: exports.CollectorHealthCheckDiscoverType2$inboundSchema.default("none"),
2546
+ });
2547
+ /** @internal */
2548
+ exports.CollectorHealthCheckDiscovery2$outboundSchema = z.object({
2549
+ discoverType: exports.CollectorHealthCheckDiscoverType2$outboundSchema.default("none"),
2550
+ });
2551
+ function collectorHealthCheckDiscovery2ToJSON(collectorHealthCheckDiscovery2) {
2552
+ return JSON.stringify(exports.CollectorHealthCheckDiscovery2$outboundSchema.parse(collectorHealthCheckDiscovery2));
2553
+ }
2554
+ function collectorHealthCheckDiscovery2FromJSON(jsonString) {
2555
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckDiscovery2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckDiscovery2' from JSON`);
2556
+ }
2557
+ /** @internal */
2558
+ exports.CollectorHealthCheckCollectRequestHeader2$inboundSchema = z.object({
2559
+ name: z.string(),
2560
+ value: z.string(),
2561
+ });
2562
+ /** @internal */
2563
+ exports.CollectorHealthCheckCollectRequestHeader2$outboundSchema = z.object({
2564
+ name: z.string(),
2565
+ value: z.string(),
2566
+ });
2567
+ function collectorHealthCheckCollectRequestHeader2ToJSON(collectorHealthCheckCollectRequestHeader2) {
2568
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestHeader2$outboundSchema.parse(collectorHealthCheckCollectRequestHeader2));
2569
+ }
2570
+ function collectorHealthCheckCollectRequestHeader2FromJSON(jsonString) {
2571
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestHeader2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestHeader2' from JSON`);
2572
+ }
2573
+ /** @internal */
2574
+ exports.CollectorHealthCheckAuthentication2$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckAuthentication2);
2575
+ /** @internal */
2576
+ exports.CollectorHealthCheckAuthentication2$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckAuthentication2);
2577
+ /** @internal */
2578
+ exports.CollectorHealthCheckHiddenDefaultBreakers2$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers2);
2579
+ /** @internal */
2580
+ exports.CollectorHealthCheckHiddenDefaultBreakers2$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers2);
2581
+ /** @internal */
2582
+ exports.CollectorHealthCheckRetryType2$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckRetryType2);
2583
+ /** @internal */
2584
+ exports.CollectorHealthCheckRetryType2$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckRetryType2);
2585
+ /** @internal */
2586
+ exports.CollectorHealthCheckRetryRules2$inboundSchema = z.object({
2587
+ type: exports.CollectorHealthCheckRetryType2$inboundSchema.default("backoff"),
2588
+ interval: z.any().optional(),
2589
+ limit: z.any().optional(),
2590
+ multiplier: z.any().optional(),
2591
+ codes: z.any().optional(),
2592
+ enableHeader: z.any().optional(),
2593
+ });
2594
+ /** @internal */
2595
+ exports.CollectorHealthCheckRetryRules2$outboundSchema = z.object({
2596
+ type: exports.CollectorHealthCheckRetryType2$outboundSchema.default("backoff"),
2597
+ interval: z.any().optional(),
2598
+ limit: z.any().optional(),
2599
+ multiplier: z.any().optional(),
2600
+ codes: z.any().optional(),
2601
+ enableHeader: z.any().optional(),
2602
+ });
2603
+ function collectorHealthCheckRetryRules2ToJSON(collectorHealthCheckRetryRules2) {
2604
+ return JSON.stringify(exports.CollectorHealthCheckRetryRules2$outboundSchema.parse(collectorHealthCheckRetryRules2));
2605
+ }
2606
+ function collectorHealthCheckRetryRules2FromJSON(jsonString) {
2607
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckRetryRules2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckRetryRules2' from JSON`);
2608
+ }
2609
+ /** @internal */
2610
+ exports.CollectorHealthCheckAuthRequestHeader2$inboundSchema = z.object({
2611
+ name: z.string(),
2612
+ value: z.string(),
2613
+ });
2614
+ /** @internal */
2615
+ exports.CollectorHealthCheckAuthRequestHeader2$outboundSchema = z.object({
2616
+ name: z.string(),
2617
+ value: z.string(),
2618
+ });
2619
+ function collectorHealthCheckAuthRequestHeader2ToJSON(collectorHealthCheckAuthRequestHeader2) {
2620
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestHeader2$outboundSchema.parse(collectorHealthCheckAuthRequestHeader2));
2621
+ }
2622
+ function collectorHealthCheckAuthRequestHeader2FromJSON(jsonString) {
2623
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestHeader2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestHeader2' from JSON`);
2624
+ }
2625
+ /** @internal */
2626
+ exports.CollectorHealthCheckAuthRequestParam2$inboundSchema = z.object({
2627
+ name: z.string(),
2628
+ value: z.string(),
2629
+ });
2630
+ /** @internal */
2631
+ exports.CollectorHealthCheckAuthRequestParam2$outboundSchema = z.object({
2632
+ name: z.string(),
2633
+ value: z.string(),
2634
+ });
2635
+ function collectorHealthCheckAuthRequestParam2ToJSON(collectorHealthCheckAuthRequestParam2) {
2636
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestParam2$outboundSchema.parse(collectorHealthCheckAuthRequestParam2));
2637
+ }
2638
+ function collectorHealthCheckAuthRequestParam2FromJSON(jsonString) {
2639
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestParam2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestParam2' from JSON`);
2640
+ }
2641
+ /** @internal */
2642
+ exports.CollectorHealthCheckType2$inboundSchema = z.nativeEnum(exports.CollectorHealthCheckType2);
2643
+ /** @internal */
2644
+ exports.CollectorHealthCheckType2$outboundSchema = exports.CollectorHealthCheckType2$inboundSchema;
2645
+ /** @internal */
2646
+ exports.CollectorHealthCheckHealthCheck2$inboundSchema = z.object({
2647
+ collectMethod: exports.HealthCheckMethod2$inboundSchema.default("get"),
2648
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam2$inboundSchema)).optional(),
2649
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery2$inboundSchema)
2650
+ .optional(),
2651
+ collectUrl: z.string(),
2652
+ collectBody: z.string().default("`{ }`"),
2653
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader2$inboundSchema)).optional(),
2654
+ authenticateCollect: z.boolean().default(false),
2655
+ authentication: exports.CollectorHealthCheckAuthentication2$inboundSchema.default("none"),
2656
+ timeout: z.number().default(30),
2657
+ rejectUnauthorized: z.boolean().default(false),
2658
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers2$inboundSchema
2659
+ .optional(),
2660
+ safeHeaders: z.array(z.string()).optional(),
2661
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules2$inboundSchema)
2662
+ .optional(),
2663
+ username: z.string().optional(),
2664
+ password: z.string().optional(),
2665
+ credentialsSecret: z.string().optional(),
2666
+ loginUrl: z.string().default(""),
2667
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
2668
+ tokenRespAttribute: z.string().optional(),
2669
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
2670
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader2$inboundSchema)).optional(),
2671
+ clientSecretParamName: z.string().default("client_secret"),
2672
+ clientSecretParamValue: z.string().optional(),
2673
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam2$inboundSchema)).optional(),
2674
+ textSecret: z.string().optional(),
2675
+ type: exports.CollectorHealthCheckType2$inboundSchema,
2676
+ });
2677
+ /** @internal */
2678
+ exports.CollectorHealthCheckHealthCheck2$outboundSchema = z.object({
2679
+ collectMethod: exports.HealthCheckMethod2$outboundSchema.default("get"),
2680
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam2$outboundSchema)).optional(),
2681
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery2$outboundSchema)
2682
+ .optional(),
2683
+ collectUrl: z.string(),
2684
+ collectBody: z.string().default("`{ }`"),
2685
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader2$outboundSchema)).optional(),
2686
+ authenticateCollect: z.boolean().default(false),
2687
+ authentication: exports.CollectorHealthCheckAuthentication2$outboundSchema.default("none"),
2688
+ timeout: z.number().default(30),
2689
+ rejectUnauthorized: z.boolean().default(false),
2690
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers2$outboundSchema
2691
+ .optional(),
2692
+ safeHeaders: z.array(z.string()).optional(),
2693
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules2$outboundSchema)
2694
+ .optional(),
2695
+ username: z.string().optional(),
2696
+ password: z.string().optional(),
2697
+ credentialsSecret: z.string().optional(),
2698
+ loginUrl: z.string().default(""),
2699
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
2700
+ tokenRespAttribute: z.string().optional(),
2701
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
2702
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader2$outboundSchema)).optional(),
2703
+ clientSecretParamName: z.string().default("client_secret"),
2704
+ clientSecretParamValue: z.string().optional(),
2705
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam2$outboundSchema)).optional(),
2706
+ textSecret: z.string().optional(),
2707
+ type: exports.CollectorHealthCheckType2$outboundSchema,
2708
+ });
2709
+ function collectorHealthCheckHealthCheck2ToJSON(collectorHealthCheckHealthCheck2) {
2710
+ return JSON.stringify(exports.CollectorHealthCheckHealthCheck2$outboundSchema.parse(collectorHealthCheckHealthCheck2));
2711
+ }
2712
+ function collectorHealthCheckHealthCheck2FromJSON(jsonString) {
2713
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckHealthCheck2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckHealthCheck2' from JSON`);
2714
+ }
2715
+ /** @internal */
2716
+ exports.HealthCheckMethod1$inboundSchema = openEnums.inboundSchema(exports.HealthCheckMethod1);
2717
+ /** @internal */
2718
+ exports.HealthCheckMethod1$outboundSchema = openEnums.outboundSchema(exports.HealthCheckMethod1);
2719
+ /** @internal */
2720
+ exports.CollectorHealthCheckCollectRequestParam1$inboundSchema = z.object({
2721
+ name: z.string(),
2722
+ value: z.string(),
2723
+ });
2724
+ /** @internal */
2725
+ exports.CollectorHealthCheckCollectRequestParam1$outboundSchema = z.object({
2726
+ name: z.string(),
2727
+ value: z.string(),
2728
+ });
2729
+ function collectorHealthCheckCollectRequestParam1ToJSON(collectorHealthCheckCollectRequestParam1) {
2730
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestParam1$outboundSchema.parse(collectorHealthCheckCollectRequestParam1));
2731
+ }
2732
+ function collectorHealthCheckCollectRequestParam1FromJSON(jsonString) {
2733
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestParam1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestParam1' from JSON`);
2734
+ }
2735
+ /** @internal */
2736
+ exports.CollectorHealthCheckDiscoverType1$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckDiscoverType1);
2737
+ /** @internal */
2738
+ exports.CollectorHealthCheckDiscoverType1$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckDiscoverType1);
2739
+ /** @internal */
2740
+ exports.CollectorHealthCheckDiscovery1$inboundSchema = z.object({
2741
+ discoverType: exports.CollectorHealthCheckDiscoverType1$inboundSchema.default("none"),
2742
+ });
2743
+ /** @internal */
2744
+ exports.CollectorHealthCheckDiscovery1$outboundSchema = z.object({
2745
+ discoverType: exports.CollectorHealthCheckDiscoverType1$outboundSchema.default("none"),
2746
+ });
2747
+ function collectorHealthCheckDiscovery1ToJSON(collectorHealthCheckDiscovery1) {
2748
+ return JSON.stringify(exports.CollectorHealthCheckDiscovery1$outboundSchema.parse(collectorHealthCheckDiscovery1));
2749
+ }
2750
+ function collectorHealthCheckDiscovery1FromJSON(jsonString) {
2751
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckDiscovery1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckDiscovery1' from JSON`);
2752
+ }
2753
+ /** @internal */
2754
+ exports.CollectorHealthCheckCollectRequestHeader1$inboundSchema = z.object({
2755
+ name: z.string(),
2756
+ value: z.string(),
2757
+ });
2758
+ /** @internal */
2759
+ exports.CollectorHealthCheckCollectRequestHeader1$outboundSchema = z.object({
2760
+ name: z.string(),
2761
+ value: z.string(),
2762
+ });
2763
+ function collectorHealthCheckCollectRequestHeader1ToJSON(collectorHealthCheckCollectRequestHeader1) {
2764
+ return JSON.stringify(exports.CollectorHealthCheckCollectRequestHeader1$outboundSchema.parse(collectorHealthCheckCollectRequestHeader1));
2765
+ }
2766
+ function collectorHealthCheckCollectRequestHeader1FromJSON(jsonString) {
2767
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckCollectRequestHeader1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckCollectRequestHeader1' from JSON`);
2768
+ }
2769
+ /** @internal */
2770
+ exports.CollectorHealthCheckAuthentication1$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckAuthentication1);
2771
+ /** @internal */
2772
+ exports.CollectorHealthCheckAuthentication1$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckAuthentication1);
2773
+ /** @internal */
2774
+ exports.CollectorHealthCheckHiddenDefaultBreakers1$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers1);
2775
+ /** @internal */
2776
+ exports.CollectorHealthCheckHiddenDefaultBreakers1$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckHiddenDefaultBreakers1);
2777
+ /** @internal */
2778
+ exports.CollectorHealthCheckRetryType1$inboundSchema = openEnums.inboundSchema(exports.CollectorHealthCheckRetryType1);
2779
+ /** @internal */
2780
+ exports.CollectorHealthCheckRetryType1$outboundSchema = openEnums.outboundSchema(exports.CollectorHealthCheckRetryType1);
2781
+ /** @internal */
2782
+ exports.CollectorHealthCheckRetryRules1$inboundSchema = z.object({
2783
+ type: exports.CollectorHealthCheckRetryType1$inboundSchema.default("backoff"),
2784
+ interval: z.any().optional(),
2785
+ limit: z.any().optional(),
2786
+ multiplier: z.any().optional(),
2787
+ codes: z.any().optional(),
2788
+ enableHeader: z.any().optional(),
2789
+ });
2790
+ /** @internal */
2791
+ exports.CollectorHealthCheckRetryRules1$outboundSchema = z.object({
2792
+ type: exports.CollectorHealthCheckRetryType1$outboundSchema.default("backoff"),
2793
+ interval: z.any().optional(),
2794
+ limit: z.any().optional(),
2795
+ multiplier: z.any().optional(),
2796
+ codes: z.any().optional(),
2797
+ enableHeader: z.any().optional(),
2798
+ });
2799
+ function collectorHealthCheckRetryRules1ToJSON(collectorHealthCheckRetryRules1) {
2800
+ return JSON.stringify(exports.CollectorHealthCheckRetryRules1$outboundSchema.parse(collectorHealthCheckRetryRules1));
2801
+ }
2802
+ function collectorHealthCheckRetryRules1FromJSON(jsonString) {
2803
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckRetryRules1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckRetryRules1' from JSON`);
2804
+ }
2805
+ /** @internal */
2806
+ exports.CollectorHealthCheckAuthRequestHeader1$inboundSchema = z.object({
2807
+ name: z.string(),
2808
+ value: z.string(),
2809
+ });
2810
+ /** @internal */
2811
+ exports.CollectorHealthCheckAuthRequestHeader1$outboundSchema = z.object({
2812
+ name: z.string(),
2813
+ value: z.string(),
2814
+ });
2815
+ function collectorHealthCheckAuthRequestHeader1ToJSON(collectorHealthCheckAuthRequestHeader1) {
2816
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestHeader1$outboundSchema.parse(collectorHealthCheckAuthRequestHeader1));
2817
+ }
2818
+ function collectorHealthCheckAuthRequestHeader1FromJSON(jsonString) {
2819
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestHeader1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestHeader1' from JSON`);
2820
+ }
2821
+ /** @internal */
2822
+ exports.CollectorHealthCheckAuthRequestParam1$inboundSchema = z.object({
2823
+ name: z.string(),
2824
+ value: z.string(),
2825
+ });
2826
+ /** @internal */
2827
+ exports.CollectorHealthCheckAuthRequestParam1$outboundSchema = z.object({
2828
+ name: z.string(),
2829
+ value: z.string(),
2830
+ });
2831
+ function collectorHealthCheckAuthRequestParam1ToJSON(collectorHealthCheckAuthRequestParam1) {
2832
+ return JSON.stringify(exports.CollectorHealthCheckAuthRequestParam1$outboundSchema.parse(collectorHealthCheckAuthRequestParam1));
2833
+ }
2834
+ function collectorHealthCheckAuthRequestParam1FromJSON(jsonString) {
2835
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckAuthRequestParam1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckAuthRequestParam1' from JSON`);
2836
+ }
2837
+ /** @internal */
2838
+ exports.CollectorHealthCheckType1$inboundSchema = z.nativeEnum(exports.CollectorHealthCheckType1);
2839
+ /** @internal */
2840
+ exports.CollectorHealthCheckType1$outboundSchema = exports.CollectorHealthCheckType1$inboundSchema;
2841
+ /** @internal */
2842
+ exports.CollectorHealthCheckHealthCheck1$inboundSchema = z.object({
2843
+ collectMethod: exports.HealthCheckMethod1$inboundSchema.default("get"),
2844
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam1$inboundSchema)).optional(),
2845
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery1$inboundSchema)
2846
+ .optional(),
2847
+ collectUrl: z.string(),
2848
+ collectBody: z.string().default("`{ }`"),
2849
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader1$inboundSchema)).optional(),
2850
+ authenticateCollect: z.boolean().default(false),
2851
+ authentication: exports.CollectorHealthCheckAuthentication1$inboundSchema.default("none"),
2852
+ timeout: z.number().default(30),
2853
+ rejectUnauthorized: z.boolean().default(false),
2854
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers1$inboundSchema
2855
+ .optional(),
2856
+ safeHeaders: z.array(z.string()).optional(),
2857
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules1$inboundSchema)
2858
+ .optional(),
2859
+ username: z.string().optional(),
2860
+ password: z.string().optional(),
2861
+ credentialsSecret: z.string().optional(),
2862
+ loginUrl: z.string().default(""),
2863
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
2864
+ tokenRespAttribute: z.string().optional(),
2865
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
2866
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader1$inboundSchema)).optional(),
2867
+ clientSecretParamName: z.string().default("client_secret"),
2868
+ clientSecretParamValue: z.string().optional(),
2869
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam1$inboundSchema)).optional(),
2870
+ textSecret: z.string().optional(),
2871
+ type: exports.CollectorHealthCheckType1$inboundSchema,
2872
+ });
2873
+ /** @internal */
2874
+ exports.CollectorHealthCheckHealthCheck1$outboundSchema = z.object({
2875
+ collectMethod: exports.HealthCheckMethod1$outboundSchema.default("get"),
2876
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestParam1$outboundSchema)).optional(),
2877
+ discovery: z.lazy(() => exports.CollectorHealthCheckDiscovery1$outboundSchema)
2878
+ .optional(),
2879
+ collectUrl: z.string(),
2880
+ collectBody: z.string().default("`{ }`"),
2881
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckCollectRequestHeader1$outboundSchema)).optional(),
2882
+ authenticateCollect: z.boolean().default(false),
2883
+ authentication: exports.CollectorHealthCheckAuthentication1$outboundSchema.default("none"),
2884
+ timeout: z.number().default(30),
2885
+ rejectUnauthorized: z.boolean().default(false),
2886
+ defaultBreakers: exports.CollectorHealthCheckHiddenDefaultBreakers1$outboundSchema
2887
+ .optional(),
2888
+ safeHeaders: z.array(z.string()).optional(),
2889
+ retryRules: z.lazy(() => exports.CollectorHealthCheckRetryRules1$outboundSchema)
2890
+ .optional(),
2891
+ username: z.string().optional(),
2892
+ password: z.string().optional(),
2893
+ credentialsSecret: z.string().optional(),
2894
+ loginUrl: z.string().default(""),
2895
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
2896
+ tokenRespAttribute: z.string().optional(),
2897
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
2898
+ authRequestHeaders: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestHeader1$outboundSchema)).optional(),
2899
+ clientSecretParamName: z.string().default("client_secret"),
2900
+ clientSecretParamValue: z.string().optional(),
2901
+ authRequestParams: z.array(z.lazy(() => exports.CollectorHealthCheckAuthRequestParam1$outboundSchema)).optional(),
2902
+ textSecret: z.string().optional(),
2903
+ type: exports.CollectorHealthCheckType1$outboundSchema,
2904
+ });
2905
+ function collectorHealthCheckHealthCheck1ToJSON(collectorHealthCheckHealthCheck1) {
2906
+ return JSON.stringify(exports.CollectorHealthCheckHealthCheck1$outboundSchema.parse(collectorHealthCheckHealthCheck1));
2907
+ }
2908
+ function collectorHealthCheckHealthCheck1FromJSON(jsonString) {
2909
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorHealthCheckHealthCheck1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorHealthCheckHealthCheck1' from JSON`);
2910
+ }
2911
+ /** @internal */
2912
+ exports.CollectorHealthCheck$inboundSchema = z.union([
2913
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck5$inboundSchema),
2914
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck7$inboundSchema),
2915
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck6$inboundSchema),
2916
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck8$inboundSchema),
2917
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck9$inboundSchema),
2918
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck10$inboundSchema),
2919
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck1$inboundSchema),
2920
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck2$inboundSchema),
2921
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck3$inboundSchema),
2922
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck4$inboundSchema),
2923
+ ]);
2924
+ /** @internal */
2925
+ exports.CollectorHealthCheck$outboundSchema = z.union([
2926
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck5$outboundSchema),
2927
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck7$outboundSchema),
2928
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck6$outboundSchema),
2929
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck8$outboundSchema),
2930
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck9$outboundSchema),
2931
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck10$outboundSchema),
2932
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck1$outboundSchema),
2933
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck2$outboundSchema),
2934
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck3$outboundSchema),
2935
+ z.lazy(() => exports.CollectorHealthCheckHealthCheck4$outboundSchema),
2936
+ ]);
235
2937
  function collectorHealthCheckToJSON(collectorHealthCheck) {
236
2938
  return JSON.stringify(exports.CollectorHealthCheck$outboundSchema.parse(collectorHealthCheck));
237
2939
  }