@aouda/client 0.1.9 → 0.1.11

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.
@@ -305,6 +305,18 @@ interface AoudaClientOptions {
305
305
  */
306
306
  longPollWaitMs?: number;
307
307
  };
308
+ /**
309
+ * Invoked when a named query or named mutation result carries a deprecation warning.
310
+ * Defaults to `console.warn`. The call still succeeds (D-5).
311
+ */
312
+ onNamedArtifactWarning?: (warning: NamedArtifactWarning) => void;
313
+ }
314
+ /** Deprecation (or similar) warning from a named query or named mutation. */
315
+ interface NamedArtifactWarning {
316
+ code: string;
317
+ hash?: string;
318
+ sunsetAt?: string;
319
+ message: string;
308
320
  }
309
321
  /**
310
322
  * Health status response from the Aouda server.
@@ -430,6 +442,14 @@ interface QueryResult<T = Record<string, unknown>> {
430
442
  rows: T[];
431
443
  /** Query execution statistics. */
432
444
  stats: QueryStats;
445
+ /** Additive warnings (e.g. named-query deprecation). */
446
+ warnings?: ResultWarning[];
447
+ }
448
+ /** Additive result warning from the server. */
449
+ interface ResultWarning {
450
+ code: string;
451
+ hash?: string;
452
+ sunsetAt?: string;
433
453
  }
434
454
  /**
435
455
  * Wire protocol comparison operators.
@@ -505,6 +525,7 @@ interface ColumnarResponse {
505
525
  data: unknown[][];
506
526
  rowCount: number;
507
527
  stats: QueryStats;
528
+ warnings?: ResultWarning[];
508
529
  }
509
530
  /**
510
531
  * Summary of a table returned by list().
@@ -2238,6 +2259,7 @@ declare class AuthHandler {
2238
2259
  private readonly _serverUrl;
2239
2260
  private readonly _timeout;
2240
2261
  private readonly _refreshThresholdMs;
2262
+ private _onAccessTokenRefreshed;
2241
2263
  private readonly _apiKeyMode;
2242
2264
  private readonly _isServiceKeyMode;
2243
2265
  private readonly _userToken;
@@ -2308,6 +2330,7 @@ declare class AuthHandler {
2308
2330
  callMeEndpoint(): Promise<UserProfile>;
2309
2331
  callChangePasswordEndpoint(currentPassword: string, newPassword: string): Promise<void>;
2310
2332
  private shouldProactivelyRefresh;
2333
+ setOnAccessTokenRefreshed(handler: ((token: string) => void) | null): void;
2311
2334
  private _doRefresh;
2312
2335
  private _fetchJson;
2313
2336
  private _tryReadErrorBody;
@@ -2405,12 +2428,23 @@ interface AuthMessage {
2405
2428
  database: string;
2406
2429
  wire_mode?: StreamingWireMode;
2407
2430
  }
2431
+ interface ConflateOptions {
2432
+ key?: string[];
2433
+ interval_ms: number;
2434
+ }
2408
2435
  interface SubscribeMessage {
2409
2436
  type: "subscribe";
2410
2437
  id: string;
2411
2438
  target: string;
2412
2439
  filter?: Record<string, unknown>;
2413
2440
  resume_from?: number;
2441
+ hash?: string;
2442
+ args?: Record<string, unknown>;
2443
+ conflate?: ConflateOptions;
2444
+ }
2445
+ interface ReAuthMessage {
2446
+ type: "re_auth";
2447
+ token: string;
2414
2448
  }
2415
2449
  interface UnsubscribeMessage {
2416
2450
  type: "unsubscribe";
@@ -2435,7 +2469,7 @@ interface StreamCloseMessage {
2435
2469
  interface PingMessage {
2436
2470
  type: "ping";
2437
2471
  }
2438
- type ClientMessage = AuthMessage | SubscribeMessage | UnsubscribeMessage | StreamOpenMessage | StreamRowsMessage | StreamCloseMessage | PingMessage;
2472
+ type ClientMessage = AuthMessage | ReAuthMessage | SubscribeMessage | UnsubscribeMessage | StreamOpenMessage | StreamRowsMessage | StreamCloseMessage | PingMessage;
2439
2473
  interface AuthOkMessage {
2440
2474
  type: "auth_ok";
2441
2475
  user_id?: string;
@@ -2453,14 +2487,27 @@ interface SnapshotMessage {
2453
2487
  rows: unknown[];
2454
2488
  version: number;
2455
2489
  }
2490
+ interface SnapshotCompleteMessage {
2491
+ type: "snapshot_complete";
2492
+ id: string;
2493
+ version: number;
2494
+ row_count: number;
2495
+ }
2496
+ interface GapMessage {
2497
+ type: "gap";
2498
+ id: string;
2499
+ last_seq: number;
2500
+ discarded: number;
2501
+ }
2456
2502
  interface ChangeMessage {
2457
2503
  type: "change";
2458
2504
  id: string;
2459
- op: "insert" | "update" | "delete";
2505
+ op: "insert" | "update" | "delete" | "upsert";
2460
2506
  row?: unknown;
2461
2507
  prev?: unknown;
2462
2508
  key?: unknown;
2463
2509
  version: number;
2510
+ values_skipped?: number;
2464
2511
  }
2465
2512
  interface StreamAckMessage {
2466
2513
  type: "stream_ack";
@@ -2488,7 +2535,7 @@ interface ServerErrorMessage {
2488
2535
  interface PongMessage {
2489
2536
  type: "pong";
2490
2537
  }
2491
- type ServerMessage = AuthOkMessage | AuthErrorMessage | SnapshotMessage | ChangeMessage | StreamAckMessage | StreamReadyMessage | StreamClosedMessage | HeartbeatMessage | ServerErrorMessage | PongMessage;
2538
+ type ServerMessage = AuthOkMessage | AuthErrorMessage | SnapshotMessage | SnapshotCompleteMessage | GapMessage | ChangeMessage | StreamAckMessage | StreamReadyMessage | StreamClosedMessage | HeartbeatMessage | ServerErrorMessage | PongMessage;
2492
2539
 
2493
2540
  type StreamingMessageHandler = (message: ServerMessage) => void;
2494
2541
  interface StreamingTransport {
@@ -2509,11 +2556,12 @@ interface SubscriptionSnapshotEvent<T = Record<string, unknown>> {
2509
2556
  }
2510
2557
  interface SubscriptionChangeEvent<T = Record<string, unknown>> {
2511
2558
  type: "change";
2512
- op: "insert" | "update" | "delete";
2559
+ op: "insert" | "update" | "delete" | "upsert";
2513
2560
  row?: T;
2514
2561
  prev?: T;
2515
2562
  key?: unknown;
2516
2563
  version: number;
2564
+ values_skipped?: number;
2517
2565
  }
2518
2566
  type SubscriptionEvent<T = Record<string, unknown>> = SubscriptionSnapshotEvent<T> | SubscriptionChangeEvent<T>;
2519
2567
  interface SubscribeOptions<T = Record<string, unknown>> {
@@ -2521,6 +2569,7 @@ interface SubscribeOptions<T = Record<string, unknown>> {
2521
2569
  onChange?: (event: SubscriptionChangeEvent<T>) => void;
2522
2570
  onError?: (error: Error) => void;
2523
2571
  filter?: Record<string, unknown>;
2572
+ conflate?: ConflateOptions;
2524
2573
  }
2525
2574
  interface Subscription<T = Record<string, unknown>> extends AsyncIterable<SubscriptionEvent<T>> {
2526
2575
  readonly id: string;
@@ -2614,6 +2663,13 @@ interface QueryBuilderState {
2614
2663
  * All other types: passed through unchanged.
2615
2664
  */
