@aouda/client 0.1.13 → 0.1.15

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.
@@ -176,6 +176,38 @@ interface RlsResolversListResponse {
176
176
  resolvers: RlsResolver[];
177
177
  }
178
178
 
179
+ /**
180
+ * Per-database last-observed C-1 consistency token (ADR 0042 D-10, I3).
181
+ * Key comparison is case-insensitive. Implementations must never store a lesser
182
+ * wire string than the one already held (`string` code-unit order, matching
183
+ * `string.CompareOrdinal` on ASCII hex).
184
+ *
185
+ * The default {@link MemoryConsistencyTokenStore} is **insufficient for a
186
+ * horizontally scaled application tier**. Inject a shared store (Redis, cookie
187
+ * round-trip, Aouda table — application-owned). This package does not ship a
188
+ * Redis adapter.
189
+ */
190
+ interface ConsistencyTokenStore {
191
+ get(database: string): string | undefined;
192
+ /**
193
+ * Records `token` for `database` if it is greater than the stored value.
194
+ * Null, empty, or whitespace is a no-op. Equal is a no-op. Does not parse.
195
+ */
196
+ observe(database: string, token: string | null | undefined): void;
197
+ }
198
+ /**
199
+ * In-memory monotone per-database consistency token store.
200
+ * Recreating a client starts a new empty store and silently loses
201
+ * read-your-writes unless the application injects a shared backend.
202
+ */
203
+ declare class MemoryConsistencyTokenStore implements ConsistencyTokenStore {
204
+ private readonly tokens;
205
+ get(database: string): string | undefined;
206
+ observe(database: string, token: string | null | undefined): void;
207
+ }
208
+ declare function compareOrdinal(left: string, right: string): number;
209
+ declare function maxToken(left: string | undefined, right: string | undefined): string | undefined;
210
+
179
211
  /**
180
212
  * @aouda/client type definitions.
181
213
  */
@@ -247,6 +279,12 @@ interface AoudaClientOptions {
247
279
  * Required. Must be a non-empty string (no default).
248
280
  */
249
281
  database: string;
282
+ /**
283
+ * Injectable per-database C-1 token store (ADR 0042 D-10, I3).
284
+ * When omitted, the client owns a new {@link MemoryConsistencyTokenStore}.
285
+ * The in-memory default is insufficient for a horizontally scaled application tier.
286
+ */
287
+ consistencyTokenStore?: ConsistencyTokenStore;
250
288
  /**
251
289
  * Request timeout in milliseconds.
252
290
  * @default 30000
@@ -314,7 +352,7 @@ interface AoudaClientOptions {
314
352
  /** Deprecation (or similar) warning from a named query or named mutation. */
315
353
  interface NamedArtifactWarning {
316
354
  code: string;
317
- hash?: string;
355
+ name?: string;
318
356
  sunsetAt?: string;
319
357
  message: string;
320
358
  }
@@ -432,6 +470,8 @@ interface QueryStats {
432
470
  segmentsAccessed: number;
433
471
  /** Query execution time in milliseconds. */
434
472
  executionMs: number;
473
+ /** True when DISTINCT was served from the partition directory. Omitted when false. */
474
+ distinctServedFromPartitionMetadata?: boolean;
435
475
  }
436
476
  /**
437
477
  * Result of a query execution.
@@ -444,11 +484,15 @@ interface QueryResult<T = Record<string, unknown>> {
444
484
  stats: QueryStats;
445
485
  /** Additive warnings (e.g. named-query deprecation). */
446
486
  warnings?: ResultWarning[];
487
+ /** Total matching rows when the named query declared `count`. */
488
+ totalMatches?: number;
489
+ /** Observed C-1 consistency token from the envelope. */
490
+ token?: string;
447
491
  }
448
492
  /** Additive result warning from the server. */
449
493
  interface ResultWarning {
450
494
  code: string;
451
- hash?: string;
495
+ name?: string;
452
496
  sunsetAt?: string;
453
497
  }
454
498
  /**
@@ -464,6 +508,8 @@ interface WherePredicate {
464
508
  column: string;
465
509
  op: WireOperator;
466
510
  value: unknown;
511
+ /** When true, bind skips this condition unless the named param is present (D-34). */
512
+ whenParamPresent?: boolean;
467
513
  }
468
514
  /**
469
515
  * Where clause structure for the wire protocol.
@@ -526,6 +572,10 @@ interface ColumnarResponse {
526
572
  rowCount: number;
527
573
  stats: QueryStats;
528
574
  warnings?: ResultWarning[];
575
+ /** Total matching rows when the named query declared `count`. */
576
+ totalMatches?: number;
577
+ /** Observed C-1 consistency token from the envelope. */
578
+ token?: string;
529
579
  }
530
580
  /**
531
581
  * Summary of a table returned by list().
@@ -737,6 +787,8 @@ interface InsertResult {
737
787
  executionMs: number;
738
788
  /** Generated values for auto-increment columns. Keys are row indices (as strings). */
