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

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,29 +36,129 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.CollectorSplunk$outboundSchema = exports.CollectorSplunk$inboundSchema = exports.CollectorSplunkRetryRules$outboundSchema = exports.CollectorSplunkRetryRules$inboundSchema = exports.CollectorSplunkRetryType$outboundSchema = exports.CollectorSplunkRetryType$inboundSchema = exports.CollectorSplunkAuthentication$outboundSchema = exports.CollectorSplunkAuthentication$inboundSchema = exports.CollectorSplunkCollectRequestHeader$outboundSchema = exports.CollectorSplunkCollectRequestHeader$inboundSchema = exports.CollectRequestParam$outboundSchema = exports.CollectRequestParam$inboundSchema = exports.CollectorSplunkOutputMode$outboundSchema = exports.CollectorSplunkOutputMode$inboundSchema = exports.CollectorSplunkRetryType = exports.CollectorSplunkAuthentication = exports.CollectorSplunkOutputMode = void 0;
40
- exports.collectRequestParamToJSON = collectRequestParamToJSON;
41
- exports.collectRequestParamFromJSON = collectRequestParamFromJSON;
42
- exports.collectorSplunkCollectRequestHeaderToJSON = collectorSplunkCollectRequestHeaderToJSON;
43
- exports.collectorSplunkCollectRequestHeaderFromJSON = collectorSplunkCollectRequestHeaderFromJSON;
44
- exports.collectorSplunkRetryRulesToJSON = collectorSplunkRetryRulesToJSON;
45
- exports.collectorSplunkRetryRulesFromJSON = collectorSplunkRetryRulesFromJSON;
39
+ exports.CollectorSplunkOutputMode6$outboundSchema = exports.CollectorSplunkOutputMode6$inboundSchema = exports.CollectorSplunkType6$outboundSchema = exports.CollectorSplunkType6$inboundSchema = exports.CollectorSplunkAuthentication6$outboundSchema = exports.CollectorSplunkAuthentication6$inboundSchema = exports.CollectorSplunkSplunk7$outboundSchema = exports.CollectorSplunkSplunk7$inboundSchema = exports.CollectorSplunkRetryRules7$outboundSchema = exports.CollectorSplunkRetryRules7$inboundSchema = exports.CollectorSplunkRetryType7$outboundSchema = exports.CollectorSplunkRetryType7$inboundSchema = exports.CollectorSplunkCollectRequestHeader7$outboundSchema = exports.CollectorSplunkCollectRequestHeader7$inboundSchema = exports.CollectorSplunkCollectRequestParam7$outboundSchema = exports.CollectorSplunkCollectRequestParam7$inboundSchema = exports.CollectorSplunkOutputMode7$outboundSchema = exports.CollectorSplunkOutputMode7$inboundSchema = exports.CollectorSplunkType7$outboundSchema = exports.CollectorSplunkType7$inboundSchema = exports.CollectorSplunkAuthentication7$outboundSchema = exports.CollectorSplunkAuthentication7$inboundSchema = exports.CollectorSplunkRetryType1 = exports.CollectorSplunkOutputMode1 = exports.CollectorSplunkType1 = exports.CollectorSplunkAuthentication1 = exports.CollectorSplunkRetryType2 = exports.CollectorSplunkOutputMode2 = exports.CollectorSplunkType2 = exports.CollectorSplunkAuthentication2 = exports.CollectorSplunkRetryType3 = exports.CollectorSplunkOutputMode3 = exports.CollectorSplunkType3 = exports.CollectorSplunkAuthentication3 = exports.CollectorSplunkRetryType4 = exports.CollectorSplunkOutputMode4 = exports.CollectorSplunkType4 = exports.CollectorSplunkAuthentication4 = exports.CollectorSplunkRetryType5 = exports.CollectorSplunkOutputMode5 = exports.CollectorSplunkType5 = exports.CollectorSplunkAuthentication5 = exports.CollectorSplunkRetryType6 = exports.CollectorSplunkOutputMode6 = exports.CollectorSplunkType6 = exports.CollectorSplunkAuthentication6 = exports.CollectorSplunkRetryType7 = exports.CollectorSplunkOutputMode7 = exports.CollectorSplunkType7 = exports.CollectorSplunkAuthentication7 = void 0;
40
+ exports.CollectorSplunkCollectRequestParam3$outboundSchema = exports.CollectorSplunkCollectRequestParam3$inboundSchema = exports.CollectorSplunkOutputMode3$outboundSchema = exports.CollectorSplunkOutputMode3$inboundSchema = exports.CollectorSplunkType3$outboundSchema = exports.CollectorSplunkType3$inboundSchema = exports.CollectorSplunkAuthentication3$outboundSchema = exports.CollectorSplunkAuthentication3$inboundSchema = exports.CollectorSplunkSplunk4$outboundSchema = exports.CollectorSplunkSplunk4$inboundSchema = exports.CollectorSplunkRetryRules4$outboundSchema = exports.CollectorSplunkRetryRules4$inboundSchema = exports.CollectorSplunkRetryType4$outboundSchema = exports.CollectorSplunkRetryType4$inboundSchema = exports.CollectorSplunkCollectRequestHeader4$outboundSchema = exports.CollectorSplunkCollectRequestHeader4$inboundSchema = exports.CollectorSplunkCollectRequestParam4$outboundSchema = exports.CollectorSplunkCollectRequestParam4$inboundSchema = exports.CollectorSplunkOutputMode4$outboundSchema = exports.CollectorSplunkOutputMode4$inboundSchema = exports.CollectorSplunkType4$outboundSchema = exports.CollectorSplunkType4$inboundSchema = exports.CollectorSplunkAuthentication4$outboundSchema = exports.CollectorSplunkAuthentication4$inboundSchema = exports.CollectorSplunkSplunk5$outboundSchema = exports.CollectorSplunkSplunk5$inboundSchema = exports.CollectorSplunkRetryRules5$outboundSchema = exports.CollectorSplunkRetryRules5$inboundSchema = exports.CollectorSplunkRetryType5$outboundSchema = exports.CollectorSplunkRetryType5$inboundSchema = exports.CollectorSplunkCollectRequestHeader5$outboundSchema = exports.CollectorSplunkCollectRequestHeader5$inboundSchema = exports.CollectorSplunkCollectRequestParam5$outboundSchema = exports.CollectorSplunkCollectRequestParam5$inboundSchema = exports.CollectorSplunkOutputMode5$outboundSchema = exports.CollectorSplunkOutputMode5$inboundSchema = exports.CollectorSplunkType5$outboundSchema = exports.CollectorSplunkType5$inboundSchema = exports.CollectorSplunkAuthentication5$outboundSchema = exports.CollectorSplunkAuthentication5$inboundSchema = exports.CollectorSplunkSplunk6$outboundSchema = exports.CollectorSplunkSplunk6$inboundSchema = exports.CollectorSplunkRetryRules6$outboundSchema = exports.CollectorSplunkRetryRules6$inboundSchema = exports.CollectorSplunkRetryType6$outboundSchema = exports.CollectorSplunkRetryType6$inboundSchema = exports.CollectorSplunkCollectRequestHeader6$outboundSchema = exports.CollectorSplunkCollectRequestHeader6$inboundSchema = exports.CollectorSplunkCollectRequestParam6$outboundSchema = exports.CollectorSplunkCollectRequestParam6$inboundSchema = void 0;
41
+ exports.CollectorSplunk$outboundSchema = exports.CollectorSplunk$inboundSchema = exports.CollectorSplunkSplunk1$outboundSchema = exports.CollectorSplunkSplunk1$inboundSchema = exports.CollectorSplunkRetryRules1$outboundSchema = exports.CollectorSplunkRetryRules1$inboundSchema = exports.CollectorSplunkRetryType1$outboundSchema = exports.CollectorSplunkRetryType1$inboundSchema = exports.CollectorSplunkCollectRequestHeader1$outboundSchema = exports.CollectorSplunkCollectRequestHeader1$inboundSchema = exports.CollectorSplunkCollectRequestParam1$outboundSchema = exports.CollectorSplunkCollectRequestParam1$inboundSchema = exports.CollectorSplunkOutputMode1$outboundSchema = exports.CollectorSplunkOutputMode1$inboundSchema = exports.CollectorSplunkType1$outboundSchema = exports.CollectorSplunkType1$inboundSchema = exports.CollectorSplunkAuthentication1$outboundSchema = exports.CollectorSplunkAuthentication1$inboundSchema = exports.CollectorSplunkSplunk2$outboundSchema = exports.CollectorSplunkSplunk2$inboundSchema = exports.CollectorSplunkRetryRules2$outboundSchema = exports.CollectorSplunkRetryRules2$inboundSchema = exports.CollectorSplunkRetryType2$outboundSchema = exports.CollectorSplunkRetryType2$inboundSchema = exports.CollectorSplunkCollectRequestHeader2$outboundSchema = exports.CollectorSplunkCollectRequestHeader2$inboundSchema = exports.CollectorSplunkCollectRequestParam2$outboundSchema = exports.CollectorSplunkCollectRequestParam2$inboundSchema = exports.CollectorSplunkOutputMode2$outboundSchema = exports.CollectorSplunkOutputMode2$inboundSchema = exports.CollectorSplunkType2$outboundSchema = exports.CollectorSplunkType2$inboundSchema = exports.CollectorSplunkAuthentication2$outboundSchema = exports.CollectorSplunkAuthentication2$inboundSchema = exports.CollectorSplunkSplunk3$outboundSchema = exports.CollectorSplunkSplunk3$inboundSchema = exports.CollectorSplunkRetryRules3$outboundSchema = exports.CollectorSplunkRetryRules3$inboundSchema = exports.CollectorSplunkRetryType3$outboundSchema = exports.CollectorSplunkRetryType3$inboundSchema = exports.CollectorSplunkCollectRequestHeader3$outboundSchema = exports.CollectorSplunkCollectRequestHeader3$inboundSchema = void 0;
42
+ exports.collectorSplunkCollectRequestParam7ToJSON = collectorSplunkCollectRequestParam7ToJSON;
43
+ exports.collectorSplunkCollectRequestParam7FromJSON = collectorSplunkCollectRequestParam7FromJSON;
44
+ exports.collectorSplunkCollectRequestHeader7ToJSON = collectorSplunkCollectRequestHeader7ToJSON;
45
+ exports.collectorSplunkCollectRequestHeader7FromJSON = collectorSplunkCollectRequestHeader7FromJSON;
46
+ exports.collectorSplunkRetryRules7ToJSON = collectorSplunkRetryRules7ToJSON;
47
+ exports.collectorSplunkRetryRules7FromJSON = collectorSplunkRetryRules7FromJSON;
48
+ exports.collectorSplunkSplunk7ToJSON = collectorSplunkSplunk7ToJSON;
49
+ exports.collectorSplunkSplunk7FromJSON = collectorSplunkSplunk7FromJSON;
50
+ exports.collectorSplunkCollectRequestParam6ToJSON = collectorSplunkCollectRequestParam6ToJSON;
51
+ exports.collectorSplunkCollectRequestParam6FromJSON = collectorSplunkCollectRequestParam6FromJSON;
52
+ exports.collectorSplunkCollectRequestHeader6ToJSON = collectorSplunkCollectRequestHeader6ToJSON;
53
+ exports.collectorSplunkCollectRequestHeader6FromJSON = collectorSplunkCollectRequestHeader6FromJSON;
54
+ exports.collectorSplunkRetryRules6ToJSON = collectorSplunkRetryRules6ToJSON;
55
+ exports.collectorSplunkRetryRules6FromJSON = collectorSplunkRetryRules6FromJSON;
56
+ exports.collectorSplunkSplunk6ToJSON = collectorSplunkSplunk6ToJSON;
57
+ exports.collectorSplunkSplunk6FromJSON = collectorSplunkSplunk6FromJSON;
58
+ exports.collectorSplunkCollectRequestParam5ToJSON = collectorSplunkCollectRequestParam5ToJSON;
59
+ exports.collectorSplunkCollectRequestParam5FromJSON = collectorSplunkCollectRequestParam5FromJSON;
60
+ exports.collectorSplunkCollectRequestHeader5ToJSON = collectorSplunkCollectRequestHeader5ToJSON;
61
+ exports.collectorSplunkCollectRequestHeader5FromJSON = collectorSplunkCollectRequestHeader5FromJSON;
62
+ exports.collectorSplunkRetryRules5ToJSON = collectorSplunkRetryRules5ToJSON;
63
+ exports.collectorSplunkRetryRules5FromJSON = collectorSplunkRetryRules5FromJSON;
64
+ exports.collectorSplunkSplunk5ToJSON = collectorSplunkSplunk5ToJSON;
65
+ exports.collectorSplunkSplunk5FromJSON = collectorSplunkSplunk5FromJSON;
66
+ exports.collectorSplunkCollectRequestParam4ToJSON = collectorSplunkCollectRequestParam4ToJSON;
67
+ exports.collectorSplunkCollectRequestParam4FromJSON = collectorSplunkCollectRequestParam4FromJSON;
68
+ exports.collectorSplunkCollectRequestHeader4ToJSON = collectorSplunkCollectRequestHeader4ToJSON;
69
+ exports.collectorSplunkCollectRequestHeader4FromJSON = collectorSplunkCollectRequestHeader4FromJSON;
70
+ exports.collectorSplunkRetryRules4ToJSON = collectorSplunkRetryRules4ToJSON;
71
+ exports.collectorSplunkRetryRules4FromJSON = collectorSplunkRetryRules4FromJSON;
72
+ exports.collectorSplunkSplunk4ToJSON = collectorSplunkSplunk4ToJSON;
73
+ exports.collectorSplunkSplunk4FromJSON = collectorSplunkSplunk4FromJSON;
74
+ exports.collectorSplunkCollectRequestParam3ToJSON = collectorSplunkCollectRequestParam3ToJSON;
75
+ exports.collectorSplunkCollectRequestParam3FromJSON = collectorSplunkCollectRequestParam3FromJSON;
76
+ exports.collectorSplunkCollectRequestHeader3ToJSON = collectorSplunkCollectRequestHeader3ToJSON;
77
+ exports.collectorSplunkCollectRequestHeader3FromJSON = collectorSplunkCollectRequestHeader3FromJSON;
78
+ exports.collectorSplunkRetryRules3ToJSON = collectorSplunkRetryRules3ToJSON;
79
+ exports.collectorSplunkRetryRules3FromJSON = collectorSplunkRetryRules3FromJSON;
80
+ exports.collectorSplunkSplunk3ToJSON = collectorSplunkSplunk3ToJSON;
81
+ exports.collectorSplunkSplunk3FromJSON = collectorSplunkSplunk3FromJSON;
82
+ exports.collectorSplunkCollectRequestParam2ToJSON = collectorSplunkCollectRequestParam2ToJSON;
83
+ exports.collectorSplunkCollectRequestParam2FromJSON = collectorSplunkCollectRequestParam2FromJSON;
84
+ exports.collectorSplunkCollectRequestHeader2ToJSON = collectorSplunkCollectRequestHeader2ToJSON;
85
+ exports.collectorSplunkCollectRequestHeader2FromJSON = collectorSplunkCollectRequestHeader2FromJSON;
86
+ exports.collectorSplunkRetryRules2ToJSON = collectorSplunkRetryRules2ToJSON;
87
+ exports.collectorSplunkRetryRules2FromJSON = collectorSplunkRetryRules2FromJSON;
88
+ exports.collectorSplunkSplunk2ToJSON = collectorSplunkSplunk2ToJSON;
89
+ exports.collectorSplunkSplunk2FromJSON = collectorSplunkSplunk2FromJSON;
90
+ exports.collectorSplunkCollectRequestParam1ToJSON = collectorSplunkCollectRequestParam1ToJSON;
91
+ exports.collectorSplunkCollectRequestParam1FromJSON = collectorSplunkCollectRequestParam1FromJSON;
92
+ exports.collectorSplunkCollectRequestHeader1ToJSON = collectorSplunkCollectRequestHeader1ToJSON;
93
+ exports.collectorSplunkCollectRequestHeader1FromJSON = collectorSplunkCollectRequestHeader1FromJSON;
94
+ exports.collectorSplunkRetryRules1ToJSON = collectorSplunkRetryRules1ToJSON;
95
+ exports.collectorSplunkRetryRules1FromJSON = collectorSplunkRetryRules1FromJSON;
96
+ exports.collectorSplunkSplunk1ToJSON = collectorSplunkSplunk1ToJSON;
97
+ exports.collectorSplunkSplunk1FromJSON = collectorSplunkSplunk1FromJSON;
46
98
  exports.collectorSplunkToJSON = collectorSplunkToJSON;
