@crowdstrike/aidr 1.0.2

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 (51) hide show
  1. package/.editorconfig +9 -0
  2. package/.github/CODEOWNERS +1 -0
  3. package/.github/workflows/ci.yml +128 -0
  4. package/.pnpmfile.cjs +17 -0
  5. package/.releaserc.json +21 -0
  6. package/LICENSE.txt +21 -0
  7. package/README.md +3 -0
  8. package/biome.json +67 -0
  9. package/dist/chunk.cjs +34 -0
  10. package/dist/index.cjs +356 -0
  11. package/dist/index.d.cts +2347 -0
  12. package/dist/index.d.mts +2347 -0
  13. package/dist/index.mjs +354 -0
  14. package/dist/schemas/ai-guard.cjs +1000 -0
  15. package/dist/schemas/ai-guard.d.cts +1232 -0
  16. package/dist/schemas/ai-guard.d.mts +1232 -0
  17. package/dist/schemas/ai-guard.mjs +907 -0
  18. package/dist/schemas/index.cjs +7 -0
  19. package/dist/schemas/index.d.cts +64 -0
  20. package/dist/schemas/index.d.mts +64 -0
  21. package/dist/schemas/index.mjs +3 -0
  22. package/dist/schemas.cjs +139 -0
  23. package/dist/schemas.mjs +108 -0
  24. package/flake.lock +59 -0
  25. package/flake.nix +26 -0
  26. package/openapi-ts.config.ts +15 -0
  27. package/package.json +55 -0
  28. package/pnpm-workspace.yaml +3 -0
  29. package/scripts/generate-models +15 -0
  30. package/scripts/test +10 -0
  31. package/specs/ai-guard.openapi.json +3721 -0
  32. package/src/client.ts +441 -0
  33. package/src/core/error.ts +78 -0
  34. package/src/index.ts +2 -0
  35. package/src/internal/builtin-types.ts +18 -0
  36. package/src/internal/errors.ts +34 -0
  37. package/src/internal/headers.ts +100 -0
  38. package/src/internal/parse.ts +30 -0
  39. package/src/internal/request-options.ts +57 -0
  40. package/src/internal/types.ts +3 -0
  41. package/src/internal/utils/sleep.ts +3 -0
  42. package/src/internal/utils/values.ts +38 -0
  43. package/src/schemas/ai-guard.ts +1215 -0
  44. package/src/schemas/index.ts +114 -0
  45. package/src/services/ai-guard.ts +27 -0
  46. package/src/types/ai-guard.ts +2276 -0
  47. package/src/types/index.ts +161 -0
  48. package/tests/ai-guard.test.ts +29 -0
  49. package/tsconfig.json +26 -0
  50. package/tsdown.config.mts +14 -0
  51. package/vitest.config.mts +4 -0
