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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) 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/functionconfschemalocalsearchdatatypeparser.d.ts +6 -6
  32. package/dist/commonjs/models/functionconfschemalocalsearchdatatypeparser.d.ts.map +1 -1
  33. package/dist/commonjs/models/functionconfschemalocalsearchdatatypeparser.js +8 -4
  34. package/dist/commonjs/models/functionconfschemalocalsearchdatatypeparser.js.map +1 -1
  35. package/dist/commonjs/models/functionconfschemalocalsearchrulesetrunner.d.ts +16 -0
  36. package/dist/commonjs/models/functionconfschemalocalsearchrulesetrunner.d.ts.map +1 -1
  37. package/dist/commonjs/models/functionconfschemalocalsearchrulesetrunner.js +19 -1
  38. package/dist/commonjs/models/functionconfschemalocalsearchrulesetrunner.js.map +1 -1
  39. package/dist/commonjs/models/pipelinefunctionlocalsearchdatatypeparser.d.ts +3 -18
  40. package/dist/commonjs/models/pipelinefunctionlocalsearchdatatypeparser.d.ts.map +1 -1
  41. package/dist/commonjs/models/pipelinefunctionlocalsearchdatatypeparser.js +4 -19
  42. package/dist/commonjs/models/pipelinefunctionlocalsearchdatatypeparser.js.map +1 -1
  43. package/dist/esm/lib/config.d.ts +3 -3
  44. package/dist/esm/lib/config.js +3 -3
  45. package/dist/esm/models/collectorazureblob.d.ts +643 -19
  46. package/dist/esm/models/collectorazureblob.d.ts.map +1 -1
  47. package/dist/esm/models/collectorazureblob.js +412 -17
  48. package/dist/esm/models/collectorazureblob.js.map +1 -1
  49. package/dist/esm/models/collectorconf.d.ts +26 -2
  50. package/dist/esm/models/collectorconf.d.ts.map +1 -1
  51. package/dist/esm/models/collectorconf.js +12 -12
  52. package/dist/esm/models/collectorconf.js.map +1 -1
  53. package/dist/esm/models/collectorgooglecloudstorage.d.ts +316 -19
  54. package/dist/esm/models/collectorgooglecloudstorage.d.ts.map +1 -1
  55. package/dist/esm/models/collectorgooglecloudstorage.js +209 -17
  56. package/dist/esm/models/collectorgooglecloudstorage.js.map +1 -1
  57. package/dist/esm/models/collectorhealthcheck.d.ts +3635 -72
  58. package/dist/esm/models/collectorhealthcheck.d.ts.map +1 -1
  59. package/dist/esm/models/collectorhealthcheck.js +2681 -119
  60. package/dist/esm/models/collectorhealthcheck.js.map +1 -1
  61. package/dist/esm/models/collectorrest.d.ts +6369 -147
  62. package/dist/esm/models/collectorrest.d.ts.map +1 -1
  63. package/dist/esm/models/collectorrest.js +4941 -83
  64. package/dist/esm/models/collectorrest.js.map +1 -1
  65. package/dist/esm/models/collectors3.d.ts +1003 -34
  66. package/dist/esm/models/collectors3.d.ts.map +1 -1
  67. package/dist/esm/models/collectors3.js +631 -29
  68. package/dist/esm/models/collectors3.js.map +1 -1
  69. package/dist/esm/models/collectorsplunk.d.ts +1803 -82
  70. package/dist/esm/models/collectorsplunk.d.ts.map +1 -1
  71. package/dist/esm/models/collectorsplunk.js +1261 -43
  72. package/dist/esm/models/collectorsplunk.js.map +1 -1
  73. package/dist/esm/models/functionconfschemalocalsearchdatatypeparser.d.ts +6 -6
  74. package/dist/esm/models/functionconfschemalocalsearchdatatypeparser.d.ts.map +1 -1
  75. package/dist/esm/models/functionconfschemalocalsearchdatatypeparser.js +6 -3
  76. package/dist/esm/models/functionconfschemalocalsearchdatatypeparser.js.map +1 -1
  77. package/dist/esm/models/functionconfschemalocalsearchrulesetrunner.d.ts +16 -0
  78. package/dist/esm/models/functionconfschemalocalsearchrulesetrunner.d.ts.map +1 -1
  79. package/dist/esm/models/functionconfschemalocalsearchrulesetrunner.js +16 -0
  80. package/dist/esm/models/functionconfschemalocalsearchrulesetrunner.js.map +1 -1
  81. package/dist/esm/models/pipelinefunctionlocalsearchdatatypeparser.d.ts +3 -18
  82. package/dist/esm/models/pipelinefunctionlocalsearchdatatypeparser.d.ts.map +1 -1
  83. package/dist/esm/models/pipelinefunctionlocalsearchdatatypeparser.js +3 -16
  84. package/dist/esm/models/pipelinefunctionlocalsearchdatatypeparser.js.map +1 -1
  85. package/examples/package-lock.json +1 -1
  86. package/jsr.json +1 -1
  87. package/package.json +1 -1
  88. package/src/lib/config.ts +3 -3
  89. package/src/models/collectorazureblob.ts +1317 -91
  90. package/src/models/collectorconf.ts +36 -24
  91. package/src/models/collectorgooglecloudstorage.ts +698 -66
  92. package/src/models/collectorhealthcheck.ts +7751 -175
  93. package/src/models/collectorrest.ts +13275 -231
  94. package/src/models/collectors3.ts +1722 -97
  95. package/src/models/collectorsplunk.ts +3531 -187
  96. package/src/models/functionconfschemalocalsearchdatatypeparser.ts +22 -9
  97. package/src/models/functionconfschemalocalsearchrulesetrunner.ts +67 -0
  98. package/src/models/pipelinefunctionlocalsearchdatatypeparser.ts +10 -65