47
99
  exports.collectorSplunkFromJSON = collectorSplunkFromJSON;
48
100
  const z = __importStar(require("zod/v3"));
49
101
  const schemas_js_1 = require("../lib/schemas.js");
50
102
  const openEnums = __importStar(require("../types/enums.js"));
103
+ /**
104
+ * Authentication method for Discover and Collect REST calls
105
+ */
106
+ exports.CollectorSplunkAuthentication7 = {
107
+ /**
108
+ * None
109
+ */
110
+ None: "none",
111
+ /**
112
+ * Basic
113
+ */
114
+ Basic: "basic",
115
+ /**
116
+ * Basic (credentials secret)
117
+ */
118
+ BasicSecret: "basicSecret",
119
+ /**
120
+ * Bearer Token
121
+ */
122
+ Token: "token",
123
+ /**
124
+ * Bearer Token (text secret)
125
+ */
126
+ TokenSecret: "tokenSecret",
127
+ };
128
+ /**
129
+ * Collector type: splunk
130
+ */
131
+ exports.CollectorSplunkType7 = {
132
+ Splunk: "splunk",
133
+ };
51
134
  /**
52
135
  * Format of the returned output
53
136
  */
54
- exports.CollectorSplunkOutputMode = {
137
+ exports.CollectorSplunkOutputMode7 = {
55
138
  Csv: "csv",
56
139
  Json: "json",
57
140
  };
141
+ /**
142
+ * Algorithm to use when performing HTTP retries
143
+ */
144
+ exports.CollectorSplunkRetryType7 = {
145
+ /**
146
+ * Disabled
147
+ */
148
+ None: "none",
149
+ /**
150
+ * Backoff
151
+ */
152
+ Backoff: "backoff",
153
+ /**
154
+ * Static
155
+ */
156
+ Static: "static",
157
+ };
58
158
  /**
59
159
  * Authentication method for Discover and Collect REST calls
60
160
  */
61
- exports.CollectorSplunkAuthentication = {
161
+ exports.CollectorSplunkAuthentication6 = {
62
162
  /**
63
163
  * None
64
164
  */
@@ -80,10 +180,23 @@ exports.CollectorSplunkAuthentication = {
80
180
  */
81
181
  TokenSecret: "tokenSecret",
82
182
  };
183
+ /**
184
+ * Collector type: splunk
185
+ */
186
+ exports.CollectorSplunkType6 = {
187
+ Splunk: "splunk",
188
+ };
189
+ /**
190
+ * Format of the returned output
191
+ */
192
+ exports.CollectorSplunkOutputMode6 = {
193
+ Csv: "csv",
194
+ Json: "json",
195
+ };
83
196
  /**
84
197
  * Algorithm to use when performing HTTP retries
85
198
  */
86
- exports.CollectorSplunkRetryType = {
199
+ exports.CollectorSplunkRetryType6 = {
87
200
  /**
88
201
  * Disabled
89
202
  */
@@ -97,53 +210,1027 @@ exports.CollectorSplunkRetryType = {
97
210
  */
98
211
  Static: "static",
99
212
  };
213
+ /**
214
+ * Authentication method for Discover and Collect REST calls
215
+ */
216
+ exports.CollectorSplunkAuthentication5 = {
217
+ /**
218
+ * None
219
+ */
220
+ None: "none",
221
+ /**
222
+ * Basic
223
+ */
224
+ Basic: "basic",
225
+ /**
226
+ * Basic (credentials secret)
227
+ */
228
+ BasicSecret: "basicSecret",
229
+ /**
230
+ * Bearer Token
231
+ */
232
+ Token: "token",
233
+ /**
234
+ * Bearer Token (text secret)
235
+ */
236
+ TokenSecret: "tokenSecret",
237
+ };
238
+ /**
239
+ * Collector type: splunk
240
+ */
241
+ exports.CollectorSplunkType5 = {
242
+ Splunk: "splunk",
243
+ };
244
+ /**
245
+ * Format of the returned output
246
+ */
247
+ exports.CollectorSplunkOutputMode5 = {
248
+ Csv: "csv",
249
+ Json: "json",
250
+ };
251
+ /**
252
+ * Algorithm to use when performing HTTP retries
253
+ */
254
+ exports.CollectorSplunkRetryType5 = {
255
+ /**
256
+ * Disabled
257
+ */
258
+ None: "none",
259
+ /**
260
+ * Backoff
261
+ */
262
+ Backoff: "backoff",
263
+ /**
264
+ * Static
265
+ */
266
+ Static: "static",
267
+ };
268
+ /**
269
+ * Authentication method for Discover and Collect REST calls
270
+ */
271
+ exports.CollectorSplunkAuthentication4 = {
272
+ /**
273
+ * None
274
+ */
275
+ None: "none",
276
+ /**
277
+ * Basic
278
+ */
279
+ Basic: "basic",
280
+ /**
281
+ * Basic (credentials secret)
282
+ */
283
+ BasicSecret: "basicSecret",
284
+ /**
285
+ * Bearer Token
286
+ */
287
+ Token: "token",
288
+ /**
289
+ * Bearer Token (text secret)
290
+ */
291
+ TokenSecret: "tokenSecret",
292
+ };
293
+ /**
294
+ * Collector type: splunk
295
+ */
296
+ exports.CollectorSplunkType4 = {
297
+ Splunk: "splunk",
298
+ };
299
+ /**
300
+ * Format of the returned output
301
+ */
302
+ exports.CollectorSplunkOutputMode4 = {
303
+ Csv: "csv",
304
+ Json: "json",
305
+ };
306
+ /**
307
+ * Algorithm to use when performing HTTP retries
308
+ */
309
+ exports.CollectorSplunkRetryType4 = {
310
+ /**
311
+ * Disabled
312
+ */
313
+ None: "none",
314
+ /**
315
+ * Backoff
316
+ */
317
+ Backoff: "backoff",
318
+ /**
319
+ * Static
320
+ */
321
+ Static: "static",
322
+ };
323
+ /**
324
+ * Authentication method for Discover and Collect REST calls
325
+ */
326
+ exports.CollectorSplunkAuthentication3 = {
327
+ /**
328
+ * None
329
+ */
330
+ None: "none",
331
+ /**
332
+ * Basic
333
+ */
334
+ Basic: "basic",
335
+ /**
336
+ * Basic (credentials secret)
337
+ */
338
+ BasicSecret: "basicSecret",
339
+ /**
340
+ * Bearer Token
341
+ */
342
+ Token: "token",
343
+ /**
344
+ * Bearer Token (text secret)
345
+ */
346
+ TokenSecret: "tokenSecret",
347
+ };
348
+ /**
349
+ * Collector type: splunk
350
+ */
351
+ exports.CollectorSplunkType3 = {
352
+ Splunk: "splunk",
353
+ };
354
+ /**
355
+ * Format of the returned output
356
+ */
357
+ exports.CollectorSplunkOutputMode3 = {
358
+ Csv: "csv",
359
+ Json: "json",
360
+ };
361
+ /**
362
+ * Algorithm to use when performing HTTP retries
363
+ */
364
+ exports.CollectorSplunkRetryType3 = {
365
+ /**
366
+ * Disabled
367
+ */
368
+ None: "none",
369
+ /**
370
+ * Backoff
371
+ */
372
+ Backoff: "backoff",
373
+ /**
374
+ * Static
375
+ */
376
+ Static: "static",
377
+ };
378
+ /**
379
+ * Authentication method for Discover and Collect REST calls
380
+ */
381
+ exports.CollectorSplunkAuthentication2 = {
382
+ /**
383
+ * None
384
+ */
385
+ None: "none",
386
+ /**
387
+ * Basic
388
+ */
389
+ Basic: "basic",
390
+ /**
391
+ * Basic (credentials secret)
392
+ */
393
+ BasicSecret: "basicSecret",
394
+ /**
395
+ * Bearer Token
396
+ */
397
+ Token: "token",
398
+ /**
399
+ * Bearer Token (text secret)
400
+ */
401
+ TokenSecret: "tokenSecret",
402
+ };
403
+ /**
404
+ * Collector type: splunk
405
+ */
406
+ exports.CollectorSplunkType2 = {
407
+ Splunk: "splunk",
408
+ };
409
+ /**
410
+ * Format of the returned output
411
+ */
412
+ exports.CollectorSplunkOutputMode2 = {
413
+ Csv: "csv",
414
+ Json: "json",
415
+ };
416
+ /**
417
+ * Algorithm to use when performing HTTP retries
418
+ */
419
+ exports.CollectorSplunkRetryType2 = {
420
+ /**
421
+ * Disabled
422
+ */
423
+ None: "none",
424
+ /**
425
+ * Backoff
426
+ */
427
+ Backoff: "backoff",
428
+ /**
429
+ * Static
430
+ */
431
+ Static: "static",
432
+ };
433
+ /**
434
+ * Authentication method for Discover and Collect REST calls
435
+ */
436
+ exports.CollectorSplunkAuthentication1 = {
437
+ /**
438
+ * None
439
+ */
440
+ None: "none",
441
+ /**
442
+ * Basic
443
+ */
444
+ Basic: "basic",
445
+ /**
446
+ * Basic (credentials secret)
447
+ */
448
+ BasicSecret: "basicSecret",
449
+ /**
450
+ * Bearer Token
451
+ */
452
+ Token: "token",
453
+ /**
454
+ * Bearer Token (text secret)
455
+ */
456
+ TokenSecret: "tokenSecret",
457
+ };
458
+ /**
459
+ * Collector type: splunk
460
+ */
461
+ exports.CollectorSplunkType1 = {
462
+ Splunk: "splunk",
463
+ };
464
+ /**
465
+ * Format of the returned output
466
+ */
467
+ exports.CollectorSplunkOutputMode1 = {
468
+ Csv: "csv",
469
+ Json: "json",
470
+ };
471
+ /**
472
+ * Algorithm to use when performing HTTP retries
473
+ */
474
+ exports.CollectorSplunkRetryType1 = {
475
+ /**
476
+ * Disabled
477
+ */
478
+ None: "none",
479
+ /**
480
+ * Backoff
481
+ */
482
+ Backoff: "backoff",
483
+ /**
484
+ * Static
485
+ */
486
+ Static: "static",
487
+ };
488
+ /** @internal */
489
+ exports.CollectorSplunkAuthentication7$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkAuthentication7);
490
+ /** @internal */
491
+ exports.CollectorSplunkAuthentication7$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkAuthentication7);
492
+ /** @internal */
493
+ exports.CollectorSplunkType7$inboundSchema = z.nativeEnum(exports.CollectorSplunkType7);
494
+ /** @internal */
495
+ exports.CollectorSplunkType7$outboundSchema = exports.CollectorSplunkType7$inboundSchema;
496
+ /** @internal */
497
+ exports.CollectorSplunkOutputMode7$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkOutputMode7);
498
+ /** @internal */
499
+ exports.CollectorSplunkOutputMode7$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkOutputMode7);
500
+ /** @internal */
501
+ exports.CollectorSplunkCollectRequestParam7$inboundSchema = z.object({
502
+ name: z.string(),
503
+ value: z.string(),
504
+ });
505
+ /** @internal */
506
+ exports.CollectorSplunkCollectRequestParam7$outboundSchema = z.object({
507
+ name: z.string(),
508
+ value: z.string(),
509
+ });
510
+ function collectorSplunkCollectRequestParam7ToJSON(collectorSplunkCollectRequestParam7) {
511
+ return JSON.stringify(exports.CollectorSplunkCollectRequestParam7$outboundSchema.parse(collectorSplunkCollectRequestParam7));
512
+ }
513
+ function collectorSplunkCollectRequestParam7FromJSON(jsonString) {
514
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestParam7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestParam7' from JSON`);
515
+ }
516
+ /** @internal */
517
+ exports.CollectorSplunkCollectRequestHeader7$inboundSchema = z.object({
518
+ name: z.string(),
519
+ value: z.string(),
520
+ });
521
+ /** @internal */
522
+ exports.CollectorSplunkCollectRequestHeader7$outboundSchema = z.object({
523
+ name: z.string(),
524
+ value: z.string(),
525
+ });
526
+ function collectorSplunkCollectRequestHeader7ToJSON(collectorSplunkCollectRequestHeader7) {
527
+ return JSON.stringify(exports.CollectorSplunkCollectRequestHeader7$outboundSchema.parse(collectorSplunkCollectRequestHeader7));
528
+ }
529
+ function collectorSplunkCollectRequestHeader7FromJSON(jsonString) {
530
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestHeader7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestHeader7' from JSON`);
531
+ }
532
+ /** @internal */
533
+ exports.CollectorSplunkRetryType7$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkRetryType7);
534
+ /** @internal */
535
+ exports.CollectorSplunkRetryType7$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkRetryType7);
536
+ /** @internal */
537
+ exports.CollectorSplunkRetryRules7$inboundSchema = z.object({
538
+ type: exports.CollectorSplunkRetryType7$inboundSchema.default("backoff"),
539
+ interval: z.any().optional(),
540
+ limit: z.any().optional(),
541
+ multiplier: z.any().optional(),
542
+ codes: z.any().optional(),
543
+ enableHeader: z.any().optional(),
544
+ retryConnectTimeout: z.any().optional(),
545
+ retryConnectReset: z.any().optional(),
546
+ });
547
+ /** @internal */
548
+ exports.CollectorSplunkRetryRules7$outboundSchema = z.object({
549
+ type: exports.CollectorSplunkRetryType7$outboundSchema.default("backoff"),
550
+ interval: z.any().optional(),
551
+ limit: z.any().optional(),
552
+ multiplier: z.any().optional(),
553
+ codes: z.any().optional(),
554
+ enableHeader: z.any().optional(),
555
+ retryConnectTimeout: z.any().optional(),
556
+ retryConnectReset: z.any().optional(),
557
+ });
558
+ function collectorSplunkRetryRules7ToJSON(collectorSplunkRetryRules7) {
559
+ return JSON.stringify(exports.CollectorSplunkRetryRules7$outboundSchema.parse(collectorSplunkRetryRules7));
560
+ }
561
+ function collectorSplunkRetryRules7FromJSON(jsonString) {
562
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkRetryRules7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkRetryRules7' from JSON`);
563
+ }
564
+ /** @internal */
565
+ exports.CollectorSplunkSplunk7$inboundSchema = z.object({
566
+ authentication: exports.CollectorSplunkAuthentication7$inboundSchema.default("basic"),
567
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
568
+ credentialsSecret: z.string(),
569
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
570
+ tokenRespAttribute: z.string().default("token"),
571
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
572
+ type: exports.CollectorSplunkType7$inboundSchema,
573
+ searchHead: z.string().default("https://localhost:8089"),
574
+ search: z.string(),
575
+ earliest: z.string().optional(),
576
+ latest: z.string().optional(),
577
+ endpoint: z.string().default("/services/search/v2/jobs/export"),
578
+ outputMode: exports.CollectorSplunkOutputMode7$inboundSchema.default("json"),
579
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam7$inboundSchema)).optional(),
580
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader7$inboundSchema)).optional(),
581
+ timeout: z.number().default(0),
582
+ useRoundRobinDns: z.boolean().default(false),
583
+ disableTimeFilter: z.boolean().default(true),
584
+ rejectUnauthorized: z.boolean().default(false),
585
+ handleEscapedChars: z.boolean().default(false),
586
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules7$inboundSchema).optional(),
587
+ username: z.string().optional(),
588
+ password: z.string().optional(),
589
+ token: z.string().optional(),
590
+ tokenSecret: z.string().optional(),
591
+ });
592
+ /** @internal */
593
+ exports.CollectorSplunkSplunk7$outboundSchema = z.object({
594
+ authentication: exports.CollectorSplunkAuthentication7$outboundSchema.default("basic"),
595
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
596
+ credentialsSecret: z.string(),
597
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
598
+ tokenRespAttribute: z.string().default("token"),
599
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
600
+ type: exports.CollectorSplunkType7$outboundSchema,
601
+ searchHead: z.string().default("https://localhost:8089"),
602
+ search: z.string(),
603
+ earliest: z.string().optional(),
604
+ latest: z.string().optional(),
605
+ endpoint: z.string().default("/services/search/v2/jobs/export"),
606
+ outputMode: exports.CollectorSplunkOutputMode7$outboundSchema.default("json"),
607
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam7$outboundSchema)).optional(),
608
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader7$outboundSchema)).optional(),
609
+ timeout: z.number().default(0),
610
+ useRoundRobinDns: z.boolean().default(false),
611
+ disableTimeFilter: z.boolean().default(true),
612
+ rejectUnauthorized: z.boolean().default(false),
613
+ handleEscapedChars: z.boolean().default(false),
614
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules7$outboundSchema)
615
+ .optional(),
616
+ username: z.string().optional(),
617
+ password: z.string().optional(),
618
+ token: z.string().optional(),
619
+ tokenSecret: z.string().optional(),
620
+ });
621
+ function collectorSplunkSplunk7ToJSON(collectorSplunkSplunk7) {
622
+ return JSON.stringify(exports.CollectorSplunkSplunk7$outboundSchema.parse(collectorSplunkSplunk7));
623
+ }
624
+ function collectorSplunkSplunk7FromJSON(jsonString) {
625
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkSplunk7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkSplunk7' from JSON`);
626
+ }
627
+ /** @internal */
628
+ exports.CollectorSplunkAuthentication6$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkAuthentication6);
629
+ /** @internal */
630
+ exports.CollectorSplunkAuthentication6$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkAuthentication6);
631
+ /** @internal */
632
+ exports.CollectorSplunkType6$inboundSchema = z.nativeEnum(exports.CollectorSplunkType6);
633
+ /** @internal */
634
+ exports.CollectorSplunkType6$outboundSchema = exports.CollectorSplunkType6$inboundSchema;
635
+ /** @internal */
636
+ exports.CollectorSplunkOutputMode6$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkOutputMode6);
637
+ /** @internal */
638
+ exports.CollectorSplunkOutputMode6$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkOutputMode6);
639
+ /** @internal */
640
+ exports.CollectorSplunkCollectRequestParam6$inboundSchema = z.object({
641
+ name: z.string(),
642
+ value: z.string(),
643
+ });
644
+ /** @internal */
645
+ exports.CollectorSplunkCollectRequestParam6$outboundSchema = z.object({
646
+ name: z.string(),
647
+ value: z.string(),
648
+ });
649
+ function collectorSplunkCollectRequestParam6ToJSON(collectorSplunkCollectRequestParam6) {
650
+ return JSON.stringify(exports.CollectorSplunkCollectRequestParam6$outboundSchema.parse(collectorSplunkCollectRequestParam6));
651
+ }
652
+ function collectorSplunkCollectRequestParam6FromJSON(jsonString) {
653
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestParam6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestParam6' from JSON`);
654
+ }
655
+ /** @internal */
656
+ exports.CollectorSplunkCollectRequestHeader6$inboundSchema = z.object({
657
+ name: z.string(),
658
+ value: z.string(),
659
+ });
660
+ /** @internal */
661
+ exports.CollectorSplunkCollectRequestHeader6$outboundSchema = z.object({
662
+ name: z.string(),
663
+ value: z.string(),
664
+ });
665
+ function collectorSplunkCollectRequestHeader6ToJSON(collectorSplunkCollectRequestHeader6) {
666
+ return JSON.stringify(exports.CollectorSplunkCollectRequestHeader6$outboundSchema.parse(collectorSplunkCollectRequestHeader6));
667
+ }
668
+ function collectorSplunkCollectRequestHeader6FromJSON(jsonString) {
669
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestHeader6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestHeader6' from JSON`);
670
+ }
671
+ /** @internal */
672
+ exports.CollectorSplunkRetryType6$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkRetryType6);
673
+ /** @internal */
674
+ exports.CollectorSplunkRetryType6$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkRetryType6);
675
+ /** @internal */
676
+ exports.CollectorSplunkRetryRules6$inboundSchema = z.object({
677
+ type: exports.CollectorSplunkRetryType6$inboundSchema.default("backoff"),
678
+ interval: z.any().optional(),
679
+ limit: z.any().optional(),
680
+ multiplier: z.any().optional(),
681
+ codes: z.any().optional(),
682
+ enableHeader: z.any().optional(),
683
+ retryConnectTimeout: z.any().optional(),
684
+ retryConnectReset: z.any().optional(),
685
+ });
686
+ /** @internal */
687
+ exports.CollectorSplunkRetryRules6$outboundSchema = z.object({
688
+ type: exports.CollectorSplunkRetryType6$outboundSchema.default("backoff"),
689
+ interval: z.any().optional(),
690
+ limit: z.any().optional(),
691
+ multiplier: z.any().optional(),
692
+ codes: z.any().optional(),
693
+ enableHeader: z.any().optional(),
694
+ retryConnectTimeout: z.any().optional(),
695
+ retryConnectReset: z.any().optional(),
696
+ });
697
+ function collectorSplunkRetryRules6ToJSON(collectorSplunkRetryRules6) {
698
+ return JSON.stringify(exports.CollectorSplunkRetryRules6$outboundSchema.parse(collectorSplunkRetryRules6));
699
+ }
700
+ function collectorSplunkRetryRules6FromJSON(jsonString) {
701
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkRetryRules6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkRetryRules6' from JSON`);
702
+ }
703
+ /** @internal */
704
+ exports.CollectorSplunkSplunk6$inboundSchema = z.object({
705
+ authentication: exports.CollectorSplunkAuthentication6$inboundSchema.default("basic"),
706
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
707
+ username: z.string(),
708
+ password: z.string(),
709
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
710
+ tokenRespAttribute: z.string().default("token"),
711
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
712
+ type: exports.CollectorSplunkType6$inboundSchema,
713
+ searchHead: z.string().default("https://localhost:8089"),
714
+ search: z.string(),
715
+ earliest: z.string().optional(),
716
+ latest: z.string().optional(),
717
+ endpoint: z.string().default("/services/search/v2/jobs/export"),
718
+ outputMode: exports.CollectorSplunkOutputMode6$inboundSchema.default("json"),
719
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam6$inboundSchema)).optional(),
720
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader6$inboundSchema)).optional(),
721
+ timeout: z.number().default(0),
722
+ useRoundRobinDns: z.boolean().default(false),
723
+ disableTimeFilter: z.boolean().default(true),
724
+ rejectUnauthorized: z.boolean().default(false),
725
+ handleEscapedChars: z.boolean().default(false),
726
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules6$inboundSchema).optional(),
727
+ credentialsSecret: z.string().optional(),
728
+ token: z.string().optional(),
729
+ tokenSecret: z.string().optional(),
730
+ });
731
+ /** @internal */
732
+ exports.CollectorSplunkSplunk6$outboundSchema = z.object({
733
+ authentication: exports.CollectorSplunkAuthentication6$outboundSchema.default("basic"),
734
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
735
+ username: z.string(),
736
+ password: z.string(),
737
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
738
+ tokenRespAttribute: z.string().default("token"),
739
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
740
+ type: exports.CollectorSplunkType6$outboundSchema,
741
+ searchHead: z.string().default("https://localhost:8089"),
742
+ search: z.string(),
743
+ earliest: z.string().optional(),
744
+ latest: z.string().optional(),
745
+ endpoint: z.string().default("/services/search/v2/jobs/export"),
746
+ outputMode: exports.CollectorSplunkOutputMode6$outboundSchema.default("json"),
747
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam6$outboundSchema)).optional(),
748
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader6$outboundSchema)).optional(),
749
+ timeout: z.number().default(0),
750
+ useRoundRobinDns: z.boolean().default(false),
751
+ disableTimeFilter: z.boolean().default(true),
752
+ rejectUnauthorized: z.boolean().default(false),
753
+ handleEscapedChars: z.boolean().default(false),
754
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules6$outboundSchema)
755
+ .optional(),
756
+ credentialsSecret: z.string().optional(),
757
+ token: z.string().optional(),
758
+ tokenSecret: z.string().optional(),
759
+ });
760
+ function collectorSplunkSplunk6ToJSON(collectorSplunkSplunk6) {
761
+ return JSON.stringify(exports.CollectorSplunkSplunk6$outboundSchema.parse(collectorSplunkSplunk6));
762
+ }
763
+ function collectorSplunkSplunk6FromJSON(jsonString) {
764
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkSplunk6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkSplunk6' from JSON`);
765
+ }
766
+ /** @internal */
767
+ exports.CollectorSplunkAuthentication5$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkAuthentication5);
768
+ /** @internal */
769
+ exports.CollectorSplunkAuthentication5$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkAuthentication5);
770
+ /** @internal */
771
+ exports.CollectorSplunkType5$inboundSchema = z.nativeEnum(exports.CollectorSplunkType5);
772
+ /** @internal */
773
+ exports.CollectorSplunkType5$outboundSchema = exports.CollectorSplunkType5$inboundSchema;
774
+ /** @internal */
775
+ exports.CollectorSplunkOutputMode5$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkOutputMode5);
776
+ /** @internal */
777
+ exports.CollectorSplunkOutputMode5$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkOutputMode5);
778
+ /** @internal */
779
+ exports.CollectorSplunkCollectRequestParam5$inboundSchema = z.object({
780
+ name: z.string(),
781
+ value: z.string(),
782
+ });
783
+ /** @internal */
784
+ exports.CollectorSplunkCollectRequestParam5$outboundSchema = z.object({
785
+ name: z.string(),
786
+ value: z.string(),
787
+ });
788
+ function collectorSplunkCollectRequestParam5ToJSON(collectorSplunkCollectRequestParam5) {
789
+ return JSON.stringify(exports.CollectorSplunkCollectRequestParam5$outboundSchema.parse(collectorSplunkCollectRequestParam5));
790
+ }
791
+ function collectorSplunkCollectRequestParam5FromJSON(jsonString) {
792
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestParam5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestParam5' from JSON`);
793
+ }
794
+ /** @internal */
795
+ exports.CollectorSplunkCollectRequestHeader5$inboundSchema = z.object({
796
+ name: z.string(),
797
+ value: z.string(),
798
+ });
799
+ /** @internal */
800
+ exports.CollectorSplunkCollectRequestHeader5$outboundSchema = z.object({
801
+ name: z.string(),
802
+ value: z.string(),
803
+ });
804
+ function collectorSplunkCollectRequestHeader5ToJSON(collectorSplunkCollectRequestHeader5) {
805
+ return JSON.stringify(exports.CollectorSplunkCollectRequestHeader5$outboundSchema.parse(collectorSplunkCollectRequestHeader5));
806
+ }
807
+ function collectorSplunkCollectRequestHeader5FromJSON(jsonString) {
808
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestHeader5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestHeader5' from JSON`);
809
+ }
810
+ /** @internal */
811
+ exports.CollectorSplunkRetryType5$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkRetryType5);
812
+ /** @internal */
813
+ exports.CollectorSplunkRetryType5$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkRetryType5);
814
+ /** @internal */
815
+ exports.CollectorSplunkRetryRules5$inboundSchema = z.object({
816
+ type: exports.CollectorSplunkRetryType5$inboundSchema.default("backoff"),
817
+ interval: z.any().optional(),
818
+ limit: z.any().optional(),
819
+ multiplier: z.any().optional(),
820
+ codes: z.any().optional(),
821
+ enableHeader: z.any().optional(),
822
+ retryConnectTimeout: z.any().optional(),
823
+ retryConnectReset: z.any().optional(),
824
+ });
825
+ /** @internal */
826
+ exports.CollectorSplunkRetryRules5$outboundSchema = z.object({
827
+ type: exports.CollectorSplunkRetryType5$outboundSchema.default("backoff"),
828
+ interval: z.any().optional(),
829
+ limit: z.any().optional(),
830
+ multiplier: z.any().optional(),
831
+ codes: z.any().optional(),
832
+ enableHeader: z.any().optional(),
833
+ retryConnectTimeout: z.any().optional(),
834
+ retryConnectReset: z.any().optional(),
835
+ });
836
+ function collectorSplunkRetryRules5ToJSON(collectorSplunkRetryRules5) {
837
+ return JSON.stringify(exports.CollectorSplunkRetryRules5$outboundSchema.parse(collectorSplunkRetryRules5));
838
+ }
839
+ function collectorSplunkRetryRules5FromJSON(jsonString) {
840
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkRetryRules5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkRetryRules5' from JSON`);
841
+ }
842
+ /** @internal */
843
+ exports.CollectorSplunkSplunk5$inboundSchema = z.object({
844
+ authentication: exports.CollectorSplunkAuthentication5$inboundSchema.default("basic"),
845
+ tokenSecret: z.string(),
846
+ type: exports.CollectorSplunkType5$inboundSchema,
847
+ searchHead: z.string().default("https://localhost:8089"),
848
+ search: z.string(),
849
+ earliest: z.string().optional(),
850
+ latest: z.string().optional(),
851
+ endpoint: z.string().default("/services/search/v2/jobs/export"),
852
+ outputMode: exports.CollectorSplunkOutputMode5$inboundSchema.default("json"),
853
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam5$inboundSchema)).optional(),
854
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader5$inboundSchema)).optional(),
855
+ timeout: z.number().default(0),
856
+ useRoundRobinDns: z.boolean().default(false),
857
+ disableTimeFilter: z.boolean().default(true),
858
+ rejectUnauthorized: z.boolean().default(false),
859
+ handleEscapedChars: z.boolean().default(false),
860
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules5$inboundSchema).optional(),
861
+ username: z.string().optional(),
862
+ password: z.string().optional(),
863
+ credentialsSecret: z.string().optional(),
864
+ token: z.string().optional(),
865
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
866
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
867
+ tokenRespAttribute: z.string().default("token"),
868
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
869
+ });
870
+ /** @internal */
871
+ exports.CollectorSplunkSplunk5$outboundSchema = z.object({
872
+ authentication: exports.CollectorSplunkAuthentication5$outboundSchema.default("basic"),
873
+ tokenSecret: z.string(),
874
+ type: exports.CollectorSplunkType5$outboundSchema,
875
+ searchHead: z.string().default("https://localhost:8089"),
876
+ search: z.string(),
877
+ earliest: z.string().optional(),
878
+ latest: z.string().optional(),
879
+ endpoint: z.string().default("/services/search/v2/jobs/export"),
880
+ outputMode: exports.CollectorSplunkOutputMode5$outboundSchema.default("json"),
881
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam5$outboundSchema)).optional(),
882
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader5$outboundSchema)).optional(),
883
+ timeout: z.number().default(0),
884
+ useRoundRobinDns: z.boolean().default(false),
885
+ disableTimeFilter: z.boolean().default(true),
886
+ rejectUnauthorized: z.boolean().default(false),
887
+ handleEscapedChars: z.boolean().default(false),
888
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules5$outboundSchema)
889
+ .optional(),
890
+ username: z.string().optional(),
891
+ password: z.string().optional(),
892
+ credentialsSecret: z.string().optional(),
893
+ token: z.string().optional(),
894
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
895
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
896
+ tokenRespAttribute: z.string().default("token"),
897
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
898
+ });
899
+ function collectorSplunkSplunk5ToJSON(collectorSplunkSplunk5) {
900
+ return JSON.stringify(exports.CollectorSplunkSplunk5$outboundSchema.parse(collectorSplunkSplunk5));
901
+ }
902
+ function collectorSplunkSplunk5FromJSON(jsonString) {
903
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkSplunk5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkSplunk5' from JSON`);
904
+ }
905
+ /** @internal */
906
+ exports.CollectorSplunkAuthentication4$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkAuthentication4);
907
+ /** @internal */
908
+ exports.CollectorSplunkAuthentication4$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkAuthentication4);
909
+ /** @internal */
910
+ exports.CollectorSplunkType4$inboundSchema = z.nativeEnum(exports.CollectorSplunkType4);
911
+ /** @internal */
912
+ exports.CollectorSplunkType4$outboundSchema = exports.CollectorSplunkType4$inboundSchema;
913
+ /** @internal */
914
+ exports.CollectorSplunkOutputMode4$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkOutputMode4);
915
+ /** @internal */
916
+ exports.CollectorSplunkOutputMode4$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkOutputMode4);
917
+ /** @internal */
918
+ exports.CollectorSplunkCollectRequestParam4$inboundSchema = z.object({
919
+ name: z.string(),
920
+ value: z.string(),
921
+ });
922
+ /** @internal */
923
+ exports.CollectorSplunkCollectRequestParam4$outboundSchema = z.object({
924
+ name: z.string(),
925
+ value: z.string(),
926
+ });
927
+ function collectorSplunkCollectRequestParam4ToJSON(collectorSplunkCollectRequestParam4) {
928
+ return JSON.stringify(exports.CollectorSplunkCollectRequestParam4$outboundSchema.parse(collectorSplunkCollectRequestParam4));
929
+ }
930
+ function collectorSplunkCollectRequestParam4FromJSON(jsonString) {
931
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestParam4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestParam4' from JSON`);
932
+ }
933
+ /** @internal */
934
+ exports.CollectorSplunkCollectRequestHeader4$inboundSchema = z.object({
935
+ name: z.string(),
936
+ value: z.string(),
937
+ });
938
+ /** @internal */
939
+ exports.CollectorSplunkCollectRequestHeader4$outboundSchema = z.object({
940
+ name: z.string(),
941
+ value: z.string(),
942
+ });
943
+ function collectorSplunkCollectRequestHeader4ToJSON(collectorSplunkCollectRequestHeader4) {
944
+ return JSON.stringify(exports.CollectorSplunkCollectRequestHeader4$outboundSchema.parse(collectorSplunkCollectRequestHeader4));
945
+ }
946
+ function collectorSplunkCollectRequestHeader4FromJSON(jsonString) {
947
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestHeader4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestHeader4' from JSON`);
948
+ }
949
+ /** @internal */
950
+ exports.CollectorSplunkRetryType4$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkRetryType4);
951
+ /** @internal */
952
+ exports.CollectorSplunkRetryType4$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkRetryType4);
953
+ /** @internal */
954
+ exports.CollectorSplunkRetryRules4$inboundSchema = z.object({
955
+ type: exports.CollectorSplunkRetryType4$inboundSchema.default("backoff"),
956
+ interval: z.any().optional(),
957
+ limit: z.any().optional(),
958
+ multiplier: z.any().optional(),
959
+ codes: z.any().optional(),
960
+ enableHeader: z.any().optional(),
961
+ retryConnectTimeout: z.any().optional(),
962
+ retryConnectReset: z.any().optional(),
963
+ });
964
+ /** @internal */
965
+ exports.CollectorSplunkRetryRules4$outboundSchema = z.object({
966
+ type: exports.CollectorSplunkRetryType4$outboundSchema.default("backoff"),
967
+ interval: z.any().optional(),
968
+ limit: z.any().optional(),
969
+ multiplier: z.any().optional(),
970
+ codes: z.any().optional(),
971
+ enableHeader: z.any().optional(),
972
+ retryConnectTimeout: z.any().optional(),
973
+ retryConnectReset: z.any().optional(),
974
+ });
975
+ function collectorSplunkRetryRules4ToJSON(collectorSplunkRetryRules4) {
976
+ return JSON.stringify(exports.CollectorSplunkRetryRules4$outboundSchema.parse(collectorSplunkRetryRules4));
977
+ }
978
+ function collectorSplunkRetryRules4FromJSON(jsonString) {
979
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkRetryRules4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkRetryRules4' from JSON`);
980
+ }
981
+ /** @internal */
982
+ exports.CollectorSplunkSplunk4$inboundSchema = z.object({
983
+ authentication: exports.CollectorSplunkAuthentication4$inboundSchema.default("basic"),
984
+ token: z.string(),
985
+ type: exports.CollectorSplunkType4$inboundSchema,
986
+ searchHead: z.string().default("https://localhost:8089"),
987
+ search: z.string(),
988
+ earliest: z.string().optional(),
989
+ latest: z.string().optional(),
990
+ endpoint: z.string().default("/services/search/v2/jobs/export"),
991
+ outputMode: exports.CollectorSplunkOutputMode4$inboundSchema.default("json"),
992
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam4$inboundSchema)).optional(),
993
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader4$inboundSchema)).optional(),
994
+ timeout: z.number().default(0),
995
+ useRoundRobinDns: z.boolean().default(false),
996
+ disableTimeFilter: z.boolean().default(true),
997
+ rejectUnauthorized: z.boolean().default(false),
998
+ handleEscapedChars: z.boolean().default(false),
999
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules4$inboundSchema).optional(),
1000
+ username: z.string().optional(),
1001
+ password: z.string().optional(),
1002
+ credentialsSecret: z.string().optional(),
1003
+ tokenSecret: z.string().optional(),
1004
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
1005
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1006
+ tokenRespAttribute: z.string().default("token"),
1007
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1008
+ });
1009
+ /** @internal */
1010
+ exports.CollectorSplunkSplunk4$outboundSchema = z.object({
1011
+ authentication: exports.CollectorSplunkAuthentication4$outboundSchema.default("basic"),
1012
+ token: z.string(),
1013
+ type: exports.CollectorSplunkType4$outboundSchema,
1014
+ searchHead: z.string().default("https://localhost:8089"),
1015
+ search: z.string(),
1016
+ earliest: z.string().optional(),
1017
+ latest: z.string().optional(),
1018
+ endpoint: z.string().default("/services/search/v2/jobs/export"),
1019
+ outputMode: exports.CollectorSplunkOutputMode4$outboundSchema.default("json"),
1020
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam4$outboundSchema)).optional(),
1021
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader4$outboundSchema)).optional(),
1022
+ timeout: z.number().default(0),
1023
+ useRoundRobinDns: z.boolean().default(false),
1024
+ disableTimeFilter: z.boolean().default(true),
1025
+ rejectUnauthorized: z.boolean().default(false),
1026
+ handleEscapedChars: z.boolean().default(false),
1027
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules4$outboundSchema)
1028
+ .optional(),
1029
+ username: z.string().optional(),
1030
+ password: z.string().optional(),
1031
+ credentialsSecret: z.string().optional(),
1032
+ tokenSecret: z.string().optional(),
1033
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
1034
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1035
+ tokenRespAttribute: z.string().default("token"),
1036
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1037
+ });
1038
+ function collectorSplunkSplunk4ToJSON(collectorSplunkSplunk4) {
1039
+ return JSON.stringify(exports.CollectorSplunkSplunk4$outboundSchema.parse(collectorSplunkSplunk4));
1040
+ }
1041
+ function collectorSplunkSplunk4FromJSON(jsonString) {
1042
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkSplunk4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkSplunk4' from JSON`);
1043
+ }
1044
+ /** @internal */
1045
+ exports.CollectorSplunkAuthentication3$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkAuthentication3);
1046
+ /** @internal */
1047
+ exports.CollectorSplunkAuthentication3$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkAuthentication3);
1048
+ /** @internal */
1049
+ exports.CollectorSplunkType3$inboundSchema = z.nativeEnum(exports.CollectorSplunkType3);
1050
+ /** @internal */
1051
+ exports.CollectorSplunkType3$outboundSchema = exports.CollectorSplunkType3$inboundSchema;
100
1052
  /** @internal */
