cribl-control-plane 0.5.0-beta.9 → 0.5.0-rc.10

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 (312) hide show
  1. package/README.md +77 -76
  2. package/dist/commonjs/funcs/systemCapturesGet.d.ts +21 -0
  3. package/dist/commonjs/funcs/systemCapturesGet.d.ts.map +1 -0
  4. package/dist/commonjs/funcs/systemCapturesGet.js +137 -0
  5. package/dist/commonjs/funcs/systemCapturesGet.js.map +1 -0
  6. package/dist/commonjs/lib/config.d.ts +4 -4
  7. package/dist/commonjs/lib/config.js +4 -4
  8. package/dist/commonjs/lib/config.js.map +1 -1
  9. package/dist/commonjs/lib/jsonl.d.ts +10 -0
  10. package/dist/commonjs/lib/jsonl.d.ts.map +1 -0
  11. package/dist/commonjs/lib/jsonl.js +104 -0
  12. package/dist/commonjs/lib/jsonl.js.map +1 -0
  13. package/dist/commonjs/models/capturelevel.d.ts +12 -0
  14. package/dist/commonjs/models/capturelevel.d.ts.map +1 -0
  15. package/dist/commonjs/models/capturelevel.js +49 -0
  16. package/dist/commonjs/models/capturelevel.js.map +1 -0
  17. package/dist/commonjs/models/captureparams.d.ts +25 -0
  18. package/dist/commonjs/models/captureparams.d.ts.map +1 -0
  19. package/dist/commonjs/models/captureparams.js +56 -0
  20. package/dist/commonjs/models/captureparams.js.map +1 -0
  21. package/dist/commonjs/models/criblevent.d.ts +1 -3
  22. package/dist/commonjs/models/criblevent.d.ts.map +1 -1
  23. package/dist/commonjs/models/criblevent.js +1 -4
  24. package/dist/commonjs/models/criblevent.js.map +1 -1
  25. package/dist/commonjs/models/functionconfschemaaggregatemetrics.d.ts +8 -8
  26. package/dist/commonjs/models/functionconfschemaaggregatemetrics.d.ts.map +1 -1
  27. package/dist/commonjs/models/functionconfschemaaggregation.d.ts +8 -8
  28. package/dist/commonjs/models/functionconfschemaaggregation.d.ts.map +1 -1
  29. package/dist/commonjs/models/functionconfschemacef.d.ts +1 -1
  30. package/dist/commonjs/models/functionconfschemacef.d.ts.map +1 -1
  31. package/dist/commonjs/models/functionconfschemadistinct.d.ts +3 -3
  32. package/dist/commonjs/models/functionconfschemadistinct.d.ts.map +1 -1
  33. package/dist/commonjs/models/functionconfschemadnslookup.d.ts +1 -3
  34. package/dist/commonjs/models/functionconfschemadnslookup.d.ts.map +1 -1
  35. package/dist/commonjs/models/functionconfschemadnslookup.js +3 -12
  36. package/dist/commonjs/models/functionconfschemadnslookup.js.map +1 -1
  37. package/dist/commonjs/models/functionconfschemadropdimensions.d.ts +2 -2
  38. package/dist/commonjs/models/functionconfschemadropdimensions.d.ts.map +1 -1
  39. package/dist/commonjs/models/functionconfschemadynamicsampling.d.ts +5 -5
  40. package/dist/commonjs/models/functionconfschemadynamicsampling.d.ts.map +1 -1
  41. package/dist/commonjs/models/functionconfschemaeventbreaker.d.ts +2 -2
  42. package/dist/commonjs/models/functionconfschemaeventbreaker.d.ts.map +1 -1
  43. package/dist/commonjs/models/functionconfschemaeventstats.d.ts +2 -2
  44. package/dist/commonjs/models/functionconfschemaeventstats.d.ts.map +1 -1
  45. package/dist/commonjs/models/functionconfschemageoip.d.ts +2 -2
  46. package/dist/commonjs/models/functionconfschemageoip.d.ts.map +1 -1
  47. package/dist/commonjs/models/functionconfschemagrok.d.ts +1 -1
  48. package/dist/commonjs/models/functionconfschemagrok.d.ts.map +1 -1
  49. package/dist/commonjs/models/functionconfschemahandlebars.d.ts +4 -4
  50. package/dist/commonjs/models/functionconfschemahandlebars.d.ts.map +1 -1
  51. package/dist/commonjs/models/functionconfschemalakeexport.d.ts +3 -3
  52. package/dist/commonjs/models/functionconfschemalakeexport.d.ts.map +1 -1
  53. package/dist/commonjs/models/functionconfschemalookup.d.ts +2 -2
  54. package/dist/commonjs/models/functionconfschemalookup.d.ts.map +1 -1
  55. package/dist/commonjs/models/functionconfschemamask.d.ts +3 -3
  56. package/dist/commonjs/models/functionconfschemamask.d.ts.map +1 -1
  57. package/dist/commonjs/models/functionconfschemamvexpand.d.ts +2 -2
  58. package/dist/commonjs/models/functionconfschemamvexpand.d.ts.map +1 -1
  59. package/dist/commonjs/models/functionconfschemamvpull.d.ts +2 -2
  60. package/dist/commonjs/models/functionconfschemamvpull.d.ts.map +1 -1
  61. package/dist/commonjs/models/functionconfschemanotify.d.ts +4 -4
  62. package/dist/commonjs/models/functionconfschemanotify.d.ts.map +1 -1
  63. package/dist/commonjs/models/functionconfschemapack.d.ts +1 -1
  64. package/dist/commonjs/models/functionconfschemapack.d.ts.map +1 -1
  65. package/dist/commonjs/models/functionconfschemaredis.d.ts +3 -3
  66. package/dist/commonjs/models/functionconfschemaredis.d.ts.map +1 -1
  67. package/dist/commonjs/models/functionconfschemaregexextract.d.ts +3 -3
  68. package/dist/commonjs/models/functionconfschemaregexextract.d.ts.map +1 -1
  69. package/dist/commonjs/models/functionconfschemasend.d.ts +4 -4
  70. package/dist/commonjs/models/functionconfschemasend.d.ts.map +1 -1
  71. package/dist/commonjs/models/functionconfschemasensitivedatascanner.d.ts +4 -4
  72. package/dist/commonjs/models/functionconfschemasensitivedatascanner.d.ts.map +1 -1
  73. package/dist/commonjs/models/functionconfschemaserde.d.ts +3 -3
  74. package/dist/commonjs/models/functionconfschemaserde.d.ts.map +1 -1
  75. package/dist/commonjs/models/functionconfschemaserialize.d.ts +2 -2
  76. package/dist/commonjs/models/functionconfschemaserialize.d.ts.map +1 -1
  77. package/dist/commonjs/models/functionconfschemastore.d.ts +7 -7
  78. package/dist/commonjs/models/functionconfschemastore.d.ts.map +1 -1
  79. package/dist/commonjs/models/functionconfschemasuppress.d.ts +6 -6
  80. package/dist/commonjs/models/functionconfschemasuppress.d.ts.map +1 -1
  81. package/dist/commonjs/models/functionconfschematee.d.ts +1 -1
  82. package/dist/commonjs/models/functionconfschematee.d.ts.map +1 -1
  83. package/dist/commonjs/models/functionconfschemaunroll.d.ts +2 -2
  84. package/dist/commonjs/models/functionconfschemaunroll.d.ts.map +1 -1
  85. package/dist/commonjs/models/functionconfschemawindow.d.ts +2 -2
  86. package/dist/commonjs/models/functionconfschemawindow.d.ts.map +1 -1
  87. package/dist/commonjs/models/functionconfschemaxmlunroll.d.ts +2 -2
  88. package/dist/commonjs/models/functionconfschemaxmlunroll.d.ts.map +1 -1
  89. package/dist/commonjs/models/index.d.ts +2 -0
  90. package/dist/commonjs/models/index.d.ts.map +1 -1
  91. package/dist/commonjs/models/index.js +2 -0
  92. package/dist/commonjs/models/index.js.map +1 -1
  93. package/dist/commonjs/models/operations/getfunctionresponsebyid.d.ts +15 -0
  94. package/dist/commonjs/models/operations/getfunctionresponsebyid.d.ts.map +1 -0
  95. package/dist/commonjs/models/operations/getfunctionresponsebyid.js +49 -0
  96. package/dist/commonjs/models/operations/getfunctionresponsebyid.js.map +1 -0
  97. package/dist/commonjs/models/pipeline.d.ts +1 -1
  98. package/dist/commonjs/models/pipeline.d.ts.map +1 -1
  99. package/dist/commonjs/models/pipelinefunctioncef.d.ts +1 -1
  100. package/dist/commonjs/models/pipelinefunctioncef.d.ts.map +1 -1
  101. package/dist/commonjs/models/routes.d.ts +1 -3
  102. package/dist/commonjs/models/routes.d.ts.map +1 -1
  103. package/dist/commonjs/models/routes.js +3 -12
  104. package/dist/commonjs/models/routes.js.map +1 -1
  105. package/dist/commonjs/models/routesroute.d.ts +1 -3
  106. package/dist/commonjs/models/routesroute.d.ts.map +1 -1
  107. package/dist/commonjs/models/routesroute.js +3 -12
  108. package/dist/commonjs/models/routesroute.js.map +1 -1
  109. package/dist/commonjs/models/runnablejobcollection.d.ts +37 -37
  110. package/dist/commonjs/models/runnablejobcollection.d.ts.map +1 -1
  111. package/dist/commonjs/models/runnablejobexecutor.d.ts +21 -21
  112. package/dist/commonjs/models/runnablejobexecutor.d.ts.map +1 -1
  113. package/dist/commonjs/models/runnablejobscheduledsearch.d.ts +16 -16
  114. package/dist/commonjs/models/runnablejobscheduledsearch.d.ts.map +1 -1
  115. package/dist/commonjs/sdk/captures.d.ts +15 -0
  116. package/dist/commonjs/sdk/captures.d.ts.map +1 -0
  117. package/dist/commonjs/sdk/captures.js +22 -0
  118. package/dist/commonjs/sdk/captures.js.map +1 -0
  119. package/dist/commonjs/sdk/sdk.d.ts +2 -2
  120. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  121. package/dist/commonjs/sdk/sdk.js +3 -3
  122. package/dist/commonjs/sdk/sdk.js.map +1 -1
  123. package/dist/commonjs/sdk/system.d.ts +3 -0
  124. package/dist/commonjs/sdk/system.d.ts.map +1 -1
  125. package/dist/commonjs/sdk/system.js +4 -0
  126. package/dist/commonjs/sdk/system.js.map +1 -1
  127. package/dist/esm/funcs/systemCapturesGet.d.ts +21 -0
  128. package/dist/esm/funcs/systemCapturesGet.d.ts.map +1 -0
  129. package/dist/esm/funcs/systemCapturesGet.js +101 -0
  130. package/dist/esm/funcs/systemCapturesGet.js.map +1 -0
  131. package/dist/esm/lib/config.d.ts +4 -4
  132. package/dist/esm/lib/config.js +4 -4
  133. package/dist/esm/lib/config.js.map +1 -1
  134. package/dist/esm/lib/jsonl.d.ts +10 -0
  135. package/dist/esm/lib/jsonl.d.ts.map +1 -0
  136. package/dist/esm/lib/jsonl.js +100 -0
  137. package/dist/esm/lib/jsonl.js.map +1 -0
  138. package/dist/esm/models/capturelevel.d.ts +12 -0
  139. package/dist/esm/models/capturelevel.d.ts.map +1 -0
  140. package/dist/esm/models/capturelevel.js +13 -0
  141. package/dist/esm/models/capturelevel.js.map +1 -0
  142. package/dist/esm/models/captureparams.d.ts +25 -0
  143. package/dist/esm/models/captureparams.d.ts.map +1 -0
  144. package/dist/esm/models/captureparams.js +19 -0
  145. package/dist/esm/models/captureparams.js.map +1 -0
  146. package/dist/esm/models/criblevent.d.ts +1 -3
  147. package/dist/esm/models/criblevent.d.ts.map +1 -1
  148. package/dist/esm/models/criblevent.js +1 -4
  149. package/dist/esm/models/criblevent.js.map +1 -1
  150. package/dist/esm/models/functionconfschemaaggregatemetrics.d.ts +8 -8
  151. package/dist/esm/models/functionconfschemaaggregatemetrics.d.ts.map +1 -1
  152. package/dist/esm/models/functionconfschemaaggregation.d.ts +8 -8
  153. package/dist/esm/models/functionconfschemaaggregation.d.ts.map +1 -1
  154. package/dist/esm/models/functionconfschemacef.d.ts +1 -1
  155. package/dist/esm/models/functionconfschemacef.d.ts.map +1 -1
  156. package/dist/esm/models/functionconfschemadistinct.d.ts +3 -3
  157. package/dist/esm/models/functionconfschemadistinct.d.ts.map +1 -1
  158. package/dist/esm/models/functionconfschemadnslookup.d.ts +1 -3
  159. package/dist/esm/models/functionconfschemadnslookup.d.ts.map +1 -1
  160. package/dist/esm/models/functionconfschemadnslookup.js +4 -13
  161. package/dist/esm/models/functionconfschemadnslookup.js.map +1 -1
  162. package/dist/esm/models/functionconfschemadropdimensions.d.ts +2 -2
  163. package/dist/esm/models/functionconfschemadropdimensions.d.ts.map +1 -1
  164. package/dist/esm/models/functionconfschemadynamicsampling.d.ts +5 -5
  165. package/dist/esm/models/functionconfschemadynamicsampling.d.ts.map +1 -1
  166. package/dist/esm/models/functionconfschemaeventbreaker.d.ts +2 -2
  167. package/dist/esm/models/functionconfschemaeventbreaker.d.ts.map +1 -1
  168. package/dist/esm/models/functionconfschemaeventstats.d.ts +2 -2
  169. package/dist/esm/models/functionconfschemaeventstats.d.ts.map +1 -1
  170. package/dist/esm/models/functionconfschemageoip.d.ts +2 -2
  171. package/dist/esm/models/functionconfschemageoip.d.ts.map +1 -1
  172. package/dist/esm/models/functionconfschemagrok.d.ts +1 -1
  173. package/dist/esm/models/functionconfschemagrok.d.ts.map +1 -1
  174. package/dist/esm/models/functionconfschemahandlebars.d.ts +4 -4
  175. package/dist/esm/models/functionconfschemahandlebars.d.ts.map +1 -1
  176. package/dist/esm/models/functionconfschemalakeexport.d.ts +3 -3
  177. package/dist/esm/models/functionconfschemalakeexport.d.ts.map +1 -1
  178. package/dist/esm/models/functionconfschemalookup.d.ts +2 -2
  179. package/dist/esm/models/functionconfschemalookup.d.ts.map +1 -1
  180. package/dist/esm/models/functionconfschemamask.d.ts +3 -3
  181. package/dist/esm/models/functionconfschemamask.d.ts.map +1 -1
  182. package/dist/esm/models/functionconfschemamvexpand.d.ts +2 -2
  183. package/dist/esm/models/functionconfschemamvexpand.d.ts.map +1 -1
  184. package/dist/esm/models/functionconfschemamvpull.d.ts +2 -2
  185. package/dist/esm/models/functionconfschemamvpull.d.ts.map +1 -1
  186. package/dist/esm/models/functionconfschemanotify.d.ts +4 -4
  187. package/dist/esm/models/functionconfschemanotify.d.ts.map +1 -1
  188. package/dist/esm/models/functionconfschemapack.d.ts +1 -1
  189. package/dist/esm/models/functionconfschemapack.d.ts.map +1 -1
  190. package/dist/esm/models/functionconfschemaredis.d.ts +3 -3
  191. package/dist/esm/models/functionconfschemaredis.d.ts.map +1 -1
  192. package/dist/esm/models/functionconfschemaregexextract.d.ts +3 -3
  193. package/dist/esm/models/functionconfschemaregexextract.d.ts.map +1 -1
  194. package/dist/esm/models/functionconfschemasend.d.ts +4 -4
  195. package/dist/esm/models/functionconfschemasend.d.ts.map +1 -1
  196. package/dist/esm/models/functionconfschemasensitivedatascanner.d.ts +4 -4
  197. package/dist/esm/models/functionconfschemasensitivedatascanner.d.ts.map +1 -1
  198. package/dist/esm/models/functionconfschemaserde.d.ts +3 -3
  199. package/dist/esm/models/functionconfschemaserde.d.ts.map +1 -1
  200. package/dist/esm/models/functionconfschemaserialize.d.ts +2 -2
  201. package/dist/esm/models/functionconfschemaserialize.d.ts.map +1 -1
  202. package/dist/esm/models/functionconfschemastore.d.ts +7 -7
  203. package/dist/esm/models/functionconfschemastore.d.ts.map +1 -1
  204. package/dist/esm/models/functionconfschemasuppress.d.ts +6 -6
  205. package/dist/esm/models/functionconfschemasuppress.d.ts.map +1 -1
  206. package/dist/esm/models/functionconfschematee.d.ts +1 -1
  207. package/dist/esm/models/functionconfschematee.d.ts.map +1 -1
  208. package/dist/esm/models/functionconfschemaunroll.d.ts +2 -2
  209. package/dist/esm/models/functionconfschemaunroll.d.ts.map +1 -1
  210. package/dist/esm/models/functionconfschemawindow.d.ts +2 -2
  211. package/dist/esm/models/functionconfschemawindow.d.ts.map +1 -1
  212. package/dist/esm/models/functionconfschemaxmlunroll.d.ts +2 -2
  213. package/dist/esm/models/functionconfschemaxmlunroll.d.ts.map +1 -1
  214. package/dist/esm/models/index.d.ts +2 -0
  215. package/dist/esm/models/index.d.ts.map +1 -1
  216. package/dist/esm/models/index.js +2 -0
  217. package/dist/esm/models/index.js.map +1 -1
  218. package/dist/esm/models/operations/getfunctionresponsebyid.d.ts +15 -0
  219. package/dist/esm/models/operations/getfunctionresponsebyid.d.ts.map +1 -0
  220. package/dist/esm/models/operations/getfunctionresponsebyid.js +12 -0
  221. package/dist/esm/models/operations/getfunctionresponsebyid.js.map +1 -0
  222. package/dist/esm/models/pipeline.d.ts +1 -1
  223. package/dist/esm/models/pipeline.d.ts.map +1 -1
  224. package/dist/esm/models/pipelinefunctioncef.d.ts +1 -1
  225. package/dist/esm/models/pipelinefunctioncef.d.ts.map +1 -1
  226. package/dist/esm/models/routes.d.ts +1 -3
  227. package/dist/esm/models/routes.d.ts.map +1 -1
  228. package/dist/esm/models/routes.js +4 -13
  229. package/dist/esm/models/routes.js.map +1 -1
  230. package/dist/esm/models/routesroute.d.ts +1 -3
  231. package/dist/esm/models/routesroute.d.ts.map +1 -1
  232. package/dist/esm/models/routesroute.js +4 -13
  233. package/dist/esm/models/routesroute.js.map +1 -1
  234. package/dist/esm/models/runnablejobcollection.d.ts +37 -37
  235. package/dist/esm/models/runnablejobcollection.d.ts.map +1 -1
  236. package/dist/esm/models/runnablejobexecutor.d.ts +21 -21
  237. package/dist/esm/models/runnablejobexecutor.d.ts.map +1 -1
  238. package/dist/esm/models/runnablejobscheduledsearch.d.ts +16 -16
  239. package/dist/esm/models/runnablejobscheduledsearch.d.ts.map +1 -1
  240. package/dist/esm/sdk/captures.d.ts +15 -0
  241. package/dist/esm/sdk/captures.d.ts.map +1 -0
  242. package/dist/esm/sdk/captures.js +18 -0
  243. package/dist/esm/sdk/captures.js.map +1 -0
  244. package/dist/esm/sdk/sdk.d.ts +2 -2
  245. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  246. package/dist/esm/sdk/sdk.js +3 -3
  247. package/dist/esm/sdk/sdk.js.map +1 -1
  248. package/dist/esm/sdk/system.d.ts +3 -0
  249. package/dist/esm/sdk/system.d.ts.map +1 -1
  250. package/dist/esm/sdk/system.js +4 -0
  251. package/dist/esm/sdk/system.js.map +1 -1
  252. package/examples/auth.ts +2 -3
  253. package/examples/example-cloud-auth.ts +13 -13
  254. package/examples/example-cloud-search-packs-lake.ts +2 -2
  255. package/examples/example-cloud-worker-group.ts +6 -6
  256. package/examples/example-edge.ts +5 -6
  257. package/examples/example-onprem-auth.ts +57 -21
  258. package/examples/example-packs.ts +5 -6
  259. package/examples/example-stream.ts +5 -6
  260. package/examples/example-worker-group-replication.ts +2 -1
  261. package/examples/package-lock.json +1 -1
  262. package/jsr.json +1 -1
  263. package/package.json +1 -1
  264. package/src/funcs/systemCapturesGet.ts +192 -0
  265. package/src/lib/config.ts +4 -4
  266. package/src/lib/jsonl.ts +127 -0
  267. package/src/models/capturelevel.ts +22 -0
  268. package/src/models/captureparams.ts +46 -0
  269. package/src/models/criblevent.ts +2 -5
  270. package/src/models/functionconfschemaaggregatemetrics.ts +8 -8
  271. package/src/models/functionconfschemaaggregation.ts +8 -8
  272. package/src/models/functionconfschemacef.ts +1 -1
  273. package/src/models/functionconfschemadistinct.ts +3 -3
  274. package/src/models/functionconfschemadnslookup.ts +16 -32
  275. package/src/models/functionconfschemadropdimensions.ts +2 -2
  276. package/src/models/functionconfschemadynamicsampling.ts +5 -5
  277. package/src/models/functionconfschemaeventbreaker.ts +2 -2
  278. package/src/models/functionconfschemaeventstats.ts +2 -2
  279. package/src/models/functionconfschemageoip.ts +2 -2
  280. package/src/models/functionconfschemagrok.ts +1 -1
  281. package/src/models/functionconfschemahandlebars.ts +4 -4
  282. package/src/models/functionconfschemalakeexport.ts +3 -3
  283. package/src/models/functionconfschemalookup.ts +2 -2
  284. package/src/models/functionconfschemamask.ts +3 -3
  285. package/src/models/functionconfschemamvexpand.ts +2 -2
  286. package/src/models/functionconfschemamvpull.ts +2 -2
  287. package/src/models/functionconfschemanotify.ts +4 -4
  288. package/src/models/functionconfschemapack.ts +1 -1
  289. package/src/models/functionconfschemaredis.ts +3 -3
  290. package/src/models/functionconfschemaregexextract.ts +3 -3
  291. package/src/models/functionconfschemasend.ts +4 -4
  292. package/src/models/functionconfschemasensitivedatascanner.ts +4 -4
  293. package/src/models/functionconfschemaserde.ts +3 -3
  294. package/src/models/functionconfschemaserialize.ts +2 -2
  295. package/src/models/functionconfschemastore.ts +7 -7
  296. package/src/models/functionconfschemasuppress.ts +6 -6
  297. package/src/models/functionconfschematee.ts +1 -1
  298. package/src/models/functionconfschemaunroll.ts +2 -2
  299. package/src/models/functionconfschemawindow.ts +2 -2
  300. package/src/models/functionconfschemaxmlunroll.ts +2 -2
  301. package/src/models/index.ts +2 -0
  302. package/src/models/operations/getfunctionresponsebyid.ts +36 -0
  303. package/src/models/pipeline.ts +1 -1
  304. package/src/models/pipelinefunctioncef.ts +1 -1
  305. package/src/models/routes.ts +6 -22
  306. package/src/models/routesroute.ts +15 -31
  307. package/src/models/runnablejobcollection.ts +37 -37
  308. package/src/models/runnablejobexecutor.ts +21 -21
  309. package/src/models/runnablejobscheduledsearch.ts +16 -16
  310. package/src/sdk/captures.ts +28 -0
  311. package/src/sdk/sdk.ts +5 -5
  312. package/src/sdk/system.ts +6 -0
