@burdenoff/be-sdk 2026.1028.2 → 2026.1028.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.
Files changed (47) hide show
  1. package/dist/ai-credits/index.js +1 -1
  2. package/dist/cache/index.js +2 -2
  3. package/dist/{chunk-GKOAAC6D.js → chunk-3YG5JRS5.js} +3 -3
  4. package/dist/{chunk-GKOAAC6D.js.map → chunk-3YG5JRS5.js.map} +1 -1
  5. package/dist/{chunk-PAQK3YF2.js → chunk-4YPW6NMW.js} +3 -3
  6. package/dist/{chunk-PAQK3YF2.js.map → chunk-4YPW6NMW.js.map} +1 -1
  7. package/dist/{chunk-E36LPO3K.js → chunk-5ZP576CV.js} +3 -3
  8. package/dist/{chunk-E36LPO3K.js.map → chunk-5ZP576CV.js.map} +1 -1
  9. package/dist/{chunk-RM6AIMZT.js → chunk-FG6QCKKO.js} +5 -4
  10. package/dist/chunk-FG6QCKKO.js.map +1 -0
  11. package/dist/{chunk-FYFA7WAS.js → chunk-LCDECFJJ.js} +3 -3
  12. package/dist/{chunk-FYFA7WAS.js.map → chunk-LCDECFJJ.js.map} +1 -1
  13. package/dist/{chunk-PNWFTWBQ.js → chunk-OHUBPOZ6.js} +3 -3
  14. package/dist/{chunk-PNWFTWBQ.js.map → chunk-OHUBPOZ6.js.map} +1 -1
  15. package/dist/{chunk-NBN52AEM.js → chunk-PIRHGTHJ.js} +2 -2
  16. package/dist/{chunk-NBN52AEM.js.map → chunk-PIRHGTHJ.js.map} +1 -1
  17. package/dist/{chunk-57GT6PJK.js → chunk-SC43G6HT.js} +3 -3
  18. package/dist/{chunk-57GT6PJK.js.map → chunk-SC43G6HT.js.map} +1 -1
  19. package/dist/{chunk-QCOC2SF3.js → chunk-WSAWJC4D.js} +3 -3
  20. package/dist/{chunk-QCOC2SF3.js.map → chunk-WSAWJC4D.js.map} +1 -1
  21. package/dist/{chunk-5RBIDJBZ.js → chunk-XQ5RHGME.js} +3 -3
  22. package/dist/{chunk-5RBIDJBZ.js.map → chunk-XQ5RHGME.js.map} +1 -1
  23. package/dist/{chunk-N2UT3ESH.js → chunk-XXNT4VCM.js} +84 -19
  24. package/dist/chunk-XXNT4VCM.js.map +1 -0
  25. package/dist/{chunk-QGADOWSG.js → chunk-ZWKJKL6Y.js} +23 -6
  26. package/dist/chunk-ZWKJKL6Y.js.map +1 -0
  27. package/dist/{client-7DW6EYSA.js → client-FUR7I6DB.js} +3 -3
  28. package/dist/{client-7DW6EYSA.js.map → client-FUR7I6DB.js.map} +1 -1
  29. package/dist/export/index.js +4 -4
  30. package/dist/files/index.js +1 -1
  31. package/dist/gateway/index.d.ts +1 -1
  32. package/dist/gateway/index.js +3 -3
  33. package/dist/gateway/security/index.js +1 -1
  34. package/dist/{index-DfYu1p9e.d.ts → index-D8HGwglK.d.ts} +16 -5
  35. package/dist/{index-Dcq8OduH.d.ts → index-szTxGaO6.d.ts} +4 -2
  36. package/dist/index.d.ts +2 -2
  37. package/dist/index.js +25 -25
  38. package/dist/init/index.js +4 -4
  39. package/dist/platform/index.d.ts +1 -1
  40. package/dist/platform/index.js +1 -1
  41. package/dist/prisma/index.js +2 -2
  42. package/dist/tags/index.js +1 -1
  43. package/dist/tracker/index.js +3 -3
  44. package/package.json +1 -1
  45. package/dist/chunk-N2UT3ESH.js.map +0 -1
  46. package/dist/chunk-QGADOWSG.js.map +0 -1
  47. package/dist/chunk-RM6AIMZT.js.map +0 -1
@@ -1,4 +1,4 @@
1
- export { D as DELEGATED_AUTHORIZATION_HEADER, a as DelegatedGatewayTransportInput, G as GatewayClient, b as buildDelegatedGatewayHeaders, c as createGatewayClient, d as createGatewayClientFromEnv, s as signServiceJwt } from '../index-Dcq8OduH.js';
1
+ export { D as DELEGATED_AUTHORIZATION_HEADER, a as DelegatedGatewayTransportInput, G as GatewayClient, b as buildDelegatedGatewayHeaders, c as createGatewayClient, d as createGatewayClientFromEnv, e as isGatewayClientError, s as signServiceJwt } from '../index-szTxGaO6.js';
2
2
  export { C as CircuitBreakerStats, e as CircuitState, G as GatewayClientConfig, d as GatewayClientHealth, f as GatewayError, g as GatewayErrorType, h as GraphQLError, a as GraphQLRequestOptions, b as GraphQLResponse, c as ICircuitBreaker, I as IGatewayClient, R as RequestContext } from '../types-DgJ4lDYA.js';
3
3
  export { i as Security } from '../index-D3d2TAS-.js';
4
4
  import '../layer-Cv9vSwBx.js';
@@ -1,6 +1,6 @@
1
- export { DELEGATED_AUTHORIZATION_HEADER, buildDelegatedGatewayHeaders } from '../chunk-RM6AIMZT.js';
2
- export { security_exports as Security } from '../chunk-NBN52AEM.js';
3
- export { GatewayClient, createGatewayClient, createGatewayClientFromEnv } from '../chunk-QGADOWSG.js';
1
+ export { DELEGATED_AUTHORIZATION_HEADER, buildDelegatedGatewayHeaders } from '../chunk-FG6QCKKO.js';
2
+ export { security_exports as Security } from '../chunk-PIRHGTHJ.js';
3
+ export { GatewayClient, createGatewayClient, createGatewayClientFromEnv, isGatewayClientError } from '../chunk-ZWKJKL6Y.js';
4
4
  import '../chunk-FZRODKIN.js';
5
5
  import '../chunk-STWFX5E2.js';
6
6
  export { signServiceJwt } from '../chunk-VFCMR5GX.js';
@@ -1,4 +1,4 @@
1
- export { DEFAULT_ARMOR_CONFIG, DEFAULT_COST_MAP, DEFAULT_TIERS, MemoryValkey, __resetMetricsForTest, __setSecurityValkeyForTest, buildSecurityPlugins, checkRateLimit, createArmorPlugins, createOperationTimeoutPlugin, createOtelPlugin, createQueryComplexityPlugin, createRateLimitPlugin, getMetrics, getSecurityValkey, initializeMetrics, initializeOtel, initializeSecurityValkey, mergeCostMap, resolveActor, resolveSecurityOptionsFromEnv, resolveTiersFromEnv, scrapeMetrics, shutdownOtel } from '../../chunk-NBN52AEM.js';
1
+ export { DEFAULT_ARMOR_CONFIG, DEFAULT_COST_MAP, DEFAULT_TIERS, MemoryValkey, __resetMetricsForTest, __setSecurityValkeyForTest, buildSecurityPlugins, checkRateLimit, createArmorPlugins, createOperationTimeoutPlugin, createOtelPlugin, createQueryComplexityPlugin, createRateLimitPlugin, getMetrics, getSecurityValkey, initializeMetrics, initializeOtel, initializeSecurityValkey, mergeCostMap, resolveActor, resolveSecurityOptionsFromEnv, resolveTiersFromEnv, scrapeMetrics, shutdownOtel } from '../../chunk-PIRHGTHJ.js';
2
2
  import '../../chunk-FZRODKIN.js';
3
3
  import '../../chunk-RU266375.js';
4
4
  import '../../chunk-XE4OXN2W.js';
@@ -252,7 +252,15 @@ interface InvocationIdentity {
252
252
  readonly actorType: 'user' | 'app' | 'service' | 'super_admin';
253
253
  readonly onBehalfOf: string | null;
254
254
  }