101
- exports.CollectorSplunkOutputMode$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkOutputMode);
1053
+ exports.CollectorSplunkOutputMode3$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkOutputMode3);
102
1054
  /** @internal */
103
- exports.CollectorSplunkOutputMode$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkOutputMode);
1055
+ exports.CollectorSplunkOutputMode3$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkOutputMode3);
1056
+ /** @internal */
1057
+ exports.CollectorSplunkCollectRequestParam3$inboundSchema = z.object({
1058
+ name: z.string(),
1059
+ value: z.string(),
1060
+ });
1061
+ /** @internal */
1062
+ exports.CollectorSplunkCollectRequestParam3$outboundSchema = z.object({
1063
+ name: z.string(),
1064
+ value: z.string(),
1065
+ });
1066
+ function collectorSplunkCollectRequestParam3ToJSON(collectorSplunkCollectRequestParam3) {
1067
+ return JSON.stringify(exports.CollectorSplunkCollectRequestParam3$outboundSchema.parse(collectorSplunkCollectRequestParam3));
1068
+ }
1069
+ function collectorSplunkCollectRequestParam3FromJSON(jsonString) {
1070
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestParam3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestParam3' from JSON`);
1071
+ }
104
1072
  /** @internal */
105
- exports.CollectRequestParam$inboundSchema = z.object({
1073
+ exports.CollectorSplunkCollectRequestHeader3$inboundSchema = z.object({
106
1074
  name: z.string(),
107
1075
  value: z.string(),
108
1076
  });
109
1077
  /** @internal */
110
- exports.CollectRequestParam$outboundSchema = z.object({
1078
+ exports.CollectorSplunkCollectRequestHeader3$outboundSchema = z.object({
111
1079
  name: z.string(),
112
1080
  value: z.string(),
113
1081
  });
114
- function collectRequestParamToJSON(collectRequestParam) {
115
- return JSON.stringify(exports.CollectRequestParam$outboundSchema.parse(collectRequestParam));
1082
+ function collectorSplunkCollectRequestHeader3ToJSON(collectorSplunkCollectRequestHeader3) {
1083
+ return JSON.stringify(exports.CollectorSplunkCollectRequestHeader3$outboundSchema.parse(collectorSplunkCollectRequestHeader3));
1084
+ }
1085
+ function collectorSplunkCollectRequestHeader3FromJSON(jsonString) {
1086
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestHeader3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestHeader3' from JSON`);
1087
+ }
1088
+ /** @internal */
1089
+ exports.CollectorSplunkRetryType3$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkRetryType3);
1090
+ /** @internal */
1091
+ exports.CollectorSplunkRetryType3$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkRetryType3);
1092
+ /** @internal */
1093
+ exports.CollectorSplunkRetryRules3$inboundSchema = z.object({
1094
+ type: exports.CollectorSplunkRetryType3$inboundSchema.default("backoff"),
1095
+ interval: z.any().optional(),
1096
+ limit: z.any().optional(),
1097
+ multiplier: z.any().optional(),
1098
+ codes: z.any().optional(),
1099
+ enableHeader: z.any().optional(),
1100
+ retryConnectTimeout: z.any().optional(),
1101
+ retryConnectReset: z.any().optional(),
1102
+ });
1103
+ /** @internal */
1104
+ exports.CollectorSplunkRetryRules3$outboundSchema = z.object({
1105
+ type: exports.CollectorSplunkRetryType3$outboundSchema.default("backoff"),
1106
+ interval: z.any().optional(),
1107
+ limit: z.any().optional(),
1108
+ multiplier: z.any().optional(),
1109
+ codes: z.any().optional(),
1110
+ enableHeader: z.any().optional(),
1111
+ retryConnectTimeout: z.any().optional(),
1112
+ retryConnectReset: z.any().optional(),
1113
+ });
1114
+ function collectorSplunkRetryRules3ToJSON(collectorSplunkRetryRules3) {
1115
+ return JSON.stringify(exports.CollectorSplunkRetryRules3$outboundSchema.parse(collectorSplunkRetryRules3));
1116
+ }
1117
+ function collectorSplunkRetryRules3FromJSON(jsonString) {
1118
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkRetryRules3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkRetryRules3' from JSON`);
1119
+ }
1120
+ /** @internal */
1121
+ exports.CollectorSplunkSplunk3$inboundSchema = z.object({
1122
+ authentication: exports.CollectorSplunkAuthentication3$inboundSchema.default("basic"),
1123
+ credentialsSecret: z.string(),
1124
+ type: exports.CollectorSplunkType3$inboundSchema,
1125
+ searchHead: z.string().default("https://localhost:8089"),
1126
+ search: z.string(),
1127
+ earliest: z.string().optional(),
1128
+ latest: z.string().optional(),
1129
+ endpoint: z.string().default("/services/search/v2/jobs/export"),
1130
+ outputMode: exports.CollectorSplunkOutputMode3$inboundSchema.default("json"),
1131
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam3$inboundSchema)).optional(),
1132
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader3$inboundSchema)).optional(),
1133
+ timeout: z.number().default(0),
1134
+ useRoundRobinDns: z.boolean().default(false),
1135
+ disableTimeFilter: z.boolean().default(true),
1136
+ rejectUnauthorized: z.boolean().default(false),
1137
+ handleEscapedChars: z.boolean().default(false),
1138
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules3$inboundSchema).optional(),
1139
+ username: z.string().optional(),
1140
+ password: z.string().optional(),
1141
+ token: z.string().optional(),
1142
+ tokenSecret: z.string().optional(),
1143
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
1144
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1145
+ tokenRespAttribute: z.string().default("token"),
1146
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1147
+ });
1148
+ /** @internal */
1149
+ exports.CollectorSplunkSplunk3$outboundSchema = z.object({
1150
+ authentication: exports.CollectorSplunkAuthentication3$outboundSchema.default("basic"),
1151
+ credentialsSecret: z.string(),
1152
+ type: exports.CollectorSplunkType3$outboundSchema,
1153
+ searchHead: z.string().default("https://localhost:8089"),
1154
+ search: z.string(),
1155
+ earliest: z.string().optional(),
1156
+ latest: z.string().optional(),
1157
+ endpoint: z.string().default("/services/search/v2/jobs/export"),
1158
+ outputMode: exports.CollectorSplunkOutputMode3$outboundSchema.default("json"),
1159
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam3$outboundSchema)).optional(),
1160
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader3$outboundSchema)).optional(),
1161
+ timeout: z.number().default(0),
1162
+ useRoundRobinDns: z.boolean().default(false),
1163
+ disableTimeFilter: z.boolean().default(true),
1164
+ rejectUnauthorized: z.boolean().default(false),
1165
+ handleEscapedChars: z.boolean().default(false),
1166
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules3$outboundSchema)
1167
+ .optional(),
1168
+ username: z.string().optional(),
1169
+ password: z.string().optional(),
1170
+ token: z.string().optional(),
1171
+ tokenSecret: z.string().optional(),
1172
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
1173
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1174
+ tokenRespAttribute: z.string().default("token"),
1175
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1176
+ });
1177
+ function collectorSplunkSplunk3ToJSON(collectorSplunkSplunk3) {
1178
+ return JSON.stringify(exports.CollectorSplunkSplunk3$outboundSchema.parse(collectorSplunkSplunk3));
116
1179
  }
