@stackone/olap 1.70.1 → 1.72.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.cjs +12 -12
- package/dist/index.d.cts +5 -2
- package/dist/index.d.mts +5 -2
- package/dist/index.mjs +14 -14
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ILogger } from "@stackone/logger";
|
|
2
2
|
import { HttpClient } from "@stackone/transport";
|
|
3
|
+
import { PiiRedaction } from "@stackone/redaction";
|
|
3
4
|
import { S3Client } from "@aws-sdk/client-s3";
|
|
4
5
|
import { Producer } from "@platformatic/kafka";
|
|
5
6
|
|
|
@@ -24,6 +25,7 @@ type AdvancedOptions = {
|
|
|
24
25
|
errorsOnly?: boolean;
|
|
25
26
|
includeBackground?: boolean;
|
|
26
27
|
truncation?: TruncationMode;
|
|
28
|
+
piiRedactionEnabled?: boolean;
|
|
27
29
|
};
|
|
28
30
|
type DefenderOptions = {
|
|
29
31
|
enabled?: boolean;
|
|
@@ -54,6 +56,7 @@ type AdvancedSinkConfig = {
|
|
|
54
56
|
bucket?: string;
|
|
55
57
|
maxItemSizeBytes?: number;
|
|
56
58
|
errorSizeMultiplier?: number;
|
|
59
|
+
piiRedaction?: PiiRedaction;
|
|
57
60
|
};
|
|
58
61
|
type AdvancedLogMetadata = {
|
|
59
62
|
isBackgroundLog?: boolean;
|
|
@@ -179,7 +182,7 @@ interface IOlapClient {
|
|
|
179
182
|
getUnifiedLog(organizationId: string, projectSecureId: string, requestId: string, engine?: OlapEngine): Promise<UnifiedLog | undefined>;
|
|
180
183
|
getProviderLogs(organizationId: string, projectSecureId: string, query: ProviderQuery, engine?: OlapEngine): Promise<ProviderQueryResult>;
|
|
181
184
|
getProviderLog(organizationId: string, projectSecureId: string, requestId: string, id: string, engine?: OlapEngine): Promise<ProviderLog | undefined>;
|
|
182
|
-
getPlatformLogs(organizationId: string, query: PlatformQuery): Promise<PlatformQueryResult>;
|
|
185
|
+
getPlatformLogs(organizationId: string | undefined, query: PlatformQuery): Promise<PlatformQueryResult>;
|
|
183
186
|
getActionAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionAdvancedLog | undefined>;
|
|
184
187
|
getStepAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepAdvancedLog | undefined>;
|
|
185
188
|
getUnifiedAdvancedLog(organizationId: string, projectSecureId: string, requestId: string): Promise<UnifiedAdvancedLog | undefined>;
|
|
@@ -1036,7 +1039,7 @@ declare class OlapClient implements IOlapClient {
|
|
|
1036
1039
|
getUnifiedLogs(organizationId: string, projectSecureId: string, query: UnifiedQuery, engine?: OlapEngine): Promise<UnifiedQueryResult>;
|
|
1037
1040
|
getUnifiedLog(organizationId: string, projectSecureId: string, requestId: string, engine?: OlapEngine): Promise<UnifiedLog | undefined>;
|
|
1038
1041
|
getProviderLogs(organizationId: string, projectSecureId: string, query: ProviderQuery, engine?: OlapEngine): Promise<ProviderQueryResult>;
|
|
1039
|
-
getPlatformLogs(organizationId: string, query: PlatformQuery): Promise<PlatformQueryResult>;
|
|
1042
|
+
getPlatformLogs(organizationId: string | undefined, query: PlatformQuery): Promise<PlatformQueryResult>;
|
|
1040
1043
|
getProviderLog(organizationId: string, projectSecureId: string, requestId: string, id: string, engine?: OlapEngine): Promise<ProviderLog | undefined>;
|
|
1041
1044
|
getActionAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionAdvancedLog | undefined>;
|
|
1042
1045
|
getStepAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepAdvancedLog | undefined>;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-BhWHdk3m.mjs";
|
|
2
|
+
import { PiiRedaction } from "@stackone/redaction";
|
|
2
3
|
import { S3Client } from "@aws-sdk/client-s3";
|
|
3
4
|
import { HttpClient } from "@stackone/transport";
|
|
4
5
|
import { ILogger } from "@stackone/logger";
|
|
@@ -23,6 +24,7 @@ type AdvancedOptions = {
|
|
|
23
24
|
errorsOnly?: boolean;
|
|
24
25
|
includeBackground?: boolean;
|
|
25
26
|
truncation?: TruncationMode;
|
|
27
|
+
piiRedactionEnabled?: boolean;
|
|
26
28
|
};
|
|
27
29
|
type DefenderOptions = {
|
|
28
30
|
enabled?: boolean;
|
|
@@ -53,6 +55,7 @@ type AdvancedSinkConfig = {
|
|
|
53
55
|
bucket?: string;
|
|
54
56
|
maxItemSizeBytes?: number;
|
|
55
57
|
errorSizeMultiplier?: number;
|
|
58
|
+
piiRedaction?: PiiRedaction;
|
|
56
59
|
};
|
|
57
60
|
type AdvancedLogMetadata = {
|
|
58
61
|
isBackgroundLog?: boolean;
|
|
@@ -178,7 +181,7 @@ interface IOlapClient {
|
|
|
178
181
|
getUnifiedLog(organizationId: string, projectSecureId: string, requestId: string, engine?: OlapEngine): Promise<UnifiedLog | undefined>;
|
|
179
182
|
getProviderLogs(organizationId: string, projectSecureId: string, query: ProviderQuery, engine?: OlapEngine): Promise<ProviderQueryResult>;
|
|
180
183
|
getProviderLog(organizationId: string, projectSecureId: string, requestId: string, id: string, engine?: OlapEngine): Promise<ProviderLog | undefined>;
|
|
181
|
-
getPlatformLogs(organizationId: string, query: PlatformQuery): Promise<PlatformQueryResult>;
|
|
184
|
+
getPlatformLogs(organizationId: string | undefined, query: PlatformQuery): Promise<PlatformQueryResult>;
|
|
182
185
|
getActionAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionAdvancedLog | undefined>;
|
|
183
186
|
getStepAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepAdvancedLog | undefined>;
|
|
184
187
|
getUnifiedAdvancedLog(organizationId: string, projectSecureId: string, requestId: string): Promise<UnifiedAdvancedLog | undefined>;
|
|
@@ -1035,7 +1038,7 @@ declare class OlapClient implements IOlapClient {
|
|
|
1035
1038
|
getUnifiedLogs(organizationId: string, projectSecureId: string, query: UnifiedQuery, engine?: OlapEngine): Promise<UnifiedQueryResult>;
|
|
1036
1039
|
getUnifiedLog(organizationId: string, projectSecureId: string, requestId: string, engine?: OlapEngine): Promise<UnifiedLog | undefined>;
|
|
1037
1040
|
getProviderLogs(organizationId: string, projectSecureId: string, query: ProviderQuery, engine?: OlapEngine): Promise<ProviderQueryResult>;
|
|
1038
|
-
getPlatformLogs(organizationId: string, query: PlatformQuery): Promise<PlatformQueryResult>;
|
|
1041
|
+
getPlatformLogs(organizationId: string | undefined, query: PlatformQuery): Promise<PlatformQueryResult>;
|
|
1039
1042
|
getProviderLog(organizationId: string, projectSecureId: string, requestId: string, id: string, engine?: OlapEngine): Promise<ProviderLog | undefined>;
|
|
1040
1043
|
getActionAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionAdvancedLog | undefined>;
|
|
1041
1044
|
getStepAdvancedLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepAdvancedLog | undefined>;
|