2616
2665
  declare function coerceColumnarValue(value: unknown, typeName: string): unknown;
2666
+ /**
2667
+ * Converts columnar response data to an array of row objects.
2668
+ * Uses `response.types` to apply type-aware coercions (e.g. Timestamp ticks → ISO string).
2669
+ * @param response - The columnar response from the server.
2670
+ * @returns Array of row objects.
2671
+ */
2672
+ declare function columnarToRows<T>(response: ColumnarResponse): T[];
2617
2673
  /**
2618
2674
  * Fluent query builder for Aouda tables.
2619
2675
  *
@@ -3552,6 +3608,46 @@ declare class MaterializedQueriesApi {
3552
3608
  query(name: string, _options?: MaterializedQueryExecuteOptions): Promise<MaterializedQueryExecuteResult>;
3553
3609
  }
3554
3610
 
3611
+ /**
3612
+ * Hash-only named-query / named-mutation client API (D-5, D-28).
3613
+ */
3614
+
3615
+ interface NamedQueryExecuteOptions {
3616
+ signal?: AbortSignal;
3617
+ }
3618
+ interface NamedQueryBatchItem {
3619
+ hash: string;
3620
+ args?: Record<string, unknown>;
3621
+ }
3622
+ interface NamedQueryBatchSlotResult<T = Record<string, unknown>> {
3623
+ isError: boolean;
3624
+ code?: string;
3625
+ error?: string;
3626
+ result?: QueryResult<T>;
3627
+ }
3628
+ interface NamedMutationResult {
3629
+ op: string;
3630
+ rowsAffected: number;
3631
+ returning?: QueryResult<Record<string, unknown>>;
3632
+ warnings?: ResultWarning[];
3633
+ }
3634
+ type NamedArtifactWarningSink = (warning: NamedArtifactWarning) => void;
3635
+ declare class NamedQueriesApi {
3636
+ private readonly transport;
3637
+ private readonly database;
3638
+ private readonly onWarning;
3639
+ constructor(transport: Transport, database: string, onWarning: NamedArtifactWarningSink);
3640
+ execute<T = Record<string, unknown>>(hash: string, args?: Record<string, unknown>, options?: NamedQueryExecuteOptions): Promise<QueryResult<T>>;
3641
+ batch<T = Record<string, unknown>>(items: NamedQueryBatchItem[], options?: NamedQueryExecuteOptions): Promise<NamedQueryBatchSlotResult<T>[]>;
3642
+ }
3643
+ declare class NamedMutationsApi {
3644
+ private readonly transport;
3645
+ private readonly database;
3646
+ private readonly onWarning;
3647
+ constructor(transport: Transport, database: string, onWarning: NamedArtifactWarningSink);
3648
+ execute(hash: string, args?: Record<string, unknown>): Promise<NamedMutationResult>;
3649
+ }
3650
+
3555
3651
  /**
3556
3652
  * @aouda/client — AoudaClient implementation.
3557
3653
  */