117
- function collectRequestParamFromJSON(jsonString) {
118
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectRequestParam$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectRequestParam' from JSON`);
1180
+ function collectorSplunkSplunk3FromJSON(jsonString) {
1181
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkSplunk3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkSplunk3' from JSON`);
119
1182
  }
120
1183
  /** @internal */
121
- exports.CollectorSplunkCollectRequestHeader$inboundSchema = z.object({
1184
+ exports.CollectorSplunkAuthentication2$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkAuthentication2);
1185
+ /** @internal */
1186
+ exports.CollectorSplunkAuthentication2$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkAuthentication2);
1187
+ /** @internal */
1188
+ exports.CollectorSplunkType2$inboundSchema = z.nativeEnum(exports.CollectorSplunkType2);
1189
+ /** @internal */
1190
+ exports.CollectorSplunkType2$outboundSchema = exports.CollectorSplunkType2$inboundSchema;
1191
+ /** @internal */
1192
+ exports.CollectorSplunkOutputMode2$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkOutputMode2);
1193
+ /** @internal */
1194
+ exports.CollectorSplunkOutputMode2$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkOutputMode2);
1195
+ /** @internal */
1196
+ exports.CollectorSplunkCollectRequestParam2$inboundSchema = z.object({
122
1197
  name: z.string(),
123
1198
  value: z.string(),
124
1199
  });
