@stackone/olap 1.72.0 → 1.73.0

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.d.cts CHANGED
@@ -14,6 +14,7 @@ type OlapOptions = {
14
14
  logs?: LogsOptions;
15
15
  advanced?: AdvancedOptions;
16
16
  defender?: DefenderOptions;
17
+ policy?: PolicyOptions;
17
18
  datasets?: DatasetsOptions;
18
19
  };
19
20
  type LogsOptions = {
@@ -30,6 +31,9 @@ type AdvancedOptions = {
30
31
  type DefenderOptions = {
31
32
  enabled?: boolean;
32
33
  };
34
+ type PolicyOptions = {
35
+ enabled?: boolean;
36
+ };
33
37
  type DatasetsOptions = {
34
38
  enabled?: boolean;
35
39
  schemasDataset?: string;
@@ -37,20 +41,6 @@ type DatasetsOptions = {
37
41
  includeBackground?: boolean;
38
42
  };
39
43
  //#endregion
40
- //#region src/defender/types.d.ts
41
- type DefenderSinkConfig = {
42
- bucket?: string;
43
- ttlDays?: number;
44
- };
45
- type DefenderLog = {
46
- result?: {
47
- riskLevel: string;
48
- tier2Score?: number;
49
- [key: string]: unknown;
50
- };
51
- [key: string]: unknown;
52
- };
53
- //#endregion
54
44
  //#region src/advanced/types.d.ts
55
45
  type AdvancedSinkConfig = {
56
46
  bucket?: string;
@@ -100,6 +90,39 @@ interface S3ClientConfig {
100
90
  }
101
91
  type S3ClientBuilder = (config?: S3ClientConfig, logger?: ILogger) => S3Client | undefined;
102
92
  //#endregion
93
+ //#region src/defender/types.d.ts
94
+ type DefenderSinkConfig = {
95
+ bucket?: string;
96
+ ttlDays?: number;
97
+ };
98
+ type DefenderLog = {
99
+ result?: {
100
+ riskLevel: string;
101
+ tier2Score?: number;
102
+ [key: string]: unknown;
103
+ };
104
+ [key: string]: unknown;
105
+ };
106
+ //#endregion
107
+ //#region src/policy/types.d.ts
108
+ type PolicySinkConfig = {
109
+ bucket?: string;
110
+ ttlDays?: number;
111
+ };
112
+ interface IPolicySink {
113
+ sendAction(input: ActionInput, result: ActionResult, options?: PolicyOptions): Promise<{
114
+ expiresAt: Date;
115
+ } | null>;
116
+ sendActions(actions: Array<{
117
+ input: ActionInput;
118
+ result: ActionResult;
119
+ }>, options?: PolicyOptions): Promise<Array<{
120
+ expiresAt: Date;
121
+ } | null>>;
122
+ getAction(organizationId: string, projectSecureId: string, accountSecureId: string, actionRunId: string): Promise<PolicyLog | undefined>;
123
+ }
124
+ type PolicyLog = PolicyContext;
125
+ //#endregion
103
126
  //#region src/types.d.ts
104
127
  declare const SourceType: {
105
128
  readonly RequestTester: "REQUEST_TESTER";
@@ -189,10 +212,33 @@ interface IOlapClient {
189
212
  getProviderAdvancedLog(organizationId: string, projectSecureId: string, requestId: string, id: string): Promise<ProviderAdvancedLog | undefined>;
190
213
  getPlatformAdvancedLog(organizationId: string, eventId: string): Promise<PlatformAdvancedLog | undefined>;
191
214
  getDefenderLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<DefenderLog | undefined>;
215
+ getPolicyLog(organizationId: string, projectSecureId: string, accountSecureId: string, actionRunId: string): Promise<PolicyLog | undefined>;
192
216
  getLogsStatsAggregate(organizationId: string, projectSecureId: string, query: AggregateQuery, engine?: OlapEngine): Promise<AggregateResult>;
193
217
  getLogsStatsDimensions(organizationId: string, projectSecureId: string, query: DimensionsQuery, engine?: OlapEngine): Promise<DimensionsResult>;
194
218
  getSourceUsage(organizationId: string, projectSecureId: string, query: SourceQuery, engine?: OlapEngine): Promise<SourceResult>;
195
219
  }
220
+ type PolicyResult = 'skipped' | 'allowed' | 'partial' | 'monitored' | 'denied' | 'error';
221
+ type PolicyObservation = {
222
+ level: string;
223
+ decision: 'allow' | 'deny';
224
+ policyIds: string[];
225
+ faulted?: boolean;
226
+ };
227
+ type PolicyContext = {
228
+ result: PolicyResult;
229
+ actionRunId: string;
230
+ actionId: string;
231
+ accountSecureId: string;
232
+ principal?: {
233
+ userId: string;
234
+ groups: string[];
235
+ };
236
+ decidedAt: string;
237
+ policyIds: string[];
238
+ level?: string;
239
+ versions?: Record<string, number>;
240
+ observed?: PolicyObservation[];
241
+ };
196
242
  type DefenderDecision = 'block' | 'allow' | 'count';
197
243
  type DefenderContext = {
198
244
  result?: {
@@ -255,6 +301,7 @@ type ActionResult = {
255
301
  body?: unknown;
256
302
  hasStepErrors?: boolean;
257
303
  defenderContext?: DefenderContext;
304
+ policyContext?: PolicyContext;
258
305
  endTime?: Date;
259
306
  };
260
307
  type StepInput = {
@@ -481,6 +528,8 @@ type ActionsQuery = {
481
528
  transportType?: string | string[];
482
529
  streamType?: string | string[];
483
530
  statusCode?: string | string[];
531
+ policyResult?: string | string[];
532
+ riskLevel?: string | string[];
484
533
  isBackground?: boolean;
485
534
  success?: boolean;
486
535
  startTime?: Date;
@@ -656,7 +705,11 @@ declare const Dimension: {
656
705
  readonly StatusCode: "statusCode";
657
706
  readonly OriginOwnerId: "originOwnerId";
658
707
  readonly SourceId: "sourceId";
708
+ readonly AuthType: "authType";
709
+ readonly AuthId: "authId";
659
710
  readonly IsBackground: "isBackground";
711
+ readonly PolicyResult: "policyResult";
712
+ readonly RiskLevel: "riskLevel";
660
713
  };
661
714
  type Dimension = (typeof Dimension)[keyof typeof Dimension];
662
715
  type AggregateQuery = Partial<Query> & {
@@ -805,6 +858,7 @@ type ActionLog = ILog & {
805
858
  isBackground?: boolean;
806
859
  success?: boolean;
807
860
  statusCode?: number;
861
+ policyResult?: string;
808
862
  riskLevel?: string;
809
863
  allowed?: boolean;
810
864
  tier2Decision?: string;
@@ -976,6 +1030,7 @@ type DatasetsSinkConfig = {
976
1030
  type OlapSinkConfig = {
977
1031
  advanced?: AdvancedSinkConfig;
978
1032
  defender?: DefenderSinkConfig;
1033
+ policy?: PolicySinkConfig;
979
1034
  datasets?: DatasetsSinkConfig;
980
1035
  };
981
1036
  //#endregion
@@ -1046,6 +1101,7 @@ declare class OlapClient implements IOlapClient {
1046
1101
  getUnifiedAdvancedLog(organizationId: string, projectSecureId: string, requestId: string): Promise<UnifiedAdvancedLog | undefined>;
1047
1102
  getProviderAdvancedLog(organizationId: string, projectSecureId: string, requestId: string, id: string): Promise<ProviderAdvancedLog | undefined>;
1048
1103
  getPlatformAdvancedLog(organizationId: string, eventId: string): Promise<PlatformAdvancedLog | undefined>;
1104
+ getPolicyLog(organizationId: string, projectSecureId: string, accountSecureId: string, actionRunId: string): Promise<PolicyContext | undefined>;
1049
1105
  getDefenderLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<DefenderLog | undefined>;
1050
1106
  getLogsStatsAggregate(organizationId: string, projectSecureId: string, query: AggregateQuery, engine?: OlapEngine): Promise<AggregateResult>;
1051
1107
  getLogsStatsDimensions(organizationId: string, projectSecureId: string, query: DimensionsQuery, engine?: OlapEngine): Promise<DimensionsResult>;
@@ -1118,7 +1174,29 @@ declare class OlapClientManager {
1118
1174
  static resetInstance(): void;
1119
1175
  }
1120
1176
  //#endregion
1177
+ //#region src/policy/policySink.d.ts
1178
+ declare function getPolicySink(s3Client?: S3Client, config?: PolicySinkConfig, logger?: ILogger): IPolicySink;
1179
+ declare class PolicySink implements IPolicySink {
1180
+ #private;
1181
+ constructor(s3Client?: S3Client, config?: PolicySinkConfig, logger?: ILogger);
1182
+ private requireBucket;
1183
+ initialize(): Promise<void>;
1184
+ sendAction(input: ActionInput, result: ActionResult, options?: PolicyOptions): Promise<{
1185
+ expiresAt: Date;
1186
+ } | null>;
1187
+ sendActions(actions: Array<{
1188
+ input: ActionInput;
1189
+ result: ActionResult;
1190
+ }>, options?: PolicyOptions): Promise<Array<{
1191
+ expiresAt: Date;
1192
+ } | null>>;
1193
+ getAction(organizationId: string, projectSecureId: string, accountSecureId: string, actionRunId: string): Promise<PolicyLog | undefined>;
1194
+ private send;
1195
+ private generateS3Key;
1196
+ private createPolicyS3;
1197
+ }
1198
+ //#endregion
1121
1199
  //#region src/utils/stepErrors.d.ts
1122
1200
  declare const hasErrorEntries: (errors: unknown) => boolean;
1123
1201
  //#endregion
1124
- export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedLogMetadata, type AdvancedOptions, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, AuthType, type AuthType as AuthTypeValue, ClickHouseClient, 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 ILog, type IOlapClient, type IQueryClient, type IQueryClient as ITinybirdClient, type InternalKafkaClientBuilder, type InternalKafkaClientConfig, IntervalType, type IntervalType as IntervalTypeValues, type KafkaClientBuilder, type KafkaClientConfig, type KafkaClusterName, type LogEntities, LogType, type LogType as LogTypeValues, type LogfireConfig, type LogsOptions, OlapClient, OlapClientManager, type OlapEngine, type OlapOptions, type OlapQueryClientConfig, type OlapQueryClientType, type OlapSinkConfig, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type PlatformAdvancedLog, type PlatformInput, type PlatformLog, type PlatformQuery, type PlatformQueryResult, type PlatformResult, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryOptions, type QueryOptions as TinybirdQueryOptions, type QueryResponse, type QueryResponse as TinybirdResponse, 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 TinybirdConfig, type TopicClusterMap, TransportType, type TransportType as TransportTypeValue, type TruncationMode, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult, createConfigFromEnv, createOlapQueryClient, hasErrorEntries };
1202
+ export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedLogMetadata, type AdvancedOptions, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, AuthType, type AuthType as AuthTypeValue, ClickHouseClient, 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 ILog, type IOlapClient, type IPolicySink, type IQueryClient, type IQueryClient as ITinybirdClient, type InternalKafkaClientBuilder, type InternalKafkaClientConfig, IntervalType, type IntervalType as IntervalTypeValues, type KafkaClientBuilder, type KafkaClientConfig, type KafkaClusterName, type LogEntities, LogType, type LogType as LogTypeValues, type LogfireConfig, type LogsOptions, OlapClient, OlapClientManager, type OlapEngine, type OlapOptions, type OlapQueryClientConfig, type OlapQueryClientType, type OlapSinkConfig, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type PlatformAdvancedLog, type PlatformInput, type PlatformLog, type PlatformQuery, type PlatformQueryResult, type PlatformResult, type PolicyContext, type PolicyLog, type PolicyObservation, type PolicyOptions, type PolicyResult, PolicySink, type PolicySinkConfig, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryOptions, type QueryOptions as TinybirdQueryOptions, type QueryResponse, type QueryResponse as TinybirdResponse, 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 TinybirdConfig, type TopicClusterMap, TransportType, type TransportType as TransportTypeValue, type TruncationMode, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult, createConfigFromEnv, createOlapQueryClient, getPolicySink, hasErrorEntries };
package/dist/index.d.mts CHANGED
@@ -13,6 +13,7 @@ type OlapOptions = {
13
13
  logs?: LogsOptions;
14
14
  advanced?: AdvancedOptions;
15
15
  defender?: DefenderOptions;
16
+ policy?: PolicyOptions;
16
17
  datasets?: DatasetsOptions;
17
18
  };
18
19
  type LogsOptions = {
@@ -29,6 +30,9 @@ type AdvancedOptions = {
29
30
  type DefenderOptions = {
30
31
  enabled?: boolean;
31
32
  };
33
+ type PolicyOptions = {
34
+ enabled?: boolean;
35
+ };
32
36
  type DatasetsOptions = {
33
37
  enabled?: boolean;
34
38
  schemasDataset?: string;
@@ -36,20 +40,6 @@ type DatasetsOptions = {
36
40
  includeBackground?: boolean;
37
41
  };
38
42
  //#endregion
39
- //#region src/defender/types.d.ts
40
- type DefenderSinkConfig = {
41
- bucket?: string;
42
- ttlDays?: number;
43
- };
44
- type DefenderLog = {
45
- result?: {
46
- riskLevel: string;
47
- tier2Score?: number;
48
- [key: string]: unknown;
49
- };
50
- [key: string]: unknown;
51
- };
52
- //#endregion
53
43
  //#region src/advanced/types.d.ts
54
44
  type AdvancedSinkConfig = {
55
45
  bucket?: string;
@@ -99,6 +89,39 @@ interface S3ClientConfig {
99
89
  }
100
90
  type S3ClientBuilder = (config?: S3ClientConfig, logger?: ILogger) => S3Client | undefined;
101
91
  //#endregion
92
+ //#region src/defender/types.d.ts
93
+ type DefenderSinkConfig = {
94
+ bucket?: string;
95
+ ttlDays?: number;
96
+ };
97
+ type DefenderLog = {
98
+ result?: {
99
+ riskLevel: string;
100
+ tier2Score?: number;
101
+ [key: string]: unknown;
102
+ };
103
+ [key: string]: unknown;
104
+ };
105
+ //#endregion
106
+ //#region src/policy/types.d.ts
107
+ type PolicySinkConfig = {
108
+ bucket?: string;
109
+ ttlDays?: number;
110
+ };
111
+ interface IPolicySink {
112
+ sendAction(input: ActionInput, result: ActionResult, options?: PolicyOptions): Promise<{
113
+ expiresAt: Date;
114
+ } | null>;
115
+ sendActions(actions: Array<{
116
+ input: ActionInput;
117
+ result: ActionResult;
118
+ }>, options?: PolicyOptions): Promise<Array<{
119
+ expiresAt: Date;
120
+ } | null>>;
121
+ getAction(organizationId: string, projectSecureId: string, accountSecureId: string, actionRunId: string): Promise<PolicyLog | undefined>;
122
+ }
123
+ type PolicyLog = PolicyContext;
124
+ //#endregion
102
125
  //#region src/types.d.ts
103
126
  declare const SourceType: {
104
127
  readonly RequestTester: "REQUEST_TESTER";
@@ -188,10 +211,33 @@ interface IOlapClient {
188
211
  getProviderAdvancedLog(organizationId: string, projectSecureId: string, requestId: string, id: string): Promise<ProviderAdvancedLog | undefined>;
189
212
  getPlatformAdvancedLog(organizationId: string, eventId: string): Promise<PlatformAdvancedLog | undefined>;
190
213
  getDefenderLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<DefenderLog | undefined>;
214
+ getPolicyLog(organizationId: string, projectSecureId: string, accountSecureId: string, actionRunId: string): Promise<PolicyLog | undefined>;
191
215
  getLogsStatsAggregate(organizationId: string, projectSecureId: string, query: AggregateQuery, engine?: OlapEngine): Promise<AggregateResult>;
192
216
  getLogsStatsDimensions(organizationId: string, projectSecureId: string, query: DimensionsQuery, engine?: OlapEngine): Promise<DimensionsResult>;
193
217
  getSourceUsage(organizationId: string, projectSecureId: string, query: SourceQuery, engine?: OlapEngine): Promise<SourceResult>;
194
218
  }
219
+ type PolicyResult = 'skipped' | 'allowed' | 'partial' | 'monitored' | 'denied' | 'error';
220
+ type PolicyObservation = {
221
+ level: string;
222
+ decision: 'allow' | 'deny';
223
+ policyIds: string[];
224
+ faulted?: boolean;
225
+ };
226
+ type PolicyContext = {
227
+ result: PolicyResult;
228
+ actionRunId: string;
229
+ actionId: string;
230
+ accountSecureId: string;
231
+ principal?: {
232
+ userId: string;
233
+ groups: string[];
234
+ };
235
+ decidedAt: string;
236
+ policyIds: string[];
237
+ level?: string;
238
+ versions?: Record<string, number>;
239
+ observed?: PolicyObservation[];
240
+ };
195
241
  type DefenderDecision = 'block' | 'allow' | 'count';
196
242
  type DefenderContext = {
197
243
  result?: {
@@ -254,6 +300,7 @@ type ActionResult = {
254
300
  body?: unknown;
255
301
  hasStepErrors?: boolean;
256
302
  defenderContext?: DefenderContext;
303
+ policyContext?: PolicyContext;
257
304
  endTime?: Date;
258
305
  };
259
306
  type StepInput = {
@@ -480,6 +527,8 @@ type ActionsQuery = {
480
527
  transportType?: string | string[];
481
528
  streamType?: string | string[];
482
529
  statusCode?: string | string[];
530
+ policyResult?: string | string[];
531
+ riskLevel?: string | string[];
483
532
  isBackground?: boolean;
484
533
  success?: boolean;
485
534
  startTime?: Date;
@@ -655,7 +704,11 @@ declare const Dimension: {
655
704
  readonly StatusCode: "statusCode";
656
705
  readonly OriginOwnerId: "originOwnerId";
657
706
  readonly SourceId: "sourceId";
707
+ readonly AuthType: "authType";
708
+ readonly AuthId: "authId";
658
709
  readonly IsBackground: "isBackground";
710
+ readonly PolicyResult: "policyResult";
711
+ readonly RiskLevel: "riskLevel";
659
712
  };
660
713
  type Dimension = (typeof Dimension)[keyof typeof Dimension];
661
714
  type AggregateQuery = Partial<Query> & {
@@ -804,6 +857,7 @@ type ActionLog = ILog & {
804
857
  isBackground?: boolean;
805
858
  success?: boolean;
806
859
  statusCode?: number;
860
+ policyResult?: string;
807
861
  riskLevel?: string;
808
862
  allowed?: boolean;
809
863
  tier2Decision?: string;
@@ -975,6 +1029,7 @@ type DatasetsSinkConfig = {
975
1029
  type OlapSinkConfig = {
976
1030
  advanced?: AdvancedSinkConfig;
977
1031
  defender?: DefenderSinkConfig;
1032
+ policy?: PolicySinkConfig;
978
1033
  datasets?: DatasetsSinkConfig;
979
1034
  };
980
1035
  //#endregion
@@ -1045,6 +1100,7 @@ declare class OlapClient implements IOlapClient {
1045
1100
  getUnifiedAdvancedLog(organizationId: string, projectSecureId: string, requestId: string): Promise<UnifiedAdvancedLog | undefined>;
1046
1101
  getProviderAdvancedLog(organizationId: string, projectSecureId: string, requestId: string, id: string): Promise<ProviderAdvancedLog | undefined>;
1047
1102
  getPlatformAdvancedLog(organizationId: string, eventId: string): Promise<PlatformAdvancedLog | undefined>;
1103
+ getPolicyLog(organizationId: string, projectSecureId: string, accountSecureId: string, actionRunId: string): Promise<PolicyContext | undefined>;
1048
1104
  getDefenderLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<DefenderLog | undefined>;
1049
1105
  getLogsStatsAggregate(organizationId: string, projectSecureId: string, query: AggregateQuery, engine?: OlapEngine): Promise<AggregateResult>;
1050
1106
  getLogsStatsDimensions(organizationId: string, projectSecureId: string, query: DimensionsQuery, engine?: OlapEngine): Promise<DimensionsResult>;
@@ -1117,7 +1173,29 @@ declare class OlapClientManager {
1117
1173
  static resetInstance(): void;
1118
1174
  }
1119
1175
  //#endregion
1176
+ //#region src/policy/policySink.d.ts
1177
+ declare function getPolicySink(s3Client?: S3Client, config?: PolicySinkConfig, logger?: ILogger): IPolicySink;
1178
+ declare class PolicySink implements IPolicySink {
1179
+ #private;
1180
+ constructor(s3Client?: S3Client, config?: PolicySinkConfig, logger?: ILogger);
1181
+ private requireBucket;
1182
+ initialize(): Promise<void>;
1183
+ sendAction(input: ActionInput, result: ActionResult, options?: PolicyOptions): Promise<{
1184
+ expiresAt: Date;
1185
+ } | null>;
1186
+ sendActions(actions: Array<{
1187
+ input: ActionInput;
1188
+ result: ActionResult;
1189
+ }>, options?: PolicyOptions): Promise<Array<{
1190
+ expiresAt: Date;
1191
+ } | null>>;
1192
+ getAction(organizationId: string, projectSecureId: string, accountSecureId: string, actionRunId: string): Promise<PolicyLog | undefined>;
1193
+ private send;
1194
+ private generateS3Key;
1195
+ private createPolicyS3;
1196
+ }
1197
+ //#endregion
1120
1198
  //#region src/utils/stepErrors.d.ts
1121
1199
  declare const hasErrorEntries: (errors: unknown) => boolean;
1122
1200
  //#endregion
1123
- export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedLogMetadata, type AdvancedOptions, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, AuthType, type AuthType as AuthTypeValue, ClickHouseClient, 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 ILog, type IOlapClient, type IQueryClient, type IQueryClient as ITinybirdClient, type InternalKafkaClientBuilder, type InternalKafkaClientConfig, IntervalType, type IntervalType as IntervalTypeValues, type KafkaClientBuilder, type KafkaClientConfig, type KafkaClusterName, type LogEntities, LogType, type LogType as LogTypeValues, type LogfireConfig, type LogsOptions, OlapClient, OlapClientManager, type OlapEngine, type OlapOptions, type OlapQueryClientConfig, type OlapQueryClientType, type OlapSinkConfig, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type PlatformAdvancedLog, type PlatformInput, type PlatformLog, type PlatformQuery, type PlatformQueryResult, type PlatformResult, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryOptions, type QueryOptions as TinybirdQueryOptions, type QueryResponse, type QueryResponse as TinybirdResponse, 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 TinybirdConfig, type TopicClusterMap, TransportType, type TransportType as TransportTypeValue, type TruncationMode, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult, createConfigFromEnv, createOlapQueryClient, hasErrorEntries };
1201
+ export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedLogMetadata, type AdvancedOptions, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, AuthType, type AuthType as AuthTypeValue, ClickHouseClient, 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 ILog, type IOlapClient, type IPolicySink, type IQueryClient, type IQueryClient as ITinybirdClient, type InternalKafkaClientBuilder, type InternalKafkaClientConfig, IntervalType, type IntervalType as IntervalTypeValues, type KafkaClientBuilder, type KafkaClientConfig, type KafkaClusterName, type LogEntities, LogType, type LogType as LogTypeValues, type LogfireConfig, type LogsOptions, OlapClient, OlapClientManager, type OlapEngine, type OlapOptions, type OlapQueryClientConfig, type OlapQueryClientType, type OlapSinkConfig, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type PlatformAdvancedLog, type PlatformInput, type PlatformLog, type PlatformQuery, type PlatformQueryResult, type PlatformResult, type PolicyContext, type PolicyLog, type PolicyObservation, type PolicyOptions, type PolicyResult, PolicySink, type PolicySinkConfig, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryOptions, type QueryOptions as TinybirdQueryOptions, type QueryResponse, type QueryResponse as TinybirdResponse, 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 TinybirdConfig, type TopicClusterMap, TransportType, type TransportType as TransportTypeValue, type TruncationMode, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult, createConfigFromEnv, createOlapQueryClient, getPolicySink, hasErrorEntries };