@burdenoff/be-sdk 2026.527.1 → 2026.527.3

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.
@@ -0,0 +1,222 @@
1
+ interface RetryConfig {
2
+ attempts?: number;
3
+ initialDelayMs?: number;
4
+ maxDelayMs?: number;
5
+ retryOn?: (status: number) => boolean;
6
+ }
7
+ interface BreakerConfig {
8
+ threshold?: number;
9
+ cooldownMs?: number;
10
+ }
11
+ interface HttpClientConfig {
12
+ baseUrl?: string;
13
+ defaultTimeoutMs?: number;
14
+ retry?: RetryConfig;
15
+ breaker?: BreakerConfig;
16
+ defaultHeaders?: Record<string, string>;
17
+ }
18
+ declare class CircuitBreakerOpenError extends Error {
19
+ constructor(host: string);
20
+ }
21
+ interface HttpClientInit extends RequestInit {
22
+ timeoutMs?: number;
23
+ retry?: RetryConfig;
24
+ }
25
+ declare function __resetHttpClientBreakers(): void;
26
+ declare function httpClient(url: string, init?: HttpClientInit, config?: HttpClientConfig): Promise<Response>;
27
+ declare function createHttpClient(config?: HttpClientConfig): (url: string, init?: HttpClientInit) => Promise<Response>;
28
+
29
+ interface LeaderLockRedis {
30
+ set(key: string, value: string, ex: 'EX', seconds: number, nx: 'NX'): Promise<'OK' | null>;
31
+ eval(script: string, numKeys: number, ...args: string[]): Promise<unknown>;
32
+ }
33
+ interface LeaderLockOptions {
34
+ ttlMs: number;
35
+ renewMs?: number;
36
+ }
37
+ interface LeaderLockResult<T> {
38
+ acquired: boolean;
39
+ result?: T;
40
+ }
41
+ declare function withLeaderLock<T>(redis: LeaderLockRedis, name: string, fn: () => Promise<T>, options: LeaderLockOptions): Promise<LeaderLockResult<T>>;
42
+
43
+ interface RateLimitRedis {
44
+ incr(key: string): Promise<number>;
45
+ pexpire(key: string, ms: number): Promise<number | 'OK'>;
46
+ pttl(key: string): Promise<number>;
47
+ }
48
+ interface RateLimitInput {
49
+ key: string;
50
+ limit: number;
51
+ windowMs: number;
52
+ }
53
+ interface RateLimitResult {
54
+ allowed: boolean;
55
+ count: number;
56
+ remaining: number;
57
+ resetAt: number;
58
+ }
59
+ declare function rateLimitIncr(redis: RateLimitRedis, input: RateLimitInput): Promise<RateLimitResult>;
60
+
61
+ interface ClampLimitOptions {
62
+ defaultLimit?: number;
63
+ maxLimit?: number;
64
+ minLimit?: number;
65
+ }
66
+ declare function clampLimit(input: number | undefined | null, opts?: ClampLimitOptions): number;
67
+ interface PaginateInput<TWhere, TOrderBy> {
68
+ take?: number | null;
69
+ cursor?: string | null;
70
+ where?: TWhere;
71
+ orderBy?: TOrderBy;
72
+ }
73
+ interface PaginateResult<TItem> {
74
+ items: TItem[];
75
+ hasMore: boolean;
76
+ nextCursor: string | null;
77
+ }
78
+ interface PrismaModelLike<TItem, TWhere, TOrderBy> {
79
+ findMany(args: {
80
+ take?: number;
81
+ skip?: number;
82
+ cursor?: {
83
+ id: string;
84
+ };
85
+ where?: TWhere;
86
+ orderBy?: TOrderBy;
87
+ }): Promise<TItem[]>;
88
+ }
89
+ declare function paginate<TItem extends {
90
+ id: string;
91
+ }, TWhere = unknown, TOrderBy = unknown>(model: PrismaModelLike<TItem, TWhere, TOrderBy>, input: PaginateInput<TWhere, TOrderBy>, opts?: ClampLimitOptions): Promise<PaginateResult<TItem>>;
92
+
93
+ interface DataLoaderLike<K, V> {
94
+ load(key: K): Promise<V>;
95
+ loadMany(keys: readonly K[]): Promise<(V | Error)[]>;
96
+ clear(key: K): this;
97
+ clearAll(): this;
98
+ prime(key: K, value: V): this;
99
+ }
100
+ type LoaderMap = Record<string, DataLoaderLike<unknown, unknown>>;
101
+ type LoaderBuilder<Ctx, M extends LoaderMap> = (ctx: Ctx) => M;
102
+ declare function buildLoaders<Ctx, M extends LoaderMap>(ctx: Ctx, builder: LoaderBuilder<Ctx, M>): M;
103
+ interface ReferenceObject {
104
+ id?: string;
105
+ [key: string]: unknown;
106
+ }
107
+ declare function resolveReferenceLoader<T, Ctx extends {
108
+ loaders: LoaderMap;
109
+ }>(loaderName: string, keyField?: string): (reference: ReferenceObject, ctx: Ctx) => Promise<T | null>;
110
+
111
+ interface CacheVersionRedis {
112
+ get(key: string): Promise<string | null>;
113
+ incr(key: string): Promise<number>;
114
+ }
115
+ declare function getNamespaceVersion(redis: CacheVersionRedis, namespace: string): Promise<number>;
116
+ declare function buildCacheKey(redis: CacheVersionRedis, namespace: string, ...parts: string[]): Promise<string>;
117
+ declare function invalidateNamespace(redis: CacheVersionRedis, namespace: string): Promise<number>;
118
+
119
+ interface PrismaRawClient {
120
+ $executeRawUnsafe(query: string, ...values: unknown[]): Promise<unknown>;
121
+ $queryRawUnsafe<T = unknown>(query: string, ...values: unknown[]): Promise<T>;
122
+ }
123
+ declare function monthlyPartitionName(table: string, year: number, month: number): string;
124
+ interface EnsureMonthlyOptions {
125
+ table: string;
126
+ from: Date;
127
+ to: Date;
128
+ }
129
+ declare function ensureMonthlyPartitions(prisma: PrismaRawClient, opts: EnsureMonthlyOptions): Promise<string[]>;
130
+ interface DropOldOptions {
131
+ table: string;
132
+ beforeDate: Date;
133
+ }
134
+ declare function dropOldPartitions(prisma: PrismaRawClient, opts: DropOldOptions): Promise<string[]>;
135
+
136
+ interface LLMRequest {
137
+ model?: string;
138
+ messages: Array<{
139
+ role: 'system' | 'user' | 'assistant';
140
+ content: string;
141
+ }>;
142
+ maxTokens?: number;
143
+ temperature?: number;
144
+ stream?: boolean;
145
+ timeoutMs?: number;
146
+ }
147
+ interface LLMResponse {
148
+ provider: string;
149
+ content: string;
150
+ inputTokens?: number;
151
+ outputTokens?: number;
152
+ raw?: unknown;
153
+ }
154
+ interface LLMProviderAdapter {
155
+ name: string;
156
+ complete(req: LLMRequest, signal: AbortSignal): Promise<LLMResponse>;
157
+ }
158
+ interface LLMRouterOptions {
159
+ timeoutMs?: number;
160
+ maxAttempts?: number;
161
+ initialDelayMs?: number;
162
+ maxOutputTokensCap?: number;
163
+ }
164
+ declare class LLMRouter {
165
+ private readonly adapters;
166
+ private readonly opts;
167
+ constructor(opts?: LLMRouterOptions);
168
+ register(adapter: LLMProviderAdapter): void;
169
+ private resolveChain;
170
+ complete(req: LLMRequest): Promise<LLMResponse>;
171
+ }
172
+
173
+ type index_BreakerConfig = BreakerConfig;
174
+ type index_CacheVersionRedis = CacheVersionRedis;
175
+ type index_CircuitBreakerOpenError = CircuitBreakerOpenError;
176
+ declare const index_CircuitBreakerOpenError: typeof CircuitBreakerOpenError;
177
+ type index_ClampLimitOptions = ClampLimitOptions;
178
+ type index_DataLoaderLike<K, V> = DataLoaderLike<K, V>;
179
+ type index_DropOldOptions = DropOldOptions;
180
+ type index_EnsureMonthlyOptions = EnsureMonthlyOptions;
181
+ type index_HttpClientConfig = HttpClientConfig;
182
+ type index_HttpClientInit = HttpClientInit;
183
+ type index_LLMProviderAdapter = LLMProviderAdapter;
184
+ type index_LLMRequest = LLMRequest;
185
+ type index_LLMResponse = LLMResponse;
186
+ type index_LLMRouter = LLMRouter;
187
+ declare const index_LLMRouter: typeof LLMRouter;
188
+ type index_LLMRouterOptions = LLMRouterOptions;
189
+ type index_LeaderLockOptions = LeaderLockOptions;
190
+ type index_LeaderLockRedis = LeaderLockRedis;
191
+ type index_LeaderLockResult<T> = LeaderLockResult<T>;
192
+ type index_LoaderBuilder<Ctx, M extends LoaderMap> = LoaderBuilder<Ctx, M>;
193
+ type index_LoaderMap = LoaderMap;
194
+ type index_PaginateInput<TWhere, TOrderBy> = PaginateInput<TWhere, TOrderBy>;
195
+ type index_PaginateResult<TItem> = PaginateResult<TItem>;
196
+ type index_PrismaModelLike<TItem, TWhere, TOrderBy> = PrismaModelLike<TItem, TWhere, TOrderBy>;
197
+ type index_PrismaRawClient = PrismaRawClient;
198
+ type index_RateLimitInput = RateLimitInput;
199
+ type index_RateLimitRedis = RateLimitRedis;
200
+ type index_RateLimitResult = RateLimitResult;
201
+ type index_ReferenceObject = ReferenceObject;
202
+ type index_RetryConfig = RetryConfig;
203
+ declare const index___resetHttpClientBreakers: typeof __resetHttpClientBreakers;
204
+ declare const index_buildCacheKey: typeof buildCacheKey;
205
+ declare const index_buildLoaders: typeof buildLoaders;
206
+ declare const index_clampLimit: typeof clampLimit;
207
+ declare const index_createHttpClient: typeof createHttpClient;
208
+ declare const index_dropOldPartitions: typeof dropOldPartitions;
209
+ declare const index_ensureMonthlyPartitions: typeof ensureMonthlyPartitions;
210
+ declare const index_getNamespaceVersion: typeof getNamespaceVersion;
211
+ declare const index_httpClient: typeof httpClient;
212
+ declare const index_invalidateNamespace: typeof invalidateNamespace;
213
+ declare const index_monthlyPartitionName: typeof monthlyPartitionName;
214
+ declare const index_paginate: typeof paginate;
215
+ declare const index_rateLimitIncr: typeof rateLimitIncr;
216
+ declare const index_resolveReferenceLoader: typeof resolveReferenceLoader;
217
+ declare const index_withLeaderLock: typeof withLeaderLock;
218
+ declare namespace index {
219
+ export { type index_BreakerConfig as BreakerConfig, type index_CacheVersionRedis as CacheVersionRedis, index_CircuitBreakerOpenError as CircuitBreakerOpenError, type index_ClampLimitOptions as ClampLimitOptions, 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, 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_LeaderLockOptions as LeaderLockOptions, type index_LeaderLockRedis as LeaderLockRedis, type index_LeaderLockResult as LeaderLockResult, type index_LoaderBuilder as LoaderBuilder, type index_LoaderMap as LoaderMap, 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, index___resetHttpClientBreakers as __resetHttpClientBreakers, index_buildCacheKey as buildCacheKey, index_buildLoaders as buildLoaders, index_clampLimit as clampLimit, index_createHttpClient as createHttpClient, index_dropOldPartitions as dropOldPartitions, index_ensureMonthlyPartitions as ensureMonthlyPartitions, index_getNamespaceVersion as getNamespaceVersion, index_httpClient as httpClient, index_invalidateNamespace as invalidateNamespace, index_monthlyPartitionName as monthlyPartitionName, index_paginate as paginate, index_rateLimitIncr as rateLimitIncr, index_resolveReferenceLoader as resolveReferenceLoader, index_withLeaderLock as withLeaderLock };
220
+ }
221
+
222
+ export { ensureMonthlyPartitions as A, type BreakerConfig as B, type CacheVersionRedis as C, type DataLoaderLike as D, type EnsureMonthlyOptions as E, getNamespaceVersion as F, httpClient as G, type HttpClientConfig as H, invalidateNamespace as I, monthlyPartitionName as J, paginate as K, type LLMProviderAdapter as L, rateLimitIncr as M, resolveReferenceLoader as N, withLeaderLock as O, type PaginateInput as P, type RateLimitInput as R, __resetHttpClientBreakers as _, CircuitBreakerOpenError as a, type ClampLimitOptions as b, type DropOldOptions as c, type HttpClientInit as d, type LLMRequest as e, type LLMResponse as f, LLMRouter as g, type LLMRouterOptions as h, index as i, type LeaderLockOptions as j, type LeaderLockRedis as k, type LeaderLockResult as l, type LoaderBuilder as m, type LoaderMap as n, type PaginateResult as o, type PrismaModelLike as p, type PrismaRawClient as q, type RateLimitRedis as r, type RateLimitResult as s, type ReferenceObject as t, type RetryConfig as u, buildCacheKey as v, buildLoaders as w, clampLimit as x, createHttpClient as y, dropOldPartitions as z };
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ import { B as BurdenoffGraphQLClient } from './graphql-DH3L5Hj7.js';
17
17
  import { TemporalModule } from './temporal/index.js';