125
1200
  /** @internal */
126
- exports.CollectorSplunkCollectRequestHeader$outboundSchema = z.object({
1201
+ exports.CollectorSplunkCollectRequestParam2$outboundSchema = z.object({
127
1202
  name: z.string(),
128
1203
  value: z.string(),
129
1204
  });
130
- function collectorSplunkCollectRequestHeaderToJSON(collectorSplunkCollectRequestHeader) {
131
- return JSON.stringify(exports.CollectorSplunkCollectRequestHeader$outboundSchema.parse(collectorSplunkCollectRequestHeader));
1205
+ function collectorSplunkCollectRequestParam2ToJSON(collectorSplunkCollectRequestParam2) {
1206
+ return JSON.stringify(exports.CollectorSplunkCollectRequestParam2$outboundSchema.parse(collectorSplunkCollectRequestParam2));
132
1207
  }
133
- function collectorSplunkCollectRequestHeaderFromJSON(jsonString) {
134
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestHeader$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestHeader' from JSON`);
1208
+ function collectorSplunkCollectRequestParam2FromJSON(jsonString) {
1209
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestParam2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestParam2' from JSON`);
135
1210
  }
136
1211
  /** @internal */
137
- exports.CollectorSplunkAuthentication$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkAuthentication);
1212
+ exports.CollectorSplunkCollectRequestHeader2$inboundSchema = z.object({
1213
+ name: z.string(),
1214
+ value: z.string(),
1215
+ });
138
1216
  /** @internal */
139
- exports.CollectorSplunkAuthentication$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkAuthentication);
1217
+ exports.CollectorSplunkCollectRequestHeader2$outboundSchema = z.object({
1218
+ name: z.string(),
1219
+ value: z.string(),
1220
+ });
1221
+ function collectorSplunkCollectRequestHeader2ToJSON(collectorSplunkCollectRequestHeader2) {
1222
+ return JSON.stringify(exports.CollectorSplunkCollectRequestHeader2$outboundSchema.parse(collectorSplunkCollectRequestHeader2));
1223
+ }
1224
+ function collectorSplunkCollectRequestHeader2FromJSON(jsonString) {
1225
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestHeader2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestHeader2' from JSON`);
1226
+ }
140
1227
  /** @internal */
141
- exports.CollectorSplunkRetryType$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkRetryType);
1228
+ exports.CollectorSplunkRetryType2$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkRetryType2);
142
1229
  /** @internal */