@@ -7,12 +7,7 @@ import { safeParse } from "../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../types/fp.js";
8
8
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
9
9
 
10
- export type FunctionConfSchemaLocalSearchDatatypeParser = {
11
- /**
12
- * ID of the local search datatype ruleset
13
- */
14
- rulesetId?: string | undefined;
15
- };
10
+ export type FunctionConfSchemaLocalSearchDatatypeParser = {};
16
11
 
17
12
  /** @internal */
18
13
  export const FunctionConfSchemaLocalSearchDatatypeParser$inboundSchema:
@@ -20,10 +15,28 @@ export const FunctionConfSchemaLocalSearchDatatypeParser$inboundSchema:
20
15
  FunctionConfSchemaLocalSearchDatatypeParser,
21
16
  z.ZodTypeDef,
22
17
  unknown
23
- > = z.object({
24
- rulesetId: z.string().optional(),
25
- });
18
+ > = z.object({});
19
+ /** @internal */
20
+ export type FunctionConfSchemaLocalSearchDatatypeParser$Outbound = {};
21
+
22
+ /** @internal */
23
+ export const FunctionConfSchemaLocalSearchDatatypeParser$outboundSchema:
24
+ z.ZodType<
25
+ FunctionConfSchemaLocalSearchDatatypeParser$Outbound,
26
+ z.ZodTypeDef,
27
+ FunctionConfSchemaLocalSearchDatatypeParser
28
+ > = z.object({});
26
29
 
30
+ export function functionConfSchemaLocalSearchDatatypeParserToJSON(
31
+ functionConfSchemaLocalSearchDatatypeParser:
32
+ FunctionConfSchemaLocalSearchDatatypeParser,
33
+ ): string {
34
+ return JSON.stringify(
35
+ FunctionConfSchemaLocalSearchDatatypeParser$outboundSchema.parse(
36
+ functionConfSchemaLocalSearchDatatypeParser,
37
+ ),
38
+ );
39
+ }
27
40
  export function functionConfSchemaLocalSearchDatatypeParserFromJSON(
28
41
  jsonString: string,
29
42
  ): SafeParseResult<
@@ -15,9 +15,19 @@ export const RulesetType = {
15
15
  } as const;
16
16
  export type RulesetType = OpenEnum<typeof RulesetType>;
17
17
 
18
+ export type FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets =
19
+ {};
20
+
18
21
  export type FunctionConfSchemaLocalSearchRulesetRunner = {
19
22
  rulesetType?: RulesetType | undefined;
20
23
  rulesetId?: string | undefined;
24
+ ruleset?:
25
+ | FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets
26
+ | undefined;
27
+ /**
28
+ * Only for use with live data capture. Mark events that were dropped by dataset rules and still include them for capture
29
+ */
30
+ markAndIncludeDroppedEvents?: boolean | undefined;
21
31
  };