@@ -3587,6 +3683,8 @@ declare class AoudaClient<S extends SchemaLike = DefaultSchema> {
3587
3683
  private readonly _branches;
3588
3684
  private readonly _admin;
3589
3685
  private readonly _materializedQueries;
3686
+ private readonly _namedQueries;
3687
+ private readonly _namedMutations;
3590
3688
  private readonly _auth;
3591
3689
  private readonly _authHandler;
3592
3690
  private readonly _streamingEnableCompression;
@@ -3694,6 +3792,14 @@ declare class AoudaClient<S extends SchemaLike = DefaultSchema> {
3694
3792
  * Materialized query lifecycle (list, create, drop, status, query).
3695
3793
  */
3696
3794
  get materializedQueries(): MaterializedQueriesApi;
3795
+ /**
3796
+ * Hash-only named-query execute and batch. Names are codegen aliases (D-5).
3797
+ */
3798
+ get namedQueries(): NamedQueriesApi;
3799
+ /**
3800
+ * Hash-only named-mutation execute. No batch.
3801
+ */
3802
+ get namedMutations(): NamedMutationsApi;
3697
3803
  /**
3698
3804
  * Access auth operations (signUp, signIn, signOut, refresh, me, changePassword).
3699
3805
  * @returns The auth API.
@@ -3794,4 +3900,4 @@ declare class AoudaClient<S extends SchemaLike = DefaultSchema> {
3794
3900
  */
3795
3901
  declare function createAoudaClient<S extends SchemaLike = DefaultSchema>(options: AoudaClientOptions): AoudaClient<S>;
3796
3902
 
3797
- 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 TableSchemaResponse as b$, type MetricsSummary as b0, type MutationResult as b1, NodeAdminApi as b2, type NodeLogEntry as b3, type NodeLogLevel as b4, type NodeLogStreamOptions as b5, type NodeLogsQuery as b6, type NodeLogsResponse as b7, type OpenWriteStreamOptions as b8, type PageCacheMetrics as b9, type SchemaChange as bA, type SchemaChangeType as bB, type SchemaDiffResult as bC, type SchemaRelationshipsResponse as bD, type SeedApplyResult as bE, type SeedTableApplyResult as bF, ServerAdminApi as bG, type ServerAuthOptions as bH, type ServerMemoryResponse as bI, type ServerMetricsResponse as bJ, type ServiceInfo as bK, type SimdMetrics as bL, type SingleDatabaseMetricsResponse as bM, type SortDirection as bN, type StorageMetrics as bO, type SubscribeOptions as bP, type Subscription as bQ, type SubscriptionChangeEvent as bR, type SubscriptionEvent as bS, type SubscriptionInfo as bT, type SubscriptionSnapshotEvent as bU, TIME_BUCKET_FUNCTIONS as bV, type TableCoverageEntry as bW, type TableNameFromSchema as bX, type TablePolicy as bY, TableQuery as bZ, type TableSchema as b_, type PartitionFunction as ba, type PartitionGrant as bb, type PartitionGrantsListResponse as bc, type PartitioningMetrics as bd, type PendingJobListResponse as be, type PendingJobResponse as bf, type PerDatabaseLagEntry as bg, type PerDatabaseMetrics as bh, type PerDatabaseStatusEntry as bi, type QueryMetrics as bj, type QueryResult as bk, type QueryStats as bl, type ReferenceInfo as bm, type RelationshipEndpoint as bn, type RelationshipInfo as bo, type RenameColumnRequest as bp, type RenameTableRequest as bq, type ReorderColumnsRequest as br, ReplicationAdminApi as bs, type ReplicationMetrics as bt, type ResidencyConfig as bu, RetryPolicy as bv, type RlsResolver as bw, type RlsResolverRule as bx, type RlsResolverRuleInput as by, type RlsResolversListResponse as bz, type ReadinessResponse as c, type TableSummary as c0, type TableSummaryForErd as c1, TablesApi as c2, type TimeBucketFunction as c3, type TimeSeriesMetrics as c4, type TransactionMetrics as c5, type TypeGenerationOptions as c6, type UpdateOptions as c7, type UpdateRlsResolverRequest as c8, type UpdateTableOptionsRequest as c9, type UpdateTablePolicyRequest as ca, type UserProfile as cb, type WalMetrics as cc, WhereGroupBuilder as cd, type WhereOperator as ce, type WriteStream as cf, coerceColumnarValue as cg, createAoudaClient as ch, 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 };
3903
+ 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 SubscriptionInfo as b$, type MetricsSummary as b0, type MutationResult as b1, type NamedArtifactWarning as b2, type NamedMutationResult as b3, NamedMutationsApi as b4, NamedQueriesApi as b5, type NamedQueryBatchItem as b6, type NamedQueryBatchSlotResult as b7, type NamedQueryExecuteOptions as b8, NodeAdminApi as b9, type ReplicationMetrics as bA, type ResidencyConfig as bB, type ResultWarning as bC, RetryPolicy as bD, type RlsResolver as bE, type RlsResolverRule as bF, type RlsResolverRuleInput as bG, type RlsResolversListResponse as bH, type SchemaChange as bI, type SchemaChangeType as bJ, type SchemaDiffResult as bK, type SchemaRelationshipsResponse as bL, type SeedApplyResult as bM, type SeedTableApplyResult as bN, ServerAdminApi as bO, type ServerAuthOptions as bP, type ServerMemoryResponse as bQ, type ServerMetricsResponse as bR, type ServiceInfo as bS, type SimdMetrics as bT, type SingleDatabaseMetricsResponse as bU, type SortDirection as bV, type StorageMetrics as bW, type SubscribeOptions as bX, type Subscription as bY, type SubscriptionChangeEvent as bZ, type SubscriptionEvent as b_, type NodeLogEntry as ba, type NodeLogLevel as bb, type NodeLogStreamOptions as bc, type NodeLogsQuery as bd, type NodeLogsResponse as be, type OpenWriteStreamOptions as bf, type PageCacheMetrics as bg, type PartitionFunction as bh, type PartitionGrant as bi, type PartitionGrantsListResponse as bj, type PartitioningMetrics as bk, type PendingJobListResponse as bl, type PendingJobResponse as bm, type PerDatabaseLagEntry as bn, type PerDatabaseMetrics as bo, type PerDatabaseStatusEntry as bp, type QueryMetrics as bq, type QueryResult as br, type QueryStats as bs, type ReferenceInfo as bt, type RelationshipEndpoint as bu, type RelationshipInfo as bv, type RenameColumnRequest as bw, type RenameTableRequest as bx, type ReorderColumnsRequest as by, ReplicationAdminApi as bz, type ReadinessResponse as c, type SubscriptionSnapshotEvent as c0, TIME_BUCKET_FUNCTIONS as c1, type TableCoverageEntry as c2, type TableNameFromSchema as c3, type TablePolicy as c4, TableQuery as c5, type TableSchema as c6, type TableSchemaResponse as c7, type TableSummary as c8, type TableSummaryForErd as c9, TablesApi as ca, type TimeBucketFunction as cb, type TimeSeriesMetrics as cc, type TransactionMetrics as cd, type TypeGenerationOptions as ce, type UpdateOptions as cf, type UpdateRlsResolverRequest as cg, type UpdateTableOptionsRequest as ch, type UpdateTablePolicyRequest as ci, type UserProfile as cj, type WalMetrics as ck, WhereGroupBuilder as cl, type WhereOperator as cm, type WriteStream as cn, coerceColumnarValue as co, columnarToRows as cp, createAoudaClient as cq, 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 };
@@ -305,6 +305,18 @@ interface AoudaClientOptions {
305
305
  */
306
306
  longPollWaitMs?: number;
307
307
  };
