@burdenoff/be-sdk 2026.1110.3 → 2026.1110.4
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/activity/index.d.ts +165 -0
- package/dist/activity/index.js +389 -0
- package/dist/activity/index.js.map +1 -0
- package/dist/ai-credits/index.js +1 -1
- package/dist/{ai-credits-Ca-NNcVx.js → ai-credits-xxfwGpHS.js} +2 -2
- package/dist/{ai-credits-Ca-NNcVx.js.map → ai-credits-xxfwGpHS.js.map} +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/{auth-CEuBEBQN.js → auth-C5ctwSLp.js} +2 -2
- package/dist/{auth-CEuBEBQN.js.map → auth-C5ctwSLp.js.map} +1 -1
- package/dist/bootstrap/index.d.ts +74 -0
- package/dist/bootstrap/index.js +282 -0
- package/dist/bootstrap/index.js.map +1 -0
- package/dist/{client-DcZ3iGES.js → client-sAJTrb4i.js} +2 -2
- package/dist/{client-DcZ3iGES.js.map → client-sAJTrb4i.js.map} +1 -1
- package/dist/context/index.d.ts +35 -0
- package/dist/{context-CZnXf2yb.js → context/index.js} +38 -2
- package/dist/context/index.js.map +1 -0
- package/dist/database/index.js +1 -1
- package/dist/event-queue/index.d.ts +1 -1
- package/dist/explicit-activity-scope-DikJ7NAE.js +57 -0
- package/dist/explicit-activity-scope-DikJ7NAE.js.map +1 -0
- package/dist/export/index.js +1 -1
- package/dist/{export-B6fphx8a.js → export-DJXE3Osa.js} +3 -3
- package/dist/{export-B6fphx8a.js.map → export-DJXE3Osa.js.map} +1 -1
- package/dist/feature-flags/index.js +1 -1
- package/dist/{feature-flags-71oDkrUe.js → feature-flags-CP1KRgwD.js} +2 -2
- package/dist/{feature-flags-71oDkrUe.js.map → feature-flags-CP1KRgwD.js.map} +1 -1
- package/dist/files/index.js +1 -1
- package/dist/{files-DjH0099H.js → files-h5U-D2AF.js} +2 -2
- package/dist/{files-DjH0099H.js.map → files-h5U-D2AF.js.map} +1 -1
- package/dist/gateway/index.js +2 -2
- package/dist/{gateway-DBFmxWks.js → gateway-ByVo-n37.js} +2 -2
- package/dist/{gateway-DBFmxWks.js.map → gateway-ByVo-n37.js.map} +1 -1
- package/dist/graph/index.d.ts +1 -1
- package/dist/graph/index.js +1 -1
- package/dist/{graph-DDYgIryR.js → graph-CR7u4lpl.js} +2 -2
- package/dist/{graph-DDYgIryR.js.map → graph-CR7u4lpl.js.map} +1 -1
- package/dist/{graphql-DNkMkGBZ.d.ts → graphql-CUDyhibV.d.ts} +1 -1
- package/dist/{index-bZKZUvBu.d.ts → index-ADmsX0BI.d.ts} +3 -3
- package/dist/{index-BqYfCQSP.d.ts → index-B2LCaK0R.d.ts} +1 -1
- package/dist/{index-D6UeLAye.d.ts → index-CHwMhK6v.d.ts} +2 -2
- package/dist/{index-BQDsNAMR.d.ts → index-CTTwo9av.d.ts} +22 -1
- package/dist/{index-DZC-2o9R.d.ts → index-CVCyKzhB.d.ts} +2 -2
- package/dist/{index-CkT2aUr3.d.ts → index-C_GXXF32.d.ts} +2 -2
- package/dist/{index-BKwHQtHQ.d.ts → index-Cot73bdh.d.ts} +1 -1
- package/dist/{index-CnzbJZP7.d.ts → index-FRRaa6h2.d.ts} +2 -2
- package/dist/{index-N-huORcj.d.ts → index-U_tu3zUl.d.ts} +2 -2
- package/dist/index-cmR9k9ga.d.ts +26 -0
- package/dist/{index-CZTnQIRU.d.ts → index-zd_NPGJo.d.ts} +6 -141
- package/dist/index.d.ts +19 -479
- package/dist/index.js +22 -1492
- package/dist/index.js.map +1 -1
- package/dist/init/index.js +1 -1
- package/dist/{init-Dy3KhT6Y.js → init-CQPFmOOe.js} +3 -3
- package/dist/{init-Dy3KhT6Y.js.map → init-CQPFmOOe.js.map} +1 -1
- package/dist/instrumentation/index.d.ts +2 -2
- package/dist/logger/index.d.ts +1 -1
- package/dist/notifications/index.d.ts +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/{notifications-CdETrtFK.js → notifications-DY_i37WN.js} +2 -2
- package/dist/{notifications-CdETrtFK.js.map → notifications-DY_i37WN.js.map} +1 -1
- package/dist/payments/index.d.ts +144 -0
- package/dist/payments/index.js +404 -0
- package/dist/payments/index.js.map +1 -0
- package/dist/rate-limit-CBrK_U5H.js +142 -0
- package/dist/rate-limit-CBrK_U5H.js.map +1 -0
- package/dist/rbac/index.d.ts +1 -1
- package/dist/rbac/index.js +1 -1
- package/dist/{rbac-BB9l9Xph.js → rbac-Dvz0YzEt.js} +2 -2
- package/dist/{rbac-BB9l9Xph.js.map → rbac-Dvz0YzEt.js.map} +1 -1
- package/dist/resource-caps/index.d.ts +1 -1
- package/dist/search/index.d.ts +112 -0
- package/dist/search/index.js +266 -0
- package/dist/search/index.js.map +1 -0
- package/dist/security/index.d.ts +2 -0
- package/dist/security/index.js +4 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/rate-limit/index.d.ts +2 -0
- package/dist/security/rate-limit/index.js +4 -0
- package/dist/security/rate-limit/index.js.map +1 -0
- package/dist/server/index.js +3 -2
- package/dist/server/index.js.map +1 -1
- package/dist/{stub-BqwKn4eh.js → stub-BUnfMiAS.js} +3 -56
- package/dist/stub-BUnfMiAS.js.map +1 -0
- package/dist/tags/index.js +1 -1
- package/dist/{tags-B5xpbgsk.js → tags-CbijgoqR.js} +2 -2
- package/dist/{tags-B5xpbgsk.js.map → tags-CbijgoqR.js.map} +1 -1
- package/dist/telemetry/index.d.ts +2 -2
- package/dist/tracker/index.d.ts +2 -2
- package/dist/tracker/index.js +5 -3
- package/dist/{tracker-BQVoEFUo.js → tracker-PQztSlhJ.js} +9 -390
- package/dist/tracker-PQztSlhJ.js.map +1 -0
- package/dist/translation/index.d.ts +120 -0
- package/dist/translation/index.js +573 -0
- package/dist/translation/index.js.map +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/{types-Cj2RWXbz.js → types/index.js} +3 -3
- package/dist/types/index.js.map +1 -0
- package/dist/usage/index.d.ts +1 -1
- package/dist/usage/index.js +1 -1
- package/dist/{usage-BKFZiWQn.js → usage-BRqVP3CJ.js} +4 -4
- package/dist/{usage-BKFZiWQn.js.map → usage-BRqVP3CJ.js.map} +1 -1
- package/package.json +1 -1
- package/dist/context-CZnXf2yb.js.map +0 -1
- package/dist/stub-BqwKn4eh.js.map +0 -1
- package/dist/tracker-BQVoEFUo.js.map +0 -1
- package/dist/types-Cj2RWXbz.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as BurdenoffGraphQLClient } from "./graphql-
|
|
1
|
+
import { p as SDKContext } from "./index-CTTwo9av.js";
|
|
2
|
+
import { t as BurdenoffGraphQLClient } from "./graphql-CUDyhibV.js";
|
|
3
3
|
import { n as PrismaClientBase } from "./client-BgAEvDC2.js";
|
|
4
|
-
import { Mt as GraphEventEmitterImpl, kt as EntityEventRbacMetadata } from "./index-
|
|
4
|
+
import { Mt as GraphEventEmitterImpl, kt as EntityEventRbacMetadata } from "./index-FRRaa6h2.js";
|
|
5
5
|
import { _ as SearchResponse, a as EdgeDocument, c as EntityVertex, d as ModuleGraphConfig, f as ProductFacet, g as SearchFilters, h as SearchFacets, i as addGraphExtension, l as GraphEvent, m as RelationshipGraphConfig, n as GraphEventEmitter, o as EntityBulkOperationsConfig, p as RegistryEntityRbacConfig, r as GraphMiddlewareConfig, s as EntityGraphConfig, t as EntityEventType, u as GraphEventType, v as SearchResult, y as TypeFacet } from "./prisma-extension-Cfl09swM.js";
|
|
6
6
|
interface ResolvedEntityGraphConfig extends Omit<EntityGraphConfig, 'fields'> {
|
|
7
7
|
fields: string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as BurdenoffGraphQLClient } from "./graphql-
|
|
2
|
-
import {
|
|
1
|
+
import { t as BurdenoffGraphQLClient } from "./graphql-CUDyhibV.js";
|
|
2
|
+
import { p as SDKContext } from "./index-CTTwo9av.js";
|
|
3
3
|
import { i as GraphQLContext } from "./types-CWybW61E.js";
|
|
4
4
|
interface CookieOptions {
|
|
5
5
|
name: string;
|
|
@@ -49,6 +49,27 @@ declare class SDKError extends Error {
|
|
|
49
49
|
details?: Record<string, unknown> | undefined;
|
|
50
50
|
constructor(message: string, code: string, details?: Record<string, unknown> | undefined);
|
|
51
51
|
}
|
|
52
|
+
declare class PermissionDeniedError extends SDKError {
|
|
53
|
+
constructor(message: string, details?: Record<string, unknown>);
|
|
54
|
+
}
|
|
55
|
+
declare class AuthenticationError extends SDKError {
|
|
56
|
+
constructor(message: string, details?: Record<string, unknown>);
|
|
57
|
+
}
|
|
58
|
+
declare class APIError extends SDKError {
|
|
59
|
+
constructor(message: string, details?: Record<string, unknown>);
|
|
60
|
+
}
|
|
61
|
+
declare class ValidationError extends SDKError {
|
|
62
|
+
constructor(message: string, details?: Record<string, unknown>);
|
|
63
|
+
}
|
|
64
|
+
declare class QuotaExceededError extends SDKError {
|
|
65
|
+
constructor(message: string, details?: Record<string, unknown>);
|
|
66
|
+
}
|
|
67
|
+
declare class NetworkError extends SDKError {
|
|
68
|
+
constructor(message: string, details?: Record<string, unknown>);
|
|
69
|
+
}
|
|
70
|
+
declare class TimeoutError extends SDKError {
|
|
71
|
+
constructor(message: string, details?: Record<string, unknown>);
|
|
72
|
+
}
|
|
52
73
|
interface EventQueueSDKConfig {
|
|
53
74
|
url?: string;
|
|
54
75
|
password?: string;
|
|
@@ -78,4 +99,4 @@ interface SDKShutdownOptions {
|
|
|
78
99
|
timeout?: number;
|
|
79
100
|
force?: boolean;
|
|
80
101
|
}
|
|
81
|
-
export {
|
|
102
|
+
export { TemporalHealthStatus as _, EventQueueSDKConfig as a, NetworkError as c, RetryConfig as d, SDKConfig as f, SDKShutdownOptions as g, SDKHealthStatus as h, EventQueueHealthStatus as i, PermissionDeniedError as l, SDKError as m, ActorType as n, LoggerConfig as o, SDKContext as p, AuthenticationError as r, LoggerTransport as s, APIError as t, QuotaExceededError as u, TimeoutError as v, ValidationError as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as BurdenoffGraphQLClient } from "./graphql-
|
|
2
|
-
import {
|
|
1
|
+
import { t as BurdenoffGraphQLClient } from "./graphql-CUDyhibV.js";
|
|
2
|
+
import { m as SDKError, p as SDKContext } from "./index-CTTwo9av.js";
|
|
3
3
|
import { o as GatewayClient } from "./index-YOShAwkq.js";
|
|
4
4
|
interface BillingUsageOperationInput {
|
|
5
5
|
quotaName: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as BurdenoffGraphQLClient } from "./graphql-
|
|
2
|
-
import {
|
|
1
|
+
import { t as BurdenoffGraphQLClient } from "./graphql-CUDyhibV.js";
|
|
2
|
+
import { p as SDKContext } from "./index-CTTwo9av.js";
|
|
3
3
|
import { m as ServiceLayer } from "./layer-BZBZZWeV.js";
|
|
4
4
|
type MaybePromise<T> = Promise<T> | T;
|
|
5
5
|
type AsyncIterableIteratorOrValue<T> = T | AsyncIterableIterator<T>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as SDKContext } from "./index-CTTwo9av.js";
|
|
2
2
|
declare namespace index_d_exports {
|
|
3
3
|
export { LogLevel, LogMeta, Logger, LoggerConfig, LoggerTransport, debug, error, log, logger, redactSensitiveFields, redactSensitiveString, warn };
|
|
4
4
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as ServiceLayer } from "./layer-BZBZZWeV.js";
|
|
2
2
|
import { n as ShutdownDisposable } from "./index-Dt1HJPTX.js";
|
|
3
|
-
import { t as BurdenoffGraphQLClient } from "./graphql-
|
|
4
|
-
import {
|
|
3
|
+
import { t as BurdenoffGraphQLClient } from "./graphql-CUDyhibV.js";
|
|
4
|
+
import { p as SDKContext } from "./index-CTTwo9av.js";
|
|
5
5
|
interface EventMessage$1<T = unknown> {
|
|
6
6
|
id: string;
|
|
7
7
|
subject: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as BurdenoffGraphQLClient } from "./graphql-
|
|
2
|
-
import {
|
|
1
|
+
import { t as BurdenoffGraphQLClient } from "./graphql-CUDyhibV.js";
|
|
2
|
+
import { p as SDKContext } from "./index-CTTwo9av.js";
|
|
3
3
|
declare namespace tenant_notifications_d_exports {
|
|
4
4
|
export { BatchNotificationInput, Notification$1 as Notification, NotificationChannel$1 as NotificationChannel, NotificationPriority, NotificationStats, NotificationTemplate, NotificationType$1 as NotificationType, RecipientInput$1 as RecipientInput, SendNotificationInput, SendWithTemplateInput, TenantNotificationsModule };
|
|
5
5
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { m as ICacheProvider } from "./index-MArCb8Aq.js";
|
|
2
|
+
declare const buildRateLimitKey: (svc: string, resource: string, identifier: string) => string;
|
|
3
|
+
interface RateLimitConfig {
|
|
4
|
+
windowMs: number;
|
|
5
|
+
maxRequests: number;
|
|
6
|
+
failureMode?: 'open' | 'closed';
|
|
7
|
+
}
|
|
8
|
+
interface RateLimitResult {
|
|
9
|
+
allowed: boolean;
|
|
10
|
+
remaining: number;
|
|
11
|
+
resetAt: Date;
|
|
12
|
+
limit: number;
|
|
13
|
+
}
|
|
14
|
+
type RateLimitMode = 'enforce' | 'soft' | 'off';
|
|
15
|
+
interface RateLimiterDeps {
|
|
16
|
+
cache: Pick<ICacheProvider, 'get' | 'set' | 'ttl'>;
|
|
17
|
+
service: string;
|
|
18
|
+
mode: RateLimitMode;
|
|
19
|
+
}
|
|
20
|
+
declare const checkRateLimit: (deps: RateLimiterDeps, identifier: string, resource: string, config: RateLimitConfig) => Promise<RateLimitResult>;
|
|
21
|
+
declare const enforceRateLimit: (deps: RateLimiterDeps, identifier: string, resource: string, config: RateLimitConfig) => Promise<RateLimitResult>;
|
|
22
|
+
declare const resolveRateLimitModeFromEnv: () => RateLimitMode;
|
|
23
|
+
declare namespace index_d_exports {
|
|
24
|
+
export { RateLimitConfig, RateLimitMode, RateLimitResult, RateLimiterDeps, buildRateLimitKey, checkRateLimit, enforceRateLimit, resolveRateLimitModeFromEnv };
|
|
25
|
+
}
|
|
26
|
+
export { resolveRateLimitModeFromEnv as a, RateLimitResult as c, enforceRateLimit as i, buildRateLimitKey as l, RateLimiterDeps as n, RateLimitConfig as o, checkRateLimit as r, RateLimitMode as s, index_d_exports as t };
|
|
@@ -1,144 +1,9 @@
|
|
|
1
|
-
import { t as BurdenoffGraphQLClient } from "./graphql-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { t as BurdenoffGraphQLClient } from "./graphql-CUDyhibV.js";
|
|
2
|
+
import { p as SDKContext } from "./index-CTTwo9av.js";
|
|
3
|
+
import { ActivitySeverity, ActivityType } from "./activity/index.js";
|
|
4
|
+
import { p as UsageMetricType } from "./index-CVCyKzhB.js";
|
|
5
|
+
import { a as NotificationType } from "./index-U_tu3zUl.js";
|
|
5
6
|
import { o as AssistantSessionAttribution } from "./assistant-session-DA5ZKJOr.js";
|
|
6
|
-
declare enum ActivityType {
|
|
7
|
-
CREATE = "create",
|
|
8
|
-
READ = "read",
|
|
9
|
-
UPDATE = "update",
|
|
10
|
-
DELETE = "delete",
|
|
11
|
-
LOGIN = "login",
|
|
12
|
-
LOGOUT = "logout",
|
|
13
|
-
EXPORT = "export",
|
|
14
|
-
IMPORT = "import",
|
|
15
|
-
SHARE = "share",
|
|
16
|
-
DOWNLOAD = "download",
|
|
17
|
-
UPLOAD = "upload",
|
|
18
|
-
EXECUTE = "execute",
|
|
19
|
-
APPROVE = "approve",
|
|
20
|
-
REJECT = "reject",
|
|
21
|
-
CUSTOM = "custom"
|
|
22
|
-
}
|
|
23
|
-
declare enum ActivityStatus {
|
|
24
|
-
SUCCESS = "success",
|
|
25
|
-
FAILURE = "failure",
|
|
26
|
-
PENDING = "pending",
|
|
27
|
-
WARNING = "warning"
|
|
28
|
-
}
|
|
29
|
-
declare enum ActivitySeverity {
|
|
30
|
-
LOW = "low",
|
|
31
|
-
MEDIUM = "medium",
|
|
32
|
-
HIGH = "high",
|
|
33
|
-
CRITICAL = "critical"
|
|
34
|
-
}
|
|
35
|
-
type ActivityActorType = 'user' | 'app' | 'service' | 'super_admin';
|
|
36
|
-
interface LogActivityOptions {
|
|
37
|
-
userId: string;
|
|
38
|
-
activityType: ActivityType;
|
|
39
|
-
resourceType: string;
|
|
40
|
-
resourceId?: string;
|
|
41
|
-
action: string;
|
|
42
|
-
status: ActivityStatus;
|
|
43
|
-
workspaceId?: string;
|
|
44
|
-
organizationId?: string;
|
|
45
|
-
projectId?: string;
|
|
46
|
-
productId?: string;
|
|
47
|
-
description?: string;
|
|
48
|
-
targetUserId?: string;
|
|
49
|
-
teamId?: string;
|
|
50
|
-
actorType?: ActivityActorType;
|
|
51
|
-
onBehalfOf?: string;
|
|
52
|
-
dedupeKey?: string;
|
|
53
|
-
ipAddress?: string;
|
|
54
|
-
userAgent?: string;
|
|
55
|
-
metadata?: Record<string, unknown>;
|
|
56
|
-
severity?: ActivitySeverity;
|
|
57
|
-
errorMessage?: string;
|
|
58
|
-
duration?: number;
|
|
59
|
-
}
|
|
60
|
-
interface Activity {
|
|
61
|
-
id: string;
|
|
62
|
-
userId: string;
|
|
63
|
-
activityType: ActivityType;
|
|
64
|
-
resourceType: string;
|
|
65
|
-
resourceId?: string;
|
|
66
|
-
action: string;
|
|
67
|
-
status: ActivityStatus;
|
|
68
|
-
workspaceId?: string;
|
|
69
|
-
organizationId?: string;
|
|
70
|
-
projectId?: string;
|
|
71
|
-
productId?: string;
|
|
72
|
-
description?: string;
|
|
73
|
-
targetUserId?: string;
|
|
74
|
-
actorType?: string;
|
|
75
|
-
onBehalfOf?: string;
|
|
76
|
-
ipAddress?: string;
|
|
77
|
-
userAgent?: string;
|
|
78
|
-
metadata?: Record<string, unknown>;
|
|
79
|
-
severity: ActivitySeverity;
|
|
80
|
-
errorMessage?: string;
|
|
81
|
-
duration?: number;
|
|
82
|
-
createdAt: string;
|
|
83
|
-
}
|
|
84
|
-
interface GetActivitiesOptions {
|
|
85
|
-
workspaceId?: string;
|
|
86
|
-
userId?: string;
|
|
87
|
-
action?: string;
|
|
88
|
-
resourceType?: string;
|
|
89
|
-
resourceId?: string;
|
|
90
|
-
targetUserId?: string;
|
|
91
|
-
startDate?: string;
|
|
92
|
-
endDate?: string;
|
|
93
|
-
limit?: number;
|
|
94
|
-
offset?: number;
|
|
95
|
-
organizationId?: string;
|
|
96
|
-
projectId?: string;
|
|
97
|
-
activityType?: ActivityType;
|
|
98
|
-
status?: ActivityStatus;
|
|
99
|
-
severity?: ActivitySeverity;
|
|
100
|
-
search?: string;
|
|
101
|
-
sortBy?: 'createdAt' | 'duration' | 'severity';
|
|
102
|
-
sortOrder?: 'asc' | 'desc';
|
|
103
|
-
}
|
|
104
|
-
interface ActivityStats {
|
|
105
|
-
totalActivities: number;
|
|
106
|
-
successCount: number;
|
|
107
|
-
failureCount: number;
|
|
108
|
-
pendingCount: number;
|
|
109
|
-
warningCount: number;
|
|
110
|
-
averageDuration?: number;
|
|
111
|
-
activitiesByType: Record<string, number>;
|
|
112
|
-
activitiesBySeverity: Record<string, number>;
|
|
113
|
-
topUsers: Array<{
|
|
114
|
-
userId: string;
|
|
115
|
-
count: number;
|
|
116
|
-
}>;
|
|
117
|
-
topResources: Array<{
|
|
118
|
-
resourceType: string;
|
|
119
|
-
count: number;
|
|
120
|
-
}>;
|
|
121
|
-
}
|
|
122
|
-
declare class ActivityOperationUnsupportedError extends SDKError {
|
|
123
|
-
constructor(operation: string, guidance: string);
|
|
124
|
-
}
|
|
125
|
-
declare class ActivityModule {
|
|
126
|
-
private client;
|
|
127
|
-
private context;
|
|
128
|
-
constructor(client: BurdenoffGraphQLClient, context: SDKContext);
|
|
129
|
-
log(options: LogActivityOptions): Promise<Activity>;
|
|
130
|
-
logSuccess(userId: string, action: string, resourceType: string, resourceId?: string, metadata?: Record<string, unknown>): Promise<Activity>;
|
|
131
|
-
logFailure(userId: string, action: string, resourceType: string, errorMessage: string, resourceId?: string, metadata?: Record<string, unknown>): Promise<Activity>;
|
|
132
|
-
getActivities(options: GetActivitiesOptions): Promise<{
|
|
133
|
-
activities: Activity[];
|
|
134
|
-
total: number;
|
|
135
|
-
}>;
|
|
136
|
-
getActivity(_activityId: string): Promise<Activity>;
|
|
137
|
-
getStats(_options: Omit<GetActivitiesOptions, 'limit' | 'offset'>): Promise<ActivityStats>;
|
|
138
|
-
cleanup(_olderThanDays: number, _workspaceId?: string): Promise<number>;
|
|
139
|
-
exportToCSV(_options: GetActivitiesOptions): Promise<string>;
|
|
140
|
-
private inferActivityType;
|
|
141
|
-
}
|
|
142
7
|
interface TrackingEvent {
|
|
143
8
|
eventType: string;
|
|
144
9
|
entityType: string;
|
|
@@ -338,4 +203,4 @@ declare class TrackerModule {
|
|
|
338
203
|
private inferActivityType;
|
|
339
204
|
trackBatch(operations: TrackOptions[]): Promise<TrackResult[]>;
|
|
340
205
|
}
|
|
341
|
-
export {
|
|
206
|
+
export { trackerStub as S, UsageTrackingOptions as _, AGENT_ACTIVITY_RESOURCE_TYPE as a, resolveAssistantSession as b, trackAgentActivity as c, RbacCheckOptions as d, TrackedActorType as f, UnifiedTrackingOptions as g, UnifiedTrackerStub as h, AGENT_ACTIVITY_ACTIONS as i, ActivityTrackingOptions as l, UNIFIED_TRACKER_CONSTANTS as m, TrackResult as n, AgentActivityAction as o, TrackingEvent as p, TrackerModule as r, AgentActivityOptions as s, TrackOptions as t, ProductTracker as u, createProductTracker as v, trackOperation as x, isTrackedActorType as y };
|