22
32
 
23
33
  /** @internal */
@@ -33,17 +43,70 @@ export const RulesetType$outboundSchema: z.ZodType<
33
43
  RulesetType
34
44
  > = openEnums.outboundSchema(RulesetType);
35
45
 
46
+ /** @internal */
47
+ export const FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets$inboundSchema:
48
+ z.ZodType<
49
+ FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets,
50
+ z.ZodTypeDef,
51
+ unknown
52
+ > = z.object({});
53
+ /** @internal */
54
+ export type FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets$Outbound =
55
+ {};
56
+
57
+ /** @internal */
58
+ export const FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets$outboundSchema:
59
+ z.ZodType<
60
+ FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets$Outbound,
61
+ z.ZodTypeDef,
62
+ FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets
63
+ > = z.object({});
64
+
65
+ export function fullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesetsToJSON(
66
+ fullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets:
67
+ FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets,
68
+ ): string {
69
+ return JSON.stringify(
70
+ FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets$outboundSchema
71
+ .parse(
72
+ fullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets,
73
+ ),
74
+ );
75
+ }
76
+ export function fullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesetsFromJSON(
77
+ jsonString: string,
78
+ ): SafeParseResult<
79
+ FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets,
80
+ SDKValidationError
81
+ > {
82
+ return safeParse(
83
+ jsonString,
84
+ (x) =>
85
+ FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets$inboundSchema
86
+ .parse(JSON.parse(x)),
87
+ `Failed to parse 'FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets' from JSON`,
88
+ );
89
+ }
90
+
36
91
  /** @internal */
37
92
  export const FunctionConfSchemaLocalSearchRulesetRunner$inboundSchema:
38
93
  z.ZodType<FunctionConfSchemaLocalSearchRulesetRunner, z.ZodTypeDef, unknown> =
39
94
  z.object({
40
95
  rulesetType: RulesetType$inboundSchema.optional(),
41
96
  rulesetId: z.string().optional(),
97
+ ruleset: z.lazy(() =>
98
+ FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets$inboundSchema
99
+ ).optional(),
100
+ markAndIncludeDroppedEvents: z.boolean().default(false),
42
101
  });
43
102
  /** @internal */
44
103
  export type FunctionConfSchemaLocalSearchRulesetRunner$Outbound = {
45
104
  rulesetType?: string | undefined;
46
105
  rulesetId?: string | undefined;
106
+ ruleset?:
107
+ | FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets$Outbound
108
+ | undefined;
109
+ markAndIncludeDroppedEvents: boolean;
47
110
  };
48
111
 
49
112
  /** @internal */
@@ -55,6 +118,10 @@ export const FunctionConfSchemaLocalSearchRulesetRunner$outboundSchema:
55
118
  > = z.object({
56
119
  rulesetType: RulesetType$outboundSchema.optional(),
57
120
  rulesetId: z.string().optional(),
121
+ ruleset: z.lazy(() =>
122
+ FullRulesetIEForUseWithLiveDataCaptureWhichUsesDraftUnsavedRulesets$outboundSchema
123
+ ).optional(),
124
+ markAndIncludeDroppedEvents: z.boolean().default(false),
58
125
  });
59
126
 
