@stackone/olap 1.63.0 → 1.65.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
@@ -31,6 +31,20 @@ type DatasetsOptions = {
31
31
  includeBackground?: boolean;
32
32
  };
33
33
  //#endregion
34
+ //#region src/defender/types.d.ts
35
+ type DefenderSinkConfig = {
36
+ bucket?: string;
37
+ ttlDays?: number;
38
+ };
39
+ type DefenderLog = {
40
+ result?: {
41
+ riskLevel: string;
42
+ tier2Score?: number;
43
+ [key: string]: unknown;
44
+ };
45
+ [key: string]: unknown;
46
+ };
47
+ //#endregion
34
48
  //#region src/advanced/types.d.ts
35
49
  type AdvancedSinkConfig = {
36
50
  bucket?: string;
@@ -70,25 +84,19 @@ type ProviderAdvancedLog = {
70
84
  expirationTime?: number;
71
85
  };
72
86
  };
87
+ type PlatformAdvancedLog = {
88
+ data: {
89
+ [key: string]: unknown;
90
+ };
91
+ metadata?: {
92
+ expirationTime?: number;
93
+ };
94
+ };
73
95
  interface S3ClientConfig {
74
96
  region?: string;
75
97
  }
76
98
  type S3ClientBuilder = (config?: S3ClientConfig, logger?: ILogger) => S3Client | undefined;
77
99
  //#endregion
78
- //#region src/defender/types.d.ts
79
- type DefenderSinkConfig = {
80
- bucket?: string;
81
- ttlDays?: number;
82
- };
83
- type DefenderLog = {
84
- result?: {
85
- riskLevel: string;
86
- tier2Score?: number;
87
- [key: string]: unknown;
88
- };
89
- [key: string]: unknown;
90
- };
91
- //#endregion
92
100
  //#region src/types.d.ts