18
18
  export { TemporalClient, TemporalClientConfig, TemporalClientFactory, TemporalWorker, TemporalWorkerConfig, TemporalWorkerFactory, TemporalWorkerManager, WorkflowStartOptions } from './temporal/index.js';
19
19
  export { createInternalClient, createInternalClientForTenant, createInternalClientForWorkspaces } from './client/internal-client.js';
20
+ export { PlanTier, RESOURCE_CAP_DEFAULTS, ResourceCap, ResourceCapDefaults, ResourceCapExceededError, ResourceCapsConfig, ResourceCapsModule, ResourceName, getResourceCaps } from './resource-caps/index.js';
20
21
  export { i as Cache } from './index-cnFnfIjk.js';
21
22
  export { i as Middleware } from './index-DSOpj8DI.js';
22
23
  export { i as Observability } from './index-4gKQKZ2B.js';
@@ -33,6 +34,7 @@ export { i as Crypto } from './index-e_18DzAg.js';
33
34
  export { i as Gateway } from './index-KA3gg4es.js';
34
35
  export { i as FeatureFlags } from './index-jOuh_TKn.js';
35
36
  export { i as Captcha, R as RecaptchaVerifyOptions, a as RecaptchaVerifyResult, b as isCaptchaEnabled, v as verifyCaptcha, c as verifyCaptchaIfEnabled } from './index-B70b5mYS.js';