60
127
  export function functionConfSchemaLocalSearchRulesetRunnerToJSON(
@@ -6,13 +6,12 @@ import * as z from "zod/v3";
6
6
  import { safeParse } from "../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../types/fp.js";
8
8
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
9
-
10
- export type PipelineFunctionLocalSearchDatatypeParserConf = {
11
- /**
12
- * ID of the local search datatype ruleset
13
- */
14
- rulesetId: string;
15
- };
9
+ import {
10
+ FunctionConfSchemaLocalSearchDatatypeParser,
11
+ FunctionConfSchemaLocalSearchDatatypeParser$inboundSchema,
12
+ FunctionConfSchemaLocalSearchDatatypeParser$Outbound,
13
+ FunctionConfSchemaLocalSearchDatatypeParser$outboundSchema,
14
+ } from "./functionconfschemalocalsearchdatatypeparser.js";
16
15
 
17
16
  export type PipelineFunctionLocalSearchDatatypeParser = {
18
17
  /**
@@ -35,63 +34,13 @@ export type PipelineFunctionLocalSearchDatatypeParser = {
35
34
  * If enabled, stops the results of this Function from being passed to the downstream Functions
36
35
  */
37
36
  final?: boolean | undefined;
38
- conf: PipelineFunctionLocalSearchDatatypeParserConf;
37
+ conf: FunctionConfSchemaLocalSearchDatatypeParser;
39
38
  /**
40
39
  * Group ID
41
40
  */
42
41
  groupId?: string | undefined;
43
42
  };
44
43
 
45
- /** @internal */
46
- export const PipelineFunctionLocalSearchDatatypeParserConf$inboundSchema:
47
- z.ZodType<
48
- PipelineFunctionLocalSearchDatatypeParserConf,
49
- z.ZodTypeDef,
50
- unknown
51
- > = z.object({
52
- rulesetId: z.string(),
53
- });
54
- /** @internal */
55
- export type PipelineFunctionLocalSearchDatatypeParserConf$Outbound = {
56
- rulesetId: string;
57
- };
58
-
59
- /** @internal */
60
- export const PipelineFunctionLocalSearchDatatypeParserConf$outboundSchema:
61
- z.ZodType<
62
- PipelineFunctionLocalSearchDatatypeParserConf$Outbound,
63
- z.ZodTypeDef,
64
- PipelineFunctionLocalSearchDatatypeParserConf
65
- > = z.object({
66
- rulesetId: z.string(),
67
- });
68
-
69
- export function pipelineFunctionLocalSearchDatatypeParserConfToJSON(
70
- pipelineFunctionLocalSearchDatatypeParserConf:
71
- PipelineFunctionLocalSearchDatatypeParserConf,
72
- ): string {
73
- return JSON.stringify(
74
- PipelineFunctionLocalSearchDatatypeParserConf$outboundSchema.parse(
75
- pipelineFunctionLocalSearchDatatypeParserConf,
76
- ),
77
- );
78
- }
79
- export function pipelineFunctionLocalSearchDatatypeParserConfFromJSON(
80
- jsonString: string,
81
- ): SafeParseResult<
82
- PipelineFunctionLocalSearchDatatypeParserConf,
83
- SDKValidationError
84
- > {
85
- return safeParse(
86
- jsonString,
87
- (x) =>
88
- PipelineFunctionLocalSearchDatatypeParserConf$inboundSchema.parse(
89
- JSON.parse(x),
90
- ),
91
- `Failed to parse 'PipelineFunctionLocalSearchDatatypeParserConf' from JSON`,
92
- );
93
- }
94
-
95
44
  /** @internal */
96
45
  export const PipelineFunctionLocalSearchDatatypeParser$inboundSchema: z.ZodType<
97
46
  PipelineFunctionLocalSearchDatatypeParser,
@@ -103,9 +52,7 @@ export const PipelineFunctionLocalSearchDatatypeParser$inboundSchema: z.ZodType<
103
52
  description: z.string().optional(),
104
53
  disabled: z.boolean().optional(),
105
54
  final: z.boolean().optional(),
106
- conf: z.lazy(() =>
107
- PipelineFunctionLocalSearchDatatypeParserConf$inboundSchema
108
- ),
55
+ conf: FunctionConfSchemaLocalSearchDatatypeParser$inboundSchema,
109
56
  groupId: z.string().optional(),
110
57
  });
111
58
  /** @internal */
@@ -115,7 +62,7 @@ export type PipelineFunctionLocalSearchDatatypeParser$Outbound = {
115
62
  description?: string | undefined;
116
63
  disabled?: boolean | undefined;
117
64
  final?: boolean | undefined;
118
- conf: PipelineFunctionLocalSearchDatatypeParserConf$Outbound;
65
+ conf: FunctionConfSchemaLocalSearchDatatypeParser$Outbound;
119
66
  groupId?: string | undefined;
120
67
  };
121
68
 
@@ -131,9 +78,7 @@ export const PipelineFunctionLocalSearchDatatypeParser$outboundSchema:
131
78
  description: z.string().optional(),
132
79
  disabled: z.boolean().optional(),
133
80
  final: z.boolean().optional(),
134
- conf: z.lazy(() =>
135
- PipelineFunctionLocalSearchDatatypeParserConf$outboundSchema
136
- ),
81
+ conf: FunctionConfSchemaLocalSearchDatatypeParser$outboundSchema,
137
82
  groupId: z.string().optional(),
138
83
  });
139
84