package/src/lib/config.ts CHANGED
@@ -61,9 +61,9 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
61
61
 
62
62
  export const SDK_METADATA = {
63
63
  language: "typescript",
64
- openapiDocVersion: "4.16.0-alpha.1767654263427-c6413233",
65
- sdkVersion: "0.5.0-beta.9",
66
- genVersion: "2.778.0",
64
+ openapiDocVersion: "4.16.0-alpha.1767808351351-326f0624",
65
+ sdkVersion: "0.5.0-rc.10",
66
+ genVersion: "2.791.1",
67
67
  userAgent:
68
- "speakeasy-sdk/typescript 0.5.0-beta.9 2.778.0 4.16.0-alpha.1767654263427-c6413233 cribl-control-plane",
68
+ "speakeasy-sdk/typescript 0.5.0-rc.10 2.791.1 4.16.0-alpha.1767808351351-326f0624 cribl-control-plane",
69
69
  } as const;
@@ -0,0 +1,127 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ const LF = 0x0a;
6
+ const CR = 0x0d;
7
+ const RIGHT_BRACE = 0x7d;
8
+ const MESSAGE_BOUNDARIES = [
9
+ new Uint8Array([RIGHT_BRACE, CR, LF]),
10
+ new Uint8Array([RIGHT_BRACE, LF]),
11
+ ];
12
+
13
+ export class JsonLStream<Event> {
14
+ private readonly stream: ReadableStream<Uint8Array>;
15
+ private readonly decoder: (rawEvent: string) => Event;
16
+
17
+ constructor(init: {
18
+ stream: ReadableStream<Uint8Array>;
19
+ decoder: (rawEvent: string) => Event;
20
+ }) {
21
+ this.stream = init.stream;
22
+ this.decoder = init.decoder;
23
+ }
24
+
25
+ async *[Symbol.asyncIterator](): AsyncGenerator<Event, void, unknown> {
26
+ const reader = this.stream.getReader();
27
+ let buffer = new Uint8Array([]);
28
+ let position = 0;
29
+
30
+ try {
31
+ while (true) {
32
+ const { done, value } = await reader.read();
33
+ if (done) {
34
+ break;
35
+ }
36
+
37
+ const newBuffer = new Uint8Array(buffer.length + value.length);
38
+ newBuffer.set(buffer);
39
+ newBuffer.set(value, buffer.length);
40
+ buffer = newBuffer;
41
+
42
+ for (let i = position; i < buffer.length; i++) {
43
+ const boundary = findBoundary(buffer, i);
44
+ if (boundary == null) {
45
+ continue;
46
+ }
47
+
48
+ const chunk = buffer.slice(position, i + 1);
49
+ position = i + boundary.length;
50
+ const event = parseEvent(chunk, this.decoder);
51
+ if (event != null) {
52
+ yield event;
53
+ }
54
+ }
55
+
56
+ if (position > 0) {
57
+ buffer = buffer.slice(position);
58
+ position = 0;
59
+ }
60
+ }
61
+
62
+ if (buffer.length > 0) {
63
+ const event = parseEvent(buffer, this.decoder);
64
+ if (event != null) {
65
+ yield event;
66
+ }
67
+ }
68
+ } catch (e: unknown) {
69
+ if (e instanceof Error && e.name === "AbortError") {
70
+ return;
71
+ }
72
+
73
+ throw e;
74
+ } finally {
75
+ reader.releaseLock();
76
+ }
77
+ }
78
+ }
79
+
80
+ function findBoundary(buffer: Uint8Array, start: number): Uint8Array | null {
81
+ for (const s of MESSAGE_BOUNDARIES) {
82
+ const seq = peekSequence(start, buffer, s);
83
+ if (seq != null) {
84
+ return seq;
85
+ }
86
+ }
87
+
88
+ return null;
89
+ }
90
+
91
+ function peekSequence(
92
+ position: number,
93
+ buffer: Uint8Array,
94
+ sequence: Uint8Array,
95
+ ): Uint8Array | null {
96
+ if (sequence.length > buffer.length - position) {
97
+ return null;
98
+ }
99
+
100
+ for (let i = 0; i < sequence.length; i++) {
101
+ if (buffer[position + i] !== sequence[i]) {
102
+ return null;
103
+ }
104
+ }
105
+
106
+ return sequence;
107
+ }
108
+
109
+ function parseEvent<Event>(
110
+ chunk: Uint8Array,
111
+ decoder: (rawEvent: string) => Event,
112
+ ) {
113
+ if (!chunk.length) {
114
+ return null;
115
+ }
116
+
117
+ const td = new TextDecoder();
118
+ const raw = td.decode(chunk);
119
+
120
+ try {
121
+ const parsed = JSON.parse(raw);
122
+ return decoder(parsed);
123
+ } catch (e) {
124
+ console.error("Error parsing JSON:", e);
125
+ return null;
126
+ }
127
+ }
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import * as openEnums from "../types/enums.js";
7
+ import { OpenEnum } from "../types/enums.js";
8
+
9
+ export const CaptureLevel = {
10
+ Zero: 0,
11
+ One: 1,
12
+ Two: 2,
13
+ Three: 3,
14
+ } as const;
15
+ export type CaptureLevel = OpenEnum<typeof CaptureLevel>;
16
+
17
+ /** @internal */
18
+ export const CaptureLevel$outboundSchema: z.ZodType<
19
+ number,
20
+ z.ZodTypeDef,
21
+ CaptureLevel
22
+ > = openEnums.outboundSchemaInt(CaptureLevel);
@@ -0,0 +1,46 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { CaptureLevel, CaptureLevel$outboundSchema } from "./capturelevel.js";
7
+
8
+ export type CaptureParams = {
9
+ duration: number;
10
+ filter: string;
11
+ level: CaptureLevel;
12
+ maxEvents: number;
13
+ stepDuration?: number | undefined;
14
+ workerId?: string | undefined;
15
+ workerThreshold?: number | undefined;
16
+ };
17
+
18
+ /** @internal */
19
+ export type CaptureParams$Outbound = {
20
+ duration: number;
21
+ filter: string;
22
+ level: number;
23
+ maxEvents: number;
24
+ stepDuration?: number | undefined;
25
+ workerId?: string | undefined;
26
+ workerThreshold?: number | undefined;
27
+ };
28
+
29
+ /** @internal */
30
+ export const CaptureParams$outboundSchema: z.ZodType<
31
+ CaptureParams$Outbound,
32
+ z.ZodTypeDef,
33
+ CaptureParams
34
+ > = z.object({
35
+ duration: z.number(),
36
+ filter: z.string(),
37
+ level: CaptureLevel$outboundSchema,
38
+ maxEvents: z.number(),
39
+ stepDuration: z.number().optional(),
40
+ workerId: z.string().optional(),
41
+ workerThreshold: z.number().optional(),
42
+ });
43
+
44
+ export function captureParamsToJSON(captureParams: CaptureParams): string {
45
+ return JSON.stringify(CaptureParams$outboundSchema.parse(captureParams));
46
+ }
@@ -7,7 +7,7 @@ import { remap as remap$ } from "../lib/primitives.js";
7
7
 