739
789
  generatedValues?: Record<string, Record<string, unknown>>;
790
+ /** Observed C-1 consistency token from the envelope. */
791
+ token?: string;
740
792
  }
741
793
  /**
742
794
  * Result of an update or delete operation.
@@ -758,6 +810,8 @@ interface MutationResult {
758
810
  * and the result was truncated to the first 10 000 rows.
759
811
  */
760
812
  rowsTruncated?: boolean;
813
+ /** Observed C-1 consistency token from the envelope. */
814
+ token?: string;
761
815
  }
762
816
  /**
763
817
  * Per-operation result for batch mutations.
@@ -1147,7 +1201,7 @@ interface BulkLoadJobHandle {
1147
1201
  readonly rowsDurablyCommitted: number;
1148
1202
  readonly segmentsCreated: number;
1149
1203
  readonly committedAtUtc: string;
1150
- readonly walPosition: number;
1204
+ readonly token: string;
1151
1205
  readonly writeConcernSatisfied: "acknowledged" | "majority" | "all";
1152
1206
  readonly writeConcernTimedOut: boolean;
1153
1207
  /** True if this load was resumed from a server-restart-recovered job. */
@@ -2472,6 +2526,8 @@ interface AuthMessage {
2472
2526
  interface ConflateOptions {
2473
2527
  key?: string[];
2474
2528
  interval_ms: number;
2529
+ /** When true, matching inserts are held latest-wins per key (D-32). Default omitted/false. */
2530
+ collapse_inserts?: boolean;
2475
2531
  }
2476
2532
  interface SubscribeMessage {
2477
2533
  type: "subscribe";
@@ -2479,9 +2535,13 @@ interface SubscribeMessage {
2479
2535
  target?: string;
2480
2536
  filter?: Record<string, unknown>;
2481
2537
  resume_from?: number;
2482
- hash?: string;
2538
+ name?: string;
2483
2539
  args?: Record<string, unknown>;
2484
2540
  conflate?: ConflateOptions;
2541
+ orderByIndex?: number;
2542
+ at_least?: string;
2543
+ wait_ms?: number;
2544
+ on_exceeded?: string;
2485
2545
  }
2486
2546
  interface ReAuthMessage {
2487
2547
  type: "re_auth";
@@ -2527,15 +2587,18 @@ interface SnapshotMessage {
2527
2587
  id: string;
2528
2588
  rows: unknown[];
2529
2589
  version: number;
2590
+ token?: string;
2530
2591
  }
2531
2592
  interface SnapshotCompleteMessage {
2532
2593
  type: "snapshot_complete";
2533
2594
  id: string;
2534
2595
  version: number;
2535
2596
  row_count: number;
2597
+ total_matches?: number;
2598
+ token?: string;
2536
2599
  warnings?: Array<{
2537
2600
  code: string;
2538
- hash?: string;
2601
+ name?: string;
2539
2602
  sunsetAt?: string;
2540
2603
  }>;
2541
2604
  }
@@ -2554,6 +2617,7 @@ interface ChangeMessage {
2554
2617
  key?: unknown;
2555
2618
  version: number;
2556
2619
  values_skipped?: number;
2620
+ token?: string;
2557
2621
  }
2558
2622
  interface StreamAckMessage {
2559
2623
  type: "stream_ack";
@@ -2571,6 +2635,7 @@ interface StreamClosedMessage {
2571
2635
  interface HeartbeatMessage {
2572
2636
  type: "heartbeat";
2573
2637
  version: number;
2638
+ token?: string;
2574
2639
  }
2575
2640
  interface ServerErrorMessage {
2576
2641
  type: "error";
@@ -2586,6 +2651,7 @@ type ServerMessage = AuthOkMessage | AuthErrorMessage | SnapshotMessage | Snapsh
2586
2651
  type StreamingMessageHandler = (message: ServerMessage) => void;
2587
2652
  interface StreamingTransport {
2588
2653
  readonly lastVersion: number;
2654
+ readonly lastToken: string | null;
2589
2655
  connect(): Promise<void>;
2590
2656
  send(message: ClientMessage): Promise<void>;
2591
2657
  registerHandler(id: string, handler: StreamingMessageHandler): void;
@@ -2599,6 +2665,8 @@ interface SubscriptionSnapshotEvent<T = Record<string, unknown>> {
2599
2665
  type: "snapshot";
2600
2666
  rows: T[];
2601
2667
  version: number;
2668
+ totalMatches?: number;
2669
+ token?: string;
2602
2670
  }
2603
2671
  interface SubscriptionChangeEvent<T = Record<string, unknown>> {
2604
2672
  type: "change";
@@ -2608,14 +2676,19 @@ interface SubscriptionChangeEvent<T = Record<string, unknown>> {
2608
2676
  key?: unknown;
2609
2677
  version: number;
2610
2678
  values_skipped?: number;
2679
+ token?: string;
2611
2680
  }
2612
2681
  type SubscriptionEvent<T = Record<string, unknown>> = SubscriptionSnapshotEvent<T> | SubscriptionChangeEvent<T>;
2613
2682
  interface SubscribeOptions<T = Record<string, unknown>> {
2614
- onSnapshot?: (rows: T[], version: number) => void;
2683
+ onSnapshot?: (rows: T[], version: number, totalMatches?: number) => void;
2615
2684
  onChange?: (event: SubscriptionChangeEvent<T>) => void;
2616
2685
  onError?: (error: Error) => void;
2617
2686
  filter?: Record<string, unknown>;
2618
2687
  conflate?: ConflateOptions;
2688
+ /** Pin snapshot/resume at at least this consistency token. Re-sent on gap/reconnect. */
2689
+ atLeast?: string;
2690
+ waitMs?: number;
2691
+ onExceeded?: string;
2619
2692
  }
2620
2693
  interface Subscription<T = Record<string, unknown>> extends AsyncIterable<SubscriptionEvent<T>> {
2621
2694
  readonly id: string;
@@ -2695,6 +2768,8 @@ interface QueryBuilderState {
2695
2768
  selectExprs: ComputedColumnDef[] | null;
2696
2769
  /** When true, emit `distinct: true` on the wire (SQL SELECT DISTINCT). */
2697
2770
  isDistinct: boolean;
2771
+ /** Pin execute at at least this C-1 token. */
2772
+ atLeast?: string;
2698
2773
  }
2699
2774
  /**
2700
2775
  * Coerces a raw columnar value using the server-declared column type name.
@@ -2745,6 +2820,7 @@ declare class TableQuery<T = Record<string, unknown>> {
2745
2820
  private readonly database;
2746
2821
  private readonly state;
2747
2822
  private readonly getWebSocketTransport;
2823
+ private readonly store;
2748
2824
  /**
2749
2825
  * Creates a new TableQuery instance.
2750
2826
  *
@@ -2754,7 +2830,8 @@ declare class TableQuery<T = Record<string, unknown>> {
2754
2830
  * @param state - Optional initial state (used for immutable chaining).
2755
2831
  * @internal Use `client.table()` to create queries.
2756
2832
  */
2757
- constructor(transport: Transport, tableName: string, database: string, state?: QueryBuilderState, getWebSocketTransport?: () => StreamingTransport);
2833
+ constructor(transport: Transport, tableName: string, database: string, state?: QueryBuilderState, getWebSocketTransport?: () => StreamingTransport, store?: ConsistencyTokenStore);
2834
+ private withState;
2758
2835
  /**
2759
2836
  * Adds a filter predicate to the query.
2760
2837
  * Multiple `where()` calls are combined with AND.
@@ -2864,7 +2941,12 @@ declare class TableQuery<T = Record<string, unknown>> {
2864
2941
  */
2865
2942
  withCrossPartitionAccess(): TableQuery<T>;
2866
2943
  /**
2867
- * Restricts the columns returned in the result.
2944
+ * Pin this query at at least this C-1 token. Observes the token into the
2945
+ * client store (I3, sticky) and presents it on execute via `X-Aouda-Token`.
2946
+ */
2947
+ atLeast(token: string): TableQuery<T>;
2948
+ /**
2949
+ * Selects specific columns to return.
2868
2950
  * If not called, all columns are returned.
2869
2951
  *
2870
2952
  * When T is a specific row type, only keys of T are accepted as column names.
@@ -3400,8 +3482,8 @@ interface NamedQueryParamConstraint {
3400
3482
  maxItems?: number;
3401
3483
  }
3402
3484
  /**
3403
- * Named-query template in `namedQueries`. Identity is the content hash of the body;
3404
- * export JSON has no `hash` field.
3485
+ * Named-query template in `namedQueries`. Identity is the unique name (the map key).
3486
+ * Export JSON has no hash field; there is no hash identity.
3405
3487
  */
3406
3488
  interface NamedQueryDefinition {
3407
3489
  table: string;
@@ -3410,7 +3492,9 @@ interface NamedQueryDefinition {
3410
3492
  selectExpr?: ComputedColumnDef[];
3411
3493
  joins?: JoinClause[];
3412
3494
  orderBy?: OrderByClause[];
3495
+ orderByChoices?: OrderByClause[][];
3413
3496
  distinct?: boolean;
3497
+ count?: boolean;
3414
3498
  limit?: number;
3415
3499
  offset?: number;
3416
3500
  limitParam?: string;
@@ -3493,9 +3577,7 @@ interface SchemaDocument {
3493
3577
  settings?: SchemaSettings;
3494
3578
  extends?: string;
3495
3579
  namedQueries?: Record<string, NamedQueryDefinition>;
3496
- dropNamedQueries?: string[];
3497
3580
  namedMutations?: Record<string, NamedMutationDefinition>;
3498
- dropNamedMutations?: string[];
3499
3581
  materializedQueries?: Record<string, SchemaMaterializedQuery>;
3500
3582
  }
3501
3583
 
@@ -3508,7 +3590,7 @@ interface SchemaDocument {
3508
3590
  * Schema change classification (matches server `SchemaChangeType` enum names).
3509
3591
  * Unknown future values may appear as plain strings at runtime.
3510
3592
  */
3511
- type SchemaChangeType = "CreateTable" | "DropTable" | "AddColumn" | "DropColumn" | "UpdatePolicy" | "UpdateDurability" | "UpdatePartitionLevelSecurity" | "UpdateAuthorizationOptions" | "UpdateTableCulture" | "UpdateSettings" | "UpdateColumnAutoIncrement" | "UpdateColumnType" | "UpdateColumnNullable" | "UpdateColumnEncoder" | "RenameColumn" | "ReorderColumns" | "UpdateColumnReferences" | "UpdateColumnDefault" | "UpdateColumnDescription" | "UpdateTablePrimaryKey" | "UpdateDataPlaneAccess" | "UpdateColumnDerived" | "UpdateColumnUnique" | "UpdateTableChecks" | "UpdateTableTransforms" | "CreateNamedQuery" | "RetargetNamedQueryAlias" | "DeprecateNamedQuery" | "RemoveNamedQuery" | "CreateNamedMutation" | "RetargetNamedMutationAlias" | "DeprecateNamedMutation" | "RemoveNamedMutation" | "CreateMaterializedQuery" | "ReplaceMaterializedQuery" | "DropMaterializedQuery";
3593
+ type SchemaChangeType = "CreateTable" | "DropTable" | "AddColumn" | "DropColumn" | "UpdatePolicy" | "UpdateDurability" | "UpdatePartitionLevelSecurity" | "UpdateAuthorizationOptions" | "UpdateTableCulture" | "UpdateSettings" | "UpdateColumnAutoIncrement" | "UpdateColumnType" | "UpdateColumnNullable" | "UpdateColumnEncoder" | "RenameColumn" | "ReorderColumns" | "UpdateColumnReferences" | "UpdateColumnDefault" | "UpdateColumnDescription" | "UpdateTablePrimaryKey" | "UpdateDataPlaneAccess" | "UpdateColumnDerived" | "UpdateColumnUnique" | "UpdateTableChecks" | "UpdateTableTransforms" | "CreateNamedQuery" | "UpdateNamedQuery" | "UpdateNamedQueryFreshness" | "DeprecateNamedQuery" | "RemoveNamedQuery" | "CreateNamedMutation" | "UpdateNamedMutation" | "DeprecateNamedMutation" | "RemoveNamedMutation" | "CreateMaterializedQuery" | "ReplaceMaterializedQuery" | "DropMaterializedQuery";
3512
3594
  /** Server diff result (matches SchemaDiffResult). */
3513
3595
  interface SchemaDiffResult {
3514
3596
  changes: SchemaChange[];
@@ -3834,21 +3916,32 @@ declare class MaterializedQueriesApi {
3834
3916
  }
3835
3917
 
3836
3918
  /**
3837
- * Hash-only named-query / named-mutation client API (D-5, D-28).
3919
+ * Name-only named-query / named-mutation client API (D-5, D-28).
3920
+ * Identity is the unique schema key, not a content hash or codegen alias.
3838
3921
  */
3839
3922
 
3840
3923
  interface NamedQueryExecuteOptions {
3841
3924
  signal?: AbortSignal;
3925
+ /** 0-based index into the definition's `orderByChoices`. Sibling of `args`, not a named-query param. */
3926
+ orderByIndex?: number;
3927
+ /** Observe then present this C-1 token on execute. */
3928
+ atLeast?: string;
3842
3929
  }
3843
3930
  interface NamedQuerySubscribeOptions<T = Record<string, unknown>> {
3844
- onSnapshot?: (rows: T[], version: number) => void;
3931
+ onSnapshot?: (rows: T[], version: number, totalMatches?: number) => void;
3845
3932
  onChange?: (event: SubscriptionChangeEvent<T>) => void;
3846
3933
  onError?: (error: Error) => void;
3847
3934
  conflate?: ConflateOptions;
3935
+ /** 0-based index into the definition's `orderByChoices`. */
3936
+ orderByIndex?: number;
3937
+ atLeast?: string;
3938
+ waitMs?: number;
3939
+ onExceeded?: string;
3848
3940
  }
3849
3941
  interface NamedQueryBatchItem {
3850
- hash: string;
3942
+ name: string;
3851
3943
  args?: Record<string, unknown>;
3944
+ orderByIndex?: number;
3852
3945
  }
3853
3946
  interface NamedQueryBatchSlotResult<T = Record<string, unknown>> {
3854
3947
  isError: boolean;
@@ -3868,17 +3961,18 @@ declare class NamedQueriesApi {
3868
3961
  private readonly database;
3869
3962
  private readonly onWarning;
3870
3963
  private readonly getStreamingTransport;
3871
- constructor(transport: Transport, database: string, onWarning: NamedArtifactWarningSink, getStreamingTransport: () => StreamingTransport);
3872
- execute<T = Record<string, unknown>>(hash: string, args?: Record<string, unknown>, options?: NamedQueryExecuteOptions): Promise<QueryResult<T>>;
3964
+ private readonly store?;
3965
+ constructor(transport: Transport, database: string, onWarning: NamedArtifactWarningSink, getStreamingTransport: () => StreamingTransport, store?: ConsistencyTokenStore | undefined);
3966
+ execute<T = Record<string, unknown>>(name: string, args?: Record<string, unknown>, options?: NamedQueryExecuteOptions): Promise<QueryResult<T>>;
3873
3967
  batch<T = Record<string, unknown>>(items: NamedQueryBatchItem[], options?: NamedQueryExecuteOptions): Promise<NamedQueryBatchSlotResult<T>[]>;
3874
- subscribe<T = Record<string, unknown>>(hash: string, args?: Record<string, unknown>, options?: NamedQuerySubscribeOptions<T>): Subscription<T>;
3968
+ subscribe<T = Record<string, unknown>>(name: string, args?: Record<string, unknown>, options?: NamedQuerySubscribeOptions<T>): Subscription<T>;
3875
3969
  }
3876
3970
  declare class NamedMutationsApi {
3877
3971
  private readonly transport;
3878
3972
  private readonly database;
3879
3973
  private readonly onWarning;
3880
3974
  constructor(transport: Transport, database: string, onWarning: NamedArtifactWarningSink);
3881
- execute(hash: string, args?: Record<string, unknown>): Promise<NamedMutationResult>;
3975
+ execute(name: string, args?: Record<string, unknown>): Promise<NamedMutationResult>;
3882
3976
  }
3883
3977
 
3884
3978
  /**
@@ -3997,6 +4091,7 @@ declare class AoudaClient<S extends SchemaLike = DefaultSchema> {
3997
4091
  private readonly _streamingEnableLongPollFallback;
3998
4092
  private readonly _streamingLongPollWaitMs;
3999
4093
  private _wsTransport;
4094
+ private readonly _store;
4000
4095
  /**
4001
4096
  * Creates a new AoudaClient instance.
4002
4097
  *
@@ -4098,11 +4193,14 @@ declare class AoudaClient<S extends SchemaLike = DefaultSchema> {
4098
4193
  */
4099
4194
  get materializedQueries(): MaterializedQueriesApi;
4100
4195
  /**
4101
- * Hash-only named-query execute and batch. Names are codegen aliases (D-5).
4196
+ * Named-query execute, read-only batch, and subscribe by unique schema name.
4102
4197
  */
4103
4198
  get namedQueries(): NamedQueriesApi;
4199
+ observeConsistencyToken(token: string | null | undefined): void;
4200
+ getObservedConsistencyToken(): string | undefined;
4201
+ getConsistencyToken(): Promise<string>;
4104
4202
  /**
4105
- * Hash-only named-mutation execute. No batch.
4203
+ * Named-mutation execute by unique schema name. No batch.
4106
4204
  */
4107
4205
  get namedMutations(): NamedMutationsApi;
4108
4206
  /**
@@ -4209,4 +4307,4 @@ declare class AoudaClient<S extends SchemaLike = DefaultSchema> {
4209
4307
  */
4210
4308
  declare function createAoudaClient<S extends SchemaLike = DefaultSchema>(options: AoudaClientOptions): AoudaClient<S>;
4211
4309
 
4212
- export { type BloomFilterMetrics as $, AoudaClient as A, type BulkLoadOptions as B, type CoverageResponse as C, type DetailedHealthResponse as D, type AggregateFunctionName as E, type FailoverClusterResponse as F, type AlterColumnRequest as G, type HealthStatus as H, type AoudaClientOptions as I, type JoinClusterRequest as J, type AoudaDataType as K, type ListBackupsResponse as L, type AppAuthOptions as M, type NodeInfoResponse as N, AuthClient as O, type PromoteClusterResponse as P, type AuthResult as Q, type ReplicationStatusResponse as R, type SchemaLike as S, type Transport as T, type AuthUserInfo as U, type AuthorizationMode as V, BackupAdminApi as W, type BackupMetrics as X, type BackupSummary as Y, type BatchMutationResult as Z, type BatchOperationInput as _, type BulkLoadJobHandle as a, type MetricsSnapshot as a$, type BranchInfo as a0, BranchesApi as a1, type BulkLoadForceAbortRequest as a2, type BulkLoadForceAbortResponse as a3, type BulkLoadListResponse as a4, type BulkLoadProgress as a5, type BulkLoadReplicaProgress as a6, type BulkLoadReplicaProgressDto as a7, type BulkLoadStatusResponse as a8, CircuitBreakerPolicy as a9, HealthAdminApi as aA, type IndexInfo as aB, type InsertOptions as aC, type InsertResult as aD, type IoMetrics as aE, JobsApi as aF, type LatencyPercentiles as aG, MaterializedQueriesApi as aH, type MaterializedQueryDefinition as aI, type MaterializedQueryExecuteOptions as aJ, type MaterializedQueryExecuteResult as aK, type MaterializedQueryMetrics as aL, type MaterializedQueryRefreshOptions as aM, MaterializedQueryState as aN, type MaterializedQueryStateNumber as aO, type MaterializedQueryStatus as aP, MaterializedQueryType as aQ, type MaterializedQueryTypeNumber as aR, type MemberInfo as aS, type MemoryMetrics as aT, type MergeBranchOptions as aU, type MergeConflict as aV, type MergeExecutionResult as aW, type MergeResult as aX, MetricsAdminApi as aY, type MetricsHistory as aZ, type MetricsHistoryOptions as a_, ClusterAdminApi as aa, type ClusterMemberEntry as ab, type ClusterThisNodeEntry as ac, type ColumnSchema as ad, type ColumnSummaryForErd as ae, type ColumnarResponse as af, type ComponentHealthEntry as ag, type ComputedColumnDef as ah, ConfigAdminApi as ai, type CreateBranchRequest as aj, type CreateColumnRequest as ak, type CreateDatabaseOptions as al, type CreatePartitionGrantRequest as am, type CreateRlsResolverRequest as an, type CreateTableRequest as ao, type DatabaseCoverageEntry as ap, type DatabaseInfo as aq, type DatabaseMemoryMetrics as ar, type DatabaseMemoryUsage as as, type DatabaseMetricsDto as at, type DatabaseOptionsInfo as au, DatabasesApi as av, type DeleteOptions as aw, type DiffSummary as ax, FILTER_OPERATORS as ay, type FilterOperator as az, type TopologyResponse as b, type SchemaMaterializedQuery as b$, type MetricsSummary as b0, type MutationResult as b1, type NamedArtifactWarning as b2, type NamedMutationDefinition as b3, type NamedMutationResult as b4, NamedMutationsApi as b5, NamedQueriesApi as b6, type NamedQueryBatchItem as b7, type NamedQueryBatchSlotResult as b8, type NamedQueryDefinition as b9, type QueryMetrics as bA, type QueryResult as bB, type QueryStats as bC, type ReferenceInfo as bD, type RelationshipEndpoint as bE, type RelationshipInfo as bF, type RenameColumnRequest as bG, type RenameTableRequest as bH, type ReorderColumnsRequest as bI, ReplicationAdminApi as bJ, type ReplicationMetrics as bK, type ResidencyConfig as bL, type ResultWarning as bM, RetryPolicy as bN, type RlsResolver as bO, type RlsResolverRule as bP, type RlsResolverRuleInput as bQ, type RlsResolversListResponse as bR, type SchemaAggregateColumn as bS, type SchemaChange as bT, type SchemaChangeType as bU, type SchemaColumnDefinition as bV, type SchemaDiffResult as bW, type SchemaDocument as bX, type SchemaFilterCondition as bY, type SchemaFilterPredicate as bZ, type SchemaGroupByTerm as b_, type NamedQueryExecuteOptions as ba, type NamedQueryParamConstraint as bb, type NamedQuerySubscribeOptions as bc, NodeAdminApi as bd, type NodeLogEntry as be, type NodeLogLevel as bf, type NodeLogStreamOptions as bg, type NodeLogsQuery as bh, type NodeLogsResponse as bi, type OpenWriteStreamOptions as bj, type PageCacheMetrics as bk, type PartitionFunction as bl, type PartitionGrant as bm, type PartitionGrantsListResponse as bn, type PartitioningMetrics as bo, type PendingJobListResponse as bp, type PendingJobResponse as bq, type PerDatabaseLagEntry as br, type PerDatabaseMetrics as bs, type PerDatabaseStatusEntry as bt, PolicyApi as bu, type PolicyInspectRequest as bv, type PolicyInspectResponse as bw, type PolicyInspectTableResult as bx, type PolicyInspectTraverseStart as by, type PolicyInspectVectorProbe as bz, type ReadinessResponse as c, type SchemaMaterializedStorage as c0, type SchemaPartitionKeyEntry as c1, type SchemaRelationshipsResponse as c2, type SchemaSettings as c3, type SchemaSettingsDurability as c4, type SchemaTableDefinition as c5, type SchemaTableDurability as c6, type SchemaTablePolicy as c7, type SchemaTableTransform as c8, type SeedApplyResult as c9, type TestIdentity as cA, type TestIdentityDocument as cB, type TestIdentityGrant as cC, type TimeBucketFunction as cD, type TimeSeriesMetrics as cE, type TransactionMetrics as cF, type TypeGenerationOptions as cG, type UpdateOptions as cH, type UpdateRlsResolverRequest as cI, type UpdateTableOptionsRequest as cJ, type UpdateTablePolicyRequest as cK, type UserProfile as cL, type WalMetrics as cM, WhereGroupBuilder as cN, type WhereOperator as cO, type WriteStream as cP, coerceColumnarValue as cQ, columnarToRows as cR, createAoudaClient as cS, type SeedTableApplyResult as ca, ServerAdminApi as cb, type ServerAuthOptions as cc, type ServerMemoryResponse as cd, type ServerMetricsResponse as ce, type ServiceInfo as cf, type SimdMetrics as cg, type SingleDatabaseMetricsResponse as ch, type SortDirection as ci, type StorageMetrics as cj, type SubscribeOptions as ck, type Subscription as cl, type SubscriptionChangeEvent as cm, type SubscriptionEvent as cn, type SubscriptionInfo as co, type SubscriptionSnapshotEvent as cp, TIME_BUCKET_FUNCTIONS as cq, type TableCoverageEntry as cr, type TableNameFromSchema as cs, type TablePolicy as ct, TableQuery as cu, type TableSchema as cv, type TableSchemaResponse as cw, type TableSummary as cx, type TableSummaryForErd as cy, TablesApi as cz, type TriggerBackupRequest as d, type TriggerBackupResponse as e, type RestoreBackupResponse as f, type BackupSchedule as g, type JoinClusterResponse as h, type LeaveClusterResponse as i, type DrainClusterResponse as j, type ClusterConfigResponse as k, type ClusterConfigPatchRequest as l, type DefaultSchema as m, AGGREGATE_FUNCTIONS as n, AOUDA_DATA_TYPES as o, type AddColumnRequest as p, AdminApi as q, type AdminBackupConfig as r, type AdminBackupPatch as s, type AdminConfigPatchRequest as t, type AdminConfigResponse as u, type AdminConfigSchemaResponse as v, type AdminLoggingConfig as w, type AdminLoggingPatch as x, type AdminMemoryConfig as y, type AdminMemoryPatch as z };
4310
+ export { type BloomFilterMetrics as $, AoudaClient as A, type BulkLoadOptions as B, type CoverageResponse as C, type DetailedHealthResponse as D, type AggregateFunctionName as E, type FailoverClusterResponse as F, type AlterColumnRequest as G, type HealthStatus as H, type AoudaClientOptions as I, type JoinClusterRequest as J, type AoudaDataType as K, type ListBackupsResponse as L, type AppAuthOptions as M, type NodeInfoResponse as N, AuthClient as O, type PromoteClusterResponse as P, type AuthResult as Q, type ReplicationStatusResponse as R, type SchemaLike as S, type Transport as T, type AuthUserInfo as U, type AuthorizationMode as V, BackupAdminApi as W, type BackupMetrics as X, type BackupSummary as Y, type BatchMutationResult as Z, type BatchOperationInput as _, type BulkLoadJobHandle as a, type MetricsHistory as a$, type BranchInfo as a0, BranchesApi as a1, type BulkLoadForceAbortRequest as a2, type BulkLoadForceAbortResponse as a3, type BulkLoadListResponse as a4, type BulkLoadProgress as a5, type BulkLoadReplicaProgress as a6, type BulkLoadReplicaProgressDto as a7, type BulkLoadStatusResponse as a8, CircuitBreakerPolicy as a9, type FilterOperator as aA, HealthAdminApi as aB, type IndexInfo as aC, type InsertOptions as aD, type InsertResult as aE, type IoMetrics as aF, JobsApi as aG, type LatencyPercentiles as aH, MaterializedQueriesApi as aI, type MaterializedQueryDefinition as aJ, type MaterializedQueryExecuteOptions as aK, type MaterializedQueryExecuteResult as aL, type MaterializedQueryMetrics as aM, type MaterializedQueryRefreshOptions as aN, MaterializedQueryState as aO, type MaterializedQueryStateNumber as aP, type MaterializedQueryStatus as aQ, MaterializedQueryType as aR, type MaterializedQueryTypeNumber as aS, type MemberInfo as aT, MemoryConsistencyTokenStore as aU, type MemoryMetrics as aV, type MergeBranchOptions as aW, type MergeConflict as aX, type MergeExecutionResult as aY, type MergeResult as aZ, MetricsAdminApi as a_, ClusterAdminApi as aa, type ClusterMemberEntry as ab, type ClusterThisNodeEntry as ac, type ColumnSchema as ad, type ColumnSummaryForErd as ae, type ColumnarResponse as af, type ComponentHealthEntry as ag, type ComputedColumnDef as ah, ConfigAdminApi as ai, type ConsistencyTokenStore as aj, type CreateBranchRequest as ak, type CreateColumnRequest as al, type CreateDatabaseOptions as am, type CreatePartitionGrantRequest as an, type CreateRlsResolverRequest as ao, type CreateTableRequest as ap, type DatabaseCoverageEntry as aq, type DatabaseInfo as ar, type DatabaseMemoryMetrics as as, type DatabaseMemoryUsage as at, type DatabaseMetricsDto as au, type DatabaseOptionsInfo as av, DatabasesApi as aw, type DeleteOptions as ax, type DiffSummary as ay, FILTER_OPERATORS as az, type TopologyResponse as b, type SchemaFilterPredicate as b$, type MetricsHistoryOptions as b0, type MetricsSnapshot as b1, type MetricsSummary as b2, type MutationResult as b3, type NamedArtifactWarning as b4, type NamedMutationDefinition as b5, type NamedMutationResult as b6, NamedMutationsApi as b7, NamedQueriesApi as b8, type NamedQueryBatchItem as b9, type PolicyInspectTraverseStart as bA, type PolicyInspectVectorProbe as bB, type QueryMetrics as bC, type QueryResult as bD, type QueryStats as bE, type ReferenceInfo as bF, type RelationshipEndpoint as bG, type RelationshipInfo as bH, type RenameColumnRequest as bI, type RenameTableRequest as bJ, type ReorderColumnsRequest as bK, ReplicationAdminApi as bL, type ReplicationMetrics as bM, type ResidencyConfig as bN, type ResultWarning as bO, RetryPolicy as bP, type RlsResolver as bQ, type RlsResolverRule as bR, type RlsResolverRuleInput as bS, type RlsResolversListResponse as bT, type SchemaAggregateColumn as bU, type SchemaChange as bV, type SchemaChangeType as bW, type SchemaColumnDefinition as bX, type SchemaDiffResult as bY, type SchemaDocument as bZ, type SchemaFilterCondition as b_, type NamedQueryBatchSlotResult as ba, type NamedQueryDefinition as bb, type NamedQueryExecuteOptions as bc, type NamedQueryParamConstraint as bd, type NamedQuerySubscribeOptions as be, NodeAdminApi as bf, type NodeLogEntry as bg, type NodeLogLevel as bh, type NodeLogStreamOptions as bi, type NodeLogsQuery as bj, type NodeLogsResponse as bk, type OpenWriteStreamOptions as bl, type PageCacheMetrics as bm, type PartitionFunction as bn, type PartitionGrant as bo, type PartitionGrantsListResponse as bp, type PartitioningMetrics as bq, type PendingJobListResponse as br, type PendingJobResponse as bs, type PerDatabaseLagEntry as bt, type PerDatabaseMetrics as bu, type PerDatabaseStatusEntry as bv, PolicyApi as bw, type PolicyInspectRequest as bx, type PolicyInspectResponse as by, type PolicyInspectTableResult as bz, type ReadinessResponse as c, type SchemaGroupByTerm as c0, type SchemaMaterializedQuery as c1, type SchemaMaterializedStorage as c2, type SchemaPartitionKeyEntry as c3, type SchemaRelationshipsResponse as c4, type SchemaSettings as c5, type SchemaSettingsDurability as c6, type SchemaTableDefinition as c7, type SchemaTableDurability as c8, type SchemaTablePolicy as c9, type TableSummaryForErd as cA, TablesApi as cB, type TestIdentity as cC, type TestIdentityDocument as cD, type TestIdentityGrant as cE, type TimeBucketFunction as cF, type TimeSeriesMetrics as cG, type TransactionMetrics as cH, type TypeGenerationOptions as cI, type UpdateOptions as cJ, type UpdateRlsResolverRequest as cK, type UpdateTableOptionsRequest as cL, type UpdateTablePolicyRequest as cM, type UserProfile as cN, type WalMetrics as cO, WhereGroupBuilder as cP, type WhereOperator as cQ, type WriteStream as cR, coerceColumnarValue as cS, columnarToRows as cT, compareOrdinal as cU, createAoudaClient as cV, maxToken as cW, type SchemaTableTransform as ca, type SeedApplyResult as cb, type SeedTableApplyResult as cc, ServerAdminApi as cd, type ServerAuthOptions as ce, type ServerMemoryResponse as cf, type ServerMetricsResponse as cg, type ServiceInfo as ch, type SimdMetrics as ci, type SingleDatabaseMetricsResponse as cj, type SortDirection as ck, type StorageMetrics as cl, type SubscribeOptions as cm, type Subscription as cn, type SubscriptionChangeEvent as co, type SubscriptionEvent as cp, type SubscriptionInfo as cq, type SubscriptionSnapshotEvent as cr, TIME_BUCKET_FUNCTIONS as cs, type TableCoverageEntry as ct, type TableNameFromSchema as cu, type TablePolicy as cv, TableQuery as cw, type TableSchema as cx, type TableSchemaResponse as cy, type TableSummary as cz, type TriggerBackupRequest as d, type TriggerBackupResponse as e, type RestoreBackupResponse as f, type BackupSchedule as g, type JoinClusterResponse as h, type LeaveClusterResponse as i, type DrainClusterResponse as j, type ClusterConfigResponse as k, type ClusterConfigPatchRequest as l, type DefaultSchema as m, AGGREGATE_FUNCTIONS as n, AOUDA_DATA_TYPES as o, type AddColumnRequest as p, AdminApi as q, type AdminBackupConfig as r, type AdminBackupPatch as s, type AdminConfigPatchRequest as t, type AdminConfigResponse as u, type AdminConfigSchemaResponse as v, type AdminLoggingConfig as w, type AdminLoggingPatch as x, type AdminMemoryConfig as y, type AdminMemoryPatch as z };