143
- exports.CollectorSplunkRetryType$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkRetryType);
1230
+ exports.CollectorSplunkRetryType2$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkRetryType2);
144
1231
  /** @internal */
145
- exports.CollectorSplunkRetryRules$inboundSchema = z.object({
146
- type: exports.CollectorSplunkRetryType$inboundSchema.default("backoff"),
1232
+ exports.CollectorSplunkRetryRules2$inboundSchema = z.object({
1233
+ type: exports.CollectorSplunkRetryType2$inboundSchema.default("backoff"),
147
1234
  interval: z.any().optional(),
148
1235
  limit: z.any().optional(),
149
1236
  multiplier: z.any().optional(),
@@ -153,8 +1240,8 @@ exports.CollectorSplunkRetryRules$inboundSchema = z.object({
153
1240
  retryConnectReset: z.any().optional(),
154
1241
  });
155
1242
  /** @internal */
156
- exports.CollectorSplunkRetryRules$outboundSchema = z.object({
157
- type: exports.CollectorSplunkRetryType$outboundSchema.default("backoff"),
1243
+ exports.CollectorSplunkRetryRules2$outboundSchema = z.object({
1244
+ type: exports.CollectorSplunkRetryType2$outboundSchema.default("backoff"),
158
1245
  interval: z.any().optional(),
159
1246
  limit: z.any().optional(),
160
1247
  multiplier: z.any().optional(),
@@ -163,51 +1250,234 @@ exports.CollectorSplunkRetryRules$outboundSchema = z.object({
163
1250
  retryConnectTimeout: z.any().optional(),
164
1251
  retryConnectReset: z.any().optional(),
165
1252
  });
166
- function collectorSplunkRetryRulesToJSON(collectorSplunkRetryRules) {
167
- return JSON.stringify(exports.CollectorSplunkRetryRules$outboundSchema.parse(collectorSplunkRetryRules));
1253
+ function collectorSplunkRetryRules2ToJSON(collectorSplunkRetryRules2) {
1254
+ return JSON.stringify(exports.CollectorSplunkRetryRules2$outboundSchema.parse(collectorSplunkRetryRules2));
168
1255
  }
169
- function collectorSplunkRetryRulesFromJSON(jsonString) {
170
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkRetryRules$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkRetryRules' from JSON`);
1256
+ function collectorSplunkRetryRules2FromJSON(jsonString) {
1257
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkRetryRules2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkRetryRules2' from JSON`);
171
1258
  }
172
1259
  /** @internal */
173
- exports.CollectorSplunk$inboundSchema = z.object({
174
- type: z.literal("splunk"),
1260
+ exports.CollectorSplunkSplunk2$inboundSchema = z.object({
1261
+ authentication: exports.CollectorSplunkAuthentication2$inboundSchema.default("basic"),
1262
+ username: z.string(),
1263
+ password: z.string(),
1264
+ type: exports.CollectorSplunkType2$inboundSchema,
1265
+ searchHead: z.string().default("https://localhost:8089"),
1266
+ search: z.string(),
1267
+ earliest: z.string().optional(),
1268
+ latest: z.string().optional(),
1269
+ endpoint: z.string().default("/services/search/v2/jobs/export"),
1270
+ outputMode: exports.CollectorSplunkOutputMode2$inboundSchema.default("json"),
1271
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam2$inboundSchema)).optional(),
1272
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader2$inboundSchema)).optional(),
1273
+ timeout: z.number().default(0),
1274
+ useRoundRobinDns: z.boolean().default(false),
1275
+ disableTimeFilter: z.boolean().default(true),
1276
+ rejectUnauthorized: z.boolean().default(false),
1277
+ handleEscapedChars: z.boolean().default(false),
1278
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules2$inboundSchema).optional(),
1279
+ credentialsSecret: z.string().optional(),
1280
+ token: z.string().optional(),
1281
+ tokenSecret: z.string().optional(),
1282
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
1283
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1284
+ tokenRespAttribute: z.string().default("token"),
1285
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1286
+ });
1287
+ /** @internal */
1288
+ exports.CollectorSplunkSplunk2$outboundSchema = z.object({
1289
+ authentication: exports.CollectorSplunkAuthentication2$outboundSchema.default("basic"),
1290
+ username: z.string(),
1291
+ password: z.string(),
1292
+ type: exports.CollectorSplunkType2$outboundSchema,
175
1293
  searchHead: z.string().default("https://localhost:8089"),
176
1294
  search: z.string(),
177
1295
  earliest: z.string().optional(),
178
1296
  latest: z.string().optional(),
179
1297
  endpoint: z.string().default("/services/search/v2/jobs/export"),
180
- outputMode: exports.CollectorSplunkOutputMode$inboundSchema.default("json"),
181
- collectRequestParams: z.array(z.lazy(() => exports.CollectRequestParam$inboundSchema))
1298
+ outputMode: exports.CollectorSplunkOutputMode2$outboundSchema.default("json"),
1299
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam2$outboundSchema)).optional(),
1300
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader2$outboundSchema)).optional(),
1301
+ timeout: z.number().default(0),
1302
+ useRoundRobinDns: z.boolean().default(false),
1303
+ disableTimeFilter: z.boolean().default(true),
1304
+ rejectUnauthorized: z.boolean().default(false),
1305
+ handleEscapedChars: z.boolean().default(false),
1306
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules2$outboundSchema)
182
1307
  .optional(),
183
- collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader$inboundSchema)).optional(),
184
- authentication: exports.CollectorSplunkAuthentication$inboundSchema.default("basic"),
1308
+ credentialsSecret: z.string().optional(),
1309
+ token: z.string().optional(),
1310
+ tokenSecret: z.string().optional(),
1311
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
1312
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1313
+ tokenRespAttribute: z.string().default("token"),
1314
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
1315
+ });
1316
+ function collectorSplunkSplunk2ToJSON(collectorSplunkSplunk2) {
1317
+ return JSON.stringify(exports.CollectorSplunkSplunk2$outboundSchema.parse(collectorSplunkSplunk2));
1318
+ }
1319
+ function collectorSplunkSplunk2FromJSON(jsonString) {
1320
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkSplunk2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkSplunk2' from JSON`);
1321
+ }
1322
+ /** @internal */
1323
+ exports.CollectorSplunkAuthentication1$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkAuthentication1);
1324
+ /** @internal */
1325
+ exports.CollectorSplunkAuthentication1$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkAuthentication1);
1326
+ /** @internal */
1327
+ exports.CollectorSplunkType1$inboundSchema = z.nativeEnum(exports.CollectorSplunkType1);
1328
+ /** @internal */
1329
+ exports.CollectorSplunkType1$outboundSchema = exports.CollectorSplunkType1$inboundSchema;
1330
+ /** @internal */
1331
+ exports.CollectorSplunkOutputMode1$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkOutputMode1);
1332
+ /** @internal */
1333
+ exports.CollectorSplunkOutputMode1$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkOutputMode1);
1334
+ /** @internal */
1335
+ exports.CollectorSplunkCollectRequestParam1$inboundSchema = z.object({
1336
+ name: z.string(),
1337
+ value: z.string(),
1338
+ });
1339
+ /** @internal */
1340
+ exports.CollectorSplunkCollectRequestParam1$outboundSchema = z.object({
1341
+ name: z.string(),
1342
+ value: z.string(),
1343
+ });
1344
+ function collectorSplunkCollectRequestParam1ToJSON(collectorSplunkCollectRequestParam1) {
1345
+ return JSON.stringify(exports.CollectorSplunkCollectRequestParam1$outboundSchema.parse(collectorSplunkCollectRequestParam1));
1346
+ }
1347
+ function collectorSplunkCollectRequestParam1FromJSON(jsonString) {
1348
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestParam1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestParam1' from JSON`);
1349
+ }
1350
+ /** @internal */
1351
+ exports.CollectorSplunkCollectRequestHeader1$inboundSchema = z.object({
1352
+ name: z.string(),
1353
+ value: z.string(),
1354
+ });
1355
+ /** @internal */
1356
+ exports.CollectorSplunkCollectRequestHeader1$outboundSchema = z.object({
1357
+ name: z.string(),
1358
+ value: z.string(),
1359
+ });
1360
+ function collectorSplunkCollectRequestHeader1ToJSON(collectorSplunkCollectRequestHeader1) {
1361
+ return JSON.stringify(exports.CollectorSplunkCollectRequestHeader1$outboundSchema.parse(collectorSplunkCollectRequestHeader1));
1362
+ }
1363
+ function collectorSplunkCollectRequestHeader1FromJSON(jsonString) {
1364
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkCollectRequestHeader1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkCollectRequestHeader1' from JSON`);
1365
+ }
1366
+ /** @internal */
1367
+ exports.CollectorSplunkRetryType1$inboundSchema = openEnums.inboundSchema(exports.CollectorSplunkRetryType1);
1368
+ /** @internal */
1369
+ exports.CollectorSplunkRetryType1$outboundSchema = openEnums.outboundSchema(exports.CollectorSplunkRetryType1);
1370
+ /** @internal */
1371
+ exports.CollectorSplunkRetryRules1$inboundSchema = z.object({
1372
+ type: exports.CollectorSplunkRetryType1$inboundSchema.default("backoff"),
1373
+ interval: z.any().optional(),
1374
+ limit: z.any().optional(),
1375
+ multiplier: z.any().optional(),
1376
+ codes: z.any().optional(),
1377
+ enableHeader: z.any().optional(),
1378
+ retryConnectTimeout: z.any().optional(),
1379
+ retryConnectReset: z.any().optional(),
1380
+ });
1381
+ /** @internal */
1382
+ exports.CollectorSplunkRetryRules1$outboundSchema = z.object({
1383
+ type: exports.CollectorSplunkRetryType1$outboundSchema.default("backoff"),
1384
+ interval: z.any().optional(),
1385
+ limit: z.any().optional(),
1386
+ multiplier: z.any().optional(),
1387
+ codes: z.any().optional(),
1388
+ enableHeader: z.any().optional(),
1389
+ retryConnectTimeout: z.any().optional(),
1390
+ retryConnectReset: z.any().optional(),
1391
+ });
1392
+ function collectorSplunkRetryRules1ToJSON(collectorSplunkRetryRules1) {
1393
+ return JSON.stringify(exports.CollectorSplunkRetryRules1$outboundSchema.parse(collectorSplunkRetryRules1));
1394
+ }
1395
+ function collectorSplunkRetryRules1FromJSON(jsonString) {
1396
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkRetryRules1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkRetryRules1' from JSON`);
1397
+ }
1398
+ /** @internal */
1399
+ exports.CollectorSplunkSplunk1$inboundSchema = z.object({
1400
+ authentication: exports.CollectorSplunkAuthentication1$inboundSchema.default("basic"),
1401
+ type: exports.CollectorSplunkType1$inboundSchema,
1402
+ searchHead: z.string().default("https://localhost:8089"),
1403
+ search: z.string(),
1404
+ earliest: z.string().optional(),
1405
+ latest: z.string().optional(),
1406
+ endpoint: z.string().default("/services/search/v2/jobs/export"),
1407
+ outputMode: exports.CollectorSplunkOutputMode1$inboundSchema.default("json"),
1408
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam1$inboundSchema)).optional(),
1409
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader1$inboundSchema)).optional(),
185
1410
  timeout: z.number().default(0),