255
- interface InvocationAttemptInput {
255
+ type InvocationTrigger = 'interactive' | 'scheduled' | 'event' | 'api' | 'webhook' | 'test';
256
+ interface InvocationAttemptDimensions {
257
+ readonly trigger?: InvocationTrigger;
258
+ readonly subjectType?: string;
259
+ readonly subjectId?: string;
260
+ readonly subjectPartId?: string;
261
+ readonly sequence?: number;
262
+ }
263
+ interface InvocationAttemptInput extends InvocationAttemptDimensions {
256
264
  readonly attemptKey: string;
257
265
  readonly operationKey: string;
258
266
  readonly productKey: string;
@@ -356,10 +364,11 @@ declare class InvocationAccountingCoordinator {
356
364
  }
357
365
 
358
366
  declare const PROMPTS_V2_DOCUMENTS: Readonly<{
359
- begin: "mutation SdkBeginInvocationAttemptV2($input:PromptBeginInvocationAttemptV2Input!){promptBeginInvocationAttemptV2(input:$input){id workspaceId attemptKey operationKey productKey providerKey modelKey startedAt createdBy origin fingerprint createdAt revisions{id attemptId revision predecessorId eventKey fingerprint outcome inputTokens outputTokens totalTokens cachedInputTokens costMicroUsd currency costKind pricingReference origin finishedAt createdAt} hasMoreRevisions}}";
367
+ begin: "mutation SdkBeginInvocationAttemptV2($input:PromptBeginInvocationAttemptV2Input!){promptBeginInvocationAttemptV2(input:$input){id workspaceId attemptKey operationKey productKey providerKey modelKey startedAt trigger subjectType subjectId subjectPartId sequence createdBy origin fingerprint createdAt revisions{id attemptId revision predecessorId eventKey fingerprint outcome inputTokens outputTokens totalTokens cachedInputTokens costMicroUsd currency costKind pricingReference origin finishedAt createdAt} hasMoreRevisions}}";
360
368
  record: "mutation SdkRecordInvocationUsageV2($input:PromptRecordInvocationUsageV2Input!){promptRecordInvocationUsageV2(input:$input){id attemptId revision predecessorId eventKey fingerprint outcome inputTokens outputTokens totalTokens cachedInputTokens costMicroUsd currency costKind pricingReference origin finishedAt createdAt}}";
361
- read: "query SdkInvocationAttemptV2($key:String!,$offset:Int){promptInvocationAttemptV2(attemptKey:$key,revisionOffset:$offset){id workspaceId attemptKey operationKey productKey providerKey modelKey startedAt createdBy origin fingerprint createdAt revisions{id attemptId revision predecessorId eventKey fingerprint outcome inputTokens outputTokens totalTokens cachedInputTokens costMicroUsd currency costKind pricingReference origin finishedAt createdAt} hasMoreRevisions}}";
369
+ read: "query SdkInvocationAttemptV2($key:String!,$offset:Int){promptInvocationAttemptV2(attemptKey:$key,revisionOffset:$offset){id workspaceId attemptKey operationKey productKey providerKey modelKey startedAt trigger subjectType subjectId subjectPartId sequence createdBy origin fingerprint createdAt revisions{id attemptId revision predecessorId eventKey fingerprint outcome inputTokens outputTokens totalTokens cachedInputTokens costMicroUsd currency costKind pricingReference origin finishedAt createdAt} hasMoreRevisions}}";
362
370
  summary: "query SdkUsageSummaryV2($from:DateTime!,$to:DateTime!,$product:String,$operation:String){promptUsageSummaryV2(from:$from,to:$to,productKey:$product,operationKey:$operation){workspaceId from to scope productKey operationKey origin currency costKind operations attempts pendingAttempts knownAttempts partialAttempts unknownAttempts inputTokens{knownSubtotal knownAttempts missingAttempts} outputTokens{knownSubtotal knownAttempts missingAttempts} totalTokens{knownSubtotal knownAttempts missingAttempts} costMicroUsd{knownSubtotal knownAttempts missingAttempts}}}";
371
+ breakdown: "query SdkUsageBreakdownV2($from:DateTime!,$to:DateTime!,$groupBy:[PromptUsageDimensionV2!]!,$product:String,$operation:String,$subjectType:String,$subjectId:String,$trigger:String){promptUsageBreakdownV2(from:$from,to:$to,groupBy:$groupBy,productKey:$product,operationKey:$operation,subjectType:$subjectType,subjectId:$subjectId,trigger:$trigger){workspaceId from to scope groupBy productKey operationKey subjectType subjectId trigger origin currency costKind truncated rows{productKey providerKey modelKey operationKey trigger subjectType subjectId subjectPartId attempts pendingAttempts inputTokens{knownSubtotal knownAttempts missingAttempts} outputTokens{knownSubtotal knownAttempts missingAttempts} totalTokens{knownSubtotal knownAttempts missingAttempts} costMicroUsd{knownSubtotal knownAttempts missingAttempts}}}}";
363
372
  }>;
364
373
 
365
374
  type UsageIssue = 'INPUT' | 'OUTPUT' | 'CACHE_READ' | 'CACHE_WRITE' | 'CACHE_SUBSET' | 'INPUT_OVERFLOW' | 'CUMULATIVE_REGRESSION';
@@ -442,6 +451,7 @@ declare const index_InvocationAccountingCoordinator: typeof InvocationAccounting
442
451
  type index_InvocationAccountingOptions = InvocationAccountingOptions;
443
452
  type index_InvocationAccountingValidationError = InvocationAccountingValidationError;
444
453
  declare const index_InvocationAccountingValidationError: typeof InvocationAccountingValidationError;
454
+ type index_InvocationAttemptDimensions = InvocationAttemptDimensions;
445
455
  type index_InvocationAttemptInput = InvocationAttemptInput;
446
456
  type index_InvocationAttemptReceipt = InvocationAttemptReceipt;
447
457
  type index_InvocationCallerAdmission = InvocationCallerAdmission;
@@ -453,6 +463,7 @@ type index_InvocationIntent = InvocationIntent;
453
463
  type index_InvocationReceipt = InvocationReceipt;
454
464
  type index_InvocationSummaryComponent = InvocationSummaryComponent;
455
465
  type index_InvocationSummarySelection = InvocationSummarySelection;
466
+ type index_InvocationTrigger = InvocationTrigger;
456
467
  type index_InvocationUsageInput = InvocationUsageInput;
457
468
  type index_InvocationUsageReceipt = InvocationUsageReceipt;
458
469
  type index_InvocationUsageSummary = InvocationUsageSummary;
@@ -524,7 +535,7 @@ declare const index_validateInvocationUsageReceipt: typeof validateInvocationUsa
524
535
  declare const index_validateInvocationUsageSummary: typeof validateInvocationUsageSummary;
525
536
  declare const index_withLeaderLock: typeof withLeaderLock;
526
537
  declare namespace index {
527
- export { type index_BreakerConfig as BreakerConfig, type index_BuildConnectionOptions as BuildConnectionOptions, type index_CacheVersionRedis as CacheVersionRedis, index_CircuitBreakerOpenError as CircuitBreakerOpenError, type index_ClampLimitOptions as ClampLimitOptions, type index_ConnectionEdge as ConnectionEdge, type index_ConnectionResult as ConnectionResult, type index_CreateLeaderLeaseOptions as CreateLeaderLeaseOptions, type index_CursorPaginationInput as CursorPaginationInput, type index_CursorPayload as CursorPayload, type index_CursorPayloadValue as CursorPayloadValue, index_DEFAULT_GRAPHQL_PAGE_LIMIT as DEFAULT_GRAPHQL_PAGE_LIMIT, type index_DataLoaderLike as DataLoaderLike, type index_DropOldOptions as DropOldOptions, type index_EnsureMonthlyOptions as EnsureMonthlyOptions, type index_HttpClientConfig as HttpClientConfig, type index_HttpClientInit as HttpClientInit, index_InvocationAccountingCoordinator as InvocationAccountingCoordinator, type index_InvocationAccountingOptions as InvocationAccountingOptions, index_InvocationAccountingValidationError as InvocationAccountingValidationError, type index_InvocationAttemptInput as InvocationAttemptInput, type index_InvocationAttemptReceipt as InvocationAttemptReceipt, type index_InvocationCallerAdmission as InvocationCallerAdmission, type index_InvocationDelivery as InvocationDelivery, type index_InvocationDeliveryResult as InvocationDeliveryResult, type index_InvocationDeliveryStore as InvocationDeliveryStore, type index_InvocationIdentity as InvocationIdentity, type index_InvocationIntent as InvocationIntent, type index_InvocationReceipt as InvocationReceipt, type index_InvocationSummaryComponent as InvocationSummaryComponent, type index_InvocationSummarySelection as InvocationSummarySelection, type index_InvocationUsageInput as InvocationUsageInput, type index_InvocationUsageReceipt as InvocationUsageReceipt, type index_InvocationUsageSummary as InvocationUsageSummary, type index_LLMProviderAdapter as LLMProviderAdapter, type index_LLMRequest as LLMRequest, type index_LLMResponse as LLMResponse, index_LLMRouter as LLMRouter, type index_LLMRouterOptions as LLMRouterOptions, type index_LeaderLease as LeaderLease, type index_LeaderLockOptions as LeaderLockOptions, type index_LeaderLockRedis as LeaderLockRedis, type index_LeaderLockResult as LeaderLockResult, type index_LoaderBuilder as LoaderBuilder, type index_LoaderMap as LoaderMap, index_MAX_GRAPHQL_PAGE_LIMIT as MAX_GRAPHQL_PAGE_LIMIT, type index_NormalizedClaudeUsage as NormalizedClaudeUsage, type index_NormalizedCursorPagination as NormalizedCursorPagination, type index_NormalizedInvocationUsage as NormalizedInvocationUsage, type index_NormalizedOffsetPagination as NormalizedOffsetPagination, type index_OffsetPageResult as OffsetPageResult, type index_OffsetPaginationInput as OffsetPaginationInput, index_PROMPTS_V2_DOCUMENTS as PROMPTS_V2_DOCUMENTS, type index_PageInfo as PageInfo, type index_PaginateInput as PaginateInput, type index_PaginateResult as PaginateResult, type index_PrismaModelLike as PrismaModelLike, type index_PrismaRawClient as PrismaRawClient, type index_RateLimitInput as RateLimitInput, type index_RateLimitRedis as RateLimitRedis, type index_RateLimitResult as RateLimitResult, type index_ReferenceObject as ReferenceObject, type index_RetryConfig as RetryConfig, type index_UsageIssue as UsageIssue, index___resetHttpClientBreakers as __resetHttpClientBreakers, index_buildCacheKey as buildCacheKey, index_buildConnection as buildConnection, index_buildLoaders as buildLoaders, index_buildOffsetPage as buildOffsetPage, index_clampGraphqlLimit as clampGraphqlLimit, index_clampLimit as clampLimit, index_clampOffset as clampOffset, index_createClaudeUsageAccumulator as createClaudeUsageAccumulator, index_createHttpClient as createHttpClient, index_createLeaderLease as createLeaderLease, index_decodeCursor as decodeCursor, index_dropOldPartitions as dropOldPartitions, index_encodeCursor as encodeCursor, index_ensureMonthlyPartitions as ensureMonthlyPartitions, index_getNamespaceVersion as getNamespaceVersion, index_httpClient as httpClient, index_invalidateNamespace as invalidateNamespace, index_monthlyPartitionName as monthlyPartitionName, index_normalizeClaudeUsage as normalizeClaudeUsage, index_normalizeCursorPagination as normalizeCursorPagination, index_normalizeOffsetPagination as normalizeOffsetPagination, index_normalizeOpenAIUsage as normalizeOpenAIUsage, index_normalizeRedisUrl as normalizeRedisUrl, index_paginate as paginate, index_rateLimitIncr as rateLimitIncr, index_resolveReferenceLoader as resolveReferenceLoader, index_toPrismaPage as toPrismaPage, index_validateInvocationAttemptInput as validateInvocationAttemptInput, index_validateInvocationAttemptReceipt as validateInvocationAttemptReceipt, index_validateInvocationDelivery as validateInvocationDelivery, index_validateInvocationIdentity as validateInvocationIdentity, index_validateInvocationUsageInput as validateInvocationUsageInput, index_validateInvocationUsageReceipt as validateInvocationUsageReceipt, index_validateInvocationUsageSummary as validateInvocationUsageSummary, index_withLeaderLock as withLeaderLock };
538
+ export { type index_BreakerConfig as BreakerConfig, type index_BuildConnectionOptions as BuildConnectionOptions, type index_CacheVersionRedis as CacheVersionRedis, index_CircuitBreakerOpenError as CircuitBreakerOpenError, type index_ClampLimitOptions as ClampLimitOptions, type index_ConnectionEdge as ConnectionEdge, type index_ConnectionResult as ConnectionResult, type index_CreateLeaderLeaseOptions as CreateLeaderLeaseOptions, type index_CursorPaginationInput as CursorPaginationInput, type index_CursorPayload as CursorPayload, type index_CursorPayloadValue as CursorPayloadValue, index_DEFAULT_GRAPHQL_PAGE_LIMIT as DEFAULT_GRAPHQL_PAGE_LIMIT, type index_DataLoaderLike as DataLoaderLike, type index_DropOldOptions as DropOldOptions, type index_EnsureMonthlyOptions as EnsureMonthlyOptions, type index_HttpClientConfig as HttpClientConfig, type index_HttpClientInit as HttpClientInit, index_InvocationAccountingCoordinator as InvocationAccountingCoordinator, type index_InvocationAccountingOptions as InvocationAccountingOptions, index_InvocationAccountingValidationError as InvocationAccountingValidationError, type index_InvocationAttemptDimensions as InvocationAttemptDimensions, type index_InvocationAttemptInput as InvocationAttemptInput, type index_InvocationAttemptReceipt as InvocationAttemptReceipt, type index_InvocationCallerAdmission as InvocationCallerAdmission, type index_InvocationDelivery as InvocationDelivery, type index_InvocationDeliveryResult as InvocationDeliveryResult, type index_InvocationDeliveryStore as InvocationDeliveryStore, type index_InvocationIdentity as InvocationIdentity, type index_InvocationIntent as InvocationIntent, type index_InvocationReceipt as InvocationReceipt, type index_InvocationSummaryComponent as InvocationSummaryComponent, type index_InvocationSummarySelection as InvocationSummarySelection, type index_InvocationTrigger as InvocationTrigger, type index_InvocationUsageInput as InvocationUsageInput, type index_InvocationUsageReceipt as InvocationUsageReceipt, type index_InvocationUsageSummary as InvocationUsageSummary, type index_LLMProviderAdapter as LLMProviderAdapter, type index_LLMRequest as LLMRequest, type index_LLMResponse as LLMResponse, index_LLMRouter as LLMRouter, type index_LLMRouterOptions as LLMRouterOptions, type index_LeaderLease as LeaderLease, type index_LeaderLockOptions as LeaderLockOptions, type index_LeaderLockRedis as LeaderLockRedis, type index_LeaderLockResult as LeaderLockResult, type index_LoaderBuilder as LoaderBuilder, type index_LoaderMap as LoaderMap, index_MAX_GRAPHQL_PAGE_LIMIT as MAX_GRAPHQL_PAGE_LIMIT, type index_NormalizedClaudeUsage as NormalizedClaudeUsage, type index_NormalizedCursorPagination as NormalizedCursorPagination, type index_NormalizedInvocationUsage as NormalizedInvocationUsage, type index_NormalizedOffsetPagination as NormalizedOffsetPagination, type index_OffsetPageResult as OffsetPageResult, type index_OffsetPaginationInput as OffsetPaginationInput, index_PROMPTS_V2_DOCUMENTS as PROMPTS_V2_DOCUMENTS, type index_PageInfo as PageInfo, type index_PaginateInput as PaginateInput, type index_PaginateResult as PaginateResult, type index_PrismaModelLike as PrismaModelLike, type index_PrismaRawClient as PrismaRawClient, type index_RateLimitInput as RateLimitInput, type index_RateLimitRedis as RateLimitRedis, type index_RateLimitResult as RateLimitResult, type index_ReferenceObject as ReferenceObject, type index_RetryConfig as RetryConfig, type index_UsageIssue as UsageIssue, index___resetHttpClientBreakers as __resetHttpClientBreakers, index_buildCacheKey as buildCacheKey, index_buildConnection as buildConnection, index_buildLoaders as buildLoaders, index_buildOffsetPage as buildOffsetPage, index_clampGraphqlLimit as clampGraphqlLimit, index_clampLimit as clampLimit, index_clampOffset as clampOffset, index_createClaudeUsageAccumulator as createClaudeUsageAccumulator, index_createHttpClient as createHttpClient, index_createLeaderLease as createLeaderLease, index_decodeCursor as decodeCursor, index_dropOldPartitions as dropOldPartitions, index_encodeCursor as encodeCursor, index_ensureMonthlyPartitions as ensureMonthlyPartitions, index_getNamespaceVersion as getNamespaceVersion, index_httpClient as httpClient, index_invalidateNamespace as invalidateNamespace, index_monthlyPartitionName as monthlyPartitionName, index_normalizeClaudeUsage as normalizeClaudeUsage, index_normalizeCursorPagination as normalizeCursorPagination, index_normalizeOffsetPagination as normalizeOffsetPagination, index_normalizeOpenAIUsage as normalizeOpenAIUsage, index_normalizeRedisUrl as normalizeRedisUrl, index_paginate as paginate, index_rateLimitIncr as rateLimitIncr, index_resolveReferenceLoader as resolveReferenceLoader, index_toPrismaPage as toPrismaPage, index_validateInvocationAttemptInput as validateInvocationAttemptInput, index_validateInvocationAttemptReceipt as validateInvocationAttemptReceipt, index_validateInvocationDelivery as validateInvocationDelivery, index_validateInvocationIdentity as validateInvocationIdentity, index_validateInvocationUsageInput as validateInvocationUsageInput, index_validateInvocationUsageReceipt as validateInvocationUsageReceipt, index_validateInvocationUsageSummary as validateInvocationUsageSummary, index_withLeaderLock as withLeaderLock };
528
539
  }
529
540
 
530
- export { PROMPTS_V2_DOCUMENTS as $, type InvocationUsageInput as A, type BreakerConfig as B, type CacheVersionRedis as C, DEFAULT_GRAPHQL_PAGE_LIMIT as D, type EnsureMonthlyOptions as E, type InvocationUsageReceipt as F, type InvocationUsageSummary as G, type HttpClientConfig as H, InvocationAccountingCoordinator as I, type LLMRequest as J, type LLMResponse as K, type LLMProviderAdapter as L, LLMRouter as M, type LLMRouterOptions as N, type LeaderLease as O, type LeaderLockOptions as P, type LeaderLockRedis as Q, type LeaderLockResult as R, type LoaderBuilder as S, type LoaderMap as T, MAX_GRAPHQL_PAGE_LIMIT as U, type NormalizedClaudeUsage as V, type NormalizedCursorPagination as W, type NormalizedInvocationUsage as X, type NormalizedOffsetPagination as Y, type OffsetPageResult as Z, type OffsetPaginationInput as _, type BuildConnectionOptions as a, type PageInfo as a0, type PaginateInput as a1, type PaginateResult as a2, type PrismaModelLike as a3, type PrismaRawClient as a4, type RateLimitInput as a5, type RateLimitRedis as a6, type RateLimitResult as a7, type ReferenceObject as a8, type RetryConfig as a9, rateLimitIncr as aA, resolveReferenceLoader as aB, toPrismaPage as aC, validateInvocationAttemptInput as aD, validateInvocationAttemptReceipt as aE, validateInvocationDelivery as aF, validateInvocationIdentity as aG, validateInvocationUsageInput as aH, validateInvocationUsageReceipt as aI, validateInvocationUsageSummary as aJ, withLeaderLock as aK, type UsageIssue as aa, __resetHttpClientBreakers as ab, buildCacheKey as ac, buildConnection as ad, buildLoaders as ae, buildOffsetPage as af, clampGraphqlLimit as ag, clampLimit as ah, clampOffset as ai, createClaudeUsageAccumulator as aj, createHttpClient as ak, createLeaderLease as al, decodeCursor as am, dropOldPartitions as an, encodeCursor as ao, ensureMonthlyPartitions as ap, getNamespaceVersion as aq, httpClient as ar, invalidateNamespace as as, monthlyPartitionName as at, normalizeClaudeUsage as au, normalizeCursorPagination as av, normalizeOffsetPagination as aw, normalizeOpenAIUsage as ax, normalizeRedisUrl as ay, paginate as az, CircuitBreakerOpenError as b, type ClampLimitOptions as c, type ConnectionEdge as d, type ConnectionResult as e, type CreateLeaderLeaseOptions as f, type CursorPaginationInput as g, type CursorPayload as h, index as i, type CursorPayloadValue as j, type DataLoaderLike as k, type DropOldOptions as l, type HttpClientInit as m, type InvocationAccountingOptions as n, InvocationAccountingValidationError as o, type InvocationAttemptInput as p, type InvocationAttemptReceipt as q, type InvocationCallerAdmission as r, type InvocationDelivery as s, type InvocationDeliveryResult as t, type InvocationDeliveryStore as u, type InvocationIdentity as v, type InvocationIntent as w, type InvocationReceipt as x, type InvocationSummaryComponent as y, type InvocationSummarySelection as z };
541
+ export { type OffsetPageResult as $, type InvocationSummarySelection as A, type BreakerConfig as B, type CacheVersionRedis as C, DEFAULT_GRAPHQL_PAGE_LIMIT as D, type EnsureMonthlyOptions as E, type InvocationTrigger as F, type InvocationUsageInput as G, type HttpClientConfig as H, InvocationAccountingCoordinator as I, type InvocationUsageReceipt as J, type InvocationUsageSummary as K, type LLMProviderAdapter as L, type LLMRequest as M, type LLMResponse as N, LLMRouter as O, type LLMRouterOptions as P, type LeaderLease as Q, type LeaderLockOptions as R, type LeaderLockRedis as S, type LeaderLockResult as T, type LoaderBuilder as U, type LoaderMap as V, MAX_GRAPHQL_PAGE_LIMIT as W, type NormalizedClaudeUsage as X, type NormalizedCursorPagination as Y, type NormalizedInvocationUsage as Z, type NormalizedOffsetPagination as _, type BuildConnectionOptions as a, type OffsetPaginationInput as a0, PROMPTS_V2_DOCUMENTS as a1, type PageInfo as a2, type PaginateInput as a3, type PaginateResult as a4, type PrismaModelLike as a5, type PrismaRawClient as a6, type RateLimitInput as a7, type RateLimitRedis as a8, type RateLimitResult as a9, normalizeRedisUrl as aA, paginate as aB, rateLimitIncr as aC, resolveReferenceLoader as aD, toPrismaPage as aE, validateInvocationAttemptInput as aF, validateInvocationAttemptReceipt as aG, validateInvocationDelivery as aH, validateInvocationIdentity as aI, validateInvocationUsageInput as aJ, validateInvocationUsageReceipt as aK, validateInvocationUsageSummary as aL, withLeaderLock as aM, type ReferenceObject as aa, type RetryConfig as ab, type UsageIssue as ac, __resetHttpClientBreakers as ad, buildCacheKey as ae, buildConnection as af, buildLoaders as ag, buildOffsetPage as ah, clampGraphqlLimit as ai, clampLimit as aj, clampOffset as ak, createClaudeUsageAccumulator as al, createHttpClient as am, createLeaderLease as an, decodeCursor as ao, dropOldPartitions as ap, encodeCursor as aq, ensureMonthlyPartitions as ar, getNamespaceVersion as as, httpClient as at, invalidateNamespace as au, monthlyPartitionName as av, normalizeClaudeUsage as aw, normalizeCursorPagination as ax, normalizeOffsetPagination as ay, normalizeOpenAIUsage as az, CircuitBreakerOpenError as b, type ClampLimitOptions as c, type ConnectionEdge as d, type ConnectionResult as e, type CreateLeaderLeaseOptions as f, type CursorPaginationInput as g, type CursorPayload as h, index as i, type CursorPayloadValue as j, type DataLoaderLike as k, type DropOldOptions as l, type HttpClientInit as m, type InvocationAccountingOptions as n, InvocationAccountingValidationError as o, type InvocationAttemptDimensions as p, type InvocationAttemptInput as q, type InvocationAttemptReceipt as r, type InvocationCallerAdmission as s, type InvocationDelivery as t, type InvocationDeliveryResult as u, type InvocationDeliveryStore as v, type InvocationIdentity as w, type InvocationIntent as x, type InvocationReceipt as y, type InvocationSummaryComponent as z };
@@ -2,6 +2,7 @@ import { f as GatewayRequestHeaders } from './layer-Cv9vSwBx.js';
2
2
  import { I as IGatewayClient, G as GatewayClientConfig, a as GraphQLRequestOptions, b as GraphQLResponse, c as ICircuitBreaker, d as GatewayClientHealth, C as CircuitBreakerStats, e as CircuitState, f as GatewayError, g as GatewayErrorType, h as GraphQLError, R as RequestContext } from './types-DgJ4lDYA.js';
3
3
  import { i as index$1 } from './index-D3d2TAS-.js';
4
4
 
5
+ declare function isGatewayClientError(error: unknown): boolean;
5
6
  declare class GatewayClient implements IGatewayClient {
6
7
  private config;
7
8
  private layerManager;
@@ -61,9 +62,10 @@ declare const index_RequestContext: typeof RequestContext;
61
62
  declare const index_buildDelegatedGatewayHeaders: typeof buildDelegatedGatewayHeaders;
62
63
  declare const index_createGatewayClient: typeof createGatewayClient;
63
64
  declare const index_createGatewayClientFromEnv: typeof createGatewayClientFromEnv;
65
+ declare const index_isGatewayClientError: typeof isGatewayClientError;
64
66
  declare const index_signServiceJwt: typeof signServiceJwt;
65
67
  declare namespace index {
66
- export { index_CircuitBreakerStats as CircuitBreakerStats, index_CircuitState as CircuitState, index_DELEGATED_AUTHORIZATION_HEADER as DELEGATED_AUTHORIZATION_HEADER, type index_DelegatedGatewayTransportInput as DelegatedGatewayTransportInput, index_GatewayClient as GatewayClient, index_GatewayClientConfig as GatewayClientConfig, index_GatewayClientHealth as GatewayClientHealth, index_GatewayError as GatewayError, index_GatewayErrorType as GatewayErrorType, index_GraphQLError as GraphQLError, index_GraphQLRequestOptions as GraphQLRequestOptions, index_GraphQLResponse as GraphQLResponse, index_ICircuitBreaker as ICircuitBreaker, index_IGatewayClient as IGatewayClient, index_RequestContext as RequestContext, index$1 as Security, index_buildDelegatedGatewayHeaders as buildDelegatedGatewayHeaders, index_createGatewayClient as createGatewayClient, index_createGatewayClientFromEnv as createGatewayClientFromEnv, index_signServiceJwt as signServiceJwt };
68
+ export { index_CircuitBreakerStats as CircuitBreakerStats, index_CircuitState as CircuitState, index_DELEGATED_AUTHORIZATION_HEADER as DELEGATED_AUTHORIZATION_HEADER, type index_DelegatedGatewayTransportInput as DelegatedGatewayTransportInput, index_GatewayClient as GatewayClient, index_GatewayClientConfig as GatewayClientConfig, index_GatewayClientHealth as GatewayClientHealth, index_GatewayError as GatewayError, index_GatewayErrorType as GatewayErrorType, index_GraphQLError as GraphQLError, index_GraphQLRequestOptions as GraphQLRequestOptions, index_GraphQLResponse as GraphQLResponse, index_ICircuitBreaker as ICircuitBreaker, index_IGatewayClient as IGatewayClient, index_RequestContext as RequestContext, index$1 as Security, index_buildDelegatedGatewayHeaders as buildDelegatedGatewayHeaders, index_createGatewayClient as createGatewayClient, index_createGatewayClientFromEnv as createGatewayClientFromEnv, index_isGatewayClientError as isGatewayClientError, index_signServiceJwt as signServiceJwt };
67
69
  }
68
70
 
69
- export { DELEGATED_AUTHORIZATION_HEADER as D, GatewayClient as G, type DelegatedGatewayTransportInput as a, buildDelegatedGatewayHeaders as b, createGatewayClient as c, createGatewayClientFromEnv as d, index as i, signServiceJwt as s };
71
+ export { DELEGATED_AUTHORIZATION_HEADER as D, GatewayClient as G, type DelegatedGatewayTransportInput as a, buildDelegatedGatewayHeaders as b, createGatewayClient as c, createGatewayClientFromEnv as d, isGatewayClientError as e, index as i, signServiceJwt as s };
package/dist/index.d.ts CHANGED
@@ -36,10 +36,10 @@ export { i as DataLoader } from './index-DW9q22GH.js';
36
36
  export { i as Instrumentation } from './index-Coua7_P7.js';
37
37
  export { i as Layer } from './index-ffmipXSA.js';
38
38
  export { i as Crypto } from './index-e_18DzAg.js';
39
- export { i as Gateway } from './index-Dcq8OduH.js';
39
+ export { i as Gateway } from './index-szTxGaO6.js';
40
40
  export { i as FeatureFlags } from './index-B2YkcG0J.js';
41
41
  export { i as Captcha, R as RecaptchaVerifyOptions, a as RecaptchaVerifyResult, b as isCaptchaEnabled, v as verifyCaptcha, c as verifyCaptchaIfEnabled } from './index-B70b5mYS.js';
42
- export { i as Platform } from './index-DfYu1p9e.js';
42
+ export { i as Platform } from './index-D8HGwglK.js';
43
43
  export { N as NAME_MAX_LENGTH, a as NAME_MIN_LENGTH, b as NameErrorCode, c as NameValidationResult, R as RbacCoverageError, d as RbacCoverageOptions, e as RbacCoverageReport, f as RbacCoverageSource, U as USERNAME_MAX_LENGTH, g as USERNAME_MIN_LENGTH, h as UserFieldError, i as UserFieldKey, j as UserFieldsValidationResult, k as UsernameErrorCode, l as UsernameValidationResult, V as ValidatedUserFields, m as Validation, n as analyzeRbacCoverage, o as assertRbacCoverage, p as lengthInCodePoints, v as validateName, q as validateUserFields, r as validateUsername } from './index-qwG_TaUg.js';
44
44
  export { E as EmitGeneration, P as PRODUCT_RENAMES, a as PRODUCT_RENAME_EMIT, b as PRODUCT_SLUG_ALIASES, i as ProductAlias, c as ProductRename, R as RENAME_CONCERNS, d as RenameConcern, e as billingIdVariants, f as emitBillingId, g as emitName, h as emitProductSlug, j as emitQuotaKey, k as emitRbacResource, l as emitTemplateKey, m as isLegacyName, n as isSameBillingId, o as isSameGraphQLName, p as isSameName, q as isSameProductSlug, r as isSameQuotaKey, s as isSameRbacResource, t as isSameTemplateKey, u as nameVariants, v as normalizeBillingId, w as normalizeGraphQLName, x as normalizeProductSlug, y as normalizeQuotaKey, z as normalizeRbacResource, A as normalizeTemplateKey, B as productSlugVariants, C as quotaKeyVariants, D as rbacResourceVariants, F as readRenamedEnv, G as templateKeyVariants, H as toCurrentName, I as toLegacyName } from './index-BuAj5nXg.js';
45
45
  export { C as CircuitBreakerConfig, h as DEFAULT_CIRCUIT_BREAKER_CONFIG, i as DEFAULT_GATEWAY_RETRY_CONFIG, D as DEFAULT_GATEWAY_ROUTING, b as DEFAULT_LAYER_RESOURCES, c as DEFAULT_LAYER_STREAMS, f as GatewayRequestHeaders, g as GatewayRetryConfig, G as GatewayRoutingConfig, L as LayerConfig, a as LayerFullConfig, d as LayerGatewayConfig, e as LayerResourceUrls, S as ServiceLayer } from './layer-Cv9vSwBx.js';
package/dist/index.js CHANGED
@@ -1,38 +1,29 @@
1
- export { NAME_MAX_LENGTH, NAME_MIN_LENGTH, RbacCoverageError, USERNAME_MAX_LENGTH, USERNAME_MIN_LENGTH, validation_exports as Validation, analyzeRbacCoverage, assertRbacCoverage, lengthInCodePoints, validateName, validateUserFields, validateUsername } from './chunk-WVOW3CJR.js';
1
+ export { init_exports as Init } from './chunk-5ZP576CV.js';
2
2
  export { sharing_exports as Sharing } from './chunk-DS3YMJ4X.js';
3
- export { tags_exports as Tags } from './chunk-PNWFTWBQ.js';
3
+ export { tags_exports as Tags } from './chunk-OHUBPOZ6.js';
4
4
  export { TemporalClient, TemporalClientFactory, TemporalModule, TemporalWorker, TemporalWorkerFactory, TemporalWorkerManager } from './chunk-VXVLKRU6.js';
5
- import { ActivityModule, UsageModule, TrackerModule } from './chunk-57GT6PJK.js';
6
- export { ActivityModule, TrackerModule, UsageModule } from './chunk-57GT6PJK.js';
7
- import './chunk-TANAOLAV.js';
8
- export { middleware_exports as Middleware } from './chunk-ELU7VL3E.js';
5
+ import { ActivityModule, UsageModule, TrackerModule } from './chunk-SC43G6HT.js';
6
+ export { ActivityModule, TrackerModule, UsageModule } from './chunk-SC43G6HT.js';
7
+ export { NAME_MAX_LENGTH, NAME_MIN_LENGTH, RbacCoverageError, USERNAME_MAX_LENGTH, USERNAME_MIN_LENGTH, validation_exports as Validation, analyzeRbacCoverage, assertRbacCoverage, lengthInCodePoints, validateName, validateUserFields, validateUsername } from './chunk-WVOW3CJR.js';
9
8
  import { TenantNotificationsModule, NotificationsModule } from './chunk-INAZ3PKF.js';
10
9
  export { tenant_notifications_exports as Notifications, NotificationsModule } from './chunk-INAZ3PKF.js';
11
10
  export { observability_exports as Observability } from './chunk-VAT66FJA.js';
12
- export { platform_exports as Platform } from './chunk-N2UT3ESH.js';
13
- export { prisma_exports as Prisma } from './chunk-QCOC2SF3.js';
14
- import './chunk-E4QNLVY4.js';
11
+ export { platform_exports as Platform } from './chunk-XXNT4VCM.js';
12
+ export { prisma_exports as Prisma } from './chunk-WSAWJC4D.js';
15
13
  export { PRODUCT_RENAMES, PRODUCT_RENAME_EMIT, PRODUCT_SLUG_ALIASES, product_alias_exports as ProductAlias, RENAME_CONCERNS, billingIdVariants, emitBillingId, emitName, emitProductSlug, emitQuotaKey, emitRbacResource, emitTemplateKey, isLegacyName, isSameBillingId, isSameGraphQLName, isSameName, isSameProductSlug, isSameQuotaKey, isSameRbacResource, isSameTemplateKey, nameVariants, normalizeBillingId, normalizeGraphQLName, normalizeProductSlug, normalizeQuotaKey, normalizeRbacResource, normalizeTemplateKey, productSlugVariants, quotaKeyVariants, rbacResourceVariants, readRenamedEnv, templateKeyVariants, toCurrentName, toLegacyName } from './chunk-OBBCR6WY.js';
16
14
  import { RBACModule } from './chunk-PQGMZH6K.js';
17
15
  export { RBACModule, createRBACDirective, createRBACDirectiveForLayer, createRBACDirectiveFromEnv } from './chunk-PQGMZH6K.js';
18
- export { i18n_exports as I18n, createTranslator, getLanguage, getLocale, hasI18n, t } from './chunk-EBDHIL7V.js';
19
- export { init_exports as Init } from './chunk-E36LPO3K.js';
20
16
  export { RESOURCE_CAP_DEFAULTS, ResourceCapExceededError, ResourceCapsModule, configureResourceCaps, getResourceCaps } from './chunk-MZCBEJ67.js';
17
+ import './chunk-TANAOLAV.js';
18
+ import './chunk-E4QNLVY4.js';
19
+ export { i18n_exports as I18n, createTranslator, getLanguage, getLocale, hasI18n, t } from './chunk-EBDHIL7V.js';
21
20
  export { instrumentation_exports as Instrumentation } from './chunk-E5DTAGCA.js';
22
21
  import './chunk-AWPNRV3L.js';
22
+ export { middleware_exports as Middleware } from './chunk-ELU7VL3E.js';
23
23
  export { dataloader_exports as DataLoader } from './chunk-NUB5GQTU.js';
24
- export { export_exports as Export } from './chunk-GKOAAC6D.js';
24
+ export { export_exports as Export } from './chunk-3YG5JRS5.js';
25
25
  export { feature_flags_exports as FeatureFlags } from './chunk-UNASM5VJ.js';
26
- export { files_exports as Files } from './chunk-FYFA7WAS.js';
27
- export { gateway_exports as Gateway } from './chunk-RM6AIMZT.js';
28
- import './chunk-NBN52AEM.js';
29
- import { GatewayClient } from './chunk-QGADOWSG.js';
30
- import './chunk-FZRODKIN.js';
31
- export { layer_exports as Layer } from './chunk-STWFX5E2.js';
32
- import './chunk-VFCMR5GX.js';
33
- import { ContextManager } from './chunk-RZOFS2BQ.js';
34
- export { ContextManager } from './chunk-RZOFS2BQ.js';
35
- import { GatewayError, GatewayErrorType } from './chunk-4KK6YJ46.js';
26
+ export { files_exports as Files } from './chunk-LCDECFJJ.js';
36
27
  import { GraphModule } from './chunk-6XZ4ELHR.js';
37
28
  export { graph_exports as Graph, GraphModule } from './chunk-6XZ4ELHR.js';
38
29
  import './chunk-K52ICDCP.js';
@@ -44,14 +35,23 @@ import { resolveEventStreamsUrl } from './chunk-KS2HQCJR.js';
44
35
  export { graphql_exports as GraphQL } from './chunk-NGAGKLAM.js';
45
36
  import './chunk-MWPYA2HD.js';
46
37
  import './chunk-ENEDTQET.js';
47
- export { ai_credits_exports as AiCredits } from './chunk-5RBIDJBZ.js';
38
+ export { gateway_exports as Gateway } from './chunk-FG6QCKKO.js';
39
+ import './chunk-PIRHGTHJ.js';
40
+ import { GatewayClient } from './chunk-ZWKJKL6Y.js';
41
+ import './chunk-FZRODKIN.js';
42
+ export { layer_exports as Layer } from './chunk-STWFX5E2.js';
43
+ import './chunk-VFCMR5GX.js';
44
+ import { ContextManager } from './chunk-RZOFS2BQ.js';
45
+ export { ContextManager } from './chunk-RZOFS2BQ.js';
46
+ import { GatewayError, GatewayErrorType } from './chunk-4KK6YJ46.js';
47
+ export { ai_credits_exports as AiCredits } from './chunk-XQ5RHGME.js';
48
48
  import { AuthModule } from './chunk-GJWQK3IU.js';
49
49
  export { AuthModule } from './chunk-GJWQK3IU.js';
50
50
  export { utils_exports as Utils } from './chunk-B7I4TABG.js';
51
- export { cache_exports as Cache } from './chunk-PAQK3YF2.js';
52
- import './chunk-A5F6Z5UE.js';
51
+ export { cache_exports as Cache } from './chunk-4YPW6NMW.js';
53
52
  import { disposeAll } from './chunk-KO2ZXZ7W.js';
54
53
  export { lifecycle_exports as Lifecycle, disposeAll, getRegisteredDisposableCount, registerDisposable, unregisterDisposable } from './chunk-KO2ZXZ7W.js';
54
+ import './chunk-A5F6Z5UE.js';
55
55
  export { captcha_exports as Captcha, isCaptchaEnabled, verifyCaptcha, verifyCaptchaIfEnabled } from './chunk-YMZEUTD2.js';
56
56
  export { createInternalClient, createInternalClientForTenant, createInternalClientForWorkspaces } from './chunk-KJOSPVB2.js';
57
57
  export { crypto_exports as Crypto } from './chunk-SBS4S2PJ.js';
@@ -1,9 +1,9 @@
1
- export { getSDKState, initializeBurdenoffSDK, isSDKInitialized, resetSDK } from '../chunk-E36LPO3K.js';
1
+ export { getSDKState, initializeBurdenoffSDK, isSDKInitialized, resetSDK } from '../chunk-5ZP576CV.js';
2
2
  import '../chunk-MZCBEJ67.js';
3
3
  import '../chunk-AWPNRV3L.js';
4
- import '../chunk-RM6AIMZT.js';
5
- import '../chunk-NBN52AEM.js';
6
- import '../chunk-QGADOWSG.js';
4
+ import '../chunk-FG6QCKKO.js';
5
+ import '../chunk-PIRHGTHJ.js';
6
+ import '../chunk-ZWKJKL6Y.js';
7
7
  import '../chunk-FZRODKIN.js';
8
8
  import '../chunk-STWFX5E2.js';
9
9
  import '../chunk-VFCMR5GX.js';
@@ -1 +1 @@
1
- export { B as BreakerConfig, a as BuildConnectionOptions, C as CacheVersionRedis, b as CircuitBreakerOpenError, c as ClampLimitOptions, d as ConnectionEdge, e as ConnectionResult, f as CreateLeaderLeaseOptions, g as CursorPaginationInput, h as CursorPayload, j as CursorPayloadValue, D as DEFAULT_GRAPHQL_PAGE_LIMIT, k as DataLoaderLike, l as DropOldOptions, E as EnsureMonthlyOptions, H as HttpClientConfig, m as HttpClientInit, I as InvocationAccountingCoordinator, n as InvocationAccountingOptions, o as InvocationAccountingValidationError, p as InvocationAttemptInput, q as InvocationAttemptReceipt, r as InvocationCallerAdmission, s as InvocationDelivery, t as InvocationDeliveryResult, u as InvocationDeliveryStore, v as InvocationIdentity, w as InvocationIntent, x as InvocationReceipt, y as InvocationSummaryComponent, z as InvocationSummarySelection, A as InvocationUsageInput, F as InvocationUsageReceipt, G as InvocationUsageSummary, L as LLMProviderAdapter, J as LLMRequest, K as LLMResponse, M as LLMRouter, N as LLMRouterOptions, O as LeaderLease, P as LeaderLockOptions, Q as LeaderLockRedis, R as LeaderLockResult, S as LoaderBuilder, T as LoaderMap, U as MAX_GRAPHQL_PAGE_LIMIT, V as NormalizedClaudeUsage, W as NormalizedCursorPagination, X as NormalizedInvocationUsage, Y as NormalizedOffsetPagination, Z as OffsetPageResult, _ as OffsetPaginationInput, $ as PROMPTS_V2_DOCUMENTS, a0 as PageInfo, a1 as PaginateInput, a2 as PaginateResult, a3 as PrismaModelLike, a4 as PrismaRawClient, a5 as RateLimitInput, a6 as RateLimitRedis, a7 as RateLimitResult, a8 as ReferenceObject, a9 as RetryConfig, aa as UsageIssue, ab as __resetHttpClientBreakers, ac as buildCacheKey, ad as buildConnection, ae as buildLoaders, af as buildOffsetPage, ag as clampGraphqlLimit, ah as clampLimit, ai as clampOffset, aj as createClaudeUsageAccumulator, ak as createHttpClient, al as createLeaderLease, am as decodeCursor, an as dropOldPartitions, ao as encodeCursor, ap as ensureMonthlyPartitions, aq as getNamespaceVersion, ar as httpClient, as as invalidateNamespace, at as monthlyPartitionName, au as normalizeClaudeUsage, av as normalizeCursorPagination, aw as normalizeOffsetPagination, ax as normalizeOpenAIUsage, ay as normalizeRedisUrl, az as paginate, aA as rateLimitIncr, aB as resolveReferenceLoader, aC as toPrismaPage, aD as validateInvocationAttemptInput, aE as validateInvocationAttemptReceipt, aF as validateInvocationDelivery, aG as validateInvocationIdentity, aH as validateInvocationUsageInput, aI as validateInvocationUsageReceipt, aJ as validateInvocationUsageSummary, aK as withLeaderLock } from '../index-DfYu1p9e.js';
1
+ export { B as BreakerConfig, a as BuildConnectionOptions, C as CacheVersionRedis, b as CircuitBreakerOpenError, c as ClampLimitOptions, d as ConnectionEdge, e as ConnectionResult, f as CreateLeaderLeaseOptions, g as CursorPaginationInput, h as CursorPayload, j as CursorPayloadValue, D as DEFAULT_GRAPHQL_PAGE_LIMIT, k as DataLoaderLike, l as DropOldOptions, E as EnsureMonthlyOptions, H as HttpClientConfig, m as HttpClientInit, I as InvocationAccountingCoordinator, n as InvocationAccountingOptions, o as InvocationAccountingValidationError, p as InvocationAttemptDimensions, q as InvocationAttemptInput, r as InvocationAttemptReceipt, s as InvocationCallerAdmission, t as InvocationDelivery, u as InvocationDeliveryResult, v as InvocationDeliveryStore, w as InvocationIdentity, x as InvocationIntent, y as InvocationReceipt, z as InvocationSummaryComponent, A as InvocationSummarySelection, F as InvocationTrigger, G as InvocationUsageInput, J as InvocationUsageReceipt, K as InvocationUsageSummary, L as LLMProviderAdapter, M as LLMRequest, N as LLMResponse, O as LLMRouter, P as LLMRouterOptions, Q as LeaderLease, R as LeaderLockOptions, S as LeaderLockRedis, T as LeaderLockResult, U as LoaderBuilder, V as LoaderMap, W as MAX_GRAPHQL_PAGE_LIMIT, X as NormalizedClaudeUsage, Y as NormalizedCursorPagination, Z as NormalizedInvocationUsage, _ as NormalizedOffsetPagination, $ as OffsetPageResult, a0 as OffsetPaginationInput, a1 as PROMPTS_V2_DOCUMENTS, a2 as PageInfo, a3 as PaginateInput, a4 as PaginateResult, a5 as PrismaModelLike, a6 as PrismaRawClient, a7 as RateLimitInput, a8 as RateLimitRedis, a9 as RateLimitResult, aa as ReferenceObject, ab as RetryConfig, ac as UsageIssue, ad as __resetHttpClientBreakers, ae as buildCacheKey, af as buildConnection, ag as buildLoaders, ah as buildOffsetPage, ai as clampGraphqlLimit, aj as clampLimit, ak as clampOffset, al as createClaudeUsageAccumulator, am as createHttpClient, an as createLeaderLease, ao as decodeCursor, ap as dropOldPartitions, aq as encodeCursor, ar as ensureMonthlyPartitions, as as getNamespaceVersion, at as httpClient, au as invalidateNamespace, av as monthlyPartitionName, aw as normalizeClaudeUsage, ax as normalizeCursorPagination, ay as normalizeOffsetPagination, az as normalizeOpenAIUsage, aA as normalizeRedisUrl, aB as paginate, aC as rateLimitIncr, aD as resolveReferenceLoader, aE as toPrismaPage, aF as validateInvocationAttemptInput, aG as validateInvocationAttemptReceipt, aH as validateInvocationDelivery, aI as validateInvocationIdentity, aJ as validateInvocationUsageInput, aK as validateInvocationUsageReceipt, aL as validateInvocationUsageSummary, aM as withLeaderLock } from '../index-D8HGwglK.js';
@@ -1,4 +1,4 @@
1
- export { CircuitBreakerOpenError, DEFAULT_GRAPHQL_PAGE_LIMIT, InvocationAccountingCoordinator, InvocationAccountingValidationError, LLMRouter, MAX_GRAPHQL_PAGE_LIMIT, PROMPTS_V2_DOCUMENTS, __resetHttpClientBreakers, buildCacheKey, buildConnection, buildLoaders, buildOffsetPage, clampGraphqlLimit, clampLimit, clampOffset, createClaudeUsageAccumulator, createHttpClient, createLeaderLease, decodeCursor, dropOldPartitions, encodeCursor, ensureMonthlyPartitions, getNamespaceVersion, httpClient, invalidateNamespace, monthlyPartitionName, normalizeClaudeUsage, normalizeCursorPagination, normalizeOffsetPagination, normalizeOpenAIUsage, normalizeRedisUrl, paginate, rateLimitIncr, resolveReferenceLoader, toPrismaPage, validateInvocationAttemptInput, validateInvocationAttemptReceipt, validateInvocationDelivery, validateInvocationIdentity, validateInvocationUsageInput, validateInvocationUsageReceipt, validateInvocationUsageSummary, withLeaderLock } from '../chunk-N2UT3ESH.js';
1
+ export { CircuitBreakerOpenError, DEFAULT_GRAPHQL_PAGE_LIMIT, InvocationAccountingCoordinator, InvocationAccountingValidationError, LLMRouter, MAX_GRAPHQL_PAGE_LIMIT, PROMPTS_V2_DOCUMENTS, __resetHttpClientBreakers, buildCacheKey, buildConnection, buildLoaders, buildOffsetPage, clampGraphqlLimit, clampLimit, clampOffset, createClaudeUsageAccumulator, createHttpClient, createLeaderLease, decodeCursor, dropOldPartitions, encodeCursor, ensureMonthlyPartitions, getNamespaceVersion, httpClient, invalidateNamespace, monthlyPartitionName, normalizeClaudeUsage, normalizeCursorPagination, normalizeOffsetPagination, normalizeOpenAIUsage, normalizeRedisUrl, paginate, rateLimitIncr, resolveReferenceLoader, toPrismaPage, validateInvocationAttemptInput, validateInvocationAttemptReceipt, validateInvocationDelivery, validateInvocationIdentity, validateInvocationUsageInput, validateInvocationUsageReceipt, validateInvocationUsageSummary, withLeaderLock } from '../chunk-XXNT4VCM.js';
2
2
  import '../chunk-OBBCR6WY.js';
3
3
  import '../chunk-RU266375.js';
4
4
  import '../chunk-XE4OXN2W.js';
@@ -1,6 +1,6 @@
1
- export { buildContextWhereClause, buildContextWhereConditions, checkDatabaseHealth, contextMatches, createContextFromSDK, createDatabaseClient, createDatabaseClientFromEnv, extractFieldsFromModel, getAllModelNames, getDatabaseManager, getDatabaseProductName, getDatabaseStats, getDatabaseVersion, getDb, getModelFields, hasModel, initializeDatabase, initializeDatabaseWithConfig, isDatabaseInitialized, loadGeneratedFields, mergeContext, parseContext, resetDatabaseManager, resolvePoolTuningFromEnv, testConnection, toContextJson } from '../chunk-QCOC2SF3.js';
2
- export { addWorkspaceExtension, buildTransactionContextStatement, defaultWorkspaceExtensionConfig, getCallerTransaction, getScopedWorkspaceContext, getWorkspaceContext, injectCreateFields, injectWhereWorkspaceId, maybeSetRlsGuc, maybeTagConnection, resetCallerTransactionStateForTests, runOperationInCallerTransaction, runOperationWithRlsGuc, setWorkspaceContext, withWorkspaceContext, withWorkspaceContextSync } from '../chunk-E4QNLVY4.js';
1
+ export { buildContextWhereClause, buildContextWhereConditions, checkDatabaseHealth, contextMatches, createContextFromSDK, createDatabaseClient, createDatabaseClientFromEnv, extractFieldsFromModel, getAllModelNames, getDatabaseManager, getDatabaseProductName, getDatabaseStats, getDatabaseVersion, getDb, getModelFields, hasModel, initializeDatabase, initializeDatabaseWithConfig, isDatabaseInitialized, loadGeneratedFields, mergeContext, parseContext, resetDatabaseManager, resolvePoolTuningFromEnv, testConnection, toContextJson } from '../chunk-WSAWJC4D.js';
3
2
  import '../chunk-OBBCR6WY.js';
3
+ export { addWorkspaceExtension, buildTransactionContextStatement, defaultWorkspaceExtensionConfig, getCallerTransaction, getScopedWorkspaceContext, getWorkspaceContext, injectCreateFields, injectWhereWorkspaceId, maybeSetRlsGuc, maybeTagConnection, resetCallerTransactionStateForTests, runOperationInCallerTransaction, runOperationWithRlsGuc, setWorkspaceContext, withWorkspaceContext, withWorkspaceContextSync } from '../chunk-E4QNLVY4.js';
4
4
  export { PrismaClientWrapper, configurePrismaLogging, createConnectionPool, createPrismaAdapter, createPrismaClient, ensureServiceApplicationName, installAcquireRetry, isTransientAcquireError } from '../chunk-K52ICDCP.js';
5
5
  import '../chunk-TX2GDIWP.js';
6
6
  import '../chunk-SIAOIYHW.js';
@@ -1,4 +1,4 @@
1
- export { ENTITY_TAGS_GRAPHQL_CODES, EntityTagsError, TAG_ACTOR_TYPES, TAG_ASSIGNMENT_SOURCES, TagsGatewayAdapter, UNIVERSAL_TAG_STUB_SDL, assertTagPrefix, buildEntityTagsSdl, createEntityTagResolvers, defaultTagActor, entityTagsFieldNames, entityTagsTypeNames, isEntityTagsError, mapTagAssignment, slugifyTagKey } from '../chunk-PNWFTWBQ.js';
1
+ export { ENTITY_TAGS_GRAPHQL_CODES, EntityTagsError, TAG_ACTOR_TYPES, TAG_ASSIGNMENT_SOURCES, TagsGatewayAdapter, UNIVERSAL_TAG_STUB_SDL, assertTagPrefix, buildEntityTagsSdl, createEntityTagResolvers, defaultTagActor, entityTagsFieldNames, entityTagsTypeNames, isEntityTagsError, mapTagAssignment, slugifyTagKey } from '../chunk-OHUBPOZ6.js';
2
2
  import '../chunk-RU266375.js';
3
3
  import '../chunk-XE4OXN2W.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,8 @@
1
- export { AGENT_ACTIVITY_ACTIONS, AGENT_ACTIVITY_RESOURCE_TYPE, TrackerModule, UsageMetricType, trackAgentActivity } from '../chunk-57GT6PJK.js';
2
- export { AI_ASSISTANT_ACTOR_ORIGIN, UNIFIED_TRACKER_CONSTANTS, UnifiedTrackerStub, createProductTracker, isTrackedActorType, resolveAssistantSession, suppressMutationAudit, trackOperation, trackerStub } from '../chunk-TANAOLAV.js';
1
+ export { AGENT_ACTIVITY_ACTIONS, AGENT_ACTIVITY_RESOURCE_TYPE, TrackerModule, UsageMetricType, trackAgentActivity } from '../chunk-SC43G6HT.js';
3
2
  import '../chunk-INAZ3PKF.js';
4
- import '../chunk-E4QNLVY4.js';
5
3
  import '../chunk-PQGMZH6K.js';
4
+ export { AI_ASSISTANT_ACTOR_ORIGIN, UNIFIED_TRACKER_CONSTANTS, UnifiedTrackerStub, createProductTracker, isTrackedActorType, resolveAssistantSession, suppressMutationAudit, trackOperation, trackerStub } from '../chunk-TANAOLAV.js';
5
+ import '../chunk-E4QNLVY4.js';
6
6
  import '../chunk-QGBXVNRM.js';
7
7
  import '../chunk-5CAFHK2Z.js';
8
8
  import '../chunk-RU266375.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/be-sdk",
3
- "version": "2026.1028.2",
3
+ "version": "2026.1028.4",
4
4
  "description": "Backend SDK for Burdenoff products providing unified access to notifications, RBAC, activity tracking, usage monitoring, and more",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",