308
+ /**
309
+ * Invoked when a named query or named mutation result carries a deprecation warning.
310
+ * Defaults to `console.warn`. The call still succeeds (D-5).
311
+ */
312
+ onNamedArtifactWarning?: (warning: NamedArtifactWarning) => void;
313
+ }
314
+ /** Deprecation (or similar) warning from a named query or named mutation. */
315
+ interface NamedArtifactWarning {
316
+ code: string;
317
+ hash?: string;
318
+ sunsetAt?: string;
319
+ message: string;
308
320
  }
309
321
  /**
310
322
  * Health status response from the Aouda server.
@@ -430,6 +442,14 @@ interface QueryResult<T = Record<string, unknown>> {
430
442
  rows: T[];
431
443
  /** Query execution statistics. */
432
444
  stats: QueryStats;
445
+ /** Additive warnings (e.g. named-query deprecation). */
446
+ warnings?: ResultWarning[];
447
+ }
448
+ /** Additive result warning from the server. */
449
+ interface ResultWarning {
450
+ code: string;
451
+ hash?: string;
452
+ sunsetAt?: string;
433
453
  }
434
454
  /**
435
455
  * Wire protocol comparison operators.
@@ -505,6 +525,7 @@ interface ColumnarResponse {
505
525
  data: unknown[][];
506
526
  rowCount: number;
507
527
  stats: QueryStats;
528
+ warnings?: ResultWarning[];
508
529
  }
509
530
  /**
510
531
  * Summary of a table returned by list().
@@ -2238,6 +2259,7 @@ declare class AuthHandler {
2238
2259
  private readonly _serverUrl;
2239
2260
  private readonly _timeout;
2240
2261
  private readonly _refreshThresholdMs;
2262
+ private _onAccessTokenRefreshed;
2241
2263
  private readonly _apiKeyMode;
2242
2264
  private readonly _isServiceKeyMode;
2243
2265
  private readonly _userToken;
@@ -2308,6 +2330,7 @@ declare class AuthHandler {
2308
2330
  callMeEndpoint(): Promise<UserProfile>;
2309
2331
  callChangePasswordEndpoint(currentPassword: string, newPassword: string): Promise<void>;
2310
2332
  private shouldProactivelyRefresh;
2333
+ setOnAccessTokenRefreshed(handler: ((token: string) => void) | null): void;
2311
2334
  private _doRefresh;
2312
2335
  private _fetchJson;
2313
2336
  private _tryReadErrorBody;
@@ -2405,12 +2428,23 @@ interface AuthMessage {
2405
2428
  database: string;
2406
2429
  wire_mode?: StreamingWireMode;
2407
2430
  }
2431
+ interface ConflateOptions {
2432
+ key?: string[];
2433
+ interval_ms: number;
2434
+ }
2408
2435
  interface SubscribeMessage {
2409
2436
  type: "subscribe";
2410
2437
  id: string;
2411
2438
  target: string;
2412
2439
  filter?: Record<string, unknown>;
2413
2440
  resume_from?: number;
2441
+ hash?: string;
2442
+ args?: Record<string, unknown>;
2443
+ conflate?: ConflateOptions;
2444
+ }
2445
+ interface ReAuthMessage {
2446
+ type: "re_auth";
2447
+ token: string;
2414
2448
  }
2415
2449
  interface UnsubscribeMessage {
2416
2450
  type: "unsubscribe";
@@ -2435,7 +2469,7 @@ interface StreamCloseMessage {
2435
2469
  interface PingMessage {
2436
2470
  type: "ping";
2437
2471
  }
2438
- type ClientMessage = AuthMessage | SubscribeMessage | UnsubscribeMessage | StreamOpenMessage | StreamRowsMessage | StreamCloseMessage | PingMessage;
2472
+ type ClientMessage = AuthMessage | ReAuthMessage | SubscribeMessage | UnsubscribeMessage | StreamOpenMessage | StreamRowsMessage | StreamCloseMessage | PingMessage;
2439
2473
  interface AuthOkMessage {
2440
2474
  type: "auth_ok";
2441
2475
  user_id?: string;
@@ -2453,14 +2487,27 @@ interface SnapshotMessage {
2453
2487
  rows: unknown[];
2454
2488
  version: number;
2455
2489
  }
2490
+ interface SnapshotCompleteMessage {
2491
+ type: "snapshot_complete";
2492
+ id: string;
2493
+ version: number;
2494
+ row_count: number;
2495
+ }
2496
+ interface GapMessage {
2497
+ type: "gap";
2498
+ id: string;
2499
+ last_seq: number;
2500
+ discarded: number;
2501
+ }
2456
2502
  interface ChangeMessage {
2457
2503
  type: "change";
2458
2504
  id: string;
2459
- op: "insert" | "update" | "delete";
2505
+ op: "insert" | "update" | "delete" | "upsert";
2460
2506
  row?: unknown;
2461
2507
  prev?: unknown;
2462
2508
  key?: unknown;
2463
2509
  version: number;
2510
+ values_skipped?: number;
2464
2511
  }
2465
2512
  interface StreamAckMessage {
2466
2513
  type: "stream_ack";
@@ -2488,7 +2535,7 @@ interface ServerErrorMessage {
2488
2535
  interface PongMessage {
2489
2536
  type: "pong";
2490
2537
  }
2491
- type ServerMessage = AuthOkMessage | AuthErrorMessage | SnapshotMessage | ChangeMessage | StreamAckMessage | StreamReadyMessage | StreamClosedMessage | HeartbeatMessage | ServerErrorMessage | PongMessage;
2538
+ type ServerMessage = AuthOkMessage | AuthErrorMessage | SnapshotMessage | SnapshotCompleteMessage | GapMessage | ChangeMessage | StreamAckMessage | StreamReadyMessage | StreamClosedMessage | HeartbeatMessage | ServerErrorMessage | PongMessage;
2492
2539
 
2493
2540
  type StreamingMessageHandler = (message: ServerMessage) => void;
2494
2541
  interface StreamingTransport {
@@ -2509,11 +2556,12 @@ interface SubscriptionSnapshotEvent<T = Record<string, unknown>> {
2509
2556
  }
2510
2557
  interface SubscriptionChangeEvent<T = Record<string, unknown>> {
2511
2558
  type: "change";
2512
- op: "insert" | "update" | "delete";
2559
+ op: "insert" | "update" | "delete" | "upsert";
2513
2560
  row?: T;
2514
2561
  prev?: T;
2515
2562
  key?: unknown;
2516
2563
  version: number;
2564
+ values_skipped?: number;
2517
2565
  }
2518
2566
  type SubscriptionEvent<T = Record<string, unknown>> = SubscriptionSnapshotEvent<T> | SubscriptionChangeEvent<T>;
2519
2567
  interface SubscribeOptions<T = Record<string, unknown>> {
@@ -2521,6 +2569,7 @@ interface SubscribeOptions<T = Record<string, unknown>> {
2521
2569
  onChange?: (event: SubscriptionChangeEvent<T>) => void;
2522
2570
  onError?: (error: Error) => void;
2523
2571
  filter?: Record<string, unknown>;
2572
+ conflate?: ConflateOptions;
2524
2573
  }
2525
2574
  interface Subscription<T = Record<string, unknown>> extends AsyncIterable<SubscriptionEvent<T>> {
2526
2575
  readonly id: string;
@@ -2614,6 +2663,13 @@ interface QueryBuilderState {
2614
2663
  * All other types: passed through unchanged.
2615
2664
  */