186
1411
  useRoundRobinDns: z.boolean().default(false),
187
1412
  disableTimeFilter: z.boolean().default(true),
188
1413
  rejectUnauthorized: z.boolean().default(false),
189
1414
  handleEscapedChars: z.boolean().default(false),
190
- retryRules: z.lazy(() => exports.CollectorSplunkRetryRules$inboundSchema).optional(),
1415
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules1$inboundSchema).optional(),
1416
+ username: z.string().optional(),
1417
+ password: z.string().optional(),
1418
+ credentialsSecret: z.string().optional(),
1419
+ token: z.string().optional(),
1420
+ tokenSecret: z.string().optional(),
1421
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
1422
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1423
+ tokenRespAttribute: z.string().default("token"),
1424
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
191
1425
  });
192
1426
  /** @internal */
193
- exports.CollectorSplunk$outboundSchema = z.object({
194
- type: z.literal("splunk"),
1427
+ exports.CollectorSplunkSplunk1$outboundSchema = z.object({
1428
+ authentication: exports.CollectorSplunkAuthentication1$outboundSchema.default("basic"),
1429
+ type: exports.CollectorSplunkType1$outboundSchema,
195
1430
  searchHead: z.string().default("https://localhost:8089"),
196
1431
  search: z.string(),
197
1432
  earliest: z.string().optional(),
198
1433
  latest: z.string().optional(),
199
1434
  endpoint: z.string().default("/services/search/v2/jobs/export"),
200
- outputMode: exports.CollectorSplunkOutputMode$outboundSchema.default("json"),
201
- collectRequestParams: z.array(z.lazy(() => exports.CollectRequestParam$outboundSchema)).optional(),
202
- collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader$outboundSchema)).optional(),
203
- authentication: exports.CollectorSplunkAuthentication$outboundSchema.default("basic"),
1435
+ outputMode: exports.CollectorSplunkOutputMode1$outboundSchema.default("json"),
1436
+ collectRequestParams: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestParam1$outboundSchema)).optional(),
1437
+ collectRequestHeaders: z.array(z.lazy(() => exports.CollectorSplunkCollectRequestHeader1$outboundSchema)).optional(),
204
1438
  timeout: z.number().default(0),
