@stackone/olap 2.2.2 → 2.3.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 +22 -22
- package/dist/index.d.cts +78 -78
- package/dist/index.d.mts +78 -78
- package/dist/index.mjs +40 -40
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -120,44 +120,44 @@ type PolicyLog = PolicyContext;
|
|
|
120
120
|
//#endregion
|
|
121
121
|
//#region src/types.d.ts
|
|
122
122
|
declare const SourceType: {
|
|
123
|
-
readonly RequestTester:
|
|
124
|
-
readonly ActionTester:
|
|
125
|
-
readonly Discode:
|
|
126
|
-
readonly Dashboard:
|
|
127
|
-
readonly Playground:
|
|
128
|
-
readonly SDK:
|
|
129
|
-
readonly API:
|
|
130
|
-
readonly Scheduler:
|
|
131
|
-
readonly Webhook:
|
|
132
|
-
readonly Agent:
|
|
133
|
-
readonly MCP:
|
|
134
|
-
readonly Application:
|
|
135
|
-
readonly DataSync:
|
|
136
|
-
readonly DataSyncV2:
|
|
137
|
-
readonly Internal:
|
|
138
|
-
readonly ConnectionTest:
|
|
123
|
+
readonly RequestTester: 'REQUEST_TESTER';
|
|
124
|
+
readonly ActionTester: 'ACTION_TESTER';
|
|
125
|
+
readonly Discode: 'DISCODE';
|
|
126
|
+
readonly Dashboard: 'DASHBOARD';
|
|
127
|
+
readonly Playground: 'PLAYGROUND';
|
|
128
|
+
readonly SDK: 'SDK';
|
|
129
|
+
readonly API: 'API';
|
|
130
|
+
readonly Scheduler: 'SCHEDULER';
|
|
131
|
+
readonly Webhook: 'WEBHOOK';
|
|
132
|
+
readonly Agent: 'AGENT';
|
|
133
|
+
readonly MCP: 'MCP';
|
|
134
|
+
readonly Application: 'APPLICATION';
|
|
135
|
+
readonly DataSync: 'DATA_SYNC';
|
|
136
|
+
readonly DataSyncV2: 'DATA_SYNC_V2';
|
|
137
|
+
readonly Internal: 'INTERNAL';
|
|
138
|
+
readonly ConnectionTest: 'CONNECTION_TEST';
|
|
139
139
|
};
|
|
140
140
|
type SourceType = (typeof SourceType)[keyof typeof SourceType];
|
|
141
141
|
declare const TransportType: {
|
|
142
|
-
readonly HTTP:
|
|
143
|
-
readonly MCP:
|
|
144
|
-
readonly ActionRPC:
|
|
145
|
-
readonly WebSocket:
|
|
142
|
+
readonly HTTP: 'HTTP';
|
|
143
|
+
readonly MCP: 'MCP';
|
|
144
|
+
readonly ActionRPC: 'ACTION_RPC';
|
|
145
|
+
readonly WebSocket: 'WEBSOCKET';
|
|
146
146
|
};
|
|
147
147
|
type TransportType = (typeof TransportType)[keyof typeof TransportType];
|
|
148
148
|
declare const StreamType: {
|
|
149
|
-
readonly HTTP:
|
|
150
|
-
readonly WebSocket:
|
|
151
|
-
readonly SSE:
|
|
149
|
+
readonly HTTP: 'HTTP';
|
|
150
|
+
readonly WebSocket: 'WEBSOCKET';
|
|
151
|
+
readonly SSE: 'SSE';
|
|
152
152
|
};
|
|
153
153
|
type StreamType = (typeof StreamType)[keyof typeof StreamType];
|
|
154
154
|
declare const AuthType: {
|
|
155
|
-
readonly APIKey:
|
|
156
|
-
readonly SessionToken:
|
|
157
|
-
readonly UserSession:
|
|
158
|
-
readonly Cookie:
|
|
159
|
-
readonly Webhook:
|
|
160
|
-
readonly Signature:
|
|
155
|
+
readonly APIKey: 'API_KEY';
|
|
156
|
+
readonly SessionToken: 'SESSION_TOKEN';
|
|
157
|
+
readonly UserSession: 'USER_SESSION';
|
|
158
|
+
readonly Cookie: 'COOKIE';
|
|
159
|
+
readonly Webhook: 'WEBHOOK';
|
|
160
|
+
readonly Signature: 'SIGNATURE';
|
|
161
161
|
};
|
|
162
162
|
type AuthType = (typeof AuthType)[keyof typeof AuthType];
|
|
163
163
|
type Source = {
|
|
@@ -473,11 +473,11 @@ type PlatformResult = {
|
|
|
473
473
|
//#endregion
|
|
474
474
|
//#region src/logs/types.d.ts
|
|
475
475
|
declare const LogType: {
|
|
476
|
-
readonly Action:
|
|
477
|
-
readonly Step:
|
|
478
|
-
readonly Unified:
|
|
479
|
-
readonly Provider:
|
|
480
|
-
readonly Platform:
|
|
476
|
+
readonly Action: 'action';
|
|
477
|
+
readonly Step: 'step';
|
|
478
|
+
readonly Unified: 'unified';
|
|
479
|
+
readonly Provider: 'provider';
|
|
480
|
+
readonly Platform: 'platform';
|
|
481
481
|
};
|
|
482
482
|
type LogType = (typeof LogType)[keyof typeof LogType];
|
|
483
483
|
type CombinedLogType = typeof LogType.Action | typeof LogType.Unified;
|
|
@@ -708,45 +708,45 @@ type PlatformQueryResult = {
|
|
|
708
708
|
pageSize: number;
|
|
709
709
|
};
|
|
710
710
|
declare const OrderBy: {
|
|
711
|
-
readonly StartTime:
|
|
712
|
-
readonly EndTime:
|
|
713
|
-
readonly EventTime:
|
|
714
|
-
readonly DurationMs:
|
|
711
|
+
readonly StartTime: 'startTime';
|
|
712
|
+
readonly EndTime: 'endTime';
|
|
713
|
+
readonly EventTime: 'eventTime';
|
|
714
|
+
readonly DurationMs: 'durationMs';
|
|
715
715
|
};
|
|
716
716
|
type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
|
|
717
717
|
declare const OrderDirection: {
|
|
718
|
-
readonly Asc:
|
|
719
|
-
readonly Desc:
|
|
718
|
+
readonly Asc: 'asc';
|
|
719
|
+
readonly Desc: 'desc';
|
|
720
720
|
};
|
|
721
721
|
type OrderDirection = (typeof OrderDirection)[keyof typeof OrderDirection];
|
|
722
722
|
declare const IntervalType: {
|
|
723
|
-
readonly Minute:
|
|
724
|
-
readonly Hour:
|
|
725
|
-
readonly Day:
|
|
726
|
-
readonly Week:
|
|
727
|
-
readonly Month:
|
|
728
|
-
readonly None:
|
|
723
|
+
readonly Minute: 'minute';
|
|
724
|
+
readonly Hour: 'hour';
|
|
725
|
+
readonly Day: 'day';
|
|
726
|
+
readonly Week: 'week';
|
|
727
|
+
readonly Month: 'month';
|
|
728
|
+
readonly None: 'none';
|
|
729
729
|
};
|
|
730
730
|
type IntervalType = (typeof IntervalType)[keyof typeof IntervalType];
|
|
731
731
|
declare const Dimension: {
|
|
732
|
-
readonly ConnectorKey:
|
|
733
|
-
readonly Success:
|
|
734
|
-
readonly ActionType:
|
|
735
|
-
readonly Mode:
|
|
736
|
-
readonly Service:
|
|
737
|
-
readonly Resource:
|
|
738
|
-
readonly ActionId:
|
|
739
|
-
readonly HttpMethod:
|
|
740
|
-
readonly AccountSecureId:
|
|
741
|
-
readonly SourceType:
|
|
742
|
-
readonly StatusCode:
|
|
743
|
-
readonly OriginOwnerId:
|
|
744
|
-
readonly SourceId:
|
|
745
|
-
readonly AuthType:
|
|
746
|
-
readonly AuthId:
|
|
747
|
-
readonly IsBackground:
|
|
748
|
-
readonly PolicyResult:
|
|
749
|
-
readonly RiskLevel:
|
|
732
|
+
readonly ConnectorKey: 'connectorKey';
|
|
733
|
+
readonly Success: 'success';
|
|
734
|
+
readonly ActionType: 'actionType';
|
|
735
|
+
readonly Mode: 'mode';
|
|
736
|
+
readonly Service: 'service';
|
|
737
|
+
readonly Resource: 'resource';
|
|
738
|
+
readonly ActionId: 'actionId';
|
|
739
|
+
readonly HttpMethod: 'httpMethod';
|
|
740
|
+
readonly AccountSecureId: 'accountSecureId';
|
|
741
|
+
readonly SourceType: 'sourceType';
|
|
742
|
+
readonly StatusCode: 'statusCode';
|
|
743
|
+
readonly OriginOwnerId: 'originOwnerId';
|
|
744
|
+
readonly SourceId: 'sourceId';
|
|
745
|
+
readonly AuthType: 'authType';
|
|
746
|
+
readonly AuthId: 'authId';
|
|
747
|
+
readonly IsBackground: 'isBackground';
|
|
748
|
+
readonly PolicyResult: 'policyResult';
|
|
749
|
+
readonly RiskLevel: 'riskLevel';
|
|
750
750
|
};
|
|
751
751
|
type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
752
752
|
type AggregateQuery = Partial<Query> & {
|
|
@@ -772,20 +772,20 @@ type DimensionsResult = {
|
|
|
772
772
|
}>;
|
|
773
773
|
};
|
|
774
774
|
declare const PlatformDimension: {
|
|
775
|
-
readonly EventType:
|
|
776
|
-
readonly Action:
|
|
777
|
-
readonly Resource:
|
|
778
|
-
readonly Service:
|
|
779
|
-
readonly SourceType:
|
|
780
|
-
readonly SourceId:
|
|
781
|
-
readonly AuthType:
|
|
782
|
-
readonly UserEmail:
|
|
783
|
-
readonly StatusCode:
|
|
784
|
-
readonly Success:
|
|
785
|
-
readonly IsRead:
|
|
786
|
-
readonly AgentId:
|
|
787
|
-
readonly TransportType:
|
|
788
|
-
readonly StreamType:
|
|
775
|
+
readonly EventType: 'eventType';
|
|
776
|
+
readonly Action: 'action';
|
|
777
|
+
readonly Resource: 'resource';
|
|
778
|
+
readonly Service: 'service';
|
|
779
|
+
readonly SourceType: 'sourceType';
|
|
780
|
+
readonly SourceId: 'sourceId';
|
|
781
|
+
readonly AuthType: 'authType';
|
|
782
|
+
readonly UserEmail: 'userEmail';
|
|
783
|
+
readonly StatusCode: 'statusCode';
|
|
784
|
+
readonly Success: 'success';
|
|
785
|
+
readonly IsRead: 'isRead';
|
|
786
|
+
readonly AgentId: 'agentId';
|
|
787
|
+
readonly TransportType: 'transportType';
|
|
788
|
+
readonly StreamType: 'streamType';
|
|
789
789
|
};
|
|
790
790
|
type PlatformDimension = (typeof PlatformDimension)[keyof typeof PlatformDimension];
|
|
791
791
|
type PlatformDimensionsQuery = Partial<PlatformQuery> & {
|
package/dist/index.d.mts
CHANGED
|
@@ -119,44 +119,44 @@ type PolicyLog = PolicyContext;
|
|
|
119
119
|
//#endregion
|
|
120
120
|
//#region src/types.d.ts
|
|
121
121
|
declare const SourceType: {
|
|
122
|
-
readonly RequestTester:
|
|
123
|
-
readonly ActionTester:
|
|
124
|
-
readonly Discode:
|
|
125
|
-
readonly Dashboard:
|
|
126
|
-
readonly Playground:
|
|
127
|
-
readonly SDK:
|
|
128
|
-
readonly API:
|
|
129
|
-
readonly Scheduler:
|
|
130
|
-
readonly Webhook:
|
|
131
|
-
readonly Agent:
|
|
132
|
-
readonly MCP:
|
|
133
|
-
readonly Application:
|
|
134
|
-
readonly DataSync:
|
|
135
|
-
readonly DataSyncV2:
|
|
136
|
-
readonly Internal:
|
|
137
|
-
readonly ConnectionTest:
|
|
122
|
+
readonly RequestTester: 'REQUEST_TESTER';
|
|
123
|
+
readonly ActionTester: 'ACTION_TESTER';
|
|
124
|
+
readonly Discode: 'DISCODE';
|
|
125
|
+
readonly Dashboard: 'DASHBOARD';
|
|
126
|
+
readonly Playground: 'PLAYGROUND';
|
|
127
|
+
readonly SDK: 'SDK';
|
|
128
|
+
readonly API: 'API';
|
|
129
|
+
readonly Scheduler: 'SCHEDULER';
|
|
130
|
+
readonly Webhook: 'WEBHOOK';
|
|
131
|
+
readonly Agent: 'AGENT';
|
|
132
|
+
readonly MCP: 'MCP';
|
|
133
|
+
readonly Application: 'APPLICATION';
|
|
134
|
+
readonly DataSync: 'DATA_SYNC';
|
|
135
|
+
readonly DataSyncV2: 'DATA_SYNC_V2';
|
|
136
|
+
readonly Internal: 'INTERNAL';
|
|
137
|
+
readonly ConnectionTest: 'CONNECTION_TEST';
|
|
138
138
|
};
|
|
139
139
|
type SourceType = (typeof SourceType)[keyof typeof SourceType];
|
|
140
140
|
declare const TransportType: {
|
|
141
|
-
readonly HTTP:
|
|
142
|
-
readonly MCP:
|
|
143
|
-
readonly ActionRPC:
|
|
144
|
-
readonly WebSocket:
|
|
141
|
+
readonly HTTP: 'HTTP';
|
|
142
|
+
readonly MCP: 'MCP';
|
|
143
|
+
readonly ActionRPC: 'ACTION_RPC';
|
|
144
|
+
readonly WebSocket: 'WEBSOCKET';
|
|
145
145
|
};
|
|
146
146
|
type TransportType = (typeof TransportType)[keyof typeof TransportType];
|
|
147
147
|
declare const StreamType: {
|
|
148
|
-
readonly HTTP:
|
|
149
|
-
readonly WebSocket:
|
|
150
|
-
readonly SSE:
|
|
148
|
+
readonly HTTP: 'HTTP';
|
|
149
|
+
readonly WebSocket: 'WEBSOCKET';
|
|
150
|
+
readonly SSE: 'SSE';
|
|
151
151
|
};
|
|
152
152
|
type StreamType = (typeof StreamType)[keyof typeof StreamType];
|
|
153
153
|
declare const AuthType: {
|
|
154
|
-
readonly APIKey:
|
|
155
|
-
readonly SessionToken:
|
|
156
|
-
readonly UserSession:
|
|
157
|
-
readonly Cookie:
|
|
158
|
-
readonly Webhook:
|
|
159
|
-
readonly Signature:
|
|
154
|
+
readonly APIKey: 'API_KEY';
|
|
155
|
+
readonly SessionToken: 'SESSION_TOKEN';
|
|
156
|
+
readonly UserSession: 'USER_SESSION';
|
|
157
|
+
readonly Cookie: 'COOKIE';
|
|
158
|
+
readonly Webhook: 'WEBHOOK';
|
|
159
|
+
readonly Signature: 'SIGNATURE';
|
|
160
160
|
};
|
|
161
161
|
type AuthType = (typeof AuthType)[keyof typeof AuthType];
|
|
162
162
|
type Source = {
|
|
@@ -472,11 +472,11 @@ type PlatformResult = {
|
|
|
472
472
|
//#endregion
|
|
473
473
|
//#region src/logs/types.d.ts
|
|
474
474
|
declare const LogType: {
|
|
475
|
-
readonly Action:
|
|
476
|
-
readonly Step:
|
|
477
|
-
readonly Unified:
|
|
478
|
-
readonly Provider:
|
|
479
|
-
readonly Platform:
|
|
475
|
+
readonly Action: 'action';
|
|
476
|
+
readonly Step: 'step';
|
|
477
|
+
readonly Unified: 'unified';
|
|
478
|
+
readonly Provider: 'provider';
|
|
479
|
+
readonly Platform: 'platform';
|
|
480
480
|
};
|
|
481
481
|
type LogType = (typeof LogType)[keyof typeof LogType];
|
|
482
482
|
type CombinedLogType = typeof LogType.Action | typeof LogType.Unified;
|
|
@@ -707,45 +707,45 @@ type PlatformQueryResult = {
|
|
|
707
707
|
pageSize: number;
|
|
708
708
|
};
|
|
709
709
|
declare const OrderBy: {
|
|
710
|
-
readonly StartTime:
|
|
711
|
-
readonly EndTime:
|
|
712
|
-
readonly EventTime:
|
|
713
|
-
readonly DurationMs:
|
|
710
|
+
readonly StartTime: 'startTime';
|
|
711
|
+
readonly EndTime: 'endTime';
|
|
712
|
+
readonly EventTime: 'eventTime';
|
|
713
|
+
readonly DurationMs: 'durationMs';
|
|
714
714
|
};
|
|
715
715
|
type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
|
|
716
716
|
declare const OrderDirection: {
|
|
717
|
-
readonly Asc:
|
|
718
|
-
readonly Desc:
|
|
717
|
+
readonly Asc: 'asc';
|
|
718
|
+
readonly Desc: 'desc';
|
|
719
719
|
};
|
|
720
720
|
type OrderDirection = (typeof OrderDirection)[keyof typeof OrderDirection];
|
|
721
721
|
declare const IntervalType: {
|
|
722
|
-
readonly Minute:
|
|
723
|
-
readonly Hour:
|
|
724
|
-
readonly Day:
|
|
725
|
-
readonly Week:
|
|
726
|
-
readonly Month:
|
|
727
|
-
readonly None:
|
|
722
|
+
readonly Minute: 'minute';
|
|
723
|
+
readonly Hour: 'hour';
|
|
724
|
+
readonly Day: 'day';
|
|
725
|
+
readonly Week: 'week';
|
|
726
|
+
readonly Month: 'month';
|
|
727
|
+
readonly None: 'none';
|
|
728
728
|
};
|
|
729
729
|
type IntervalType = (typeof IntervalType)[keyof typeof IntervalType];
|
|
730
730
|
declare const Dimension: {
|
|
731
|
-
readonly ConnectorKey:
|
|
732
|
-
readonly Success:
|
|
733
|
-
readonly ActionType:
|
|
734
|
-
readonly Mode:
|
|
735
|
-
readonly Service:
|
|
736
|
-
readonly Resource:
|
|
737
|
-
readonly ActionId:
|
|
738
|
-
readonly HttpMethod:
|
|
739
|
-
readonly AccountSecureId:
|
|
740
|
-
readonly SourceType:
|
|
741
|
-
readonly StatusCode:
|
|
742
|
-
readonly OriginOwnerId:
|
|
743
|
-
readonly SourceId:
|
|
744
|
-
readonly AuthType:
|
|
745
|
-
readonly AuthId:
|
|
746
|
-
readonly IsBackground:
|
|
747
|
-
readonly PolicyResult:
|
|
748
|
-
readonly RiskLevel:
|
|
731
|
+
readonly ConnectorKey: 'connectorKey';
|
|
732
|
+
readonly Success: 'success';
|
|
733
|
+
readonly ActionType: 'actionType';
|
|
734
|
+
readonly Mode: 'mode';
|
|
735
|
+
readonly Service: 'service';
|
|
736
|
+
readonly Resource: 'resource';
|
|
737
|
+
readonly ActionId: 'actionId';
|
|
738
|
+
readonly HttpMethod: 'httpMethod';
|
|
739
|
+
readonly AccountSecureId: 'accountSecureId';
|
|
740
|
+
readonly SourceType: 'sourceType';
|
|
741
|
+
readonly StatusCode: 'statusCode';
|
|
742
|
+
readonly OriginOwnerId: 'originOwnerId';
|
|
743
|
+
readonly SourceId: 'sourceId';
|
|
744
|
+
readonly AuthType: 'authType';
|
|
745
|
+
readonly AuthId: 'authId';
|
|
746
|
+
readonly IsBackground: 'isBackground';
|
|
747
|
+
readonly PolicyResult: 'policyResult';
|
|
748
|
+
readonly RiskLevel: 'riskLevel';
|
|
749
749
|
};
|
|
750
750
|
type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
751
751
|
type AggregateQuery = Partial<Query> & {
|
|
@@ -771,20 +771,20 @@ type DimensionsResult = {
|
|
|
771
771
|
}>;
|
|
772
772
|
};
|
|
773
773
|
declare const PlatformDimension: {
|
|
774
|
-
readonly EventType:
|
|
775
|
-
readonly Action:
|
|
776
|
-
readonly Resource:
|
|
777
|
-
readonly Service:
|
|
778
|
-
readonly SourceType:
|
|
779
|
-
readonly SourceId:
|
|
780
|
-
readonly AuthType:
|
|
781
|
-
readonly UserEmail:
|
|
782
|
-
readonly StatusCode:
|
|
783
|
-
readonly Success:
|
|
784
|
-
readonly IsRead:
|
|
785
|
-
readonly AgentId:
|
|
786
|
-
readonly TransportType:
|
|
787
|
-
readonly StreamType:
|
|
774
|
+
readonly EventType: 'eventType';
|
|
775
|
+
readonly Action: 'action';
|
|
776
|
+
readonly Resource: 'resource';
|
|
777
|
+
readonly Service: 'service';
|
|
778
|
+
readonly SourceType: 'sourceType';
|
|
779
|
+
readonly SourceId: 'sourceId';
|
|
780
|
+
readonly AuthType: 'authType';
|
|
781
|
+
readonly UserEmail: 'userEmail';
|
|
782
|
+
readonly StatusCode: 'statusCode';
|
|
783
|
+
readonly Success: 'success';
|
|
784
|
+
readonly IsRead: 'isRead';
|
|
785
|
+
readonly AgentId: 'agentId';
|
|
786
|
+
readonly TransportType: 'transportType';
|
|
787
|
+
readonly StreamType: 'streamType';
|
|
788
788
|
};
|
|
789
789
|
type PlatformDimension = (typeof PlatformDimension)[keyof typeof PlatformDimension];
|
|
790
790
|
type PlatformDimensionsQuery = Partial<PlatformQuery> & {
|