37
+ export { i as Platform } from './index-BQ1yJn1K.js';
36
38
  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-CUu_cZ7d.js';
37
39
  import 'graphql-request';
38
40
  import '@envelop/core';
@@ -44,6 +46,7 @@ import 'pg';
44
46
  import './prisma-extension-krXnYnrN.js';
45
47
  import '@temporalio/client';
46
48
  import '@temporalio/common';
49
+ import 'graphql';
47
50
  import 'elysia';
48
51
  import './types-Bo2wkjSP.js';
49
52
  import './graphql/services/index.js';
@@ -535,227 +538,6 @@ declare class TenantBackendClient {
535
538
  }
536
539
  declare function createTenantBackendClient(config: TenantBackendClientConfig): TenantBackendClient;
537
540
 
538
- interface RetryConfig {
539
- attempts?: number;
540
- initialDelayMs?: number;
541
- maxDelayMs?: number;
542
- retryOn?: (status: number) => boolean;
543
- }
544
- interface BreakerConfig {
545
- threshold?: number;
546
- cooldownMs?: number;
547
- }
548
- interface HttpClientConfig {
549
- baseUrl?: string;
550
- defaultTimeoutMs?: number;
551
- retry?: RetryConfig;
552
- breaker?: BreakerConfig;
553
- defaultHeaders?: Record<string, string>;
554
- }
555
- declare class CircuitBreakerOpenError extends Error {
556
- constructor(host: string);
557
- }
558
- interface HttpClientInit extends RequestInit {
559
- timeoutMs?: number;
560
- retry?: RetryConfig;
561
- }
562
- declare function __resetHttpClientBreakers(): void;
563
- declare function httpClient(url: string, init?: HttpClientInit, config?: HttpClientConfig): Promise<Response>;
564
- declare function createHttpClient(config?: HttpClientConfig): (url: string, init?: HttpClientInit) => Promise<Response>;
565
-
566
- interface LeaderLockRedis {
567
- set(key: string, value: string, ex: 'EX', seconds: number, nx: 'NX'): Promise<'OK' | null>;
568
- eval(script: string, numKeys: number, ...args: string[]): Promise<unknown>;
569
- }
570
- interface LeaderLockOptions {
571
- ttlMs: number;
572
- renewMs?: number;
573
- }
574
- interface LeaderLockResult<T> {
575
- acquired: boolean;
576
- result?: T;
577
- }
578
- declare function withLeaderLock<T>(redis: LeaderLockRedis, name: string, fn: () => Promise<T>, options: LeaderLockOptions): Promise<LeaderLockResult<T>>;
579
-
580
- interface RateLimitRedis {
581
- incr(key: string): Promise<number>;
582
- pexpire(key: string, ms: number): Promise<number | 'OK'>;
583
- pttl(key: string): Promise<number>;
584
- }
585
- interface RateLimitInput {
586
- key: string;
587
- limit: number;
588
- windowMs: number;
589
- }
590
- interface RateLimitResult {
591
- allowed: boolean;
592
- count: number;
593
- remaining: number;
594
- resetAt: number;
595
- }
596
- declare function rateLimitIncr(redis: RateLimitRedis, input: RateLimitInput): Promise<RateLimitResult>;
597
-
598
- interface ClampLimitOptions {
599
- defaultLimit?: number;
600
- maxLimit?: number;
601
- minLimit?: number;
602
- }
603
- declare function clampLimit(input: number | undefined | null, opts?: ClampLimitOptions): number;
604
- interface PaginateInput<TWhere, TOrderBy> {
605
- take?: number | null;
606
- cursor?: string | null;
607
- where?: TWhere;
608
- orderBy?: TOrderBy;
609
- }
610
- interface PaginateResult<TItem> {
611
- items: TItem[];
612
- hasMore: boolean;
613
- nextCursor: string | null;
614
- }
615
- interface PrismaModelLike<TItem, TWhere, TOrderBy> {
616
- findMany(args: {
617
- take?: number;
618
- skip?: number;
619
- cursor?: {
620
- id: string;
621
- };
622
- where?: TWhere;
623
- orderBy?: TOrderBy;
624
- }): Promise<TItem[]>;
625
- }
626
- declare function paginate<TItem extends {
627
- id: string;
628
- }, TWhere = unknown, TOrderBy = unknown>(model: PrismaModelLike<TItem, TWhere, TOrderBy>, input: PaginateInput<TWhere, TOrderBy>, opts?: ClampLimitOptions): Promise<PaginateResult<TItem>>;
629
-
630
- interface DataLoaderLike<K, V> {
631
- load(key: K): Promise<V>;
632
- loadMany(keys: readonly K[]): Promise<(V | Error)[]>;
633
- clear(key: K): this;
634
- clearAll(): this;
635
- prime(key: K, value: V): this;
636
- }
637
- type LoaderMap = Record<string, DataLoaderLike<unknown, unknown>>;
638
- type LoaderBuilder<Ctx, M extends LoaderMap> = (ctx: Ctx) => M;
639
- declare function buildLoaders<Ctx, M extends LoaderMap>(ctx: Ctx, builder: LoaderBuilder<Ctx, M>): M;
640
- interface ReferenceObject {
641
- id?: string;
642
- [key: string]: unknown;
643
- }
644
- declare function resolveReferenceLoader<T, Ctx extends {
645
- loaders: LoaderMap;
646
- }>(loaderName: string, keyField?: string): (reference: ReferenceObject, ctx: Ctx) => Promise<T | null>;
647
-
648
- interface CacheVersionRedis {
649
- get(key: string): Promise<string | null>;
650
- incr(key: string): Promise<number>;
651
- }
652
- declare function getNamespaceVersion(redis: CacheVersionRedis, namespace: string): Promise<number>;
653
- declare function buildCacheKey(redis: CacheVersionRedis, namespace: string, ...parts: string[]): Promise<string>;
654
- declare function invalidateNamespace(redis: CacheVersionRedis, namespace: string): Promise<number>;
655
-
656
- interface PrismaRawClient {
657
- $executeRawUnsafe(query: string, ...values: unknown[]): Promise<unknown>;
658
- $queryRawUnsafe<T = unknown>(query: string, ...values: unknown[]): Promise<T>;
659
- }
660
- declare function monthlyPartitionName(table: string, year: number, month: number): string;
661
- interface EnsureMonthlyOptions {
662
- table: string;
663
- from: Date;
664
- to: Date;
665
- }
666
- declare function ensureMonthlyPartitions(prisma: PrismaRawClient, opts: EnsureMonthlyOptions): Promise<string[]>;
667
- interface DropOldOptions {
668
- table: string;
669
- beforeDate: Date;
670
- }
671
- declare function dropOldPartitions(prisma: PrismaRawClient, opts: DropOldOptions): Promise<string[]>;
672
-
673
- interface LLMRequest {
674
- model?: string;
675
- messages: Array<{
676
- role: 'system' | 'user' | 'assistant';
677
- content: string;
678
- }>;
679
- maxTokens?: number;
680
- temperature?: number;
681
- stream?: boolean;
682
- timeoutMs?: number;
683
- }
684
- interface LLMResponse {
685
- provider: string;
686
- content: string;
687
- inputTokens?: number;
688
- outputTokens?: number;
689
- raw?: unknown;
690
- }
691
- interface LLMProviderAdapter {
692
- name: string;
693
- complete(req: LLMRequest, signal: AbortSignal): Promise<LLMResponse>;
694
- }
695
- interface LLMRouterOptions {
696
- timeoutMs?: number;
697
- maxAttempts?: number;
698
- initialDelayMs?: number;
699
- maxOutputTokensCap?: number;
700
- }
701
- declare class LLMRouter {
702
- private readonly adapters;
703
- private readonly opts;
704
- constructor(opts?: LLMRouterOptions);
705
- register(adapter: LLMProviderAdapter): void;
706
- private resolveChain;
707
- complete(req: LLMRequest): Promise<LLMResponse>;
708
- }
709
-
710
- type index_BreakerConfig = BreakerConfig;
711
- type index_CacheVersionRedis = CacheVersionRedis;
712
- type index_CircuitBreakerOpenError = CircuitBreakerOpenError;
713
- declare const index_CircuitBreakerOpenError: typeof CircuitBreakerOpenError;
714
- type index_ClampLimitOptions = ClampLimitOptions;
715
- type index_DataLoaderLike<K, V> = DataLoaderLike<K, V>;
716
- type index_DropOldOptions = DropOldOptions;
717
- type index_EnsureMonthlyOptions = EnsureMonthlyOptions;
718
- type index_HttpClientConfig = HttpClientConfig;
719
- type index_HttpClientInit = HttpClientInit;
720
- type index_LLMProviderAdapter = LLMProviderAdapter;
721
- type index_LLMRequest = LLMRequest;
722
- type index_LLMResponse = LLMResponse;
723
- type index_LLMRouter = LLMRouter;
724
- declare const index_LLMRouter: typeof LLMRouter;
725
- type index_LLMRouterOptions = LLMRouterOptions;
726
- type index_LeaderLockOptions = LeaderLockOptions;
727
- type index_LeaderLockRedis = LeaderLockRedis;
728
- type index_LeaderLockResult<T> = LeaderLockResult<T>;
729
- type index_LoaderBuilder<Ctx, M extends LoaderMap> = LoaderBuilder<Ctx, M>;
730
- type index_LoaderMap = LoaderMap;
731
- type index_PaginateInput<TWhere, TOrderBy> = PaginateInput<TWhere, TOrderBy>;
732
- type index_PaginateResult<TItem> = PaginateResult<TItem>;
733
- type index_PrismaModelLike<TItem, TWhere, TOrderBy> = PrismaModelLike<TItem, TWhere, TOrderBy>;
734
- type index_PrismaRawClient = PrismaRawClient;
735
- type index_RateLimitInput = RateLimitInput;
736
- type index_RateLimitRedis = RateLimitRedis;
737
- type index_RateLimitResult = RateLimitResult;
738
- type index_ReferenceObject = ReferenceObject;
739
- type index_RetryConfig = RetryConfig;
740
- declare const index___resetHttpClientBreakers: typeof __resetHttpClientBreakers;
741
- declare const index_buildCacheKey: typeof buildCacheKey;
742
- declare const index_buildLoaders: typeof buildLoaders;
743
- declare const index_clampLimit: typeof clampLimit;
744
- declare const index_createHttpClient: typeof createHttpClient;
745
- declare const index_dropOldPartitions: typeof dropOldPartitions;
746
- declare const index_ensureMonthlyPartitions: typeof ensureMonthlyPartitions;
747
- declare const index_getNamespaceVersion: typeof getNamespaceVersion;
748
- declare const index_httpClient: typeof httpClient;
749
- declare const index_invalidateNamespace: typeof invalidateNamespace;
750
- declare const index_monthlyPartitionName: typeof monthlyPartitionName;
751
- declare const index_paginate: typeof paginate;
752
- declare const index_rateLimitIncr: typeof rateLimitIncr;
753
- declare const index_resolveReferenceLoader: typeof resolveReferenceLoader;
754
- declare const index_withLeaderLock: typeof withLeaderLock;
755
- declare namespace index {
756
- export { type index_BreakerConfig as BreakerConfig, type index_CacheVersionRedis as CacheVersionRedis, index_CircuitBreakerOpenError as CircuitBreakerOpenError, type index_ClampLimitOptions as ClampLimitOptions, 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, 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_LeaderLockOptions as LeaderLockOptions, type index_LeaderLockRedis as LeaderLockRedis, type index_LeaderLockResult as LeaderLockResult, type index_LoaderBuilder as LoaderBuilder, type index_LoaderMap as LoaderMap, 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, index___resetHttpClientBreakers as __resetHttpClientBreakers, index_buildCacheKey as buildCacheKey, index_buildLoaders as buildLoaders, index_clampLimit as clampLimit, index_createHttpClient as createHttpClient, index_dropOldPartitions as dropOldPartitions, index_ensureMonthlyPartitions as ensureMonthlyPartitions, index_getNamespaceVersion as getNamespaceVersion, index_httpClient as httpClient, index_invalidateNamespace as invalidateNamespace, index_monthlyPartitionName as monthlyPartitionName, index_paginate as paginate, index_rateLimitIncr as rateLimitIncr, index_resolveReferenceLoader as resolveReferenceLoader, index_withLeaderLock as withLeaderLock };
757
- }
758
-
759
541
  declare class BurdenoffSDK {
760
542
  private client;
761
543
  private defaultContext;
@@ -802,4 +584,4 @@ declare class BurdenoffSDK {
802
584
 
803
585
  declare function createSDK(config: SDKConfig, context?: SDKContext): BurdenoffSDK;
804
586
 
805
- export { ActivityModule, AuthModule, BootstrapModule, BurdenoffGraphQLClient, BurdenoffSDK, ContextManager, DatabaseModule, EventQueueHealthStatus, EventsModule, type ExportProductTranslationsOptions, GraphModule, NotificationsModule, PaymentsModule, index as Platform, type ProductTranslationTree, type ProductTranslationsExportResult, RBACModule, SDKConfig, SDKContext, SDKHealthStatus, SDKShutdownOptions, SearchModule, TemporalHealthStatus, TemporalModule, TenantBackendClient, type TenantBackendClientConfig, TrackerModule, type TranslationExportFormat, TranslationModule, type UpsertProductTranslationsOptions, type UpsertProductTranslationsResult, UsageModule, createBootstrap, createSDK, createTenantBackendClient, BurdenoffSDK as default };
587
+ export { ActivityModule, AuthModule, BootstrapModule, BurdenoffGraphQLClient, BurdenoffSDK, ContextManager, DatabaseModule, EventQueueHealthStatus, EventsModule, type ExportProductTranslationsOptions, GraphModule, NotificationsModule, PaymentsModule, type ProductTranslationTree, type ProductTranslationsExportResult, RBACModule, SDKConfig, SDKContext, SDKHealthStatus, SDKShutdownOptions, SearchModule, TemporalHealthStatus, TemporalModule, TenantBackendClient, type TenantBackendClientConfig, TrackerModule, type TranslationExportFormat, TranslationModule, type UpsertProductTranslationsOptions, type UpsertProductTranslationsResult, UsageModule, createBootstrap, createSDK, createTenantBackendClient, BurdenoffSDK as default };