8
8
  export type CriblEvent = {
9
9
  raw: string;
10
- additionalProperties?: { [k: string]: any } | undefined;
10
+ [additionalProperties: string]: unknown;
11
11
  };
12
12
 
13
13
  /** @internal */
@@ -23,13 +23,10 @@ export const CriblEvent$outboundSchema: z.ZodType<
23
23
  CriblEvent
24
24
  > = z.object({
25
25
  raw: z.string(),
26
- additionalProperties: z.record(z.any()).optional(),
27
- }).transform((v) => {
26
+ }).catchall(z.any()).transform((v) => {
28
27
  return {
29
- ...v.additionalProperties,
30
28
  ...remap$(v, {
31
29
  raw: "_raw",
32
- additionalProperties: null,
33
30
  }),
34
31
  };
35
32
  });
@@ -32,7 +32,7 @@ export type FunctionConfSchemaAggregateMetricsAggregation = {
32
32
  /**
33
33
  * The output metric type
34
34
  */
35
- metricType?: FunctionConfSchemaAggregateMetricsMetricType | undefined;
35
+ metricType: FunctionConfSchemaAggregateMetricsMetricType;
36
36
  /**
37
37
  * Aggregate function to perform on events. Example: sum(bytes).where(action=='REJECT').as(TotalBytes)
38
38
  */
@@ -51,15 +51,15 @@ export type FunctionConfSchemaAggregateMetrics = {
51
51
  /**
52
52
  * Pass through the original events along with the aggregation events
53
53
  */
54
- passthrough?: boolean | undefined;
54
+ passthrough: boolean;
55
55
  /**
56
56
  * Preserve the structure of the original aggregation event's groupby fields
57
57
  */
58
- preserveGroupBys?: boolean | undefined;
58
+ preserveGroupBys: boolean;
59
59
  /**
60
60
  * Output only statistics that are sufficient for the supplied aggregations
61
61
  */
62
- sufficientStatsOnly?: boolean | undefined;
62
+ sufficientStatsOnly: boolean;
63
63
  /**
64
64
  * A prefix that is prepended to all of the fields output by this Aggregations Function
65
65
  */
@@ -67,7 +67,7 @@ export type FunctionConfSchemaAggregateMetrics = {
67
67
  /**
68
68
  * The time span of the tumbling window for aggregating events. Must be a valid time string (such as 10s).
69
69
  */
70
- timeWindow?: string | undefined;
70
+ timeWindow: string;
71
71
  /**
72
72
  * Combination of Aggregation function and output metric type
73
73
  */
@@ -89,11 +89,11 @@ export type FunctionConfSchemaAggregateMetrics = {
89
89
  /**
90
90
  * Enable to retain aggregations for cumulative aggregations when flushing out an aggregation table event. When disabled (the default), aggregations are reset to 0 on flush.
91
91
  */
92
- cumulative?: boolean | undefined;
92
+ cumulative: boolean;
93
93
  /**
94
94
  * Treat dots in dimension names as literals. This is useful for top-level dimensions that contain dots, such as 'service.name'.
95
95
  */
96
- shouldTreatDotsAsLiterals?: boolean | undefined;
96
+ shouldTreatDotsAsLiterals: boolean;
97
97
  /**
98
98
  * Set of key-value pairs to evaluate and add/set
99
99
  */
@@ -101,7 +101,7 @@ export type FunctionConfSchemaAggregateMetrics = {
101
101
  /**
102
102
  * Flush aggregations when an input stream is closed. If disabled, Time Window Settings control flush behavior.
103
103
  */
104
- flushOnInputClose?: boolean | undefined;
104
+ flushOnInputClose: boolean;
105
105
  };
106
106
 
107
107
  /** @internal */
@@ -19,19 +19,19 @@ export type FunctionConfSchemaAggregation = {
19
19
  /**
20
20
  * Pass through the original events along with the aggregation events
21
21
  */
22
- passthrough?: boolean | undefined;
22
+ passthrough: boolean;
23
23
  /**
24
24
  * Preserve the structure of the original aggregation event's groupby fields
25
25
  */
26
- preserveGroupBys?: boolean | undefined;
26
+ preserveGroupBys: boolean;
27
27
  /**
28
28
  * Output only statistics that are sufficient for the supplied aggregations
29
29
  */
30
- sufficientStatsOnly?: boolean | undefined;
30
+ sufficientStatsOnly: boolean;
31
31
  /**
32
32
  * Enable to output the aggregates as metrics. When disabled, aggregates are output as events.
33
33
  */
34
- metricsMode?: boolean | undefined;
34
+ metricsMode: boolean;
35
35
  /**
36
36
  * A prefix that is prepended to all of the fields output by this Aggregations Function
37
37
  */
@@ -39,7 +39,7 @@ export type FunctionConfSchemaAggregation = {
39
39
  /**
40
40
  * The time span of the tumbling window for aggregating events. Must be a valid time string (such as 10s).
41
41
  */
42
- timeWindow?: string | undefined;
42
+ timeWindow: string;
43
43
  /**
44
44
  * Aggregate function to perform on events. Example: sum(bytes).where(action=='REJECT').as(TotalBytes)
45
45
  */
@@ -59,7 +59,7 @@ export type FunctionConfSchemaAggregation = {
59
59
  /**
60
60
  * Enable to retain aggregations for cumulative aggregations when flushing out an aggregation table event. When disabled (the default), aggregations are reset to 0 on flush.
61
61
  */
62
- cumulative?: boolean | undefined;
62
+ cumulative: boolean;
63
63
  /**
64
64
  * Allows Cribl Search-specific aggregation configuration
65
65
  */
@@ -71,11 +71,11 @@ export type FunctionConfSchemaAggregation = {
71
71
  /**
72
72
  * Treat dots in dimension names as literals. This is useful for top-level dimensions that contain dots, such as 'service.name'.
73
73
  */
74
- shouldTreatDotsAsLiterals?: boolean | undefined;
74
+ shouldTreatDotsAsLiterals: boolean;
75
75
  /**
76
76
  * Flush aggregations when an input stream is closed. If disabled, Time Window Settings control flush behavior.
77
77
  */
78
- flushOnInputClose?: boolean | undefined;
78
+ flushOnInputClose: boolean;
79
79
  };
80
80
 
81
81
  /** @internal */
@@ -27,7 +27,7 @@ export type FunctionConfSchemaCef = {
27
27
  /**
28
28
  * The field to which the CEF formatted event will be output
29
29
  */
30
- outputField?: string | undefined;
30
+ outputField: string;
31
31
  /**
32
32
  * Set of header key/value pairs
33
33
  */
@@ -15,15 +15,15 @@ export type FunctionConfSchemaDistinct = {
15
15
  /**
16
16
  * maximum number of tracked combinations
17
17
  */
18
- maxCombinations?: number | undefined;
18
+ maxCombinations: number;
19
19
  /**
20
20
  * maximum number of groupBy properties
21
21
  */
22
- maxDepth?: number | undefined;
22
+ maxDepth: number;
23
23
  /**
24
24
  * indicator that the operator runs on a federated executor
25
25
  */
26
- isFederated?: boolean | undefined;
26
+ isFederated: boolean;
27
27
  /**
28
28
  * Toggle this on to suppress generating previews of intermediate results
29
29
  */
@@ -3,11 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v3";
6
- import { remap as remap$ } from "../lib/primitives.js";
7
- import {
8
- collectExtraKeys as collectExtraKeys$,
9
- safeParse,
10
- } from "../lib/schemas.js";
6
+ import { safeParse } from "../lib/schemas.js";
11
7
  import * as openEnums from "../types/enums.js";
12
8
  import { OpenEnum } from "../types/enums.js";
13
9
  import { Result as SafeParseResult } from "../types/fp.js";
@@ -150,7 +146,7 @@ export type FunctionConfSchemaDnsLookup = {
150
146
  */
151
147
  domainOverrides?: Array<string> | undefined;
152
148
  lookupFailLogLevel?: LogLevelForFailedLookups | undefined;
153
- additionalProperties?: { [k: string]: any } | undefined;
149
+ [additionalProperties: string]: unknown;
154
150
  };
155
151
 
156
152
  /** @internal */
@@ -267,23 +263,19 @@ export const FunctionConfSchemaDnsLookup$inboundSchema: z.ZodType<
267
263
  FunctionConfSchemaDnsLookup,
268
264
  z.ZodTypeDef,
269
265
  unknown
270
- > = collectExtraKeys$(
271
- z.object({
272
- dnsLookupFields: z.array(z.lazy(() => DnsLookupField$inboundSchema))
273
- .optional(),
274
- reverseLookupFields: z.array(z.lazy(() => ReverseLookupField$inboundSchema))
275
- .optional(),
276
- dnsServers: z.array(z.string()).optional(),
277
- cacheTTL: z.number().default(30),
278
- maxCacheSize: z.number().default(5000),
279
- useResolvConf: z.boolean().default(false),
280
- lookupFallback: z.boolean().default(false),
281
- domainOverrides: z.array(z.string()).optional(),
282
- lookupFailLogLevel: LogLevelForFailedLookups$inboundSchema.default("error"),
283
- }).catchall(z.any()),
284
- "additionalProperties",
285
- true,
286
- );
266
+ > = z.object({
267
+ dnsLookupFields: z.array(z.lazy(() => DnsLookupField$inboundSchema))
268
+ .optional(),
269
+ reverseLookupFields: z.array(z.lazy(() => ReverseLookupField$inboundSchema))
270
+ .optional(),
271
+ dnsServers: z.array(z.string()).optional(),
272
+ cacheTTL: z.number().default(30),
273
+ maxCacheSize: z.number().default(5000),
274
+ useResolvConf: z.boolean().default(false),
275
+ lookupFallback: z.boolean().default(false),
276
+ domainOverrides: z.array(z.string()).optional(),
277
+ lookupFailLogLevel: LogLevelForFailedLookups$inboundSchema.default("error"),
278
+ }).catchall(z.any());
287
279
  /** @internal */
288
280
  export type FunctionConfSchemaDnsLookup$Outbound = {
289
281
  dnsLookupFields?: Array<DnsLookupField$Outbound> | undefined;
@@ -315,15 +307,7 @@ export const FunctionConfSchemaDnsLookup$outboundSchema: z.ZodType<
315
307
  lookupFallback: z.boolean().default(false),
316
308
  domainOverrides: z.array(z.string()).optional(),
317
309
  lookupFailLogLevel: LogLevelForFailedLookups$outboundSchema.default("error"),
318
- additionalProperties: z.record(z.any()).optional(),
319
- }).transform((v) => {
320
- return {
321
- ...v.additionalProperties,
322
- ...remap$(v, {
323
- additionalProperties: null,
324
- }),
325
- };
326
- });
310
+ }).catchall(z.any());
327
311
 
328
312
  export function functionConfSchemaDnsLookupToJSON(
329
313
  functionConfSchemaDnsLookup: FunctionConfSchemaDnsLookup,
@@ -11,7 +11,7 @@ export type FunctionConfSchemaDropDimensions = {
11
11
  /**
12
12
  * The time span of the tumbling window for aggregating events. Must be a valid time string (such as 10s).
13
13
  */
14
- timeWindow?: string | undefined;
14
+ timeWindow: string;
15
15
  /**
16
16
  * One or more dimensions to be dropped. Supports wildcard expressions. Warning: Using wildcard '*' causes all dimensions in the event to be dropped.
17
17
  */
@@ -19,7 +19,7 @@ export type FunctionConfSchemaDropDimensions = {
19
19
  /**
20
20
  * Flush aggregations when an input stream is closed. If disabled, aggregations are flushed based on Time Window Settings instead.
21
21
  */
22
- flushOnInputClose?: boolean | undefined;
22
+ flushOnInputClose: boolean;
23
23
  };
24
24
 
25
25
  /** @internal */
@@ -33,23 +33,23 @@ export type FunctionConfSchemaDynamicSampling = {
33
33
  /**
34
34
  * Defines how sample rate will be derived: log(previousPeriodCount) or sqrt(previousPeriodCount)
35
35
  */
36
- mode?: FunctionConfSchemaDynamicSamplingSampleMode | undefined;
36
+ mode: FunctionConfSchemaDynamicSamplingSampleMode;
37
37
  /**
38
38
  * Expression used to derive sample group key. Example:`${domain}:${status}`. Each sample group will have its own derived sampling rate based on volume. Defaults to `${host}`.
39
39
  */
40
- keyExpr?: string | undefined;
40
+ keyExpr: string;
41
41
  /**
42
42
  * How often (in seconds) sample rates will be adjusted
43
43
  */
44
- samplePeriod?: number | undefined;
44
+ samplePeriod: number;
45
45
  /**
46
46
  * Minimum number of events that must be received in previous sample period for sampling mode to be applied to current period. If the number of events received for a sample group is less than this minimum, a sample rate of 1:1 is used.
47
47
  */
48
- minEvents?: number | undefined;
48
+ minEvents: number;
49
49
  /**
50
50
  * Maximum sampling rate. If computed sampling rate is above this value, it will be limited to this value.
51
51
  */
52
- maxSampleRate?: number | undefined;
52
+ maxSampleRate: number;
53
53
  };
54
54
 
55
55
  /** @internal */
@@ -24,11 +24,11 @@ export type FunctionConfSchemaEventBreakerExistingOrNew = OpenEnum<
24
24
  >;
25
25
 
26
26
  export type FunctionConfSchemaEventBreaker = {
27
- existingOrNew?: FunctionConfSchemaEventBreakerExistingOrNew | undefined;
27
+ existingOrNew: FunctionConfSchemaEventBreakerExistingOrNew;
28
28
  /**
29
29
  * Add this Function name to the cribl_breaker field
30
30
  */
31
- shouldMarkCriblBreaker?: boolean | undefined;
31
+ shouldMarkCriblBreaker: boolean;
32
32
  };
33
33
 
34
34
  /** @internal */
@@ -19,11 +19,11 @@ export type FunctionConfSchemaEventstats = {
19
19
  /**
20
20
  * Specifies how many events are at max kept in memory to be enriched with aggregations
21
21
  */
22
- maxEvents?: number | undefined;
22
+ maxEvents: number;
23
23
  /**
24
24
  * Determines if aggregations should flush when an input stream is closed. If disabled, time window settings will control flush behavior.
25
25
  */
26
- flushOnInputClose?: boolean | undefined;
26
+ flushOnInputClose: boolean;
27
27
  };
28
28
 
29
29
  /** @internal */
@@ -31,11 +31,11 @@ export type FunctionConfSchemaGeoip = {
31
31
  /**
32
32
  * Field name in which to find an IP to look up. Can be nested.
33
33
  */
34
- inField?: string | undefined;
34
+ inField: string;
35
35
  /**
36
36
  * Field name in which to store the GeoIP lookup results
37
37
  */
38
- outField?: string | undefined;
38
+ outField: string;
39
39
  additionalFields?: Array<FunctionConfSchemaGeoipAdditionalField> | undefined;
40
40
  /**
41
41
  * Search-specific mappings for granular control over event enrichment
@@ -23,7 +23,7 @@ export type FunctionConfSchemaGrok = {
23
23
  /**
24
24
  * Field on which to perform Grok extractions
25
25
  */
26
- source?: string | undefined;
26
+ source: string;
27
27
  };
28
28
 
29
29
  /** @internal */
@@ -23,7 +23,7 @@ export type FunctionConfSchemaHandlebarsTemplateDefinition = {
23
23
  /**
24
24
  * Type categorization for the template (e.g., Universal, Email, Slack)
25
25
  */
26
- type?: string | undefined;
26
+ type: string;
27
27
  };
28
28
 
29
29
  export type FunctionConfSchemaHandlebars = {
@@ -34,15 +34,15 @@ export type FunctionConfSchemaHandlebars = {
34
34
  /**
35
35
  * Field name to store the rendered template result. Defaults to _raw.
36
36
  */
37
- targetField?: string | undefined;
37
+ targetField: string;
38
38
  /**
39
39
  * Parse the rendered template as JSON and store as an object instead of a string. Useful for building structured data like Slack blocks.
40
40
  */
41
- parseJson?: boolean | undefined;
41
+ parseJson: boolean;
42
42
  /**
43
43
  * Remove the target field if the rendered result is empty or null.
44
44
  */
45
- removeOnNull?: boolean | undefined;
45
+ removeOnNull: boolean;
46
46
  };
47
47
 
48
48
  /** @internal */
@@ -19,15 +19,15 @@ export type FunctionConfSchemaLakeExport = {
19
19
  /**
20
20
  * Name of the lake
21
21
  */
22
- lake?: string | undefined;
22
+ lake: string;
23
23
  /**
24
24
  * Tee results to search. When set to true results will be shipped instead of stats
25
25
  */
26
- tee?: string | undefined;
26
+ tee: string;
27
27
  /**
28
28
  * How often are stats flushed in ms
29
29
  */
30
- flushMs?: number | undefined;
30
+ flushMs: number;
31
31
  /**
32
32
  * Disables generation of intermediate stats. When true stats will be emitted only on end
33
33
  */
@@ -41,7 +41,7 @@ export type FunctionConfSchemaLookup = {
41
41
  /**
42
42
  * Enable to use a disk-based lookup. This option displays only the settings relevant to disk-based mode and hides those for in-memory lookups.
43
43
  */
44
- dbLookup?: boolean | undefined;
44
+ dbLookup: boolean;
45
45
  matchMode?: any | undefined;
46
46
  matchType?: any | undefined;
47
47
  reloadPeriodSec?: any | undefined;
@@ -56,7 +56,7 @@ export type FunctionConfSchemaLookup = {
56
56
  /**
57
57
  * Add the looked-up values to _raw, as key=value pairs
58
58
  */
59
- addToEvent?: boolean | undefined;
59
+ addToEvent: boolean;
60
60
  ignoreCase?: any | undefined;
61
61
  };
62
62
 
@@ -15,11 +15,11 @@ export type FunctionConfSchemaMaskRule = {
15
15
  /**
16
16
  * A JavaScript expression or literal to replace the matching content. Capturing groups can be referenced as g1, g2, and so on, and event fields as event.<fieldName>.
17
17
  */
18
- replaceExpr?: string | undefined;
18
+ replaceExpr: string;
19
19
  /**
20
20
  * Set to No to disable the evaluation of an individual rule
21
21
  */
22
- disabled?: boolean | undefined;
22
+ disabled: boolean;
23
23
  };
24
24
 
25
25
  export type FunctionConfSchemaMaskFlag = {
@@ -39,7 +39,7 @@ export type FunctionConfSchemaMask = {
39
39
  /**
40
40
  * Depth to which the Mask Function will search for fields to mask
41
41
  */
42
- depth?: number | undefined;
42
+ depth: number;
43
43
  /**
44
44
  * Fields to evaluate if one or more masking rules are matched
45
45
  */
@@ -41,7 +41,7 @@ export type FunctionConfSchemaMvExpand = {
41
41
  /**
42
42
  * max. number of rows generated out of every source events
43
43
  */
44
- rowLimit?: number | undefined;
44
+ rowLimit: number;
45
45
  /**
46
46
  * name of an optional index property generated into the output
47
47
  */
@@ -49,7 +49,7 @@ export type FunctionConfSchemaMvExpand = {
49
49
  /**
50
50
  * decides if bag-values are expanded to bags or arrays
51
51
  */
52
- bagExpansionMode?: FunctionConfSchemaMvExpandBagExpansionMode | undefined;
52
+ bagExpansionMode: FunctionConfSchemaMvExpandBagExpansionMode;
53
53
  };
54
54
 
55
55
  /** @internal */