205
1439
  useRoundRobinDns: z.boolean().default(false),
206
1440
  disableTimeFilter: z.boolean().default(true),
207
1441
  rejectUnauthorized: z.boolean().default(false),
208
1442
  handleEscapedChars: z.boolean().default(false),
209
- retryRules: z.lazy(() => exports.CollectorSplunkRetryRules$outboundSchema).optional(),
1443
+ retryRules: z.lazy(() => exports.CollectorSplunkRetryRules1$outboundSchema)
1444
+ .optional(),
1445
+ username: z.string().optional(),
1446
+ password: z.string().optional(),
1447
+ credentialsSecret: z.string().optional(),
1448
+ token: z.string().optional(),
1449
+ tokenSecret: z.string().optional(),
1450
+ loginUrl: z.string().default("`https://localhost:9000/api/v1/auth/login`"),
1451
+ loginBody: z.string().default("`{ \"username\": \"${username}\", \"password\": \"${password}\" }`"),
1452
+ tokenRespAttribute: z.string().default("token"),
1453
+ authHeaderExpr: z.string().default("`Bearer ${token}`"),
210
1454
  });
1455
+ function collectorSplunkSplunk1ToJSON(collectorSplunkSplunk1) {
1456
+ return JSON.stringify(exports.CollectorSplunkSplunk1$outboundSchema.parse(collectorSplunkSplunk1));
1457
+ }
1458
+ function collectorSplunkSplunk1FromJSON(jsonString) {
1459
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CollectorSplunkSplunk1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectorSplunkSplunk1' from JSON`);
1460
+ }
1461
+ /** @internal */
1462
+ exports.CollectorSplunk$inboundSchema = z.union([
1463
+ z.lazy(() => exports.CollectorSplunkSplunk2$inboundSchema),
1464
+ z.lazy(() => exports.CollectorSplunkSplunk6$inboundSchema),
1465
+ z.lazy(() => exports.CollectorSplunkSplunk3$inboundSchema),
1466
+ z.lazy(() => exports.CollectorSplunkSplunk4$inboundSchema),
1467
+ z.lazy(() => exports.CollectorSplunkSplunk5$inboundSchema),
1468
+ z.lazy(() => exports.CollectorSplunkSplunk7$inboundSchema),
1469
+ z.lazy(() => exports.CollectorSplunkSplunk1$inboundSchema),
1470
+ ]);
1471
+ /** @internal */
1472
+ exports.CollectorSplunk$outboundSchema = z.union([
1473
+ z.lazy(() => exports.CollectorSplunkSplunk2$outboundSchema),
1474
+ z.lazy(() => exports.CollectorSplunkSplunk6$outboundSchema),
1475
+ z.lazy(() => exports.CollectorSplunkSplunk3$outboundSchema),
1476
+ z.lazy(() => exports.CollectorSplunkSplunk4$outboundSchema),
1477
+ z.lazy(() => exports.CollectorSplunkSplunk5$outboundSchema),
1478
+ z.lazy(() => exports.CollectorSplunkSplunk7$outboundSchema),
1479
+ z.lazy(() => exports.CollectorSplunkSplunk1$outboundSchema),
1480
+ ]);
211
1481
  function collectorSplunkToJSON(collectorSplunk) {
212
1482
  return JSON.stringify(exports.CollectorSplunk$outboundSchema.parse(collectorSplunk));
213
1483
  }