@stackone/olap 1.68.0 → 1.69.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 +17 -0
- package/dist/index.cjs +16 -10
- package/dist/index.d.cts +16 -9
- package/dist/index.d.mts +16 -9
- package/dist/index.mjs +16 -10
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -356,12 +356,13 @@ type PlatformInput = {
|
|
|
356
356
|
eventId?: string;
|
|
357
357
|
eventType: string;
|
|
358
358
|
service: string;
|
|
359
|
-
organizationId
|
|
359
|
+
organizationId?: string;
|
|
360
360
|
projectSecureId?: string;
|
|
361
|
-
accountSecureId?: string;
|
|
362
361
|
userId?: string;
|
|
362
|
+
userEmail?: string;
|
|
363
363
|
action?: string;
|
|
364
|
-
|
|
364
|
+
resource?: string;
|
|
365
|
+
resourceId?: string;
|
|
365
366
|
authType?: AuthType;
|
|
366
367
|
authId?: string;
|
|
367
368
|
sourceType?: SourceType;
|
|
@@ -373,6 +374,7 @@ type PlatformInput = {
|
|
|
373
374
|
transportType?: TransportType;
|
|
374
375
|
streamType?: StreamType;
|
|
375
376
|
isRead?: boolean;
|
|
377
|
+
statusCode?: number;
|
|
376
378
|
details?: Record<string, unknown>;
|
|
377
379
|
startTime?: Date;
|
|
378
380
|
};
|
|
@@ -582,13 +584,14 @@ type ProviderQueryResult = {
|
|
|
582
584
|
type PlatformQuery = {
|
|
583
585
|
organizationId?: string | string[];
|
|
584
586
|
projectSecureId?: string | string[];
|
|
585
|
-
accountSecureId?: string | string[];
|
|
586
587
|
eventId?: string | string[];
|
|
587
588
|
eventType?: string | string[];
|
|
588
589
|
service?: string | string[];
|
|
589
590
|
userId?: string | string[];
|
|
591
|
+
userEmail?: string | string[];
|
|
590
592
|
action?: string | string[];
|
|
591
|
-
|
|
593
|
+
resource?: string | string[];
|
|
594
|
+
resourceId?: string | string[];
|
|
592
595
|
sourceType?: string | string[];
|
|
593
596
|
sourceId?: string | string[];
|
|
594
597
|
authType?: string | string[];
|
|
@@ -599,6 +602,7 @@ type PlatformQuery = {
|
|
|
599
602
|
agentId?: string | string[];
|
|
600
603
|
transportType?: string | string[];
|
|
601
604
|
streamType?: string | string[];
|
|
605
|
+
statusCode?: string | string[];
|
|
602
606
|
isRead?: boolean;
|
|
603
607
|
success?: boolean;
|
|
604
608
|
startTime?: Date;
|
|
@@ -763,9 +767,8 @@ interface ILog {
|
|
|
763
767
|
startTime: Date;
|
|
764
768
|
endTime?: Date;
|
|
765
769
|
durationMs?: number;
|
|
766
|
-
organizationId
|
|
770
|
+
organizationId?: string;
|
|
767
771
|
projectSecureId?: string;
|
|
768
|
-
accountSecureId?: string;
|
|
769
772
|
}
|
|
770
773
|
type ActionLog = ILog & {
|
|
771
774
|
logType: typeof LogType.Action;
|
|
@@ -902,9 +905,12 @@ type PlatformLog = ILog & {
|
|
|
902
905
|
eventId: string;
|
|
903
906
|
eventType: string;
|
|
904
907
|
service: string;
|
|
908
|
+
organizationId?: string;
|
|
905
909
|
userId?: string;
|
|
910
|
+
userEmail?: string;
|
|
906
911
|
action?: string;
|
|
907
|
-
|
|
912
|
+
resource?: string;
|
|
913
|
+
resourceId?: string;
|
|
908
914
|
sourceType?: SourceType;
|
|
909
915
|
sourceId?: string;
|
|
910
916
|
authType?: AuthType;
|
|
@@ -917,7 +923,8 @@ type PlatformLog = ILog & {
|
|
|
917
923
|
streamType?: StreamType;
|
|
918
924
|
isRead?: boolean;
|
|
919
925
|
success?: boolean;
|
|
920
|
-
|
|
926
|
+
statusCode?: number;
|
|
927
|
+
details?: Record<string, unknown>;
|
|
921
928
|
};
|
|
922
929
|
//#endregion
|
|
923
930
|
//#region src/logs/clickhouseClient.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -355,12 +355,13 @@ type PlatformInput = {
|
|
|
355
355
|
eventId?: string;
|
|
356
356
|
eventType: string;
|
|
357
357
|
service: string;
|
|
358
|
-
organizationId
|
|
358
|
+
organizationId?: string;
|
|
359
359
|
projectSecureId?: string;
|
|
360
|
-
accountSecureId?: string;
|
|
361
360
|
userId?: string;
|
|
361
|
+
userEmail?: string;
|
|
362
362
|
action?: string;
|
|
363
|
-
|
|
363
|
+
resource?: string;
|
|
364
|
+
resourceId?: string;
|
|
364
365
|
authType?: AuthType;
|
|
365
366
|
authId?: string;
|
|
366
367
|
sourceType?: SourceType;
|
|
@@ -372,6 +373,7 @@ type PlatformInput = {
|
|
|
372
373
|
transportType?: TransportType;
|
|
373
374
|
streamType?: StreamType;
|
|
374
375
|
isRead?: boolean;
|
|
376
|
+
statusCode?: number;
|
|
375
377
|
details?: Record<string, unknown>;
|
|
376
378
|
startTime?: Date;
|
|
377
379
|
};
|
|
@@ -581,13 +583,14 @@ type ProviderQueryResult = {
|
|
|
581
583
|
type PlatformQuery = {
|
|
582
584
|
organizationId?: string | string[];
|
|
583
585
|
projectSecureId?: string | string[];
|
|
584
|
-
accountSecureId?: string | string[];
|
|
585
586
|
eventId?: string | string[];
|
|
586
587
|
eventType?: string | string[];
|
|
587
588
|
service?: string | string[];
|
|
588
589
|
userId?: string | string[];
|
|
590
|
+
userEmail?: string | string[];
|
|
589
591
|
action?: string | string[];
|
|
590
|
-
|
|
592
|
+
resource?: string | string[];
|
|
593
|
+
resourceId?: string | string[];
|
|
591
594
|
sourceType?: string | string[];
|
|
592
595
|
sourceId?: string | string[];
|
|
593
596
|
authType?: string | string[];
|
|
@@ -598,6 +601,7 @@ type PlatformQuery = {
|
|
|
598
601
|
agentId?: string | string[];
|
|
599
602
|
transportType?: string | string[];
|
|
600
603
|
streamType?: string | string[];
|
|
604
|
+
statusCode?: string | string[];
|
|
601
605
|
isRead?: boolean;
|
|
602
606
|
success?: boolean;
|
|
603
607
|
startTime?: Date;
|
|
@@ -762,9 +766,8 @@ interface ILog {
|
|
|
762
766
|
startTime: Date;
|
|
763
767
|
endTime?: Date;
|
|
764
768
|
durationMs?: number;
|
|
765
|
-
organizationId
|
|
769
|
+
organizationId?: string;
|
|
766
770
|
projectSecureId?: string;
|
|
767
|
-
accountSecureId?: string;
|
|
768
771
|
}
|
|
769
772
|
type ActionLog = ILog & {
|
|
770
773
|
logType: typeof LogType.Action;
|
|
@@ -901,9 +904,12 @@ type PlatformLog = ILog & {
|
|
|
901
904
|
eventId: string;
|
|
902
905
|
eventType: string;
|
|
903
906
|
service: string;
|
|
907
|
+
organizationId?: string;
|
|
904
908
|
userId?: string;
|
|
909
|
+
userEmail?: string;
|
|
905
910
|
action?: string;
|
|
906
|
-
|
|
911
|
+
resource?: string;
|
|
912
|
+
resourceId?: string;
|
|
907
913
|
sourceType?: SourceType;
|
|
908
914
|
sourceId?: string;
|
|
909
915
|
authType?: AuthType;
|
|
@@ -916,7 +922,8 @@ type PlatformLog = ILog & {
|
|
|
916
922
|
streamType?: StreamType;
|
|
917
923
|
isRead?: boolean;
|
|
918
924
|
success?: boolean;
|
|
919
|
-
|
|
925
|
+
statusCode?: number;
|
|
926
|
+
details?: Record<string, unknown>;
|
|
920
927
|
};
|
|
921
928
|
//#endregion
|
|
922
929
|
//#region src/logs/clickhouseClient.d.ts
|