@stackone/olap 1.42.0 → 1.44.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.
Files changed (56) hide show
  1. package/dist/chunk-51fMIa0T.mjs +1 -0
  2. package/dist/index.cjs +78 -14
  3. package/dist/index.d.cts +53 -458
  4. package/dist/index.d.mts +54 -458
  5. package/dist/index.mjs +78 -14
  6. package/package.json +1 -1
  7. package/dist/chunk-C_uqNoKw.cjs +0 -1
  8. package/dist/chunk-vR2LO-B7.mjs +0 -1
  9. package/dist/client-CxiSp4Kz.mjs +0 -7
  10. package/dist/client-D_jZT_sh.cjs +0 -7
  11. package/dist/dist-cjs-7cgXmuN1.cjs +0 -1
  12. package/dist/dist-cjs-BBOPveZ_.cjs +0 -1
  13. package/dist/dist-cjs-BEXyl9CE.cjs +0 -1
  14. package/dist/dist-cjs-BJejHHw0.mjs +0 -1
  15. package/dist/dist-cjs-BROT1u6D.mjs +0 -21
  16. package/dist/dist-cjs-C3UFC3Rw.cjs +0 -1
  17. package/dist/dist-cjs-CDrv1zcx.cjs +0 -1
  18. package/dist/dist-cjs-CFQiiLMm.cjs +0 -1
  19. package/dist/dist-cjs-CImGb38T.mjs +0 -1
  20. package/dist/dist-cjs-C_zn_i01.cjs +0 -1
  21. package/dist/dist-cjs-CgFnrTst.cjs +0 -1
  22. package/dist/dist-cjs-Cj3NYQtI.mjs +0 -1
  23. package/dist/dist-cjs-CmG4hcDN.cjs +0 -1
  24. package/dist/dist-cjs-D24pTYrl.mjs +0 -1
  25. package/dist/dist-cjs-D2IONrv0.cjs +0 -1
  26. package/dist/dist-cjs-D2azcEBs.cjs +0 -1
  27. package/dist/dist-cjs-DC7dl5c4.cjs +0 -1
  28. package/dist/dist-cjs-DCc0jF-Z.mjs +0 -1
  29. package/dist/dist-cjs-DJQQKYqb.mjs +0 -1
  30. package/dist/dist-cjs-DNkXQvYD.mjs +0 -1
  31. package/dist/dist-cjs-DcIt6eMS.mjs +0 -5
  32. package/dist/dist-cjs-DdKFBEUG.mjs +0 -1
  33. package/dist/dist-cjs-DhtfbTa-.cjs +0 -1
  34. package/dist/dist-cjs-DtKIuDDF.cjs +0 -1
  35. package/dist/dist-cjs-DuCMBjQS.cjs +0 -21
  36. package/dist/dist-cjs-LWm2hVH_.cjs +0 -12
  37. package/dist/dist-cjs-PLsdzpHT.mjs +0 -1
  38. package/dist/dist-cjs-X19WxNr5.mjs +0 -1
  39. package/dist/dist-cjs-_8tdit4z.mjs +0 -1
  40. package/dist/dist-cjs-eAT0vqyG.cjs +0 -5
  41. package/dist/dist-cjs-ngBHCypA.mjs +0 -1
  42. package/dist/dist-cjs-qRyJRodq.mjs +0 -1
  43. package/dist/dist-cjs-t0C5x-PN.mjs +0 -1
  44. package/dist/dist-cjs-wmzGBAE4.mjs +0 -12
  45. package/dist/event-streams-CA37ge5J.mjs +0 -1
  46. package/dist/event-streams-XivmSWgG.cjs +0 -1
  47. package/dist/package--ZTLvSpm.cjs +0 -1
  48. package/dist/package-DmN2B-57.mjs +0 -1
  49. package/dist/signin-BIIeLOjk.mjs +0 -1
  50. package/dist/signin-Bxo7nUca.cjs +0 -1
  51. package/dist/sso-oidc-4-y3FFnG.mjs +0 -1
  52. package/dist/sso-oidc-Cd15Ws6v.cjs +0 -1
  53. package/dist/sts-BNVkCfCW.mjs +0 -1
  54. package/dist/sts-BbQcEhgP.mjs +0 -1
  55. package/dist/sts-JEd7nqQo.cjs +0 -1
  56. package/dist/sts-Rnhz_R5a.cjs +0 -1