@@ -0,0 +1,1232 @@
1
+ import * as v from "valibot";
2
+
3
+ //#region src/schemas/ai-guard.d.ts
4
+
5
+ /**
6
+ * Response Schema
7
+ *
8
+ * Pangea standard response schema
9
+ */
10
+ declare const PangeaResponseSchema: v.ObjectSchema<{
11
+ readonly request_id: v.StringSchema<undefined>;
12
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
13
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
14
+ readonly status: v.StringSchema<undefined>;
15
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
16
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
17
+ }, undefined>;
18
+ declare const PangeaValidationErrorsSchema: v.ObjectSchema<{
19
+ readonly request_id: v.StringSchema<undefined>;
20
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
21
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
22
+ readonly status: v.StringSchema<undefined>;
23
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
24
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
25
+ }, undefined>;
26
+ /**
27
+ * Device status. Allowed values are active, pending, disabled
28
+ */
29
+ declare const AidrDeviceStatusSchema: v.PicklistSchema<["pending", "active", "disabled"], undefined>;
30
+ declare const AidrIpv4OrV6Schema: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>]>], undefined>;
31
+ declare const AidrDeviceSchema: v.StrictObjectSchema<{
32
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 32, undefined>]>;
33
+ readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
34
+ readonly status: v.OptionalSchema<v.PicklistSchema<["pending", "active", "disabled"], undefined>, undefined>;
35
+ readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
36
+ readonly user_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
37
+ readonly last_used_ip: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>]>], undefined>, undefined>;
38
+ }, undefined>;
39
+ declare const AidrDeviceTokenInfoSchema: v.ObjectSchema<{
40
+ readonly token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
41
+ readonly expires_in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
42
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
43
+ }, undefined>;
44
+ declare const AidrDeviceResultSchema: v.StrictObjectSchema<{
45
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 32, undefined>]>;
46
+ readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
47
+ readonly status: v.PicklistSchema<["pending", "active", "disabled"], undefined>;
48
+ readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
49
+ readonly user_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
50
+ readonly last_used_ip: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>]>], undefined>, undefined>;
51
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
52
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
53
+ }, undefined>;
54
+ /**
55
+ * client generated unique ID.
56
+ */
57
+ declare const AidrDeviceIdSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 32, undefined>]>;
58
+ /**
59
+ * List or filter/search device records.
60
+ */
61
+ declare const AidrDeviceSearchSchema: v.StrictObjectSchema<{
62
+ readonly filter: v.OptionalSchema<v.ObjectSchema<{
63
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
64
+ readonly created_at__gt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
65
+ readonly created_at__gte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
66
+ readonly created_at__lt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
67
+ readonly created_at__lte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
68
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
69
+ readonly updated_at__gt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
70
+ readonly updated_at__gte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
71
+ readonly updated_at__lt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
72
+ readonly updated_at__lte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
73
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
74
+ readonly id__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
75
+ readonly id__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
76
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
77
+ readonly name__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
78
+ readonly name__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
79
+ readonly status: v.OptionalSchema<v.PicklistSchema<["pending", "active", "disabled"], undefined>, undefined>;
80
+ readonly status__contains: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["pending", "active", "disabled"], undefined>, undefined>, undefined>;
81
+ readonly status__in: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["pending", "active", "disabled"], undefined>, undefined>, undefined>;
82
+ }, undefined>, undefined>;
83
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
84
+ readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
85
+ readonly order_by: v.OptionalSchema<v.PicklistSchema<["name", "created_at", "updated_at"], undefined>, undefined>;
86
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
87
+ }, undefined>;
88
+ declare const AidrDeviceSearchResultSchema: v.ObjectSchema<{
89
+ readonly count: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
90
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
91
+ readonly devices: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
92
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 32, undefined>]>;
93
+ readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
94
+ readonly status: v.PicklistSchema<["pending", "active", "disabled"], undefined>;
95
+ readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
96
+ readonly user_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
97
+ readonly last_used_ip: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>]>], undefined>, undefined>;
98
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
99
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
100
+ }, undefined>, undefined>, undefined>;
101
+ }, undefined>;
102
+ /**
103
+ * MetricEvent data
104
+ */
105
+ declare const AidrMetricOnlyDataSchema: v.StrictObjectSchema<{
106
+ readonly app_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
107
+ readonly actor_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
108
+ readonly llm_provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
109
+ readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
110
+ readonly model_version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
111
+ readonly request_token_count: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
112
+ readonly response_token_count: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
113
+ readonly source_ip: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>]>, undefined>;
114
+ readonly source_location: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
115
+ readonly event_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
116
+ readonly collector_instance_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
117
+ readonly extra_info: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
118
+ }, undefined>;
119
+ /**
120
+ * List or filter/search saved filter records.
121
+ */
122
+ declare const AidrSavedFilterSearchSchema: v.StrictObjectSchema<{
123
+ readonly filter: v.OptionalSchema<v.ObjectSchema<{
124
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
125
+ readonly created_at__gt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
126
+ readonly created_at__gte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
127
+ readonly created_at__lt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
128
+ readonly created_at__lte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
129
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
130
+ readonly updated_at__gt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
131
+ readonly updated_at__gte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
132
+ readonly updated_at__lt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
133
+ readonly updated_at__lte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
134
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
135
+ readonly id__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
136
+ readonly id__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
137
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
138
+ readonly name__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
139
+ readonly name__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
140
+ }, undefined>, undefined>;
141
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
142
+ readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
143
+ readonly order_by: v.OptionalSchema<v.PicklistSchema<["name", "created_at", "updated_at"], undefined>, undefined>;
144
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
145
+ }, undefined>;
146
+ declare const AidrSavedFilterSchema: v.StrictObjectSchema<{
147
+ readonly name: v.StringSchema<undefined>;
148
+ readonly filter: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
149
+ }, undefined>;
150
+ declare const AidrSavedFilterResultSchema: v.StrictObjectSchema<{
151
+ readonly name: v.StringSchema<undefined>;
152
+ readonly filter: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
153
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
154
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
155
+ }, undefined>;
156
+ declare const AidrSavedFilterSearchResultSchema: v.ObjectSchema<{
157
+ readonly count: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
158
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
159
+ readonly saved_filters: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
160
+ readonly name: v.StringSchema<undefined>;
161
+ readonly filter: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
162
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
163
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
164
+ }, undefined>, undefined>, undefined>;
165
+ }, undefined>;
166
+ /**
167
+ * List or filter/search field alias records.
168
+ */
169
+ declare const AidrFieldAliasSearchSchema: v.StrictObjectSchema<{
170
+ readonly filter: v.OptionalSchema<v.ObjectSchema<{
171
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
172
+ readonly created_at__gt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
173
+ readonly created_at__gte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
174
+ readonly created_at__lt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
175
+ readonly created_at__lte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
176
+ readonly field_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
177
+ readonly field_name__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
178
+ readonly field_name__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
179
+ readonly field_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
180
+ readonly field_type__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
181
+ readonly field_type__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
182
+ readonly field_alias: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
183
+ readonly field_alias__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
184
+ readonly field_alias__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
185
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
186
+ readonly updated_at__gt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
187
+ readonly updated_at__gte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
188
+ readonly updated_at__lt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
189
+ readonly updated_at__lte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
190
+ }, undefined>, undefined>;
191
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
192
+ readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
193
+ readonly order_by: v.OptionalSchema<v.PicklistSchema<["field_name", "field_type", "created_at", "updated_at", "published_at", "field_alias"], undefined>, undefined>;
194
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
195
+ }, undefined>;
196
+ declare const AidrCustomlistSchema: v.ObjectSchema<{
197
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
198
+ readonly type: v.OptionalSchema<v.PicklistSchema<["site"], undefined>, undefined>;
199
+ readonly content: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
200
+ }, undefined>;
201
+ declare const ChatCompletionsGuardSchema: v.StrictObjectSchema<{
202
+ readonly guard_input: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
203
+ readonly app_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
204
+ readonly user_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
205
+ readonly llm_provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
206
+ readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
207
+ readonly model_version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
208
+ readonly source_ip: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
209
+ readonly source_location: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
210
+ readonly tenant_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
211
+ readonly event_type: v.OptionalSchema<v.PicklistSchema<["input", "output", "tool_input", "tool_output", "tool_listing"], undefined>, undefined>;
212
+ readonly collector_instance_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
213
+ readonly extra_info: v.OptionalSchema<v.ObjectWithRestSchema<{
214
+ readonly app_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
215
+ readonly app_group: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
216
+ readonly app_version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
217
+ readonly actor_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
218
+ readonly actor_group: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
219
+ readonly source_region: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
220
+ readonly sub_tenant: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
221
+ readonly mcp_tools: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
222
+ readonly server_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
223
+ readonly tools: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
224
+ }, undefined>, undefined>, undefined>;
225
+ }, v.UnknownSchema, undefined>, undefined>;
226
+ }, undefined>;
227
+ declare const AidrPromptInjectionResultSchema: v.ObjectSchema<{
228
+ readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
229
+ readonly analyzer_responses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
230
+ readonly analyzer: v.StringSchema<undefined>;
231
+ readonly confidence: v.NumberSchema<undefined>;
232
+ }, undefined>, undefined>, undefined>;
233
+ }, undefined>;
234
+ declare const AidrRedactEntityResultSchema: v.ObjectSchema<{
235
+ readonly entities: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
236
+ readonly action: v.StringSchema<undefined>;
237
+ readonly type: v.StringSchema<undefined>;
238
+ readonly value: v.StringSchema<undefined>;
239
+ readonly start_pos: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
240
+ }, undefined>, undefined>, undefined>;
241
+ }, undefined>;
242
+ declare const AidrMaliciousEntityResultSchema: v.ObjectSchema<{
243
+ readonly entities: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
244
+ readonly type: v.StringSchema<undefined>;
245
+ readonly value: v.StringSchema<undefined>;
246
+ readonly start_pos: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
247
+ readonly raw: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
248
+ }, undefined>, undefined>, undefined>;
249
+ }, undefined>;
250
+ declare const AidrSingleEntityResultSchema: v.ObjectSchema<{
251
+ readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
252
+ readonly entities: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
253
+ }, undefined>;
254
+ declare const AidrLanguageResultSchema: v.ObjectSchema<{
255
+ readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
256
+ readonly language: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
257
+ }, undefined>;
258
+ declare const AidrTopicResultSchema: v.ObjectSchema<{
259
+ readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
260
+ readonly topics: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
261
+ readonly topic: v.StringSchema<undefined>;
262
+ readonly confidence: v.NumberSchema<undefined>;
263
+ }, undefined>, undefined>, undefined>;
264
+ }, undefined>;
265
+ declare const AidrCustomlistResultSchema: v.ObjectSchema<{
266
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
267
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
268
+ readonly type: v.OptionalSchema<v.PicklistSchema<["site"], undefined>, undefined>;
269
+ readonly content: v.OptionalSchema<v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>, undefined>;
270
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
271
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
272
+ }, undefined>;
273
+ /**
274
+ * List or filter/search policy records.
275
+ */
276
+ declare const AidrPolicySearchSchema: v.StrictObjectSchema<{
277
+ readonly filter: v.OptionalSchema<v.ObjectSchema<{
278
+ readonly key: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
279
+ readonly key__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
280
+ readonly name__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
281
+ readonly status: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
282
+ }, undefined>, undefined>;
283
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
284
+ readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
285
+ readonly order_by: v.OptionalSchema<v.PicklistSchema<["key", "name", "created_at", "updated_at"], undefined>, undefined>;
286
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
287
+ }, undefined>;
288
+ declare const AidrPromptItemSchema: v.ObjectSchema<{
289
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
290
+ readonly type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
291
+ readonly content: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
292
+ }, undefined>;
293
+ declare const AidrPromptItemListResultSchema: v.ObjectSchema<{
294
+ readonly policies: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
295
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
296
+ readonly type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
297
+ readonly content: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
298
+ }, undefined>, undefined>, undefined>;
299
+ }, undefined>;
300
+ declare const AidrFieldAliasSchema: v.StrictObjectSchema<{
301
+ readonly field_name: v.StringSchema<undefined>;
302
+ readonly field_type: v.StringSchema<undefined>;
303
+ readonly field_alias: v.StringSchema<undefined>;
304
+ readonly field_tags: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
305
+ }, undefined>;
306
+ declare const AidrFieldAliasResultSchema: v.StrictObjectSchema<{
307
+ readonly field_name: v.StringSchema<undefined>;
308
+ readonly field_type: v.StringSchema<undefined>;
309
+ readonly field_alias: v.StringSchema<undefined>;
310
+ readonly field_tags: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
311
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
312
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
313
+ }, undefined>;
314
+ declare const AidrFieldAliasSearchResultSchema: v.ObjectSchema<{
315
+ readonly count: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
316
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
317
+ readonly items: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
318
+ readonly field_name: v.StringSchema<undefined>;
319
+ readonly field_type: v.StringSchema<undefined>;
320
+ readonly field_alias: v.StringSchema<undefined>;
321
+ readonly field_tags: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
322
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
323
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
324
+ }, undefined>, undefined>, undefined>;
325
+ }, undefined>;
326
+ declare const AidrPolicycollectionResultSchema: v.ObjectSchema<{
327
+ readonly key: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
328
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
329
+ readonly type: v.OptionalSchema<v.PicklistSchema<["logging", "gateway", "browser", "application", "agentic"], undefined>, undefined>;
330
+ readonly settings: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
331
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
332
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
333
+ }, undefined>;
334
+ /**
335
+ * List or filter/search policy collection records.
336
+ */
337
+ declare const AidrPolicycollectionSearchSchema: v.StrictObjectSchema<{
338
+ readonly filter: v.OptionalSchema<v.ObjectSchema<{
339
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
340
+ readonly created_at__gt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
341
+ readonly created_at__gte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
342
+ readonly created_at__lt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
343
+ readonly created_at__lte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
344
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
345
+ readonly updated_at__gt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
346
+ readonly updated_at__gte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
347
+ readonly updated_at__lt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
348
+ readonly updated_at__lte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
349
+ readonly type: v.OptionalSchema<v.PicklistSchema<["logging", "gateway", "browser", "application", "agentic"], undefined>, undefined>;
350
+ readonly type__in: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["logging", "gateway", "browser", "application", "agentic"], undefined>, undefined>, undefined>;
351
+ readonly key: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
352
+ readonly key__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
353
+ readonly key__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
354
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
355
+ readonly name__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
356
+ readonly name__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
357
+ }, undefined>, undefined>;
358
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
359
+ readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
360
+ readonly order_by: v.OptionalSchema<v.PicklistSchema<["key", "name", "type", "created_at", "updated_at"], undefined>, undefined>;
361
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
362
+ }, undefined>;
363
+ declare const AidrPolicycollectionSearchResultSchema: v.ObjectSchema<{
364
+ readonly collections: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
365
+ readonly key: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
366
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
367
+ readonly type: v.OptionalSchema<v.PicklistSchema<["logging", "gateway", "browser", "application", "agentic"], undefined>, undefined>;
368
+ readonly settings: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
369
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
370
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
371
+ }, undefined>, undefined>, undefined>;
372
+ readonly count: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
373
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
374
+ }, undefined>;
375
+ /**
376
+ * List or filter/search list records.
377
+ */
378
+ declare const AidrCustomlistSearchSchema: v.StrictObjectSchema<{
379
+ readonly filter: v.OptionalSchema<v.ObjectSchema<{
380
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
381
+ readonly created_at__gt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
382
+ readonly created_at__gte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
383
+ readonly created_at__lt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
384
+ readonly created_at__lte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
385
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
386
+ readonly updated_at__gt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
387
+ readonly updated_at__gte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
388
+ readonly updated_at__lt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
389
+ readonly updated_at__lte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
390
+ readonly type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
391
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
392
+ readonly name__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
393
+ readonly name__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
394
+ }, undefined>, undefined>;
395
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
396
+ readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
397
+ readonly order_by: v.OptionalSchema<v.PicklistSchema<["id", "name", "created_at", "updated_at"], undefined>, undefined>;
398
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
399
+ }, undefined>;
400
+ declare const AidrCustomlistSearchResultSchema: v.ObjectSchema<{
401
+ readonly lists: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
402
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
403
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
404
+ readonly type: v.OptionalSchema<v.PicklistSchema<["site"], undefined>, undefined>;
405
+ readonly content: v.OptionalSchema<v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>, undefined>;
406
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
407
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
408
+ }, undefined>, undefined>, undefined>;
409
+ readonly count: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
410
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
411
+ }, undefined>;
412
+ /**
413
+ * AIDR Collector Summary list
414
+ */
415
+ declare const AidrSensorInsightsSchema: v.StrictObjectSchema<{
416
+ readonly is_instance_data: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
417
+ readonly filters: v.OptionalSchema<v.StrictObjectSchema<{
418
+ readonly collector_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
419
+ readonly collector_id__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
420
+ readonly collector_id__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
421
+ readonly instance_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
422
+ readonly instance_id__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
423
+ readonly instance_id__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
424
+ readonly collector_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
425
+ readonly collector_type_contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
426
+ readonly collector_type__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
427
+ }, undefined>, undefined>;
428
+ readonly order_by: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
429
+ readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
430
+ readonly count: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
431
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
432
+ }, undefined>;
433
+ /**
434
+ * Duration string (e.g., '100ms', '2h')
435
+ */
436
+ declare const AidrGolangDurationSchema: v.UnionSchema<[v.UnknownSchema, v.UnknownSchema], undefined>;
437
+ /**
438
+ * List or filter/config records.
439
+ */
440
+ declare const AidrServiceConfigListSchema: v.StrictObjectSchema<{
441
+ readonly filter: v.OptionalSchema<v.StrictObjectSchema<{
442
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
443
+ readonly name__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
444
+ readonly name__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
445
+ readonly collector_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
446
+ readonly collector_type__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
447
+ readonly collector_type__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
448
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
449
+ readonly id__contains: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
450
+ readonly id__in: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
451
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
452
+ readonly created_at__gt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
453
+ readonly created_at__gte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
454
+ readonly created_at__lt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
455
+ readonly created_at__lte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
456
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
457
+ readonly updated_at__gt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
458
+ readonly updated_at__gte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
459
+ readonly updated_at__lt: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
460
+ readonly updated_at__lte: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
461
+ }, undefined>, undefined>;
462
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
463
+ readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
464
+ readonly order_by: v.OptionalSchema<v.PicklistSchema<["id", "created_at", "updated_at"], undefined>, undefined>;
465
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
466
+ }, undefined>;
467
+ /**
468
+ * A service config ID
469
+ */
470
+ declare const AidrMetricpoolIdSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
471
+ declare const AidrLogSchema: v.StrictObjectSchema<{
472
+ readonly event: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
473
+ }, undefined>;
474
+ declare const AidrLogsSchema: v.StrictObjectSchema<{
475
+ readonly events: v.SchemaWithPipe<readonly [v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>, v.MinLengthAction<{
476
+ [x: string]: unknown;
477
+ }[], 1, undefined>, v.MaxLengthAction<{
478
+ [x: string]: unknown;
479
+ }[], 100, undefined>]>;
480
+ }, undefined>;
481
+ /**
482
+ * An empty object
483
+ */
484
+ declare const AidrEmptySchema: v.StrictObjectSchema<{}, undefined>;
485
+ /**
486
+ * Collector health endpoint object
487
+ */
488
+ declare const AidrSensorHealthSchema: v.StrictObjectSchema<{
489
+ readonly collector_instance_id: v.StringSchema<undefined>;
490
+ }, undefined>;
491
+ /**
492
+ * A service config ID
493
+ */
494
+ declare const ServiceConfigIdSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
495
+ /**
496
+ * AIDR Collector Summary Result Data
497
+ */
498
+ declare const AidrSensorInsightsItemSchema: v.StrictObjectSchema<{
499
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
500
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
501
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
502
+ readonly collector_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
503
+ readonly instance_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
504
+ readonly collector_type: v.StringSchema<undefined>;
505
+ }, undefined>;
506
+ /**
507
+ * AIDR Collector Summary Result Data
508
+ */
509
+ declare const AidrSensorInsightsResultSchema: v.ObjectSchema<{
510
+ readonly count: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
511
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
512
+ readonly items: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
513
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
514
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
515
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
516
+ readonly collector_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
517
+ readonly instance_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
518
+ readonly collector_type: v.StringSchema<undefined>;
519
+ }, undefined>, undefined>, undefined>;
520
+ }, undefined>;
521
+ /**
522
+ * audit data activity configuration
523
+ */
524
+ declare const AidrAuditDataActivitySchema: v.ObjectSchema<{
525
+ readonly audit_config_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
526
+ readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
527
+ }, undefined>;
528
+ /**
529
+ * A filter ID
530
+ */
531
+ declare const FilterIdSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
532
+ /**
533
+ * A Policy ID
534
+ */
535
+ declare const PolicyIdSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
536
+ /**
537
+ * A time in ISO-8601 format
538
+ */
539
+ declare const AidrTimestampSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
540
+ /**
541
+ * AIDR Service Config Settings
542
+ */
543
+ declare const AidrServiceConfigSchema: v.ObjectWithRestSchema<{
544
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
545
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
546
+ readonly version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
547
+ readonly metric_pool_rid: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
548
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
549
+ readonly collector_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
550
+ readonly settings: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
551
+ readonly warning_threshold: v.OptionalSchema<v.UnionSchema<[v.UnknownSchema, v.UnknownSchema], undefined>, undefined>;
552
+ readonly in_active_threshold: v.OptionalSchema<v.UnionSchema<[v.UnknownSchema, v.UnknownSchema], undefined>, undefined>;
553
+ }, v.UnknownSchema, undefined>;
554
+ declare const AidrServiceConfigResultSchema: v.ObjectWithRestSchema<{
555
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
556
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
557
+ readonly version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
558
+ readonly metric_pool_rid: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
559
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
560
+ readonly collector_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
561
+ readonly settings: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
562
+ readonly warning_threshold: v.OptionalSchema<v.UnionSchema<[v.UnknownSchema, v.UnknownSchema], undefined>, undefined>;
563
+ readonly in_active_threshold: v.OptionalSchema<v.UnionSchema<[v.UnknownSchema, v.UnknownSchema], undefined>, undefined>;
564
+ }, v.UnknownSchema, undefined>;
565
+ declare const AidrDeviceCheckResultSchema: v.StrictObjectSchema<{
566
+ readonly device: v.OptionalSchema<v.StrictObjectSchema<{
567
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 32, undefined>]>;
568
+ readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
569
+ readonly status: v.PicklistSchema<["pending", "active", "disabled"], undefined>;
570
+ readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
571
+ readonly user_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
572
+ readonly last_used_ip: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IpAction<string, undefined>]>], undefined>, undefined>;
573
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
574
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
575
+ }, undefined>, undefined>;
576
+ readonly config: v.OptionalSchema<v.ObjectWithRestSchema<{
577
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
578
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
579
+ readonly version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
580
+ readonly metric_pool_rid: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
581
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
582
+ readonly collector_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
583
+ readonly settings: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
584
+ readonly warning_threshold: v.OptionalSchema<v.UnionSchema<[v.UnknownSchema, v.UnknownSchema], undefined>, undefined>;
585
+ readonly in_active_threshold: v.OptionalSchema<v.UnionSchema<[v.UnknownSchema, v.UnknownSchema], undefined>, undefined>;
586
+ }, v.UnknownSchema, undefined>, undefined>;
587
+ readonly access_token: v.OptionalSchema<v.ObjectSchema<{
588
+ readonly token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
589
+ readonly expires_in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
590
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
591
+ }, undefined>, undefined>;
592
+ }, undefined>;
593
+ /**
594
+ * Define field name and path mapping to extract from the log
595
+ */
596
+ declare const AidrResourceFieldMappingSchema: v.RecordSchema<v.StringSchema<undefined>, v.StrictObjectSchema<{
597
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
598
+ readonly type: v.PicklistSchema<["string", "int", "bool"], undefined>;
599
+ readonly disabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
600
+ }, undefined>, undefined>;
601
+ /**
602
+ * AIDR metric pool settings
603
+ */
604
+ declare const AidrMetricpoolResourceSchema: v.ObjectSchema<{
605
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
606
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
607
+ readonly field_mappings: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StrictObjectSchema<{
608
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
609
+ readonly type: v.PicklistSchema<["string", "int", "bool"], undefined>;
610
+ readonly disabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
611
+ }, undefined>, undefined>, undefined>;
612
+ }, undefined>;
613
+ declare const AidrOtelInstrumentationScopeSchema: v.ObjectWithRestSchema<{
614
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
615
+ readonly version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
616
+ }, v.UnknownSchema, undefined>;
617
+ /**
618
+ * AIDR Search Request
619
+ */
620
+ declare const AidrMetricSchema: v.StrictObjectSchema<{
621
+ readonly start_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
622
+ readonly end_time: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
623
+ readonly interval: v.OptionalSchema<v.PicklistSchema<["hourly", "daily", "weekly", "monthly", "yearly"], undefined>, undefined>;
624
+ readonly filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
625
+ readonly tag_filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
626
+ readonly detector_filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
627
+ readonly group_by: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>;
628
+ readonly order_by: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
629
+ readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
630
+ readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
631
+ readonly offset: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
632
+ }, undefined>;
633
+ /**
634
+ * AIDR Aggregate Search Request
635
+ */
636
+ declare const AidrMetricAggregatesSearchParamsSchema: v.StrictObjectSchema<{
637
+ readonly start_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
638
+ readonly end_time: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
639
+ readonly interval: v.OptionalSchema<v.PicklistSchema<["hourly", "daily", "weekly", "monthly", "yearly"], undefined>, undefined>;
640
+ readonly aggregate_fields: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>;
641
+ readonly filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
642
+ readonly detector_filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
643
+ readonly tag_filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
644
+ readonly group_by: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>;
645
+ readonly order_by: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
646
+ readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
647
+ readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
648
+ readonly offset: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
649
+ }, undefined>;
650
+ declare const AidrMetricAggregateItemSchema: v.ArraySchema<v.ObjectSchema<{
651
+ readonly bucket_time: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
652
+ readonly counts: v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
653
+ }, undefined>, undefined>;
654
+ /**
655
+ * AIDR Metric Search Aggregate Result Data
656
+ */
657
+ declare const AidrMetricAggregatesResultSchema: v.ObjectSchema<{
658
+ readonly items: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.ObjectSchema<{
659
+ readonly bucket_time: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
660
+ readonly counts: v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
661
+ }, undefined>, undefined>, undefined>, undefined>;
662
+ }, undefined>;
663
+ declare const AidrMetricResultDetectorItemSchema: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, {}>;
664
+ declare const AidrMetricItemSchema: v.ArraySchema<v.ObjectSchema<{
665
+ readonly bucket_time: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
666
+ readonly tags: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
667
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
668
+ readonly detectors_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
669
+ readonly is_blocked: v.BooleanSchema<undefined>;
670
+ readonly request_token_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
671
+ readonly response_token_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
672
+ readonly detectors: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, {}>;
673
+ }, undefined>, undefined>;
674
+ /**
675
+ * AIDR Metric Search Result Data
676
+ */
677
+ declare const AidrMetricResultSchema: v.ObjectSchema<{
678
+ readonly items: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.ObjectSchema<{
679
+ readonly bucket_time: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
680
+ readonly tags: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
681
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
682
+ readonly detectors_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
683
+ readonly is_blocked: v.BooleanSchema<undefined>;
684
+ readonly request_token_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
685
+ readonly response_token_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
686
+ readonly detectors: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, {}>;
687
+ }, undefined>, undefined>, undefined>, undefined>;
688
+ }, undefined>;
689
+ /**
690
+ * A time in ISO-8601 format
691
+ */
692
+ declare const AuthnTimestampSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
693
+ /**
694
+ * A time in ISO-8601 format or null
695
+ */
696
+ declare const AirdTimestampNullableSchema: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.NullSchema<undefined>], undefined>;
697
+ /**
698
+ * Details about the evaluation of a single rule, including whether it matched, the action to take, the rule name, and optional debugging information.
699
+ */
700
+ declare const AccessRuleResultSchema: v.StrictObjectSchema<{
701
+ readonly matched: v.BooleanSchema<undefined>;
702
+ readonly action: v.StringSchema<undefined>;
703
+ readonly name: v.StringSchema<undefined>;
704
+ readonly logic: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
705
+ readonly attributes: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
706
+ }, undefined>;
707
+ /**
708
+ * Result of the recipe evaluating configured rules
709
+ */
710
+ declare const AidrAccessRulesResponseSchema: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
711
+ declare const RuleRedactionConfigSchema: v.IntersectSchema<[v.UnionSchema<[v.ObjectSchema<{
712
+ readonly redaction_type: v.OptionalSchema<v.PicklistSchema<["mask", "detect_only"], undefined>, undefined>;
713
+ }, undefined>, v.ObjectSchema<{
714
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"replacement", undefined>, undefined>;
715
+ }, undefined>, v.ObjectSchema<{
716
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"partial_masking", undefined>, undefined>;
717
+ }, undefined>, v.ObjectSchema<{
718
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"hash", undefined>, undefined>;
719
+ }, undefined>, v.ObjectSchema<{
720
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"fpe", undefined>, undefined>;
721
+ }, undefined>], undefined>, v.StrictObjectSchema<{
722
+ readonly redaction_type: v.PicklistSchema<["mask", "partial_masking", "replacement", "hash", "detect_only", "fpe"], undefined>;
723
+ readonly redaction_value: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
724
+ readonly partial_masking: v.OptionalSchema<v.ObjectSchema<{
725
+ readonly masking_type: v.OptionalSchema<v.PicklistSchema<["unmask", "mask"], undefined>, undefined>;
726
+ readonly unmasked_from_left: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
727
+ readonly unmasked_from_right: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
728
+ readonly masked_from_left: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
729
+ readonly masked_from_right: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
730
+ readonly chars_to_ignore: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 1, undefined>]>, undefined>, undefined>;
731
+ readonly masking_char: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 1, undefined>]>, "*">;
732
+ }, undefined>, undefined>;
733
+ readonly hash: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
734
+ readonly hash_type: v.PicklistSchema<["md5", "sha256"], undefined>;
735
+ }, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
736
+ readonly fpe_alphabet: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"numeric", undefined>, v.LiteralSchema<"alphalower", undefined>, v.LiteralSchema<"alphaupper", undefined>, v.LiteralSchema<"alpha", undefined>, v.LiteralSchema<"alphanumericlower", undefined>, v.LiteralSchema<"alphanumericupper", undefined>, v.LiteralSchema<"alphanumeric", undefined>, v.NullSchema<undefined>], undefined>, undefined>;
737
+ }, undefined>], undefined>;
738
+ /**
739
+ * Configuration for individual detectors used in an AI Guard recipe. Each entry specifies the detector to use, its enabled state, detector-specific settings, and the [action](https://pangea.cloud/docs/ai-guard/recipes#actions) to apply when detections occur.
740
+ */
741
+ declare const DetectorSettingsSchema: v.ArraySchema<v.StrictObjectSchema<{
742
+ readonly detector_name: v.StringSchema<undefined>;
743
+ readonly state: v.PicklistSchema<["disabled", "enabled"], undefined>;
744
+ readonly settings: v.ObjectSchema<{
745
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
746
+ readonly redact_rule_id: v.StringSchema<undefined>;
747
+ readonly redaction: v.IntersectSchema<[v.UnionSchema<[v.ObjectSchema<{
748
+ readonly redaction_type: v.OptionalSchema<v.PicklistSchema<["mask", "detect_only"], undefined>, undefined>;
749
+ }, undefined>, v.ObjectSchema<{
750
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"replacement", undefined>, undefined>;
751
+ }, undefined>, v.ObjectSchema<{
752
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"partial_masking", undefined>, undefined>;
753
+ }, undefined>, v.ObjectSchema<{
754
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"hash", undefined>, undefined>;
755
+ }, undefined>, v.ObjectSchema<{
756
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"fpe", undefined>, undefined>;
757
+ }, undefined>], undefined>, v.StrictObjectSchema<{
758
+ readonly redaction_type: v.PicklistSchema<["mask", "partial_masking", "replacement", "hash", "detect_only", "fpe"], undefined>;
759
+ readonly redaction_value: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
760
+ readonly partial_masking: v.OptionalSchema<v.ObjectSchema<{
761
+ readonly masking_type: v.OptionalSchema<v.PicklistSchema<["unmask", "mask"], undefined>, undefined>;
762
+ readonly unmasked_from_left: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
763
+ readonly unmasked_from_right: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
764
+ readonly masked_from_left: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
765
+ readonly masked_from_right: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
766
+ readonly chars_to_ignore: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 1, undefined>]>, undefined>, undefined>;
767
+ readonly masking_char: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 1, undefined>]>, "*">;
768
+ }, undefined>, undefined>;
769
+ readonly hash: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
770
+ readonly hash_type: v.PicklistSchema<["md5", "sha256"], undefined>;
771
+ }, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
772
+ readonly fpe_alphabet: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"numeric", undefined>, v.LiteralSchema<"alphalower", undefined>, v.LiteralSchema<"alphaupper", undefined>, v.LiteralSchema<"alpha", undefined>, v.LiteralSchema<"alphanumericlower", undefined>, v.LiteralSchema<"alphanumericupper", undefined>, v.LiteralSchema<"alphanumeric", undefined>, v.NullSchema<undefined>], undefined>, undefined>;
773
+ }, undefined>], undefined>;
774
+ readonly block: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
775
+ readonly disabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
776
+ readonly reputation_check: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
777
+ readonly transform_if_malicious: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
778
+ }, undefined>, undefined>, undefined>;
779
+ }, undefined>;
780
+ }, undefined>, undefined>;
781
+ /**
782
+ * Configuration for an individual access rule used in an AI Guard recipe. Each rule defines its matching logic and the action to apply when the logic evaluates to true.
783
+ */
784
+ declare const AccessRuleSettingsSchema: v.StrictObjectSchema<{
785
+ readonly rule_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
786
+ readonly name: v.StringSchema<undefined>;
787
+ readonly state: v.PicklistSchema<["block", "report"], undefined>;
788
+ readonly logic: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
789
+ }, undefined>;
790
+ declare const AidrPolicySchema: v.StrictObjectSchema<{
791
+ readonly key: v.StringSchema<undefined>;
792
+ readonly name: v.StringSchema<undefined>;
793
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
794
+ readonly schema_version: v.PicklistSchema<["v1.1"], undefined>;
795
+ readonly detector_settings: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
796
+ readonly detector_name: v.StringSchema<undefined>;
797
+ readonly state: v.PicklistSchema<["disabled", "enabled"], undefined>;
798
+ readonly settings: v.ObjectSchema<{
799
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
800
+ readonly redact_rule_id: v.StringSchema<undefined>;
801
+ readonly redaction: v.IntersectSchema<[v.UnionSchema<[v.ObjectSchema<{
802
+ readonly redaction_type: v.OptionalSchema<v.PicklistSchema<["mask", "detect_only"], undefined>, undefined>;
803
+ }, undefined>, v.ObjectSchema<{
804
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"replacement", undefined>, undefined>;
805
+ }, undefined>, v.ObjectSchema<{
806
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"partial_masking", undefined>, undefined>;
807
+ }, undefined>, v.ObjectSchema<{
808
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"hash", undefined>, undefined>;
809
+ }, undefined>, v.ObjectSchema<{
810
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"fpe", undefined>, undefined>;
811
+ }, undefined>], undefined>, v.StrictObjectSchema<{
812
+ readonly redaction_type: v.PicklistSchema<["mask", "partial_masking", "replacement", "hash", "detect_only", "fpe"], undefined>;
813
+ readonly redaction_value: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
814
+ readonly partial_masking: v.OptionalSchema<v.ObjectSchema<{
815
+ readonly masking_type: v.OptionalSchema<v.PicklistSchema<["unmask", "mask"], undefined>, undefined>;
816
+ readonly unmasked_from_left: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
817
+ readonly unmasked_from_right: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
818
+ readonly masked_from_left: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
819
+ readonly masked_from_right: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
820
+ readonly chars_to_ignore: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 1, undefined>]>, undefined>, undefined>;
821
+ readonly masking_char: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 1, undefined>]>, "*">;
822
+ }, undefined>, undefined>;
823
+ readonly hash: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
824
+ readonly hash_type: v.PicklistSchema<["md5", "sha256"], undefined>;
825
+ }, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
826
+ readonly fpe_alphabet: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"numeric", undefined>, v.LiteralSchema<"alphalower", undefined>, v.LiteralSchema<"alphaupper", undefined>, v.LiteralSchema<"alpha", undefined>, v.LiteralSchema<"alphanumericlower", undefined>, v.LiteralSchema<"alphanumericupper", undefined>, v.LiteralSchema<"alphanumeric", undefined>, v.NullSchema<undefined>], undefined>, undefined>;
827
+ }, undefined>], undefined>;
828
+ readonly block: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
829
+ readonly disabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
830
+ readonly reputation_check: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
831
+ readonly transform_if_malicious: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
832
+ }, undefined>, undefined>, undefined>;
833
+ }, undefined>;
834
+ }, undefined>, undefined>, undefined>;
835
+ readonly access_rules: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
836
+ readonly rule_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
837
+ readonly name: v.StringSchema<undefined>;
838
+ readonly state: v.PicklistSchema<["block", "report"], undefined>;
839
+ readonly logic: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
840
+ }, undefined>, undefined>, undefined>;
841
+ readonly connector_settings: v.OptionalSchema<v.ObjectSchema<{
842
+ readonly redact: v.OptionalSchema<v.ObjectSchema<{
843
+ readonly fpe_tweak_vault_secret_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
844
+ }, undefined>, undefined>;
845
+ }, undefined>, undefined>;
846
+ }, undefined>;
847
+ declare const AidrPolicyResultSchema: v.StrictObjectSchema<{
848
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
849
+ readonly key: v.StringSchema<undefined>;
850
+ readonly name: v.StringSchema<undefined>;
851
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
852
+ readonly schema_version: v.PicklistSchema<["v1.1"], undefined>;
853
+ readonly revision: v.NumberSchema<undefined>;
854
+ readonly detector_settings: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
855
+ readonly detector_name: v.StringSchema<undefined>;
856
+ readonly state: v.PicklistSchema<["disabled", "enabled"], undefined>;
857
+ readonly settings: v.ObjectSchema<{
858
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
859
+ readonly redact_rule_id: v.StringSchema<undefined>;
860
+ readonly redaction: v.IntersectSchema<[v.UnionSchema<[v.ObjectSchema<{
861
+ readonly redaction_type: v.OptionalSchema<v.PicklistSchema<["mask", "detect_only"], undefined>, undefined>;
862
+ }, undefined>, v.ObjectSchema<{
863
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"replacement", undefined>, undefined>;
864
+ }, undefined>, v.ObjectSchema<{
865
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"partial_masking", undefined>, undefined>;
866
+ }, undefined>, v.ObjectSchema<{
867
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"hash", undefined>, undefined>;
868
+ }, undefined>, v.ObjectSchema<{
869
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"fpe", undefined>, undefined>;
870
+ }, undefined>], undefined>, v.StrictObjectSchema<{
871
+ readonly redaction_type: v.PicklistSchema<["mask", "partial_masking", "replacement", "hash", "detect_only", "fpe"], undefined>;
872
+ readonly redaction_value: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
873
+ readonly partial_masking: v.OptionalSchema<v.ObjectSchema<{
874
+ readonly masking_type: v.OptionalSchema<v.PicklistSchema<["unmask", "mask"], undefined>, undefined>;
875
+ readonly unmasked_from_left: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
876
+ readonly unmasked_from_right: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
877
+ readonly masked_from_left: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
878
+ readonly masked_from_right: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
879
+ readonly chars_to_ignore: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 1, undefined>]>, undefined>, undefined>;
880
+ readonly masking_char: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 1, undefined>]>, "*">;
881
+ }, undefined>, undefined>;
882
+ readonly hash: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
883
+ readonly hash_type: v.PicklistSchema<["md5", "sha256"], undefined>;
884
+ }, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
885
+ readonly fpe_alphabet: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"numeric", undefined>, v.LiteralSchema<"alphalower", undefined>, v.LiteralSchema<"alphaupper", undefined>, v.LiteralSchema<"alpha", undefined>, v.LiteralSchema<"alphanumericlower", undefined>, v.LiteralSchema<"alphanumericupper", undefined>, v.LiteralSchema<"alphanumeric", undefined>, v.NullSchema<undefined>], undefined>, undefined>;
886
+ }, undefined>], undefined>;
887
+ readonly block: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
888
+ readonly disabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
889
+ readonly reputation_check: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
890
+ readonly transform_if_malicious: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
891
+ }, undefined>, undefined>, undefined>;
892
+ }, undefined>;
893
+ }, undefined>, undefined>, undefined>;
894
+ readonly access_rules: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
895
+ readonly rule_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
896
+ readonly name: v.StringSchema<undefined>;
897
+ readonly state: v.PicklistSchema<["block", "report"], undefined>;
898
+ readonly logic: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
899
+ }, undefined>, undefined>, undefined>;
900
+ readonly connector_settings: v.OptionalSchema<v.ObjectSchema<{
901
+ readonly redact: v.OptionalSchema<v.ObjectSchema<{
902
+ readonly fpe_tweak_vault_secret_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
903
+ }, undefined>, undefined>;
904
+ }, undefined>, undefined>;
905
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
906
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
907
+ }, undefined>;
908
+ declare const AidrPolicySearchResultSchema: v.ObjectSchema<{
909
+ readonly count: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
910
+ readonly last: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
911
+ readonly policies: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
912
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
913
+ readonly key: v.StringSchema<undefined>;
914
+ readonly name: v.StringSchema<undefined>;
915
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
916
+ readonly schema_version: v.PicklistSchema<["v1.1"], undefined>;
917
+ readonly revision: v.NumberSchema<undefined>;
918
+ readonly detector_settings: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
919
+ readonly detector_name: v.StringSchema<undefined>;
920
+ readonly state: v.PicklistSchema<["disabled", "enabled"], undefined>;
921
+ readonly settings: v.ObjectSchema<{
922
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
923
+ readonly redact_rule_id: v.StringSchema<undefined>;
924
+ readonly redaction: v.IntersectSchema<[v.UnionSchema<[v.ObjectSchema<{
925
+ readonly redaction_type: v.OptionalSchema<v.PicklistSchema<["mask", "detect_only"], undefined>, undefined>;
926
+ }, undefined>, v.ObjectSchema<{
927
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"replacement", undefined>, undefined>;
928
+ }, undefined>, v.ObjectSchema<{
929
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"partial_masking", undefined>, undefined>;
930
+ }, undefined>, v.ObjectSchema<{
931
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"hash", undefined>, undefined>;
932
+ }, undefined>, v.ObjectSchema<{
933
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"fpe", undefined>, undefined>;
934
+ }, undefined>], undefined>, v.StrictObjectSchema<{
935
+ readonly redaction_type: v.PicklistSchema<["mask", "partial_masking", "replacement", "hash", "detect_only", "fpe"], undefined>;
936
+ readonly redaction_value: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
937
+ readonly partial_masking: v.OptionalSchema<v.ObjectSchema<{
938
+ readonly masking_type: v.OptionalSchema<v.PicklistSchema<["unmask", "mask"], undefined>, undefined>;
939
+ readonly unmasked_from_left: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
940
+ readonly unmasked_from_right: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
941
+ readonly masked_from_left: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
942
+ readonly masked_from_right: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
943
+ readonly chars_to_ignore: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 1, undefined>]>, undefined>, undefined>;
944
+ readonly masking_char: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 1, undefined>]>, "*">;
945
+ }, undefined>, undefined>;
946
+ readonly hash: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
947
+ readonly hash_type: v.PicklistSchema<["md5", "sha256"], undefined>;
948
+ }, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
949
+ readonly fpe_alphabet: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"numeric", undefined>, v.LiteralSchema<"alphalower", undefined>, v.LiteralSchema<"alphaupper", undefined>, v.LiteralSchema<"alpha", undefined>, v.LiteralSchema<"alphanumericlower", undefined>, v.LiteralSchema<"alphanumericupper", undefined>, v.LiteralSchema<"alphanumeric", undefined>, v.NullSchema<undefined>], undefined>, undefined>;
950
+ }, undefined>], undefined>;
951
+ readonly block: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
952
+ readonly disabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
953
+ readonly reputation_check: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
954
+ readonly transform_if_malicious: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
955
+ }, undefined>, undefined>, undefined>;
956
+ }, undefined>;
957
+ }, undefined>, undefined>, undefined>;
958
+ readonly access_rules: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
959
+ readonly rule_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
960
+ readonly name: v.StringSchema<undefined>;
961
+ readonly state: v.PicklistSchema<["block", "report"], undefined>;
962
+ readonly logic: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
963
+ }, undefined>, undefined>, undefined>;
964
+ readonly connector_settings: v.OptionalSchema<v.ObjectSchema<{
965
+ readonly redact: v.OptionalSchema<v.ObjectSchema<{
966
+ readonly fpe_tweak_vault_secret_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
967
+ }, undefined>, undefined>;
968
+ }, undefined>, undefined>;
969
+ readonly created_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
970
+ readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
971
+ }, undefined>, undefined>, undefined>;
972
+ }, undefined>;
973
+ /**
974
+ * Defines an AI Guard recipe - a named configuration of detectors and redaction settings used to analyze and protect data flows in AI-powered applications.
975
+ *
976
+ * Recipes specify which detectors are active, how they behave, and may include reusable settings such as FPE tweaks.
977
+ *
978
+ * For details, see the [AI Guard Recipes](https://pangea.cloud/docs/ai-guard/recipes) documentation.
979
+ */
980
+ declare const RecipeConfigSchema: v.StrictObjectSchema<{
981
+ readonly name: v.StringSchema<undefined>;
982
+ readonly description: v.StringSchema<undefined>;
983
+ readonly version: v.OptionalSchema<v.StringSchema<undefined>, "v1">;
984
+ readonly detectors: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
985
+ readonly detector_name: v.StringSchema<undefined>;
986
+ readonly state: v.PicklistSchema<["disabled", "enabled"], undefined>;
987
+ readonly settings: v.ObjectSchema<{
988
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
989
+ readonly redact_rule_id: v.StringSchema<undefined>;
990
+ readonly redaction: v.IntersectSchema<[v.UnionSchema<[v.ObjectSchema<{
991
+ readonly redaction_type: v.OptionalSchema<v.PicklistSchema<["mask", "detect_only"], undefined>, undefined>;
992
+ }, undefined>, v.ObjectSchema<{
993
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"replacement", undefined>, undefined>;
994
+ }, undefined>, v.ObjectSchema<{
995
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"partial_masking", undefined>, undefined>;
996
+ }, undefined>, v.ObjectSchema<{
997
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"hash", undefined>, undefined>;
998
+ }, undefined>, v.ObjectSchema<{
999
+ readonly redaction_type: v.OptionalSchema<v.LiteralSchema<"fpe", undefined>, undefined>;
1000
+ }, undefined>], undefined>, v.StrictObjectSchema<{
1001
+ readonly redaction_type: v.PicklistSchema<["mask", "partial_masking", "replacement", "hash", "detect_only", "fpe"], undefined>;
1002
+ readonly redaction_value: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1003
+ readonly partial_masking: v.OptionalSchema<v.ObjectSchema<{
1004
+ readonly masking_type: v.OptionalSchema<v.PicklistSchema<["unmask", "mask"], undefined>, undefined>;
1005
+ readonly unmasked_from_left: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1006
+ readonly unmasked_from_right: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1007
+ readonly masked_from_left: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1008
+ readonly masked_from_right: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1009
+ readonly chars_to_ignore: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 1, undefined>]>, undefined>, undefined>;
1010
+ readonly masking_char: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 1, undefined>]>, "*">;
1011
+ }, undefined>, undefined>;
1012
+ readonly hash: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
1013
+ readonly hash_type: v.PicklistSchema<["md5", "sha256"], undefined>;
1014
+ }, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
1015
+ readonly fpe_alphabet: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"numeric", undefined>, v.LiteralSchema<"alphalower", undefined>, v.LiteralSchema<"alphaupper", undefined>, v.LiteralSchema<"alpha", undefined>, v.LiteralSchema<"alphanumericlower", undefined>, v.LiteralSchema<"alphanumericupper", undefined>, v.LiteralSchema<"alphanumeric", undefined>, v.NullSchema<undefined>], undefined>, undefined>;
1016
+ }, undefined>], undefined>;
1017
+ readonly block: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1018
+ readonly disabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1019
+ readonly reputation_check: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1020
+ readonly transform_if_malicious: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1021
+ }, undefined>, undefined>, undefined>;
1022
+ }, undefined>;
1023
+ }, undefined>, undefined>, undefined>;
1024
+ readonly access_rules: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
1025
+ readonly rule_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
1026
+ readonly name: v.StringSchema<undefined>;
1027
+ readonly state: v.PicklistSchema<["block", "report"], undefined>;
1028
+ readonly logic: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
1029
+ }, undefined>, undefined>, undefined>;
1030
+ readonly connector_settings: v.OptionalSchema<v.ObjectSchema<{
1031
+ readonly redact: v.OptionalSchema<v.ObjectSchema<{
1032
+ readonly fpe_tweak_vault_secret_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1033
+ }, undefined>, undefined>;
1034
+ }, undefined>, undefined>;
1035
+ }, undefined>;
1036
+ declare const AidrPolicyDefaultsSchema: v.ObjectSchema<{
1037
+ readonly default_policies: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
1038
+ }, undefined>;
1039
+ declare const LanguageResultSchema: v.ObjectSchema<{
1040
+ readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1041
+ readonly language: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1042
+ }, undefined>;
1043
+ declare const RedactEntityResultSchema: v.ObjectSchema<{
1044
+ readonly entities: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1045
+ readonly action: v.StringSchema<undefined>;
1046
+ readonly type: v.StringSchema<undefined>;
1047
+ readonly value: v.StringSchema<undefined>;
1048
+ readonly redacted: v.BooleanSchema<undefined>;
1049
+ readonly start_pos: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1050
+ }, undefined>, undefined>, undefined>;
1051
+ }, undefined>;
1052
+ declare const MaliciousEntityActionSchema: v.PicklistSchema<["report", "defang", "disabled", "block"], undefined>;
1053
+ declare const PiiEntityActionSchema: v.PicklistSchema<["disabled", "report", "block", "mask", "partial_masking", "replacement", "hash", "fpe"], undefined>;
1054
+ declare const AidrOtelResourceLogsSchema: v.GenericSchema;
1055
+ declare const AidrOtelResourceSchema: v.GenericSchema;
1056
+ declare const AidrOtelScopeLogsSchema: v.GenericSchema;
1057
+ declare const AidrOtelLogRecordSchema: v.GenericSchema;
1058
+ declare const AidrOtelKeyValueSchema: v.GenericSchema;
1059
+ declare const AidrOtelAnyValueSchema: v.GenericSchema;
1060
+ declare const AidrOtelArrayValueSchema: v.ObjectWithRestSchema<{
1061
+ readonly values: v.ArraySchema<v.GenericSchema, undefined>;
1062
+ }, v.UnknownSchema, undefined>;
1063
+ declare const AidrOtelKeyValueListSchema: v.ObjectWithRestSchema<{
1064
+ readonly values: v.ArraySchema<v.GenericSchema, undefined>;
1065
+ }, v.UnknownSchema, undefined>;
1066
+ declare const AidrPostV1GuardChatCompletionsRequestSchema: v.ObjectSchema<{
1067
+ readonly body: v.OptionalSchema<v.StrictObjectSchema<{
1068
+ readonly guard_input: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
1069
+ readonly app_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1070
+ readonly user_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1071
+ readonly llm_provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1072
+ readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1073
+ readonly model_version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1074
+ readonly source_ip: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1075
+ readonly source_location: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1076
+ readonly tenant_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1077
+ readonly event_type: v.OptionalSchema<v.PicklistSchema<["input", "output", "tool_input", "tool_output", "tool_listing"], undefined>, undefined>;
1078
+ readonly collector_instance_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1079
+ readonly extra_info: v.OptionalSchema<v.ObjectWithRestSchema<{
1080
+ readonly app_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1081
+ readonly app_group: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1082
+ readonly app_version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1083
+ readonly actor_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1084
+ readonly actor_group: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1085
+ readonly source_region: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1086
+ readonly sub_tenant: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1087
+ readonly mcp_tools: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
1088
+ readonly server_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1089
+ readonly tools: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
1090
+ }, undefined>, undefined>, undefined>;
1091
+ }, v.UnknownSchema, undefined>, undefined>;
1092
+ }, undefined>, undefined>;
1093
+ readonly path: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1094
+ readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1095
+ }, undefined>;
1096
+ /**
1097
+ * No description provided
1098
+ */
1099
+ declare const AidrPostV1GuardChatCompletionsResponseSchema: v.IntersectSchema<[v.ObjectSchema<{
1100
+ readonly request_id: v.StringSchema<undefined>;
1101
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1102
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1103
+ readonly status: v.StringSchema<undefined>;
1104
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1105
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1106
+ }, undefined>, v.ObjectSchema<{
1107
+ readonly result: v.OptionalSchema<v.ObjectSchema<{
1108
+ readonly guard_output: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1109
+ readonly blocked: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1110
+ readonly transformed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1111
+ readonly policy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1112
+ readonly detectors: v.ObjectSchema<{
1113
+ readonly malicious_prompt: v.OptionalSchema<v.ObjectSchema<{
1114
+ readonly detected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1115
+ readonly data: v.OptionalSchema<v.ObjectSchema<{
1116
+ readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1117
+ readonly analyzer_responses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1118
+ readonly analyzer: v.StringSchema<undefined>;
1119
+ readonly confidence: v.NumberSchema<undefined>;
1120
+ }, undefined>, undefined>, undefined>;
1121
+ }, undefined>, undefined>;
1122
+ }, undefined>, undefined>;
1123
+ readonly confidential_and_pii_entity: v.OptionalSchema<v.ObjectSchema<{
1124
+ readonly detected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1125
+ readonly data: v.OptionalSchema<v.ObjectSchema<{
1126
+ readonly entities: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1127
+ readonly action: v.StringSchema<undefined>;
1128
+ readonly type: v.StringSchema<undefined>;
1129
+ readonly value: v.StringSchema<undefined>;
1130
+ readonly start_pos: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1131
+ }, undefined>, undefined>, undefined>;
1132
+ }, undefined>, undefined>;
1133
+ }, undefined>, undefined>;
1134
+ readonly malicious_entity: v.OptionalSchema<v.ObjectSchema<{
1135
+ readonly detected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1136
+ readonly data: v.OptionalSchema<v.ObjectSchema<{
1137
+ readonly entities: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1138
+ readonly type: v.StringSchema<undefined>;
1139
+ readonly value: v.StringSchema<undefined>;
1140
+ readonly start_pos: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1141
+ readonly raw: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1142
+ }, undefined>, undefined>, undefined>;
1143
+ }, undefined>, undefined>;
1144
+ }, undefined>, undefined>;
1145
+ readonly custom_entity: v.OptionalSchema<v.ObjectSchema<{
1146
+ readonly detected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1147
+ readonly data: v.OptionalSchema<v.ObjectSchema<{
1148
+ readonly entities: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1149
+ readonly action: v.StringSchema<undefined>;
1150
+ readonly type: v.StringSchema<undefined>;
1151
+ readonly value: v.StringSchema<undefined>;
1152
+ readonly start_pos: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1153
+ }, undefined>, undefined>, undefined>;
1154
+ }, undefined>, undefined>;
1155
+ }, undefined>, undefined>;
1156
+ readonly secret_and_key_entity: v.OptionalSchema<v.ObjectSchema<{
1157
+ readonly detected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1158
+ readonly data: v.OptionalSchema<v.ObjectSchema<{
1159
+ readonly entities: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1160
+ readonly action: v.StringSchema<undefined>;
1161
+ readonly type: v.StringSchema<undefined>;
1162
+ readonly value: v.StringSchema<undefined>;
1163
+ readonly start_pos: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1164
+ }, undefined>, undefined>, undefined>;
1165
+ }, undefined>, undefined>;
1166
+ }, undefined>, undefined>;
1167
+ readonly competitors: v.OptionalSchema<v.ObjectSchema<{
1168
+ readonly detected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1169
+ readonly data: v.OptionalSchema<v.ObjectSchema<{
1170
+ readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1171
+ readonly entities: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1172
+ }, undefined>, undefined>;
1173
+ }, undefined>, undefined>;
1174
+ readonly language: v.OptionalSchema<v.ObjectSchema<{
1175
+ readonly detected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1176
+ readonly data: v.OptionalSchema<v.ObjectSchema<{
1177
+ readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1178
+ readonly language: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1179
+ }, undefined>, undefined>;
1180
+ }, undefined>, undefined>;
1181
+ readonly topic: v.OptionalSchema<v.ObjectSchema<{
1182
+ readonly detected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1183
+ readonly data: v.OptionalSchema<v.ObjectSchema<{
1184
+ readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1185
+ readonly topics: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1186
+ readonly topic: v.StringSchema<undefined>;
1187
+ readonly confidence: v.NumberSchema<undefined>;
1188
+ }, undefined>, undefined>, undefined>;
1189
+ }, undefined>, undefined>;
1190
+ }, undefined>, undefined>;
1191
+ readonly code: v.OptionalSchema<v.ObjectSchema<{
1192
+ readonly detected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1193
+ readonly data: v.OptionalSchema<v.ObjectSchema<{
1194
+ readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1195
+ readonly language: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1196
+ }, undefined>, undefined>;
1197
+ }, undefined>, undefined>;
1198
+ }, undefined>;
1199
+ readonly access_rules: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1200
+ readonly fpe_context: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1201
+ }, undefined>, undefined>;
1202
+ }, undefined>], undefined>;
1203
+ declare const GetAsyncRequestRequestSchema: v.ObjectSchema<{
1204
+ readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1205
+ readonly path: v.ObjectSchema<{
1206
+ readonly requestId: v.StringSchema<undefined>;
1207
+ }, undefined>;
1208
+ readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1209
+ }, undefined>;
1210
+ declare const GetAsyncRequestResponseSchema: v.UnionSchema<[v.ObjectSchema<{
1211
+ readonly request_id: v.StringSchema<undefined>;
1212
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1213
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1214
+ readonly status: v.StringSchema<undefined>;
1215
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1216
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1217
+ }, undefined>, v.IntersectSchema<[v.ObjectSchema<{
1218
+ readonly request_id: v.StringSchema<undefined>;
1219
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1220
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1221
+ readonly status: v.StringSchema<undefined>;
1222
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1223
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1224
+ }, undefined>, v.ObjectSchema<{
1225
+ readonly result: v.OptionalSchema<v.ObjectSchema<{
1226
+ readonly ttl_mins: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
1227
+ readonly retry_counter: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
1228
+ readonly location: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1229
+ }, undefined>, undefined>;
1230
+ }, undefined>], undefined>], undefined>;
1231
+ //#endregion
1232
+ export { AccessRuleResultSchema, AccessRuleSettingsSchema, AidrAccessRulesResponseSchema, AidrAuditDataActivitySchema, AidrCustomlistResultSchema, AidrCustomlistSchema, AidrCustomlistSearchResultSchema, AidrCustomlistSearchSchema, AidrDeviceCheckResultSchema, AidrDeviceIdSchema, AidrDeviceResultSchema, AidrDeviceSchema, AidrDeviceSearchResultSchema, AidrDeviceSearchSchema, AidrDeviceStatusSchema, AidrDeviceTokenInfoSchema, AidrEmptySchema, AidrFieldAliasResultSchema, AidrFieldAliasSchema, AidrFieldAliasSearchResultSchema, AidrFieldAliasSearchSchema, AidrGolangDurationSchema, AidrIpv4OrV6Schema, AidrLanguageResultSchema, AidrLogSchema, AidrLogsSchema, AidrMaliciousEntityResultSchema, AidrMetricAggregateItemSchema, AidrMetricAggregatesResultSchema, AidrMetricAggregatesSearchParamsSchema, AidrMetricItemSchema, AidrMetricOnlyDataSchema, AidrMetricResultDetectorItemSchema, AidrMetricResultSchema, AidrMetricSchema, AidrMetricpoolIdSchema, AidrMetricpoolResourceSchema, AidrOtelAnyValueSchema, AidrOtelArrayValueSchema, AidrOtelInstrumentationScopeSchema, AidrOtelKeyValueListSchema, AidrOtelKeyValueSchema, AidrOtelLogRecordSchema, AidrOtelResourceLogsSchema, AidrOtelResourceSchema, AidrOtelScopeLogsSchema, AidrPolicyDefaultsSchema, AidrPolicyResultSchema, AidrPolicySchema, AidrPolicySearchResultSchema, AidrPolicySearchSchema, AidrPolicycollectionResultSchema, AidrPolicycollectionSearchResultSchema, AidrPolicycollectionSearchSchema, AidrPostV1GuardChatCompletionsRequestSchema, AidrPostV1GuardChatCompletionsResponseSchema, AidrPromptInjectionResultSchema, AidrPromptItemListResultSchema, AidrPromptItemSchema, AidrRedactEntityResultSchema, AidrResourceFieldMappingSchema, AidrSavedFilterResultSchema, AidrSavedFilterSchema, AidrSavedFilterSearchResultSchema, AidrSavedFilterSearchSchema, AidrSensorHealthSchema, AidrSensorInsightsItemSchema, AidrSensorInsightsResultSchema, AidrSensorInsightsSchema, AidrServiceConfigListSchema, AidrServiceConfigResultSchema, AidrServiceConfigSchema, AidrSingleEntityResultSchema, AidrTimestampSchema, AidrTopicResultSchema, AirdTimestampNullableSchema, AuthnTimestampSchema, ChatCompletionsGuardSchema, DetectorSettingsSchema, FilterIdSchema, GetAsyncRequestRequestSchema, GetAsyncRequestResponseSchema, LanguageResultSchema, MaliciousEntityActionSchema, PangeaResponseSchema, PangeaValidationErrorsSchema, PiiEntityActionSchema, PolicyIdSchema, RecipeConfigSchema, RedactEntityResultSchema, RuleRedactionConfigSchema, ServiceConfigIdSchema };