93
101
  declare const SourceType: {
94
102
  readonly RequestTester: "REQUEST_TESTER";
@@ -159,6 +167,7 @@ interface IOlapClient {
159
167
  recordProvider(providerInput: ProviderInput, providerResult: ProviderResult, options?: OlapOptions): Promise<void>;
160
168
  recordPlatform(platformInput: PlatformInput, platformResult: PlatformResult, options?: OlapOptions): Promise<void>;
161
169
  recordPlatform(platformLog: PlatformLog, options?: OlapOptions): Promise<void>;
170
+ recordPlatform(platformLog: PlatformLog, advancedLog: PlatformAdvancedLog, options?: OlapOptions): Promise<void>;
162
171
  getLogs(organizationId: string, projectSecureId: string, query: Query, engine?: OlapEngine): Promise<QueryResult>;
163
172
  getLastLogs(organizationId: string, projectSecureId: string, entities: LogEntities, query?: Query): Promise<QueryResult>;
164
173
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery, engine?: OlapEngine): Promise<ActionsQueryResult>;
@@ -175,6 +184,7 @@ interface IOlapClient {
175
184
  getStepAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepAdvancedLog | undefined>;
176
185
  getUnifiedAdvancedLog(organizationId: string, projectSecureId: string, requestId: string): Promise<UnifiedAdvancedLog | undefined>;
177
186
  getProviderAdvancedLog(organizationId: string, projectSecureId: string, requestId: string, id: string): Promise<ProviderAdvancedLog | undefined>;
187
+ getPlatformAdvancedLog(organizationId: string, eventId: string): Promise<PlatformAdvancedLog | undefined>;
178
188
  getDefenderLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<DefenderLog | undefined>;
179
189
  getLogsStatsAggregate(organizationId: string, projectSecureId: string, query: AggregateQuery, engine?: OlapEngine): Promise<AggregateResult>;
180
190
  getLogsStatsDimensions(organizationId: string, projectSecureId: string, query: DimensionsQuery, engine?: OlapEngine): Promise<DimensionsResult>;
@@ -352,6 +362,16 @@ type PlatformInput = {
352
362
  userId?: string;
353
363
  action?: string;
354
364
  subAction?: string;
365
+ authType?: AuthType;
366
+ authId?: string;
367
+ sourceType?: SourceType;
368
+ sourceId?: string;
369
+ userAgent?: string;
370
+ ipAddress?: string;
371
+ sessionId?: string;
372
+ agentId?: string;
373
+ transportType?: TransportType;
374
+ streamType?: StreamType;
355
375
  details?: Record<string, unknown>;
356
376
  startTime?: Date;
357
377
  };
@@ -567,6 +587,16 @@ type PlatformQuery = {
567
587
  userId?: string | string[];
568
588
  action?: string | string[];
569
589
  subAction?: string | string[];
590
+ sourceType?: string | string[];
591
+ sourceId?: string | string[];
592
+ authType?: string | string[];
593
+ authId?: string | string[];
594
+ userAgent?: string | string[];
595
+ ipAddress?: string | string[];
596
+ sessionId?: string | string[];
597
+ agentId?: string | string[];
598
+ transportType?: string | string[];
599
+ streamType?: string | string[];
570
600
  success?: boolean;
571
601
  startTime?: Date;
572
602
  endTime?: Date;
@@ -871,6 +901,16 @@ type PlatformLog = ILog & {
871
901
  userId?: string;
872
902
  action?: string;
873
903
  subAction?: string;
904
+ sourceType?: SourceType;
905
+ sourceId?: string;
906
+ authType?: AuthType;
907
+ authId?: string;
908
+ userAgent?: string;
909
+ ipAddress?: string;
910
+ sessionId?: string;
911
+ agentId?: string;
912
+ transportType?: TransportType;
913
+ streamType?: StreamType;
874
914
  success?: boolean;
875
915
  details?: string;
876
916
  };
@@ -973,6 +1013,7 @@ declare class OlapClient implements IOlapClient {
973
1013
  recordProvider(providerInput: ProviderInput, providerResult: ProviderResult, options?: OlapOptions): Promise<void>;
974
1014
  recordPlatform(platformInput: PlatformInput, platformResult: PlatformResult, options?: OlapOptions): Promise<void>;
975
1015
  recordPlatform(platformLog: PlatformLog, options?: OlapOptions): Promise<void>;
1016
+ recordPlatform(platformLog: PlatformLog, advancedLog: PlatformAdvancedLog, options?: OlapOptions): Promise<void>;
976
1017
  getLogs(organizationId: string, projectSecureId: string, query: Query, engine?: OlapEngine): Promise<QueryResult>;
977
1018
  getLastLogs(organizationId: string, projectSecureId: string, entities: LogEntities, query?: Query): Promise<QueryResult>;
978
1019
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery, engine?: OlapEngine): Promise<ActionsQueryResult>;
@@ -989,6 +1030,7 @@ declare class OlapClient implements IOlapClient {
989
1030
  getStepAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepAdvancedLog | undefined>;
990
1031
  getUnifiedAdvancedLog(organizationId: string, projectSecureId: string, requestId: string): Promise<UnifiedAdvancedLog | undefined>;
991
1032
  getProviderAdvancedLog(organizationId: string, projectSecureId: string, requestId: string, id: string): Promise<ProviderAdvancedLog | undefined>;
1033
+ getPlatformAdvancedLog(organizationId: string, eventId: string): Promise<PlatformAdvancedLog | undefined>;
992
1034
  getDefenderLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<DefenderLog | undefined>;
993
1035
  getLogsStatsAggregate(organizationId: string, projectSecureId: string, query: AggregateQuery, engine?: OlapEngine): Promise<AggregateResult>;
994
1036
  getLogsStatsDimensions(organizationId: string, projectSecureId: string, query: DimensionsQuery, engine?: OlapEngine): Promise<DimensionsResult>;
@@ -1064,4 +1106,4 @@ declare class OlapClientManager {
1064
1106
  //#region src/utils/stepErrors.d.ts
1065
1107
  declare const hasErrorEntries: (errors: unknown) => boolean;
1066
1108
  //#endregion
1067
- export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, AuthType, type AuthType as AuthTypeValue, ClickHouseClient, type ClickHouseConfig, 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 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 UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult, createConfigFromEnv, createOlapQueryClient, hasErrorEntries };
1109
+ export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, AuthType, type AuthType as AuthTypeValue, ClickHouseClient, type ClickHouseConfig, 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 UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult, createConfigFromEnv, createOlapQueryClient, hasErrorEntries };
package/dist/index.d.mts CHANGED
@@ -30,6 +30,20 @@ type DatasetsOptions = {
30
30
  includeBackground?: boolean;
31
31
  };
32
32
  //#endregion
33
+ //#region src/defender/types.d.ts
34
+ type DefenderSinkConfig = {
35
+ bucket?: string;
36
+ ttlDays?: number;
37
+ };
38
+ type DefenderLog = {
39
+ result?: {
40
+ riskLevel: string;
41
+ tier2Score?: number;
42
+ [key: string]: unknown;
43
+ };
44
+ [key: string]: unknown;
45
+ };
46
+ //#endregion
33
47
  //#region src/advanced/types.d.ts
34
48
  type AdvancedSinkConfig = {
35
49
  bucket?: string;
@@ -69,25 +83,19 @@ type ProviderAdvancedLog = {
69
83
  expirationTime?: number;
70
84
  };
71
85
  };
86
+ type PlatformAdvancedLog = {
87
+ data: {
88
+ [key: string]: unknown;
89
+ };
90
+ metadata?: {
91
+ expirationTime?: number;
92
+ };
93
+ };
72
94
  interface S3ClientConfig {
73
95
  region?: string;
74
96
  }
75
97
  type S3ClientBuilder = (config?: S3ClientConfig, logger?: ILogger) => S3Client | undefined;
76
98
  //#endregion
77
- //#region src/defender/types.d.ts
78
- type DefenderSinkConfig = {
79
- bucket?: string;
80
- ttlDays?: number;
81
- };
82
- type DefenderLog = {
83
- result?: {
84
- riskLevel: string;
85
- tier2Score?: number;
86
- [key: string]: unknown;
87
- };
88
- [key: string]: unknown;
89
- };
90
- //#endregion
91
99
  //#region src/types.d.ts
92
100
  declare const SourceType: {
93
101
  readonly RequestTester: "REQUEST_TESTER";
@@ -158,6 +166,7 @@ interface IOlapClient {
158
166
  recordProvider(providerInput: ProviderInput, providerResult: ProviderResult, options?: OlapOptions): Promise<void>;
159
167
  recordPlatform(platformInput: PlatformInput, platformResult: PlatformResult, options?: OlapOptions): Promise<void>;
160
168
  recordPlatform(platformLog: PlatformLog, options?: OlapOptions): Promise<void>;
169
+ recordPlatform(platformLog: PlatformLog, advancedLog: PlatformAdvancedLog, options?: OlapOptions): Promise<void>;
161
170
  getLogs(organizationId: string, projectSecureId: string, query: Query, engine?: OlapEngine): Promise<QueryResult>;
162
171
  getLastLogs(organizationId: string, projectSecureId: string, entities: LogEntities, query?: Query): Promise<QueryResult>;
163
172
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery, engine?: OlapEngine): Promise<ActionsQueryResult>;
@@ -174,6 +183,7 @@ interface IOlapClient {
174
183
  getStepAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepAdvancedLog | undefined>;
175
184
  getUnifiedAdvancedLog(organizationId: string, projectSecureId: string, requestId: string): Promise<UnifiedAdvancedLog | undefined>;
176
185
  getProviderAdvancedLog(organizationId: string, projectSecureId: string, requestId: string, id: string): Promise<ProviderAdvancedLog | undefined>;
186
+ getPlatformAdvancedLog(organizationId: string, eventId: string): Promise<PlatformAdvancedLog | undefined>;
177
187
  getDefenderLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<DefenderLog | undefined>;
178
188
  getLogsStatsAggregate(organizationId: string, projectSecureId: string, query: AggregateQuery, engine?: OlapEngine): Promise<AggregateResult>;
179
189
  getLogsStatsDimensions(organizationId: string, projectSecureId: string, query: DimensionsQuery, engine?: OlapEngine): Promise<DimensionsResult>;
@@ -351,6 +361,16 @@ type PlatformInput = {
351
361
  userId?: string;
352
362
  action?: string;
353
363
  subAction?: string;
364
+ authType?: AuthType;
365
+ authId?: string;
366
+ sourceType?: SourceType;
367
+ sourceId?: string;
368
+ userAgent?: string;
369
+ ipAddress?: string;
370
+ sessionId?: string;
371
+ agentId?: string;
372
+ transportType?: TransportType;
373
+ streamType?: StreamType;
354
374
  details?: Record<string, unknown>;
355
375
  startTime?: Date;
356
376
  };
@@ -566,6 +586,16 @@ type PlatformQuery = {
566
586
  userId?: string | string[];
567
587
  action?: string | string[];
568
588
  subAction?: string | string[];
589
+ sourceType?: string | string[];
590
+ sourceId?: string | string[];
591
+ authType?: string | string[];
592
+ authId?: string | string[];
593
+ userAgent?: string | string[];
594
+ ipAddress?: string | string[];
595
+ sessionId?: string | string[];
596
+ agentId?: string | string[];
597
+ transportType?: string | string[];
598
+ streamType?: string | string[];
569
599
  success?: boolean;
570
600
  startTime?: Date;
571
601
  endTime?: Date;
@@ -870,6 +900,16 @@ type PlatformLog = ILog & {
870
900
  userId?: string;
871
901
  action?: string;
872
902
  subAction?: string;
903
+ sourceType?: SourceType;
904
+ sourceId?: string;
905
+ authType?: AuthType;
906
+ authId?: string;
907
+ userAgent?: string;
908
+ ipAddress?: string;
909
+ sessionId?: string;
910
+ agentId?: string;
911
+ transportType?: TransportType;
912
+ streamType?: StreamType;
873
913
  success?: boolean;
874
914
  details?: string;
875
915
  };
@@ -972,6 +1012,7 @@ declare class OlapClient implements IOlapClient {
972
1012
  recordProvider(providerInput: ProviderInput, providerResult: ProviderResult, options?: OlapOptions): Promise<void>;
973
1013
  recordPlatform(platformInput: PlatformInput, platformResult: PlatformResult, options?: OlapOptions): Promise<void>;
974
1014
  recordPlatform(platformLog: PlatformLog, options?: OlapOptions): Promise<void>;
1015
+ recordPlatform(platformLog: PlatformLog, advancedLog: PlatformAdvancedLog, options?: OlapOptions): Promise<void>;
975
1016
  getLogs(organizationId: string, projectSecureId: string, query: Query, engine?: OlapEngine): Promise<QueryResult>;
976
1017
  getLastLogs(organizationId: string, projectSecureId: string, entities: LogEntities, query?: Query): Promise<QueryResult>;
977
1018
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery, engine?: OlapEngine): Promise<ActionsQueryResult>;
@@ -988,6 +1029,7 @@ declare class OlapClient implements IOlapClient {
988
1029
  getStepAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepAdvancedLog | undefined>;
989
1030
  getUnifiedAdvancedLog(organizationId: string, projectSecureId: string, requestId: string): Promise<UnifiedAdvancedLog | undefined>;
990
1031
  getProviderAdvancedLog(organizationId: string, projectSecureId: string, requestId: string, id: string): Promise<ProviderAdvancedLog | undefined>;
1032
+ getPlatformAdvancedLog(organizationId: string, eventId: string): Promise<PlatformAdvancedLog | undefined>;
991
1033
  getDefenderLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<DefenderLog | undefined>;
992
1034
  getLogsStatsAggregate(organizationId: string, projectSecureId: string, query: AggregateQuery, engine?: OlapEngine): Promise<AggregateResult>;
993
1035
  getLogsStatsDimensions(organizationId: string, projectSecureId: string, query: DimensionsQuery, engine?: OlapEngine): Promise<DimensionsResult>;
@@ -1063,4 +1105,4 @@ declare class OlapClientManager {
1063
1105
  //#region src/utils/stepErrors.d.ts
1064
1106
  declare const hasErrorEntries: (errors: unknown) => boolean;
1065
1107
  //#endregion
1066
- export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, AuthType, type AuthType as AuthTypeValue, ClickHouseClient, type ClickHouseConfig, 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 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 UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult, createConfigFromEnv, createOlapQueryClient, hasErrorEntries };
1108
+ export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AdvancedSinkConfig, type AggregateQuery, type AggregateResult, AuthType, type AuthType as AuthTypeValue, ClickHouseClient, type ClickHouseConfig, 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 UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult, createConfigFromEnv, createOlapQueryClient, hasErrorEntries };