2616
2665
  declare function coerceColumnarValue(value: unknown, typeName: string): unknown;
2666
+ /**
2667
+ * Converts columnar response data to an array of row objects.
2668
+ * Uses `response.types` to apply type-aware coercions (e.g. Timestamp ticks → ISO string).
2669
+ * @param response - The columnar response from the server.
2670
+ * @returns Array of row objects.
2671
+ */
2672
+ declare function columnarToRows<T>(response: ColumnarResponse): T[];
2617
2673
  /**
2618
2674
  * Fluent query builder for Aouda tables.
2619
2675
  *
@@ -3552,6 +3608,46 @@ declare class MaterializedQueriesApi {
3552
3608
  query(name: string, _options?: MaterializedQueryExecuteOptions): Promise<MaterializedQueryExecuteResult>;
3553
3609
  }
3554
3610
 
3611
+ /**
3612
+ * Hash-only named-query / named-mutation client API (D-5, D-28).
3613
+ */
3614
+
3615
+ interface NamedQueryExecuteOptions {
3616
+ signal?: AbortSignal;
3617
+ }
3618
+ interface NamedQueryBatchItem {
3619
+ hash: string;
3620
+ args?: Record<string, unknown>;
3621
+ }
3622
+ interface NamedQueryBatchSlotResult<T = Record<string, unknown>> {
3623
+ isError: boolean;
3624
+ code?: string;
3625
+ error?: string;
3626
+ result?: QueryResult<T>;
3627
+ }
3628
+ interface NamedMutationResult {
3629
+ op: string;
3630
+ rowsAffected: number;
3631
+ returning?: QueryResult<Record<string, unknown>>;
3632
+ warnings?: ResultWarning[];
3633
+ }
3634
+ type NamedArtifactWarningSink = (warning: NamedArtifactWarning) => void;
3635
+ declare class NamedQueriesApi {
3636
+ private readonly transport;
3637
+ private readonly database;
3638
+ private readonly onWarning;
3639
+ constructor(transport: Transport, database: string, onWarning: NamedArtifactWarningSink);
3640
+ execute<T = Record<string, unknown>>(hash: string, args?: Record<string, unknown>, options?: NamedQueryExecuteOptions): Promise<QueryResult<T>>;
3641
+ batch<T = Record<string, unknown>>(items: NamedQueryBatchItem[], options?: NamedQueryExecuteOptions): Promise<NamedQueryBatchSlotResult<T>[]>;
3642
+ }
3643
+ declare class NamedMutationsApi {
3644
+ private readonly transport;
3645
+ private readonly database;
3646
+ private readonly onWarning;
3647
+ constructor(transport: Transport, database: string, onWarning: NamedArtifactWarningSink);
3648
+ execute(hash: string, args?: Record<string, unknown>): Promise<NamedMutationResult>;
3649
+ }
3650
+
3555
3651
  /**
3556
3652
  * @aouda/client — AoudaClient implementation.
3557
3653
  */
