@stackone/olap 3.5.0 → 3.6.1
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.
- package/dist/index.cjs +19 -19
- package/dist/index.d.cts +40 -108
- package/dist/index.d.mts +40 -107
- package/dist/index.mjs +19 -19
- package/package.json +9 -8
- /package/dist/{chunk-BhWHdk3m.mjs → rolldown-runtime-BhWHdk3m.mjs} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import { t as __name } from "./
|
|
1
|
+
import { t as __name } from "./rolldown-runtime-BhWHdk3m.mjs";
|
|
2
2
|
import { HeaderValue } from "@stackone/utils";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { Storage } from "@stackone/storage";
|
|
5
5
|
import { ILogger } from "@stackone/logger";
|
|
6
6
|
import { Producer } from "@platformatic/kafka";
|
|
7
|
-
|
|
8
|
-
//#region src/advanced/callerHeaders.d.ts
|
|
9
|
-
declare const callerHeadersOf: (headers: Record<string, HeaderValue> | undefined) => Record<string, string> | undefined;
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region src/advanced/truncation.d.ts
|
|
7
|
+
export declare const callerHeadersOf: (headers: Record<string, HeaderValue> | undefined) => Record<string, string> | undefined;
|
|
12
8
|
type TruncationMode = 'drop' | 'truncate' | 'complete';
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region src/olap/olapOptions.d.ts
|
|
15
9
|
type OlapOptions = {
|
|
16
10
|
logs?: LogsOptions;
|
|
17
11
|
advanced?: AdvancedOptions;
|
|
@@ -42,8 +36,6 @@ type DatasetsOptions = {
|
|
|
42
36
|
otelDataset?: string;
|
|
43
37
|
includeBackground?: boolean;
|
|
44
38
|
};
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region src/advanced/types.d.ts
|
|
47
39
|
type AdvancedSinkConfig = {
|
|
48
40
|
bucket?: string;
|
|
49
41
|
maxItemSizeBytes?: number;
|
|
@@ -91,8 +83,6 @@ type PlatformAdvancedLog = {
|
|
|
91
83
|
};
|
|
92
84
|
metadata?: AdvancedLogMetadata;
|
|
93
85
|
};
|
|
94
|
-
//#endregion
|
|
95
|
-
//#region src/defender/types.d.ts
|
|
96
86
|
type DefenderSinkConfig = {
|
|
97
87
|
bucket?: string;
|
|
98
88
|
ttlDays?: number;
|
|
@@ -105,8 +95,6 @@ type DefenderLog = {
|
|
|
105
95
|
};
|
|
106
96
|
[key: string]: unknown;
|
|
107
97
|
};
|
|
108
|
-
//#endregion
|
|
109
|
-
//#region src/policy/types.d.ts
|
|
110
98
|
type PolicySinkConfig = {
|
|
111
99
|
bucket?: string;
|
|
112
100
|
ttlDays?: number;
|
|
@@ -124,9 +112,7 @@ interface IPolicySink {
|
|
|
124
112
|
getAction(organizationId: string, projectSecureId: string, accountSecureId: string, actionRunId: string): Promise<PolicyLog | undefined>;
|
|
125
113
|
}
|
|
126
114
|
type PolicyLog = PolicyContext;
|
|
127
|
-
|
|
128
|
-
//#region src/types.d.ts
|
|
129
|
-
declare const SourceType: {
|
|
115
|
+
export declare const SourceType: {
|
|
130
116
|
readonly RequestTester: 'REQUEST_TESTER';
|
|
131
117
|
readonly ActionTester: 'ACTION_TESTER';
|
|
132
118
|
readonly Discode: 'DISCODE';
|
|
@@ -144,21 +130,21 @@ declare const SourceType: {
|
|
|
144
130
|
readonly Internal: 'INTERNAL';
|
|
145
131
|
readonly ConnectionTest: 'CONNECTION_TEST';
|
|
146
132
|
};
|
|
147
|
-
type SourceType = (typeof SourceType)[keyof typeof SourceType];
|
|
148
|
-
declare const TransportType: {
|
|
133
|
+
export type SourceType = (typeof SourceType)[keyof typeof SourceType];
|
|
134
|
+
export declare const TransportType: {
|
|
149
135
|
readonly HTTP: 'HTTP';
|
|
150
136
|
readonly MCP: 'MCP';
|
|
151
137
|
readonly ActionRPC: 'ACTION_RPC';
|
|
152
138
|
readonly WebSocket: 'WEBSOCKET';
|
|
153
139
|
};
|
|
154
|
-
type TransportType = (typeof TransportType)[keyof typeof TransportType];
|
|
155
|
-
declare const StreamType: {
|
|
140
|
+
export type TransportType = (typeof TransportType)[keyof typeof TransportType];
|
|
141
|
+
export declare const StreamType: {
|
|
156
142
|
readonly HTTP: 'HTTP';
|
|
157
143
|
readonly WebSocket: 'WEBSOCKET';
|
|
158
144
|
readonly SSE: 'SSE';
|
|
159
145
|
};
|
|
160
|
-
type StreamType = (typeof StreamType)[keyof typeof StreamType];
|
|
161
|
-
declare const AuthType: {
|
|
146
|
+
export type StreamType = (typeof StreamType)[keyof typeof StreamType];
|
|
147
|
+
export declare const AuthType: {
|
|
162
148
|
readonly APIKey: 'API_KEY';
|
|
163
149
|
readonly SessionToken: 'SESSION_TOKEN';
|
|
164
150
|
readonly UserSession: 'USER_SESSION';
|
|
@@ -166,7 +152,7 @@ declare const AuthType: {
|
|
|
166
152
|
readonly Webhook: 'WEBHOOK';
|
|
167
153
|
readonly Signature: 'SIGNATURE';
|
|
168
154
|
};
|
|
169
|
-
type AuthType = (typeof AuthType)[keyof typeof AuthType];
|
|
155
|
+
export type AuthType = (typeof AuthType)[keyof typeof AuthType];
|
|
170
156
|
type Source = {
|
|
171
157
|
sourceType?: SourceType;
|
|
172
158
|
sourceId?: string;
|
|
@@ -256,7 +242,9 @@ type WithheldReason = 'rule' | 'no-permit' | 'fault' | 'unchecked';
|
|
|
256
242
|
type UnenforcedRedaction = {
|
|
257
243
|
reason: 'no-engine' | 'streamed' | 'engine-skipped' | 'engine-failed';
|
|
258
244
|
classes?: string[];
|
|
245
|
+
cause?: UnenforcedCause;
|
|
259
246
|
};
|
|
247
|
+
type UnenforcedCause = 'oversized' | 'too_large' | 'model_unavailable' | 'unreadable' | 'faulted' | 'service_unavailable' | 'timeout' | 'busy' | 'invalid_response' | 'serialise_failed';
|
|
260
248
|
type FaultedPolicySet = {
|
|
261
249
|
level: string;
|
|
262
250
|
mode: 'enforce' | 'monitor';
|
|
@@ -497,8 +485,6 @@ type PlatformResult = {
|
|
|
497
485
|
success?: boolean;
|
|
498
486
|
endTime?: Date;
|
|
499
487
|
};
|
|
500
|
-
//#endregion
|
|
501
|
-
//#region src/logs/queryConditions.d.ts
|
|
502
488
|
declare const LOG_QUERY_COLUMNS: {
|
|
503
489
|
readonly account_secure_id: 'accountSecureId';
|
|
504
490
|
readonly connector_key: 'connectorKey';
|
|
@@ -535,8 +521,8 @@ declare const LOG_QUERY_COLUMNS: {
|
|
|
535
521
|
readonly session_auth_id: "if(authType = 'SESSION_TOKEN', authId, NULL)";
|
|
536
522
|
};
|
|
537
523
|
type LogQueryField = keyof typeof LOG_QUERY_COLUMNS;
|
|
538
|
-
declare const LOG_QUERY_FIELDS: LogQueryField[];
|
|
539
|
-
declare const LOG_QUERY_OPERATORS: readonly ['eq', 'ne', 'gt', 'gte', 'lt', 'lte'];
|
|
524
|
+
export declare const LOG_QUERY_FIELDS: LogQueryField[];
|
|
525
|
+
export declare const LOG_QUERY_OPERATORS: readonly ['eq', 'ne', 'gt', 'gte', 'lt', 'lte'];
|
|
540
526
|
type LogQueryOperator = (typeof LOG_QUERY_OPERATORS)[number];
|
|
541
527
|
declare const CONDITION_SCHEMA: z.ZodObject<{
|
|
542
528
|
field: z.ZodEnum<{
|
|
@@ -585,7 +571,7 @@ declare const CONDITION_SCHEMA: z.ZodObject<{
|
|
|
585
571
|
values: z.ZodArray<z.ZodString>;
|
|
586
572
|
}, z.core.$strip>;
|
|
587
573
|
type LogQueryCondition = z.infer<typeof CONDITION_SCHEMA>;
|
|
588
|
-
declare class InvalidLogQueryConditionsError extends Error {
|
|
574
|
+
export declare class InvalidLogQueryConditionsError extends Error {
|
|
589
575
|
readonly issues: {
|
|
590
576
|
path: (string | number)[];
|
|
591
577
|
message: string;
|
|
@@ -593,17 +579,15 @@ declare class InvalidLogQueryConditionsError extends Error {
|
|
|
593
579
|
readonly cause: z.ZodError;
|
|
594
580
|
constructor(error: z.ZodError);
|
|
595
581
|
}
|
|
596
|
-
declare const parseLogQueryConditions: (conditions?: unknown) => LogQueryCondition[];
|
|
597
|
-
|
|
598
|
-
//#region src/logs/types.d.ts
|
|
599
|
-
declare const LogType: {
|
|
582
|
+
export declare const parseLogQueryConditions: (conditions?: unknown) => LogQueryCondition[];
|
|
583
|
+
export declare const LogType: {
|
|
600
584
|
readonly Action: 'action';
|
|
601
585
|
readonly Step: 'step';
|
|
602
586
|
readonly Unified: 'unified';
|
|
603
587
|
readonly Provider: 'provider';
|
|
604
588
|
readonly Platform: 'platform';
|
|
605
589
|
};
|
|
606
|
-
type LogType = (typeof LogType)[keyof typeof LogType];
|
|
590
|
+
export type LogType = (typeof LogType)[keyof typeof LogType];
|
|
607
591
|
type CombinedLogType = typeof LogType.Action | typeof LogType.Unified;
|
|
608
592
|
type AuthPair = {
|
|
609
593
|
authType: AuthType;
|
|
@@ -839,19 +823,19 @@ type PlatformQueryResult = {
|
|
|
839
823
|
pageNumber: number;
|
|
840
824
|
pageSize: number;
|
|
841
825
|
};
|
|
842
|
-
declare const OrderBy: {
|
|
826
|
+
export declare const OrderBy: {
|
|
843
827
|
readonly StartTime: 'startTime';
|
|
844
828
|
readonly EndTime: 'endTime';
|
|
845
829
|
readonly EventTime: 'eventTime';
|
|
846
830
|
readonly DurationMs: 'durationMs';
|
|
847
831
|
};
|
|
848
|
-
type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
|
|
849
|
-
declare const OrderDirection: {
|
|
832
|
+
export type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
|
|
833
|
+
export declare const OrderDirection: {
|
|
850
834
|
readonly Asc: 'asc';
|
|
851
835
|
readonly Desc: 'desc';
|
|
852
836
|
};
|
|
853
|
-
type OrderDirection = (typeof OrderDirection)[keyof typeof OrderDirection];
|
|
854
|
-
declare const IntervalType: {
|
|
837
|
+
export type OrderDirection = (typeof OrderDirection)[keyof typeof OrderDirection];
|
|
838
|
+
export declare const IntervalType: {
|
|
855
839
|
readonly Minute: 'minute';
|
|
856
840
|
readonly Hour: 'hour';
|
|
857
841
|
readonly Day: 'day';
|
|
@@ -859,8 +843,8 @@ declare const IntervalType: {
|
|
|
859
843
|
readonly Month: 'month';
|
|
860
844
|
readonly None: 'none';
|
|
861
845
|
};
|
|
862
|
-
type IntervalType = (typeof IntervalType)[keyof typeof IntervalType];
|
|
863
|
-
declare const Dimension: {
|
|
846
|
+
export type IntervalType = (typeof IntervalType)[keyof typeof IntervalType];
|
|
847
|
+
export declare const Dimension: {
|
|
864
848
|
readonly ConnectorKey: 'connectorKey';
|
|
865
849
|
readonly Success: 'success';
|
|
866
850
|
readonly ActionType: 'actionType';
|
|
@@ -880,7 +864,7 @@ declare const Dimension: {
|
|
|
880
864
|
readonly PolicyResult: 'policyResult';
|
|
881
865
|
readonly RiskLevel: 'riskLevel';
|
|
882
866
|
};
|
|
883
|
-
type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
867
|
+
export type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
884
868
|
type AggregateQuery = Partial<Query> & {
|
|
885
869
|
dimensions?: Dimension[];
|
|
886
870
|
intervalType?: IntervalType;
|
|
@@ -903,7 +887,7 @@ type DimensionsResult = {
|
|
|
903
887
|
count: number;
|
|
904
888
|
}>;
|
|
905
889
|
};
|
|
906
|
-
declare const PlatformDimension: {
|
|
890
|
+
export declare const PlatformDimension: {
|
|
907
891
|
readonly EventType: 'eventType';
|
|
908
892
|
readonly Action: 'action';
|
|
909
893
|
readonly Resource: 'resource';
|
|
@@ -919,7 +903,7 @@ declare const PlatformDimension: {
|
|
|
919
903
|
readonly TransportType: 'transportType';
|
|
920
904
|
readonly StreamType: 'streamType';
|
|
921
905
|
};
|
|
922
|
-
type PlatformDimension = (typeof PlatformDimension)[keyof typeof PlatformDimension];
|
|
906
|
+
export type PlatformDimension = (typeof PlatformDimension)[keyof typeof PlatformDimension];
|
|
923
907
|
type PlatformDimensionsQuery = Partial<PlatformQuery> & {
|
|
924
908
|
dimensions: PlatformDimension[];
|
|
925
909
|
maxValues?: number;
|
|
@@ -955,7 +939,7 @@ interface KafkaClientConfig {
|
|
|
955
939
|
}
|
|
956
940
|
type KafkaClusterName = 'external' | 'internal';
|
|
957
941
|
type TopicClusterMap = Record<string, KafkaClusterName[]>;
|
|
958
|
-
declare const DEFAULT_TOPIC_CLUSTER_MAP: TopicClusterMap;
|
|
942
|
+
export declare const DEFAULT_TOPIC_CLUSTER_MAP: TopicClusterMap;
|
|
959
943
|
type KafkaClientBuilder = (config?: KafkaClientConfig, logger?: ILogger) => Promise<Producer<string, string, string, string> | undefined>;
|
|
960
944
|
interface InternalKafkaClientConfig {
|
|
961
945
|
bootstrapBrokers: string[];
|
|
@@ -1139,18 +1123,12 @@ type PlatformLog = ILog & {
|
|
|
1139
1123
|
statusCode?: number;
|
|
1140
1124
|
details?: Record<string, unknown>;
|
|
1141
1125
|
};
|
|
1142
|
-
|
|
1143
|
-
//#region src/logs/clickhouse/parameterHelpers.d.ts
|
|
1144
|
-
declare class InvalidAuthPairError extends Error {
|
|
1126
|
+
export declare class InvalidAuthPairError extends Error {
|
|
1145
1127
|
constructor(message: string);
|
|
1146
1128
|
}
|
|
1147
|
-
|
|
1148
|
-
//#region src/logs/logsSink.d.ts
|
|
1149
|
-
declare class QueryClientNotConfiguredError extends Error {
|
|
1129
|
+
export declare class QueryClientNotConfiguredError extends Error {
|
|
1150
1130
|
constructor();
|
|
1151
1131
|
}
|
|
1152
|
-
//#endregion
|
|
1153
|
-
//#region src/datasets/types.d.ts
|
|
1154
1132
|
type LogfireConfig = {
|
|
1155
1133
|
token?: string;
|
|
1156
1134
|
baseUrl?: string;
|
|
@@ -1162,32 +1140,17 @@ type DatasetsSinkConfig = {
|
|
|
1162
1140
|
logfire?: LogfireConfig;
|
|
1163
1141
|
maxItemSizeBytes?: number;
|
|
1164
1142
|
};
|
|
1165
|
-
//#endregion
|
|
1166
|
-
//#region src/olap/sinkConfig.d.ts
|
|
1167
1143
|
type OlapSinkConfig = {
|
|
1168
1144
|
advanced?: AdvancedSinkConfig;
|
|
1169
1145
|
defender?: DefenderSinkConfig;
|
|
1170
1146
|
policy?: PolicySinkConfig;
|
|
1171
1147
|
datasets?: DatasetsSinkConfig;
|
|
1172
1148
|
};
|
|
1173
|
-
|
|
1174
|
-
//#region src/olap/olapClient.d.ts
|
|
1175
|
-
declare class OlapClient implements IOlapClient {
|
|
1149
|
+
export declare class OlapClient implements IOlapClient {
|
|
1176
1150
|
#private;
|
|
1177
1151
|
name: string;
|
|
1178
1152
|
private constructor();
|
|
1179
|
-
static create({
|
|
1180
|
-
getKafkaClient,
|
|
1181
|
-
getInternalKafkaClient,
|
|
1182
|
-
storage,
|
|
1183
|
-
kafkaClientConfig,
|
|
1184
|
-
externalKafkaClientConfig,
|
|
1185
|
-
internalKafkaClientConfig,
|
|
1186
|
-
topicClusterMap,
|
|
1187
|
-
clickhouseConfig,
|
|
1188
|
-
sinkConfig,
|
|
1189
|
-
logger
|
|
1190
|
-
}: {
|
|
1153
|
+
static create({ getKafkaClient, getInternalKafkaClient, storage, kafkaClientConfig, externalKafkaClientConfig, internalKafkaClientConfig, topicClusterMap, clickhouseConfig, sinkConfig, logger }: {
|
|
1191
1154
|
getKafkaClient?: KafkaClientBuilder;
|
|
1192
1155
|
getInternalKafkaClient?: InternalKafkaClientBuilder;
|
|
1193
1156
|
storage?: Storage;
|
|
@@ -1241,20 +1204,7 @@ declare class OlapClient implements IOlapClient {
|
|
|
1241
1204
|
getSourceUsage(organizationId: string, projectSecureId: string, query: SourceQuery): Promise<SourceResult>;
|
|
1242
1205
|
getActionsCount(query: ActionsCountQuery): Promise<number>;
|
|
1243
1206
|
}
|
|
1244
|
-
|
|
1245
|
-
//#region src/olap/olapClientManager.d.ts
|
|
1246
|
-
declare const buildOlapClientInstance: ({
|
|
1247
|
-
getKafkaClient,
|
|
1248
|
-
getInternalKafkaClient,
|
|
1249
|
-
storage,
|
|
1250
|
-
kafkaClientConfig,
|
|
1251
|
-
externalKafkaClientConfig,
|
|
1252
|
-
internalKafkaClientConfig,
|
|
1253
|
-
topicClusterMap,
|
|
1254
|
-
clickhouseConfig,
|
|
1255
|
-
sinkConfig,
|
|
1256
|
-
logger
|
|
1257
|
-
}: {
|
|
1207
|
+
declare const buildOlapClientInstance: ({ getKafkaClient, getInternalKafkaClient, storage, kafkaClientConfig, externalKafkaClientConfig, internalKafkaClientConfig, topicClusterMap, clickhouseConfig, sinkConfig, logger }: {
|
|
1258
1208
|
getKafkaClient?: KafkaClientBuilder;
|
|
1259
1209
|
getInternalKafkaClient?: InternalKafkaClientBuilder;
|
|
1260
1210
|
storage?: Storage;
|
|
@@ -1266,22 +1216,10 @@ declare const buildOlapClientInstance: ({
|
|
|
1266
1216
|
sinkConfig?: OlapSinkConfig;
|
|
1267
1217
|
logger?: ILogger;
|
|
1268
1218
|
}) => Promise<IOlapClient>;
|
|
1269
|
-
declare class OlapClientManager {
|
|
1219
|
+
export declare class OlapClientManager {
|
|
1270
1220
|
private static olapClientPromise;
|
|
1271
1221
|
private static closingPromise;
|
|
1272
|
-
static getInstance({
|
|
1273
|
-
getKafkaClient,
|
|
1274
|
-
getInternalKafkaClient,
|
|
1275
|
-
storage,
|
|
1276
|
-
kafkaClientConfig,
|
|
1277
|
-
externalKafkaClientConfig,
|
|
1278
|
-
internalKafkaClientConfig,
|
|
1279
|
-
topicClusterMap,
|
|
1280
|
-
clickhouseConfig,
|
|
1281
|
-
sinkConfig,
|
|
1282
|
-
logger,
|
|
1283
|
-
getOlapClient
|
|
1284
|
-
}: {
|
|
1222
|
+
static getInstance({ getKafkaClient, getInternalKafkaClient, storage, kafkaClientConfig, externalKafkaClientConfig, internalKafkaClientConfig, topicClusterMap, clickhouseConfig, sinkConfig, logger, getOlapClient }: {
|
|
1285
1223
|
getKafkaClient?: KafkaClientBuilder;
|
|
1286
1224
|
getInternalKafkaClient?: InternalKafkaClientBuilder;
|
|
1287
1225
|
storage?: Storage;
|
|
@@ -1298,10 +1236,8 @@ declare class OlapClientManager {
|
|
|
1298
1236
|
static close(timeoutMs?: number): Promise<void>;
|
|
1299
1237
|
private static drain;
|
|
1300
1238
|
}
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
declare function getPolicySink(storage?: Storage, config?: PolicySinkConfig, logger?: ILogger): IPolicySink;
|
|
1304
|
-
declare class PolicySink implements IPolicySink {
|
|
1239
|
+
export declare function getPolicySink(storage?: Storage, config?: PolicySinkConfig, logger?: ILogger): IPolicySink;
|
|
1240
|
+
export declare class PolicySink implements IPolicySink {
|
|
1305
1241
|
#private;
|
|
1306
1242
|
constructor(storage?: Storage, config?: PolicySinkConfig, logger?: ILogger);
|
|
1307
1243
|
initialize(): Promise<void>;
|
|
@@ -1317,8 +1253,5 @@ declare class PolicySink implements IPolicySink {
|
|
|
1317
1253
|
getAction(organizationId: string, projectSecureId: string, accountSecureId: string, actionRunId: string): Promise<PolicyLog | undefined>;
|
|
1318
1254
|
private send;
|
|
1319
1255
|
}
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
declare const hasErrorEntries: (errors: unknown) => boolean;
|
|
1323
|
-
//#endregion
|
|
1324
|
-
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsCountQuery, type ActionsQuery, type ActionsQueryResult, type AdvancedLogMetadata, type AdvancedOptions, type AdvancedPiiScrubber, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, type AuthPair, AuthType, type AuthType as AuthTypeValue, type ClickHouseConfig, type CombinedLogType, DEFAULT_TOPIC_CLUSTER_MAP, type DatasetsOptions, type DatasetsSinkConfig, type DefenderContext, type DefenderLog, type DefenderOptions, type DefenderSinkConfig, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type FaultedPolicySet, type FieldLabelProvenance, type ILog, type IOlapClient, type IPolicySink, type InternalKafkaClientBuilder, type InternalKafkaClientConfig, IntervalType, type IntervalType as IntervalTypeValues, InvalidAuthPairError, InvalidLogQueryConditionsError, type KafkaClientBuilder, type KafkaClientConfig, type KafkaClusterName, LOG_QUERY_FIELDS, LOG_QUERY_OPERATORS, type LogEntities, type LogQueryCondition, type LogQueryField, type LogQueryOperator, LogType, type LogType as LogTypeValues, type LogfireConfig, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type OlapSinkConfig, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type PlatformAdvancedLog, PlatformDimension, type PlatformDimension as PlatformDimensionValues, type PlatformDimensionsQuery, type PlatformInput, type PlatformLog, type PlatformQuery, type PlatformQueryResult, type PlatformResult, type PolicyContext, type PolicyLog, type PolicyObservation, type PolicyOptions, type PolicyRecord, type PolicyResult, PolicySink, type PolicySinkConfig, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, QueryClientNotConfiguredError, type QueryResult, type SASLMechanism, type Source, type SourceQuery, type SourceResult, SourceType, type SourceType as SourceTypeValue, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, StreamType, type StreamType as StreamTypeValue, type TopicClusterMap, TransportType, type TransportType as TransportTypeValue, type TruncationMode, type UnenforcedRedaction, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult, type WithheldReason, callerHeadersOf, getPolicySink, hasErrorEntries, parseLogQueryConditions };
|
|
1256
|
+
export declare const hasErrorEntries: (errors: unknown) => boolean;
|
|
1257
|
+
export type { ActionAdvancedLog, ActionInput, ActionLog, ActionResult, ActionsCountQuery, ActionsQuery, ActionsQueryResult, AdvancedLogMetadata, AdvancedOptions, AdvancedPiiScrubber, AdvancedSinkConfig, AggregateQuery, AggregateResult, AuthPair, AuthType as AuthTypeValue, ClickHouseConfig, CombinedLogType, DatasetsOptions, DatasetsSinkConfig, DefenderContext, DefenderLog, DefenderOptions, DefenderSinkConfig, Dimension as DimensionValues, DimensionsQuery, DimensionsResult, FaultedPolicySet, FieldLabelProvenance, ILog, IOlapClient, IPolicySink, InternalKafkaClientBuilder, InternalKafkaClientConfig, IntervalType as IntervalTypeValues, KafkaClientBuilder, KafkaClientConfig, KafkaClusterName, LogEntities, LogQueryCondition, LogQueryField, LogQueryOperator, LogType as LogTypeValues, LogfireConfig, LogsOptions, OlapOptions, OlapSinkConfig, OrderBy as OrderByValues, OrderDirection as OrderDirectionValues, PlatformAdvancedLog, PlatformDimension as PlatformDimensionValues, PlatformDimensionsQuery, PlatformInput, PlatformLog, PlatformQuery, PlatformQueryResult, PlatformResult, PolicyContext, PolicyLog, PolicyObservation, PolicyOptions, PolicyRecord, PolicyResult, PolicySinkConfig, ProviderAdvancedLog, ProviderInput, ProviderLog, ProviderQuery, ProviderQueryResult, ProviderResult, Query, QueryResult, SASLMechanism, Source, SourceQuery, SourceResult, SourceType as SourceTypeValue, StepAdvancedLog, StepInput, StepLog, StepResult, StepsQuery, StepsQueryResult, StreamType as StreamTypeValue, TopicClusterMap, TransportType as TransportTypeValue, TruncationMode, UnenforcedCause, UnenforcedRedaction, UnifiedAdvancedLog, UnifiedInput, UnifiedLog, UnifiedQuery, UnifiedQueryResult, UnifiedResult, WithheldReason };
|