package/dist/index.d.mts CHANGED
@@ -1,465 +1,39 @@
1
- import { i as __name } from "./chunk-vR2LO-B7.mjs";
1
+ import { n as __name } from "./chunk-51fMIa0T.mjs";
2
+ import { z } from "@stackone/utils";
2
3
  import { S3Client } from "@aws-sdk/client-s3";
3
- import { Readable } from "node:stream";
4
- import https from "node:https";
5
- import http from "node:http";
4
+ import { HttpClient } from "@stackone/transport";
5
+ import { ILogger } from "@stackone/logger";
6
6
  import { Producer } from "@platformatic/kafka";
7
- import { AxiosInstance } from "axios";
8
- import * as redis from "redis";
9
7
 
10
- //#region ../logger/src/types.d.ts
11
- interface ILogger {
12
- debug({
13
- category,
14
- message,
15
- traceId,
16
- context
17
- }: {
18
- category?: string;
19
- message: string;
20
- traceId?: string;
21
- context?: Record<string, unknown>;
22
- }): void;
23
- info({
24
- category,
25
- message,
26
- traceId,
27
- context
28
- }: {
29
- category?: string;
30
- message: string;
31
- traceId?: string;
32
- context?: Record<string, unknown>;
33
- }): void;
34
- warning({
35
- category,
36
- message,
37
- traceId,
38
- error,
39
- code,
40
- context
41
- }: {
42
- category?: string;
43
- message: string;
44
- traceId?: string;
45
- error?: LogError;
46
- code?: string;
47
- context?: Record<string, unknown>;
48
- }): void;
49
- error({
50
- category,
51
- message,
52
- traceId,
53
- error,
54
- code,
55
- context
56
- }: {
57
- category?: string;
58
- message: string;
59
- traceId?: string;
60
- error?: LogError;
61
- code: string;
62
- context?: Record<string, unknown>;
63
- }): void;
8
+ //#region ../../node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts
9
+ declare global {
10
+ /**
11
+ * interface merging stub.
12
+ */
13
+ interface RequestInit {}
64
14
  }
65
- type LogError = Error & {
66
- response?: {
67
- data?: unknown;
68
- };
69
- context?: Record<string, unknown>;
70
- url?: string;
71
- };
72
- //#endregion
73
- //#region ../transport/src/cacheClient/types.d.ts
74
- interface ICacheClient<ClientType = unknown> {
75
- isAvailable(): boolean;
76
- getData<T>(key: string): Promise<T | null>;
77
- getDataKeysFromGroup(groupKey: string): Promise<string[] | null>;
78
- listData<T>({
79
- partialKey,
80
- limit,
81
- cursor
82
- }: {
83
- partialKey: string;
84
- limit?: number;
85
- cursor?: string;
86
- }): Promise<{
87
- items: T[] | null;
88
- cursor?: string;
89
- }>;
90
- setData<T>({
91
- key,
92
- value,
93
- cacheTTL,
94
- groupKeys,
95
- groupKeyTTL
96
- }: {
97
- key: string;
98
- value: T;
99
- cacheTTL: number;
100
- groupKeys?: string[];
101
- groupKeyTTL?: number;
102
- }): Promise<boolean>;
103
- setTTL(key: string, cacheTTL: number): Promise<boolean>;
104
- executeScript?<T>({
105
- sha1,
106
- keys,
107
- args
108
- }: {
109
- sha1: string;
110
- keys: string[];
111
- args: string[];
112
- }): Promise<T | null>;
113
- loadScript?(script: string): Promise<string | null>;
114
- scriptExists?(shas: string[]): Promise<boolean[]>;
115
- increment?(key: string, cacheTTL: number): Promise<number | null>;
116
- decrement?(key: string, cacheTTL: number): Promise<number | null>;
117
- subscribe?<T extends boolean = false>(pattern: string, listener: PubSubListener<T>): Promise<boolean>;
118
- unsubscribe?(pattern: string): Promise<boolean>;
119
- publish?(channel: string, message: string): Promise<number | null>;
120
- getClient?(): ClientType | null;
121
- deleteData?(key: string, groupKeys?: string[]): Promise<boolean>;
122
- close?(): Promise<void> | void;
123
- }
124
- type PubSubListener<ReturnsBuffer extends boolean = false> = <T extends (ReturnsBuffer extends true ? Buffer : string)>(message: T, channel: T) => unknown;
125
15
  //#endregion
126
- //#region ../transport/src/redisClient/types.d.ts
127
- type RedisClientType = redis.RedisClientType;
128
- interface RedisClientConfig {
129
- getRedisClient?: typeof redis.createClient;
130
- host?: string;
131
- port?: number;
132
- tls?: boolean;
133
- keepAlive?: number;
134
- reconnect?: boolean;
135
- database?: number;
136
- }
137
- type RedisClientBuilder = (config: RedisClientConfig, logger?: ILogger, invoker?: string) => Promise<ICacheClient<RedisClientType> | undefined>;
138
- //#endregion
139
- //#region ../transport/src/concurrencyManager/types.d.ts
140
- type ConcurrencySubPoolConfig = {
141
- subPoolKey: string;
142
- urlPattern: RegExp | string;
143
- maxConcurrency: number;
144
- };
145
- type ConcurrencyConfig = {
146
- mainMaxConcurrency: number;
147
- subPools?: ConcurrencySubPoolConfig[];
148
- };
149
- //#endregion
150
- //#region ../transport/src/rateLimitManager/types.d.ts
151
- type RateLimitSubPoolConfig = {
152
- subPoolKey: string;
153
- urlPattern: RegExp | string;
154
- rateLimit: number;
155
- };
156
- type RetryUnit = 'seconds' | 'milliseconds' | 'date';
157
- type MappedRateLimitErrorConfig = {
158
- errorStatus: number;
159
- errorMessage: string | RegExp;
160
- errorMessagePath?: string;
161
- retryAfterPath?: string;
162
- retryAfterUnit?: RetryUnit;
163
- retryAfterValue?: number;
164
- };
165
- type RateLimitConfig = {
166
- mainRatelimit: number;
167
- subPools?: RateLimitSubPoolConfig[];
168
- mappedRateLimitErrors?: MappedRateLimitErrorConfig[];
169
- };
170
- //#endregion
171
- //#region ../transport/src/interceptors/types.d.ts
172
- type RequestConfig = {
173
- rateLimits?: RateLimitConfig;
174
- concurrency?: ConcurrencyConfig;
175
- };
176
- //#endregion
177
- //#region ../transport/src/parsers/types.d.ts
178
- declare const QueryArrayFormats: readonly ["repeat", "brackets", "comma", "stringify"];
179
- type QueryArrayFormat = (typeof QueryArrayFormats)[number];
180
- //#endregion
181
- //#region ../transport/src/httpClient/types.d.ts
182
- type HttpHeader = string | string[];
183
- type HttpHeaders = {
184
- [key: string]: HttpHeader;
185
- };
186
- type HttpQueryParamValue = {
187
- value: string | string[];
188
- arrayFormat?: QueryArrayFormat;
189
- };
190
- type HttpQueryParams = {
191
- [key: string]: string | string[] | HttpQueryParamValue;
192
- };
193
- declare const HttpMethods: readonly ["get", "post", "put", "delete", "patch"];
194
- type HttpMethod = (typeof HttpMethods)[number];
195
- type HttpResponse<T = any, P = any> = {
196
- data: T;
197
- status: number;
198
- headers: HttpHeaders;
199
- requestUrl: string;
200
- responseType?: string;
201
- responseTime?: Date;
202
- message?: string;
203
- body?: P;
204
- };
205
- type StreamHttpResponse = {
206
- status: number;
207
- headers: HttpHeaders;
208
- stream: Readable;
209
- requestUrl: string;
210
- };
211
- interface IHttpClient {
212
- request<P, T>({
213
- headers,
214
- url,
215
- method,
216
- queryParams,
217
- maxRedirects,
218
- responseType,
219
- cacheTTL,
220
- context,
221
- payload,
222
- httpsAgent,
223
- httpAgent,
224
- requestConfig,
225
- httpsAgentConfig
226
- }: {
227
- headers?: HttpHeaders;
228
- url: string;
229
- method?: HttpMethod;
230
- queryParams?: HttpQueryParams;
231
- maxRedirects?: number;
232
- responseType?: 'arraybuffer' | 'blob' | 'document' | 'json' | 'text';
233
- cacheTTL?: number;
234
- context?: RequestContext;
235
- payload?: P;
236
- httpsAgent?: https.Agent;
237
- httpAgent?: http.Agent;
238
- requestConfig?: RequestConfig;
239
- httpsAgentConfig?: https.AgentOptions;
240
- }): Promise<HttpResponse<T>>;
241
- get<T>({
242
- headers,
243
- url,
244
- queryParams,
245
- maxRedirects,
246
- cacheTTL,
247
- context,
248
- requestConfig
249
- }: {
250
- headers?: HttpHeaders;
251
- url: string;
252
- queryParams?: HttpQueryParams;
253
- maxRedirects?: number;
254
- cacheTTL?: number;
255
- context?: RequestContext;
256
- requestConfig?: RequestConfig;
257
- }): Promise<HttpResponse<T>>;
258
- post<P, T>({
259
- headers,
260
- url,
261
- maxRedirects,
262
- cacheTTL,
263
- context,
264
- payload,
265
- requestConfig
266
- }: {
267
- headers?: HttpHeaders;
268
- url: string;
269
- maxRedirects?: number;
270
- cacheTTL?: number;
271
- context?: RequestContext;
272
- payload?: P;
273
- requestConfig?: RequestConfig;
274
- }): Promise<HttpResponse<T>>;
275
- requestStream({
276
- headers,
277
- url,
278
- method,
279
- queryParams,
280
- maxRedirects,
281
- context,
282
- traceId,
283
- payload,
284
- httpsAgent,
285
- httpAgent,
286
- requestConfig,
287
- httpsAgentConfig
288
- }: {
289
- headers?: HttpHeaders;
290
- url: string;
291
- method?: HttpMethod;
292
- queryParams?: HttpQueryParams;
293
- maxRedirects?: number;
294
- context?: RequestContext;
295
- traceId?: string;
296
- payload?: unknown;
297
- httpsAgent?: https.Agent;
298
- httpAgent?: http.Agent;
299
- requestConfig?: RequestConfig;
300
- httpsAgentConfig?: https.AgentOptions;
301
- }): Promise<StreamHttpResponse>;
302
- }
303
- interface OperationSetting {
304
- url?: string;
305
- query?: Record<string, string>;
306
- config?: Partial<APIConfig>;
307
- custom_settings?: Record<string, unknown>;
308
- }
309
- type OperationSettings = Record<string, OperationSetting>;
310
- type AccountSettings = Record<string, string | number | boolean | object>;
311
- type HttpClientBehaviour = 'CONCURRENCY' | 'RETRY';
312
- type APIConfig = Record<string, unknown>;
313
- type RequestContext = {
314
- accountSecureId?: string;
315
- projectSecureId?: string;
316
- organizationId?: number | string;
317
- environment?: string;
318
- authConfigKey?: string;
319
- provider?: string;
320
- service?: string;
321
- resource?: string;
322
- subResource?: string;
323
- childResource?: string;
324
- operation?: string;
325
- action?: string;
326
- mode?: string;
327
- testerUniqueToken?: string;
328
- externalKey?: string;
329
- dataKey?: string;
330
- isDataSync?: boolean;
331
- operationSettings?: OperationSettings;
332
- accountSettings?: AccountSettings;
333
- behaviours?: HttpClientBehaviour[];
334
- };
335
- type ErrorMappingFn<TError extends Error = Error> = (error: Error) => TError | undefined;
336
- type TransportFactory = ({
337
- logger,
338
- redisClientConfig,
339
- context,
340
- requestConfig,
341
- httpsAgentConfig
342
- }: {
343
- logger?: ILogger;
344
- redisClientConfig?: RedisClientConfig;
345
- context?: RequestContext;
346
- requestConfig?: RequestConfig;
347
- httpsAgentConfig?: https.AgentOptions;
348
- }) => Promise<AxiosInstance>;
349
- //#endregion
350
- //#region ../transport/src/httpClient/httpClient.d.ts
351
- declare class HttpClient<TError extends Error = Error> implements IHttpClient {
352
- #private;
353
- name: string;
354
- constructor({
355
- transportFactory,
356
- getRedisClient,
357
- logger,
358
- redisClientConfig,
359
- errorMappingFn
360
- }?: {
361
- transportFactory?: TransportFactory;
362
- getRedisClient?: RedisClientBuilder;
363
- logger?: ILogger;
364
- redisClientConfig?: RedisClientConfig;
365
- errorMappingFn?: ErrorMappingFn<TError>;
366
- });
367
- request<P, T>({
368
- headers,
369
- url,
370
- method,
371
- queryParams,
372
- maxRedirects,
373
- responseType,
374
- cacheTTL,
375
- context,
376
- traceId,
377
- payload,
378
- httpsAgent,
379
- httpAgent,
380
- requestConfig,
381
- httpsAgentConfig
382
- }: {
383
- headers?: HttpHeaders;
384
- url: string;
385
- method?: HttpMethod;
386
- queryParams?: HttpQueryParams;
387
- maxRedirects?: number;
388
- responseType?: 'arraybuffer' | 'blob' | 'document' | 'json' | 'text';
389
- cacheTTL?: number;
390
- context?: RequestContext;
391
- traceId?: string;
392
- payload?: P;
393
- httpsAgent?: https.Agent;
394
- httpAgent?: http.Agent;
395
- requestConfig?: RequestConfig;
396
- httpsAgentConfig?: https.AgentOptions;
397
- }): Promise<HttpResponse<T>>;
398
- get<T>({
399
- headers,
400
- url,
401
- queryParams,
402
- maxRedirects,
403
- cacheTTL,
404
- context,
405
- traceId,
406
- requestConfig
407
- }: {
408
- headers?: HttpHeaders;
409
- url: string;
410
- queryParams?: HttpQueryParams;
411
- maxRedirects?: number;
412
- cacheTTL?: number;
413
- context?: RequestContext;
414
- traceId?: string;
415
- requestConfig?: RequestConfig;
416
- }): Promise<HttpResponse<T>>;
417
- post<P, T>({
418
- headers,
419
- url,
420
- maxRedirects,
421
- cacheTTL,
422
- context,
423
- traceId,
424
- payload,
425
- requestConfig
426
- }: {
427
- headers?: HttpHeaders;
428
- url: string;
429
- maxRedirects?: number;
430
- cacheTTL?: number;
431
- context?: RequestContext;
432
- traceId?: string;
433
- payload?: P;
434
- requestConfig?: RequestConfig;
435
- }): Promise<HttpResponse<T>>;
436
- requestStream({
437
- headers,
438
- url,
439
- method,
440
- queryParams,
441
- maxRedirects,
442
- context,
443
- traceId,
444
- payload,
445
- httpsAgent,
446
- httpAgent,
447
- requestConfig,
448
- httpsAgentConfig
449
- }: {
450
- headers?: HttpHeaders;
451
- url: string;
452
- method?: HttpMethod;
453
- queryParams?: HttpQueryParams;
454
- maxRedirects?: number;
455
- context?: RequestContext;
456
- traceId?: string;
457
- payload?: unknown;
458
- httpsAgent?: https.Agent;
459
- httpAgent?: http.Agent;
460
- requestConfig?: RequestConfig;
461
- httpsAgentConfig?: https.AgentOptions;
462
- }): Promise<StreamHttpResponse>;
16
+ //#region ../../node_modules/@aws-sdk/types/dist-types/serde.d.ts
17
+ /**
18
+ * @public
19
+ *
20
+ * Declare DOM interfaces in case dom.d.ts is not added to the tsconfig lib, causing
21
+ * interfaces to not be defined. For developers with dom.d.ts added, the interfaces will
22
+ * be merged correctly.
23
+ *
24
+ * This is also required for any clients with streaming interfaces where the corresponding
25
+ * types are also referred. The type is only declared here once since this `@aws-sdk/types`
26
+ * is depended by all `@aws-sdk` packages.
27
+ */
28
+ declare global {
29
+ /**
30
+ * @public
31
+ */
32
+ export interface ReadableStream {}
33
+ /**
34
+ * @public
35
+ */
36
+ export interface Blob {}
463
37
  }
464
38
  //#endregion
465
39
  //#region ../core/src/source/types.d.ts
@@ -796,6 +370,8 @@ type Query = {
796
370
  endTime?: Date;
797
371
  pageNumber?: number;
798
372
  pageSize?: number;
373
+ orderBy?: OrderBy;
374
+ orderDirection?: OrderDirection;
799
375
  };
800
376
  type QueryResult = {
801
377
  logs: Array<ActionLog | UnifiedLog | StepLog | ProviderLog>;
@@ -818,6 +394,8 @@ type ActionsQuery = {
818
394
  endTime?: Date;
819
395
  pageNumber?: number;
820
396
  pageSize?: number;
397
+ orderBy?: OrderBy;
398
+ orderDirection?: OrderDirection;
821
399
  };
822
400
  type ActionsQueryResult = {
823
401
  actionLogs: ActionLog[];
@@ -837,6 +415,8 @@ type StepsQuery = {
837
415
  endTime?: Date;
838
416
  pageNumber?: number;
839
417
  pageSize?: number;
418
+ orderBy?: OrderBy;
419
+ orderDirection?: OrderDirection;
840
420
  };
841
421
  type StepsQueryResult = {
842
422
  stepLogs: StepLog[];
@@ -860,6 +440,8 @@ type UnifiedQuery = {
860
440
  endTime?: Date;
861
441
  pageNumber?: number;
862
442
  pageSize?: number;
443
+ orderBy?: OrderBy;
444
+ orderDirection?: OrderDirection;
863
445
  };
864
446
  type UnifiedQueryResult = {
865
447
  unifiedLogs: UnifiedLog[];
@@ -878,6 +460,8 @@ type ProviderQuery = {
878
460
  endTime?: Date;
879
461
  pageNumber?: number;
880
462
  pageSize?: number;
463
+ orderBy?: OrderBy;
464
+ orderDirection?: OrderDirection;
881
465
  };
882
466
  type ProviderQueryResult = {
883
467
  providerLogs: ProviderLog[];
@@ -885,6 +469,18 @@ type ProviderQueryResult = {
885
469
  pageNumber: number;
886
470
  pageSize: number;
887
471
  };
472
+ declare const OrderBy: {
473
+ readonly StartTime: "startTime";
474
+ readonly EndTime: "endTime";
475
+ readonly EventTime: "eventTime";
476
+ readonly DurationMs: "durationMs";
477
+ };
478
+ type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
479
+ declare const OrderDirection: {
480
+ readonly Asc: "asc";
481
+ readonly Desc: "desc";
482
+ };
483
+ type OrderDirection = (typeof OrderDirection)[keyof typeof OrderDirection];
888
484
  type IntervalType = 'minute' | 'hour' | 'day' | 'week' | 'month';
889
485
  declare const Dimension: {
890
486
  readonly ConnectorKey: "connector_key";
@@ -1205,4 +801,4 @@ declare class OlapClientManager {
1205
801
  static resetInstance(): void;
1206
802
  }
1207
803
  //#endregion
1208
- export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AggregateQuery, type AggregateResult, type DatasetsOptions, type DefenderContext, type DefenderLog, type DefenderOptions, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type ILog, type IOlapClient, type IntervalType, LogType, type LogType as LogTypeValues, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SourceQuery, type SourceResult, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, type TinybirdConfig, type TinybirdQueryOptions, type TinybirdResponse, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult };
804
+ export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AggregateQuery, type AggregateResult, type DatasetsOptions, type DefenderContext, type DefenderLog, type DefenderOptions, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type ILog, type IOlapClient, type IntervalType, LogType, type LogType as LogTypeValues, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SourceQuery, type SourceResult, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, type TinybirdConfig, type TinybirdQueryOptions, type TinybirdResponse, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult };