@stackone/olap 1.67.0 → 1.68.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/README.md +26 -0
- package/dist/index.cjs +25 -101
- package/dist/index.d.cts +7 -8
- package/dist/index.d.mts +7 -8
- package/dist/index.mjs +25 -101
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -179,7 +179,7 @@ interface IOlapClient {
|
|
|
179
179
|
getUnifiedLog(organizationId: string, projectSecureId: string, requestId: string, engine?: OlapEngine): Promise<UnifiedLog | undefined>;
|
|
180
180
|
getProviderLogs(organizationId: string, projectSecureId: string, query: ProviderQuery, engine?: OlapEngine): Promise<ProviderQueryResult>;
|
|
181
181
|
getProviderLog(organizationId: string, projectSecureId: string, requestId: string, id: string, engine?: OlapEngine): Promise<ProviderLog | undefined>;
|
|
182
|
-
getPlatformLogs(organizationId: string, query: PlatformQuery
|
|
182
|
+
getPlatformLogs(organizationId: string, query: PlatformQuery): Promise<PlatformQueryResult>;
|
|
183
183
|
getActionAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionAdvancedLog | undefined>;
|
|
184
184
|
getStepAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepAdvancedLog | undefined>;
|
|
185
185
|
getUnifiedAdvancedLog(organizationId: string, projectSecureId: string, requestId: string): Promise<UnifiedAdvancedLog | undefined>;
|
|
@@ -372,6 +372,7 @@ type PlatformInput = {
|
|
|
372
372
|
agentId?: string;
|
|
373
373
|
transportType?: TransportType;
|
|
374
374
|
streamType?: StreamType;
|
|
375
|
+
isRead?: boolean;
|
|
375
376
|
details?: Record<string, unknown>;
|
|
376
377
|
startTime?: Date;
|
|
377
378
|
};
|
|
@@ -390,7 +391,7 @@ declare const LogType: {
|
|
|
390
391
|
};
|
|
391
392
|
type LogType = (typeof LogType)[keyof typeof LogType];
|
|
392
393
|
type OlapEngine = 'tinybird' | 'clickhouse';
|
|
393
|
-
type CombinedLogType = typeof LogType.Action | typeof LogType.Unified
|
|
394
|
+
type CombinedLogType = typeof LogType.Action | typeof LogType.Unified;
|
|
394
395
|
type Query = {
|
|
395
396
|
organizationId?: string | string[];
|
|
396
397
|
projectSecureId?: string | string[];
|
|
@@ -428,10 +429,6 @@ type Query = {
|
|
|
428
429
|
streamType?: string | string[];
|
|
429
430
|
isBackground?: boolean;
|
|
430
431
|
logId?: string | string[];
|
|
431
|
-
eventId?: string | string[];
|
|
432
|
-
eventType?: string | string[];
|
|
433
|
-
userId?: string | string[];
|
|
434
|
-
subAction?: string | string[];
|
|
435
432
|
logType?: CombinedLogType | CombinedLogType[];
|
|
436
433
|
success?: boolean;
|
|
437
434
|
startTime?: Date;
|
|
@@ -442,7 +439,7 @@ type Query = {
|
|
|
442
439
|
orderDirection?: OrderDirection;
|
|
443
440
|
};
|
|
444
441
|
type QueryResult = {
|
|
445
|
-
logs: Array<ActionLog | UnifiedLog | StepLog | ProviderLog
|
|
442
|
+
logs: Array<ActionLog | UnifiedLog | StepLog | ProviderLog>;
|
|
446
443
|
total: number;
|
|
447
444
|
pageNumber: number;
|
|
448
445
|
pageSize: number;
|
|
@@ -602,6 +599,7 @@ type PlatformQuery = {
|
|
|
602
599
|
agentId?: string | string[];
|
|
603
600
|
transportType?: string | string[];
|
|
604
601
|
streamType?: string | string[];
|
|
602
|
+
isRead?: boolean;
|
|
605
603
|
success?: boolean;
|
|
606
604
|
startTime?: Date;
|
|
607
605
|
endTime?: Date;
|
|
@@ -917,6 +915,7 @@ type PlatformLog = ILog & {
|
|
|
917
915
|
agentId?: string;
|
|
918
916
|
transportType?: TransportType;
|
|
919
917
|
streamType?: StreamType;
|
|
918
|
+
isRead?: boolean;
|
|
920
919
|
success?: boolean;
|
|
921
920
|
details?: string;
|
|
922
921
|
};
|
|
@@ -1030,7 +1029,7 @@ declare class OlapClient implements IOlapClient {
|
|
|
1030
1029
|
getUnifiedLogs(organizationId: string, projectSecureId: string, query: UnifiedQuery, engine?: OlapEngine): Promise<UnifiedQueryResult>;
|
|
1031
1030
|
getUnifiedLog(organizationId: string, projectSecureId: string, requestId: string, engine?: OlapEngine): Promise<UnifiedLog | undefined>;
|
|
1032
1031
|
getProviderLogs(organizationId: string, projectSecureId: string, query: ProviderQuery, engine?: OlapEngine): Promise<ProviderQueryResult>;
|
|
1033
|
-
getPlatformLogs(organizationId: string, query: PlatformQuery
|
|
1032
|
+
getPlatformLogs(organizationId: string, query: PlatformQuery): Promise<PlatformQueryResult>;
|
|
1034
1033
|
getProviderLog(organizationId: string, projectSecureId: string, requestId: string, id: string, engine?: OlapEngine): Promise<ProviderLog | undefined>;
|
|
1035
1034
|
getActionAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionAdvancedLog | undefined>;
|
|
1036
1035
|
getStepAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepAdvancedLog | undefined>;
|
package/dist/index.d.mts
CHANGED
|
@@ -178,7 +178,7 @@ interface IOlapClient {
|
|
|
178
178
|
getUnifiedLog(organizationId: string, projectSecureId: string, requestId: string, engine?: OlapEngine): Promise<UnifiedLog | undefined>;
|
|
179
179
|
getProviderLogs(organizationId: string, projectSecureId: string, query: ProviderQuery, engine?: OlapEngine): Promise<ProviderQueryResult>;
|
|
180
180
|
getProviderLog(organizationId: string, projectSecureId: string, requestId: string, id: string, engine?: OlapEngine): Promise<ProviderLog | undefined>;
|
|
181
|
-
getPlatformLogs(organizationId: string, query: PlatformQuery
|
|
181
|
+
getPlatformLogs(organizationId: string, query: PlatformQuery): Promise<PlatformQueryResult>;
|
|
182
182
|
getActionAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionAdvancedLog | undefined>;
|
|
183
183
|
getStepAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepAdvancedLog | undefined>;
|
|
184
184
|
getUnifiedAdvancedLog(organizationId: string, projectSecureId: string, requestId: string): Promise<UnifiedAdvancedLog | undefined>;
|
|
@@ -371,6 +371,7 @@ type PlatformInput = {
|
|
|
371
371
|
agentId?: string;
|
|
372
372
|
transportType?: TransportType;
|
|
373
373
|
streamType?: StreamType;
|
|
374
|
+
isRead?: boolean;
|
|
374
375
|
details?: Record<string, unknown>;
|
|
375
376
|
startTime?: Date;
|
|
376
377
|
};
|
|
@@ -389,7 +390,7 @@ declare const LogType: {
|
|
|
389
390
|
};
|
|
390
391
|
type LogType = (typeof LogType)[keyof typeof LogType];
|
|
391
392
|
type OlapEngine = 'tinybird' | 'clickhouse';
|
|
392
|
-
type CombinedLogType = typeof LogType.Action | typeof LogType.Unified
|
|
393
|
+
type CombinedLogType = typeof LogType.Action | typeof LogType.Unified;
|
|
393
394
|
type Query = {
|
|
394
395
|
organizationId?: string | string[];
|
|
395
396
|
projectSecureId?: string | string[];
|
|
@@ -427,10 +428,6 @@ type Query = {
|
|
|
427
428
|
streamType?: string | string[];
|
|
428
429
|
isBackground?: boolean;
|
|
429
430
|
logId?: string | string[];
|
|
430
|
-
eventId?: string | string[];
|
|
431
|
-
eventType?: string | string[];
|
|
432
|
-
userId?: string | string[];
|
|
433
|
-
subAction?: string | string[];
|
|
434
431
|
logType?: CombinedLogType | CombinedLogType[];
|
|
435
432
|
success?: boolean;
|
|
436
433
|
startTime?: Date;
|
|
@@ -441,7 +438,7 @@ type Query = {
|
|
|
441
438
|
orderDirection?: OrderDirection;
|
|
442
439
|
};
|
|
443
440
|
type QueryResult = {
|
|
444
|
-
logs: Array<ActionLog | UnifiedLog | StepLog | ProviderLog
|
|
441
|
+
logs: Array<ActionLog | UnifiedLog | StepLog | ProviderLog>;
|
|
445
442
|
total: number;
|
|
446
443
|
pageNumber: number;
|
|
447
444
|
pageSize: number;
|
|
@@ -601,6 +598,7 @@ type PlatformQuery = {
|
|
|
601
598
|
agentId?: string | string[];
|
|
602
599
|
transportType?: string | string[];
|
|
603
600
|
streamType?: string | string[];
|
|
601
|
+
isRead?: boolean;
|
|
604
602
|
success?: boolean;
|
|
605
603
|
startTime?: Date;
|
|
606
604
|
endTime?: Date;
|
|
@@ -916,6 +914,7 @@ type PlatformLog = ILog & {
|
|
|
916
914
|
agentId?: string;
|
|
917
915
|
transportType?: TransportType;
|
|
918
916
|
streamType?: StreamType;
|
|
917
|
+
isRead?: boolean;
|
|
919
918
|
success?: boolean;
|
|
920
919
|
details?: string;
|
|
921
920
|
};
|
|
@@ -1029,7 +1028,7 @@ declare class OlapClient implements IOlapClient {
|
|
|
1029
1028
|
getUnifiedLogs(organizationId: string, projectSecureId: string, query: UnifiedQuery, engine?: OlapEngine): Promise<UnifiedQueryResult>;
|
|
1030
1029
|
getUnifiedLog(organizationId: string, projectSecureId: string, requestId: string, engine?: OlapEngine): Promise<UnifiedLog | undefined>;
|
|
1031
1030
|
getProviderLogs(organizationId: string, projectSecureId: string, query: ProviderQuery, engine?: OlapEngine): Promise<ProviderQueryResult>;
|
|
1032
|
-
getPlatformLogs(organizationId: string, query: PlatformQuery
|
|
1031
|
+
getPlatformLogs(organizationId: string, query: PlatformQuery): Promise<PlatformQueryResult>;
|
|
1033
1032
|
getProviderLog(organizationId: string, projectSecureId: string, requestId: string, id: string, engine?: OlapEngine): Promise<ProviderLog | undefined>;
|
|
1034
1033
|
getActionAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionAdvancedLog | undefined>;
|
|
1035
1034
|
getStepAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepAdvancedLog | undefined>;
|