@@ -3587,6 +3683,8 @@ declare class AoudaClient<S extends SchemaLike = DefaultSchema> {
3587
3683
  private readonly _branches;
3588
3684
  private readonly _admin;
3589
3685
  private readonly _materializedQueries;
3686
+ private readonly _namedQueries;
3687
+ private readonly _namedMutations;
3590
3688
  private readonly _auth;
3591
3689
  private readonly _authHandler;
3592
3690
  private readonly _streamingEnableCompression;
@@ -3694,6 +3792,14 @@ declare class AoudaClient<S extends SchemaLike = DefaultSchema> {
3694
3792
  * Materialized query lifecycle (list, create, drop, status, query).
3695
3793
  */
3696
3794
  get materializedQueries(): MaterializedQueriesApi;
3795
+ /**
3796
+ * Hash-only named-query execute and batch. Names are codegen aliases (D-5).
3797
+ */
3798
+ get namedQueries(): NamedQueriesApi;
3799
+ /**
3800
+ * Hash-only named-mutation execute. No batch.
3801
+ */
3802
+ get namedMutations(): NamedMutationsApi;
3697
3803
  /**
3698
3804
  * Access auth operations (signUp, signIn, signOut, refresh, me, changePassword).
3699
3805
  * @returns The auth API.
@@ -3794,4 +3900,4 @@ declare class AoudaClient<S extends SchemaLike = DefaultSchema> {
3794
3900
  */
3795
3901
  declare function createAoudaClient<S extends SchemaLike = DefaultSchema>(options: AoudaClientOptions): AoudaClient<S>;
3796
3902
 
3797
- 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 TableSchemaResponse as b$, type MetricsSummary as b0, type MutationResult as b1, NodeAdminApi as b2, type NodeLogEntry as b3, type NodeLogLevel as b4, type NodeLogStreamOptions as b5, type NodeLogsQuery as b6, type NodeLogsResponse as b7, type OpenWriteStreamOptions as b8, type PageCacheMetrics as b9, type SchemaChange as bA, type SchemaChangeType as bB, type SchemaDiffResult as bC, type SchemaRelationshipsResponse as bD, type SeedApplyResult as bE, type SeedTableApplyResult as bF, ServerAdminApi as bG, type ServerAuthOptions as bH, type ServerMemoryResponse as bI, type ServerMetricsResponse as bJ, type ServiceInfo as bK, type SimdMetrics as bL, type SingleDatabaseMetricsResponse as bM, type SortDirection as bN, type StorageMetrics as bO, type SubscribeOptions as bP, type Subscription as bQ, type SubscriptionChangeEvent as bR, type SubscriptionEvent as bS, type SubscriptionInfo as bT, type SubscriptionSnapshotEvent as bU, TIME_BUCKET_FUNCTIONS as bV, type TableCoverageEntry as bW, type TableNameFromSchema as bX, type TablePolicy as bY, TableQuery as bZ, type TableSchema as b_, type PartitionFunction as ba, type PartitionGrant as bb, type PartitionGrantsListResponse as bc, type PartitioningMetrics as bd, type PendingJobListResponse as be, type PendingJobResponse as bf, type PerDatabaseLagEntry as bg, type PerDatabaseMetrics as bh, type PerDatabaseStatusEntry as bi, type QueryMetrics as bj, type QueryResult as bk, type QueryStats as bl, type ReferenceInfo as bm, type RelationshipEndpoint as bn, type RelationshipInfo as bo, type RenameColumnRequest as bp, type RenameTableRequest as bq, type ReorderColumnsRequest as br, ReplicationAdminApi as bs, type ReplicationMetrics as bt, type ResidencyConfig as bu, RetryPolicy as bv, type RlsResolver as bw, type RlsResolverRule as bx, type RlsResolverRuleInput as by, type RlsResolversListResponse as bz, type ReadinessResponse as c, type TableSummary as c0, type TableSummaryForErd as c1, TablesApi as c2, type TimeBucketFunction as c3, type TimeSeriesMetrics as c4, type TransactionMetrics as c5, type TypeGenerationOptions as c6, type UpdateOptions as c7, type UpdateRlsResolverRequest as c8, type UpdateTableOptionsRequest as c9, type UpdateTablePolicyRequest as ca, type UserProfile as cb, type WalMetrics as cc, WhereGroupBuilder as cd, type WhereOperator as ce, type WriteStream as cf, coerceColumnarValue as cg, createAoudaClient as ch, 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 };
3903
+ 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 SubscriptionInfo as b$, type MetricsSummary as b0, type MutationResult as b1, type NamedArtifactWarning as b2, type NamedMutationResult as b3, NamedMutationsApi as b4, NamedQueriesApi as b5, type NamedQueryBatchItem as b6, type NamedQueryBatchSlotResult as b7, type NamedQueryExecuteOptions as b8, NodeAdminApi as b9, type ReplicationMetrics as bA, type ResidencyConfig as bB, type ResultWarning as bC, RetryPolicy as bD, type RlsResolver as bE, type RlsResolverRule as bF, type RlsResolverRuleInput as bG, type RlsResolversListResponse as bH, type SchemaChange as bI, type SchemaChangeType as bJ, type SchemaDiffResult as bK, type SchemaRelationshipsResponse as bL, type SeedApplyResult as bM, type SeedTableApplyResult as bN, ServerAdminApi as bO, type ServerAuthOptions as bP, type ServerMemoryResponse as bQ, type ServerMetricsResponse as bR, type ServiceInfo as bS, type SimdMetrics as bT, type SingleDatabaseMetricsResponse as bU, type SortDirection as bV, type StorageMetrics as bW, type SubscribeOptions as bX, type Subscription as bY, type SubscriptionChangeEvent as bZ, type SubscriptionEvent as b_, type NodeLogEntry as ba, type NodeLogLevel as bb, type NodeLogStreamOptions as bc, type NodeLogsQuery as bd, type NodeLogsResponse as be, type OpenWriteStreamOptions as bf, type PageCacheMetrics as bg, type PartitionFunction as bh, type PartitionGrant as bi, type PartitionGrantsListResponse as bj, type PartitioningMetrics as bk, type PendingJobListResponse as bl, type PendingJobResponse as bm, type PerDatabaseLagEntry as bn, type PerDatabaseMetrics as bo, type PerDatabaseStatusEntry as bp, type QueryMetrics as bq, type QueryResult as br, type QueryStats as bs, type ReferenceInfo as bt, type RelationshipEndpoint as bu, type RelationshipInfo as bv, type RenameColumnRequest as bw, type RenameTableRequest as bx, type ReorderColumnsRequest as by, ReplicationAdminApi as bz, type ReadinessResponse as c, type SubscriptionSnapshotEvent as c0, TIME_BUCKET_FUNCTIONS as c1, type TableCoverageEntry as c2, type TableNameFromSchema as c3, type TablePolicy as c4, TableQuery as c5, type TableSchema as c6, type TableSchemaResponse as c7, type TableSummary as c8, type TableSummaryForErd as c9, TablesApi as ca, type TimeBucketFunction as cb, type TimeSeriesMetrics as cc, type TransactionMetrics as cd, type TypeGenerationOptions as ce, type UpdateOptions as cf, type UpdateRlsResolverRequest as cg, type UpdateTableOptionsRequest as ch, type UpdateTablePolicyRequest as ci, type UserProfile as cj, type WalMetrics as ck, WhereGroupBuilder as cl, type WhereOperator as cm, type WriteStream as cn, coerceColumnarValue as co, columnarToRows as cp, createAoudaClient as cq, 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 };