@aouda/client 0.1.1 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1714,6 +1714,8 @@ interface BackupSummary {
1714
1714
  newBytes: number;
1715
1715
  fileCount: number;
1716
1716
  newFileCount: number;
1717
+ /** Database names included in this backup run. Present on server >= 0.0.x. */
1718
+ databases?: string[];
1717
1719
  }
1718
1720
  interface ListBackupsResponse {
1719
1721
  backups: BackupSummary[];
@@ -3210,6 +3212,30 @@ declare class BranchesApi {
3210
3212
  * Materialized query HTTP API (`/api/databases/{db}/materialized-queries`).
3211
3213
  */
3212
3214
 
3215
+ /**
3216
+ * Filter comparison operators used in Filter materialized query predicates.
3217
+ * These are the raw wire-protocol strings sent directly in the configJson.
3218
+ */
3219
+ declare const FILTER_OPERATORS: readonly ["eq", "ne", "gt", "gte", "lt", "lte"];
3220
+ /** Comparison operator for a Filter materialized query predicate condition. */
3221
+ type FilterOperator = (typeof FILTER_OPERATORS)[number];
3222
+ /**
3223
+ * Aggregate functions supported by Aggregate materialized queries.
3224
+ * `first` and `last` require an `orderByColumn` to determine row ordering within each group.
3225
+ */
3226
+ declare const AGGREGATE_FUNCTIONS: readonly ["count", "sum", "average", "min", "max", "first", "last"];
3227
+ /** Aggregate function name for an aggregate column in an Aggregate materialized query config. */
3228
+ type AggregateFunctionName = (typeof AGGREGATE_FUNCTIONS)[number];
3229
+ /**
3230
+ * Time-bucket truncation functions for group-by expressions in Aggregate materialized queries.
3231
+ * Applied to timestamp columns to roll rows up into fixed time intervals.
3232
+ *
3233
+ * Note: casing is camelCase per the wire protocol for aggregate config — distinct from
3234
+ * `PartitionFunction` (PascalCase) used for table-level column partitioning.
3235
+ */
3236
+ declare const TIME_BUCKET_FUNCTIONS: readonly ["truncateToMinute", "truncateToHour", "truncateToDay", "truncateToWeek", "truncateToMonth", "truncateToYear"];
3237
+ /** Time-bucket truncation function for a group-by expression in an Aggregate materialized query. */
3238
+ type TimeBucketFunction = (typeof TIME_BUCKET_FUNCTIONS)[number];
3213
3239
  /** Matches server `MaterializedQueryType` enum (numeric). */
3214
3240
  declare const MaterializedQueryType: {
3215
3241
  readonly LatestPerKey: 1;
@@ -3529,4 +3555,4 @@ declare class AoudaClient<S extends SchemaLike = DefaultSchema> {
3529
3555
  */
3530
3556
  declare function createAoudaClient<S extends SchemaLike = DefaultSchema>(options: AoudaClientOptions): AoudaClient<S>;
3531
3557
 
3532
- export { type BulkLoadForceAbortRequest as $, AoudaClient as A, type BulkLoadOptions as B, type CoverageResponse as C, type DetailedHealthResponse as D, type AoudaDataType as E, type FailoverClusterResponse as F, type AppAuthOptions as G, type HealthStatus as H, AuthClient as I, type JoinClusterRequest as J, type AuthResult as K, type ListBackupsResponse as L, type AuthUserInfo as M, type NodeInfoResponse as N, type AuthorizationMode as O, type PromoteClusterResponse as P, BackupAdminApi as Q, type ReplicationStatusResponse as R, type SchemaLike as S, type Transport as T, type BackupMetrics as U, type BackupSummary as V, type BatchMutationResult as W, type BatchOperationInput as X, type BloomFilterMetrics as Y, type BranchInfo as Z, BranchesApi as _, type BulkLoadJobHandle as a, type NodeLogsQuery as a$, type BulkLoadForceAbortResponse as a0, type BulkLoadListResponse as a1, type BulkLoadProgress as a2, type BulkLoadReplicaProgress as a3, type BulkLoadReplicaProgressDto as a4, type BulkLoadStatusResponse as a5, CircuitBreakerPolicy as a6, ClusterAdminApi as a7, type ClusterMemberEntry as a8, type ClusterThisNodeEntry as a9, MaterializedQueriesApi as aA, type MaterializedQueryDefinition as aB, type MaterializedQueryExecuteOptions as aC, type MaterializedQueryExecuteResult as aD, type MaterializedQueryMetrics as aE, type MaterializedQueryRefreshOptions as aF, MaterializedQueryState as aG, type MaterializedQueryStateNumber as aH, type MaterializedQueryStatus as aI, MaterializedQueryType as aJ, type MaterializedQueryTypeNumber as aK, type MemberInfo as aL, type MemoryMetrics as aM, type MergeBranchOptions as aN, type MergeConflict as aO, type MergeExecutionResult as aP, type MergeResult as aQ, MetricsAdminApi as aR, type MetricsHistory as aS, type MetricsHistoryOptions as aT, type MetricsSnapshot as aU, type MetricsSummary as aV, type MutationResult as aW, NodeAdminApi as aX, type NodeLogEntry as aY, type NodeLogLevel as aZ, type NodeLogStreamOptions as a_, type ColumnSchema as aa, type ColumnSummaryForErd as ab, type ColumnarResponse as ac, type ComponentHealthEntry as ad, type ComputedColumnDef as ae, ConfigAdminApi as af, type CreateBranchRequest as ag, type CreateColumnRequest as ah, type CreateDatabaseOptions as ai, type CreatePartitionGrantRequest as aj, type CreateRlsResolverRequest as ak, type CreateTableRequest as al, type DatabaseCoverageEntry as am, type DatabaseInfo as an, type DatabaseMemoryMetrics as ao, type DatabaseMemoryUsage as ap, type DatabaseMetricsDto as aq, type DatabaseOptionsInfo as ar, DatabasesApi as as, type DeleteOptions as at, type DiffSummary as au, HealthAdminApi as av, type IndexInfo as aw, type InsertResult as ax, type IoMetrics as ay, type LatencyPercentiles as az, type TopologyResponse as b, type WhereOperator as b$, type NodeLogsResponse as b0, type OpenWriteStreamOptions as b1, type PageCacheMetrics as b2, type PartitionGrant as b3, type PartitionGrantsListResponse as b4, type PartitioningMetrics as b5, type PerDatabaseLagEntry as b6, type PerDatabaseMetrics as b7, type PerDatabaseStatusEntry as b8, type QueryMetrics as b9, type SingleDatabaseMetricsResponse as bA, type SortDirection as bB, type StorageMetrics as bC, type SubscribeOptions as bD, type Subscription as bE, type SubscriptionChangeEvent as bF, type SubscriptionEvent as bG, type SubscriptionInfo as bH, type SubscriptionSnapshotEvent as bI, type TableCoverageEntry as bJ, type TableNameFromSchema as bK, type TablePolicy as bL, TableQuery as bM, type TableSchema as bN, type TableSchemaResponse as bO, type TableSummary as bP, type TableSummaryForErd as bQ, TablesApi as bR, type TimeSeriesMetrics as bS, type TransactionMetrics as bT, type TypeGenerationOptions as bU, type UpdateOptions as bV, type UpdateRlsResolverRequest as bW, type UpdateTableOptionsRequest as bX, type UpdateTablePolicyRequest as bY, type UserProfile as bZ, WhereGroupBuilder as b_, type QueryResult as ba, type QueryStats as bb, type ReferenceInfo as bc, type RelationshipEndpoint as bd, type RelationshipInfo as be, type RenameColumnRequest as bf, type RenameTableRequest as bg, ReplicationAdminApi as bh, type ReplicationMetrics as bi, type ResidencyConfig as bj, RetryPolicy as bk, type RlsResolver as bl, type RlsResolverRule as bm, type RlsResolverRuleInput as bn, type RlsResolversListResponse as bo, type SchemaChange as bp, type SchemaDiffResult as bq, type SchemaRelationshipsResponse as br, type SeedApplyResult as bs, type SeedTableApplyResult as bt, ServerAdminApi as bu, type ServerAuthOptions as bv, type ServerMemoryResponse as bw, type ServerMetricsResponse as bx, type ServiceInfo as by, type SimdMetrics as bz, type ReadinessResponse as c, type WriteStream as c0, coerceColumnarValue as c1, createAoudaClient as c2, 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, AOUDA_DATA_TYPES as n, type AddColumnRequest as o, AdminApi as p, type AdminBackupConfig as q, type AdminBackupPatch as r, type AdminConfigPatchRequest as s, type AdminConfigResponse as t, type AdminConfigSchemaResponse as u, type AdminLoggingConfig as v, type AdminLoggingPatch as w, type AdminMemoryConfig as x, type AdminMemoryPatch as y, type AoudaClientOptions as z };
3558
+ export { type BranchInfo 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 AoudaClientOptions as G, type HealthStatus as H, type AoudaDataType as I, type JoinClusterRequest as J, type AppAuthOptions as K, type ListBackupsResponse as L, AuthClient as M, type NodeInfoResponse as N, type AuthResult as O, type PromoteClusterResponse as P, type AuthUserInfo as Q, type ReplicationStatusResponse as R, type SchemaLike as S, type Transport as T, type AuthorizationMode as U, BackupAdminApi as V, type BackupMetrics as W, type BackupSummary as X, type BatchMutationResult as Y, type BatchOperationInput as Z, type BloomFilterMetrics as _, type BulkLoadJobHandle as a, NodeAdminApi as a$, BranchesApi as a0, type BulkLoadForceAbortRequest as a1, type BulkLoadForceAbortResponse as a2, type BulkLoadListResponse as a3, type BulkLoadProgress as a4, type BulkLoadReplicaProgress as a5, type BulkLoadReplicaProgressDto as a6, type BulkLoadStatusResponse as a7, CircuitBreakerPolicy as a8, ClusterAdminApi as a9, type IndexInfo as aA, type InsertResult as aB, type IoMetrics as aC, type LatencyPercentiles as aD, MaterializedQueriesApi as aE, type MaterializedQueryDefinition as aF, type MaterializedQueryExecuteOptions as aG, type MaterializedQueryExecuteResult as aH, type MaterializedQueryMetrics as aI, type MaterializedQueryRefreshOptions as aJ, MaterializedQueryState as aK, type MaterializedQueryStateNumber as aL, type MaterializedQueryStatus as aM, MaterializedQueryType as aN, type MaterializedQueryTypeNumber as aO, type MemberInfo as aP, type MemoryMetrics as aQ, type MergeBranchOptions as aR, type MergeConflict as aS, type MergeExecutionResult as aT, type MergeResult as aU, MetricsAdminApi as aV, type MetricsHistory as aW, type MetricsHistoryOptions as aX, type MetricsSnapshot as aY, type MetricsSummary as aZ, type MutationResult as a_, type ClusterMemberEntry as aa, type ClusterThisNodeEntry as ab, type ColumnSchema as ac, type ColumnSummaryForErd as ad, type ColumnarResponse as ae, type ComponentHealthEntry as af, type ComputedColumnDef as ag, ConfigAdminApi as ah, type CreateBranchRequest as ai, type CreateColumnRequest as aj, type CreateDatabaseOptions as ak, type CreatePartitionGrantRequest as al, type CreateRlsResolverRequest as am, type CreateTableRequest as an, type DatabaseCoverageEntry as ao, type DatabaseInfo as ap, type DatabaseMemoryMetrics as aq, type DatabaseMemoryUsage as ar, type DatabaseMetricsDto as as, type DatabaseOptionsInfo as at, DatabasesApi as au, type DeleteOptions as av, type DiffSummary as aw, FILTER_OPERATORS as ax, type FilterOperator as ay, HealthAdminApi as az, type TopologyResponse as b, type TypeGenerationOptions as b$, type NodeLogEntry as b0, type NodeLogLevel as b1, type NodeLogStreamOptions as b2, type NodeLogsQuery as b3, type NodeLogsResponse as b4, type OpenWriteStreamOptions as b5, type PageCacheMetrics as b6, type PartitionFunction as b7, type PartitionGrant as b8, type PartitionGrantsListResponse as b9, type ServerAuthOptions as bA, type ServerMemoryResponse as bB, type ServerMetricsResponse as bC, type ServiceInfo as bD, type SimdMetrics as bE, type SingleDatabaseMetricsResponse as bF, type SortDirection as bG, type StorageMetrics as bH, type SubscribeOptions as bI, type Subscription as bJ, type SubscriptionChangeEvent as bK, type SubscriptionEvent as bL, type SubscriptionInfo as bM, type SubscriptionSnapshotEvent as bN, TIME_BUCKET_FUNCTIONS as bO, type TableCoverageEntry as bP, type TableNameFromSchema as bQ, type TablePolicy as bR, TableQuery as bS, type TableSchema as bT, type TableSchemaResponse as bU, type TableSummary as bV, type TableSummaryForErd as bW, TablesApi as bX, type TimeBucketFunction as bY, type TimeSeriesMetrics as bZ, type TransactionMetrics as b_, type PartitioningMetrics as ba, type PerDatabaseLagEntry as bb, type PerDatabaseMetrics as bc, type PerDatabaseStatusEntry as bd, type QueryMetrics as be, type QueryResult as bf, type QueryStats as bg, type ReferenceInfo as bh, type RelationshipEndpoint as bi, type RelationshipInfo as bj, type RenameColumnRequest as bk, type RenameTableRequest as bl, ReplicationAdminApi as bm, type ReplicationMetrics as bn, type ResidencyConfig as bo, RetryPolicy as bp, type RlsResolver as bq, type RlsResolverRule as br, type RlsResolverRuleInput as bs, type RlsResolversListResponse as bt, type SchemaChange as bu, type SchemaDiffResult as bv, type SchemaRelationshipsResponse as bw, type SeedApplyResult as bx, type SeedTableApplyResult as by, ServerAdminApi as bz, type ReadinessResponse as c, type UpdateOptions as c0, type UpdateRlsResolverRequest as c1, type UpdateTableOptionsRequest as c2, type UpdateTablePolicyRequest as c3, type UserProfile as c4, WhereGroupBuilder as c5, type WhereOperator as c6, type WriteStream as c7, coerceColumnarValue as c8, createAoudaClient as c9, 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 };
@@ -1714,6 +1714,8 @@ interface BackupSummary {
1714
1714
  newBytes: number;
1715
1715
  fileCount: number;
1716
1716
  newFileCount: number;
1717
+ /** Database names included in this backup run. Present on server >= 0.0.x. */
1718
+ databases?: string[];
1717
1719
  }
1718
1720
  interface ListBackupsResponse {
1719
1721
  backups: BackupSummary[];
@@ -3210,6 +3212,30 @@ declare class BranchesApi {
3210
3212
  * Materialized query HTTP API (`/api/databases/{db}/materialized-queries`).
3211
3213
  */
3212
3214
 
3215
+ /**
3216
+ * Filter comparison operators used in Filter materialized query predicates.
3217
+ * These are the raw wire-protocol strings sent directly in the configJson.
3218
+ */
3219
+ declare const FILTER_OPERATORS: readonly ["eq", "ne", "gt", "gte", "lt", "lte"];
3220
+ /** Comparison operator for a Filter materialized query predicate condition. */
3221
+ type FilterOperator = (typeof FILTER_OPERATORS)[number];
3222
+ /**
3223
+ * Aggregate functions supported by Aggregate materialized queries.
3224
+ * `first` and `last` require an `orderByColumn` to determine row ordering within each group.
3225
+ */
3226
+ declare const AGGREGATE_FUNCTIONS: readonly ["count", "sum", "average", "min", "max", "first", "last"];
3227
+ /** Aggregate function name for an aggregate column in an Aggregate materialized query config. */
3228
+ type AggregateFunctionName = (typeof AGGREGATE_FUNCTIONS)[number];
3229
+ /**
3230
+ * Time-bucket truncation functions for group-by expressions in Aggregate materialized queries.
3231
+ * Applied to timestamp columns to roll rows up into fixed time intervals.
3232
+ *
3233
+ * Note: casing is camelCase per the wire protocol for aggregate config — distinct from
3234
+ * `PartitionFunction` (PascalCase) used for table-level column partitioning.
3235
+ */
3236
+ declare const TIME_BUCKET_FUNCTIONS: readonly ["truncateToMinute", "truncateToHour", "truncateToDay", "truncateToWeek", "truncateToMonth", "truncateToYear"];
3237
+ /** Time-bucket truncation function for a group-by expression in an Aggregate materialized query. */
3238
+ type TimeBucketFunction = (typeof TIME_BUCKET_FUNCTIONS)[number];
3213
3239
  /** Matches server `MaterializedQueryType` enum (numeric). */
3214
3240
  declare const MaterializedQueryType: {
3215
3241
  readonly LatestPerKey: 1;
@@ -3529,4 +3555,4 @@ declare class AoudaClient<S extends SchemaLike = DefaultSchema> {
3529
3555
  */
3530
3556
  declare function createAoudaClient<S extends SchemaLike = DefaultSchema>(options: AoudaClientOptions): AoudaClient<S>;
3531
3557
 
3532
- export { type BulkLoadForceAbortRequest as $, AoudaClient as A, type BulkLoadOptions as B, type CoverageResponse as C, type DetailedHealthResponse as D, type AoudaDataType as E, type FailoverClusterResponse as F, type AppAuthOptions as G, type HealthStatus as H, AuthClient as I, type JoinClusterRequest as J, type AuthResult as K, type ListBackupsResponse as L, type AuthUserInfo as M, type NodeInfoResponse as N, type AuthorizationMode as O, type PromoteClusterResponse as P, BackupAdminApi as Q, type ReplicationStatusResponse as R, type SchemaLike as S, type Transport as T, type BackupMetrics as U, type BackupSummary as V, type BatchMutationResult as W, type BatchOperationInput as X, type BloomFilterMetrics as Y, type BranchInfo as Z, BranchesApi as _, type BulkLoadJobHandle as a, type NodeLogsQuery as a$, type BulkLoadForceAbortResponse as a0, type BulkLoadListResponse as a1, type BulkLoadProgress as a2, type BulkLoadReplicaProgress as a3, type BulkLoadReplicaProgressDto as a4, type BulkLoadStatusResponse as a5, CircuitBreakerPolicy as a6, ClusterAdminApi as a7, type ClusterMemberEntry as a8, type ClusterThisNodeEntry as a9, MaterializedQueriesApi as aA, type MaterializedQueryDefinition as aB, type MaterializedQueryExecuteOptions as aC, type MaterializedQueryExecuteResult as aD, type MaterializedQueryMetrics as aE, type MaterializedQueryRefreshOptions as aF, MaterializedQueryState as aG, type MaterializedQueryStateNumber as aH, type MaterializedQueryStatus as aI, MaterializedQueryType as aJ, type MaterializedQueryTypeNumber as aK, type MemberInfo as aL, type MemoryMetrics as aM, type MergeBranchOptions as aN, type MergeConflict as aO, type MergeExecutionResult as aP, type MergeResult as aQ, MetricsAdminApi as aR, type MetricsHistory as aS, type MetricsHistoryOptions as aT, type MetricsSnapshot as aU, type MetricsSummary as aV, type MutationResult as aW, NodeAdminApi as aX, type NodeLogEntry as aY, type NodeLogLevel as aZ, type NodeLogStreamOptions as a_, type ColumnSchema as aa, type ColumnSummaryForErd as ab, type ColumnarResponse as ac, type ComponentHealthEntry as ad, type ComputedColumnDef as ae, ConfigAdminApi as af, type CreateBranchRequest as ag, type CreateColumnRequest as ah, type CreateDatabaseOptions as ai, type CreatePartitionGrantRequest as aj, type CreateRlsResolverRequest as ak, type CreateTableRequest as al, type DatabaseCoverageEntry as am, type DatabaseInfo as an, type DatabaseMemoryMetrics as ao, type DatabaseMemoryUsage as ap, type DatabaseMetricsDto as aq, type DatabaseOptionsInfo as ar, DatabasesApi as as, type DeleteOptions as at, type DiffSummary as au, HealthAdminApi as av, type IndexInfo as aw, type InsertResult as ax, type IoMetrics as ay, type LatencyPercentiles as az, type TopologyResponse as b, type WhereOperator as b$, type NodeLogsResponse as b0, type OpenWriteStreamOptions as b1, type PageCacheMetrics as b2, type PartitionGrant as b3, type PartitionGrantsListResponse as b4, type PartitioningMetrics as b5, type PerDatabaseLagEntry as b6, type PerDatabaseMetrics as b7, type PerDatabaseStatusEntry as b8, type QueryMetrics as b9, type SingleDatabaseMetricsResponse as bA, type SortDirection as bB, type StorageMetrics as bC, type SubscribeOptions as bD, type Subscription as bE, type SubscriptionChangeEvent as bF, type SubscriptionEvent as bG, type SubscriptionInfo as bH, type SubscriptionSnapshotEvent as bI, type TableCoverageEntry as bJ, type TableNameFromSchema as bK, type TablePolicy as bL, TableQuery as bM, type TableSchema as bN, type TableSchemaResponse as bO, type TableSummary as bP, type TableSummaryForErd as bQ, TablesApi as bR, type TimeSeriesMetrics as bS, type TransactionMetrics as bT, type TypeGenerationOptions as bU, type UpdateOptions as bV, type UpdateRlsResolverRequest as bW, type UpdateTableOptionsRequest as bX, type UpdateTablePolicyRequest as bY, type UserProfile as bZ, WhereGroupBuilder as b_, type QueryResult as ba, type QueryStats as bb, type ReferenceInfo as bc, type RelationshipEndpoint as bd, type RelationshipInfo as be, type RenameColumnRequest as bf, type RenameTableRequest as bg, ReplicationAdminApi as bh, type ReplicationMetrics as bi, type ResidencyConfig as bj, RetryPolicy as bk, type RlsResolver as bl, type RlsResolverRule as bm, type RlsResolverRuleInput as bn, type RlsResolversListResponse as bo, type SchemaChange as bp, type SchemaDiffResult as bq, type SchemaRelationshipsResponse as br, type SeedApplyResult as bs, type SeedTableApplyResult as bt, ServerAdminApi as bu, type ServerAuthOptions as bv, type ServerMemoryResponse as bw, type ServerMetricsResponse as bx, type ServiceInfo as by, type SimdMetrics as bz, type ReadinessResponse as c, type WriteStream as c0, coerceColumnarValue as c1, createAoudaClient as c2, 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, AOUDA_DATA_TYPES as n, type AddColumnRequest as o, AdminApi as p, type AdminBackupConfig as q, type AdminBackupPatch as r, type AdminConfigPatchRequest as s, type AdminConfigResponse as t, type AdminConfigSchemaResponse as u, type AdminLoggingConfig as v, type AdminLoggingPatch as w, type AdminMemoryConfig as x, type AdminMemoryPatch as y, type AoudaClientOptions as z };
3558
+ export { type BranchInfo 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 AoudaClientOptions as G, type HealthStatus as H, type AoudaDataType as I, type JoinClusterRequest as J, type AppAuthOptions as K, type ListBackupsResponse as L, AuthClient as M, type NodeInfoResponse as N, type AuthResult as O, type PromoteClusterResponse as P, type AuthUserInfo as Q, type ReplicationStatusResponse as R, type SchemaLike as S, type Transport as T, type AuthorizationMode as U, BackupAdminApi as V, type BackupMetrics as W, type BackupSummary as X, type BatchMutationResult as Y, type BatchOperationInput as Z, type BloomFilterMetrics as _, type BulkLoadJobHandle as a, NodeAdminApi as a$, BranchesApi as a0, type BulkLoadForceAbortRequest as a1, type BulkLoadForceAbortResponse as a2, type BulkLoadListResponse as a3, type BulkLoadProgress as a4, type BulkLoadReplicaProgress as a5, type BulkLoadReplicaProgressDto as a6, type BulkLoadStatusResponse as a7, CircuitBreakerPolicy as a8, ClusterAdminApi as a9, type IndexInfo as aA, type InsertResult as aB, type IoMetrics as aC, type LatencyPercentiles as aD, MaterializedQueriesApi as aE, type MaterializedQueryDefinition as aF, type MaterializedQueryExecuteOptions as aG, type MaterializedQueryExecuteResult as aH, type MaterializedQueryMetrics as aI, type MaterializedQueryRefreshOptions as aJ, MaterializedQueryState as aK, type MaterializedQueryStateNumber as aL, type MaterializedQueryStatus as aM, MaterializedQueryType as aN, type MaterializedQueryTypeNumber as aO, type MemberInfo as aP, type MemoryMetrics as aQ, type MergeBranchOptions as aR, type MergeConflict as aS, type MergeExecutionResult as aT, type MergeResult as aU, MetricsAdminApi as aV, type MetricsHistory as aW, type MetricsHistoryOptions as aX, type MetricsSnapshot as aY, type MetricsSummary as aZ, type MutationResult as a_, type ClusterMemberEntry as aa, type ClusterThisNodeEntry as ab, type ColumnSchema as ac, type ColumnSummaryForErd as ad, type ColumnarResponse as ae, type ComponentHealthEntry as af, type ComputedColumnDef as ag, ConfigAdminApi as ah, type CreateBranchRequest as ai, type CreateColumnRequest as aj, type CreateDatabaseOptions as ak, type CreatePartitionGrantRequest as al, type CreateRlsResolverRequest as am, type CreateTableRequest as an, type DatabaseCoverageEntry as ao, type DatabaseInfo as ap, type DatabaseMemoryMetrics as aq, type DatabaseMemoryUsage as ar, type DatabaseMetricsDto as as, type DatabaseOptionsInfo as at, DatabasesApi as au, type DeleteOptions as av, type DiffSummary as aw, FILTER_OPERATORS as ax, type FilterOperator as ay, HealthAdminApi as az, type TopologyResponse as b, type TypeGenerationOptions as b$, type NodeLogEntry as b0, type NodeLogLevel as b1, type NodeLogStreamOptions as b2, type NodeLogsQuery as b3, type NodeLogsResponse as b4, type OpenWriteStreamOptions as b5, type PageCacheMetrics as b6, type PartitionFunction as b7, type PartitionGrant as b8, type PartitionGrantsListResponse as b9, type ServerAuthOptions as bA, type ServerMemoryResponse as bB, type ServerMetricsResponse as bC, type ServiceInfo as bD, type SimdMetrics as bE, type SingleDatabaseMetricsResponse as bF, type SortDirection as bG, type StorageMetrics as bH, type SubscribeOptions as bI, type Subscription as bJ, type SubscriptionChangeEvent as bK, type SubscriptionEvent as bL, type SubscriptionInfo as bM, type SubscriptionSnapshotEvent as bN, TIME_BUCKET_FUNCTIONS as bO, type TableCoverageEntry as bP, type TableNameFromSchema as bQ, type TablePolicy as bR, TableQuery as bS, type TableSchema as bT, type TableSchemaResponse as bU, type TableSummary as bV, type TableSummaryForErd as bW, TablesApi as bX, type TimeBucketFunction as bY, type TimeSeriesMetrics as bZ, type TransactionMetrics as b_, type PartitioningMetrics as ba, type PerDatabaseLagEntry as bb, type PerDatabaseMetrics as bc, type PerDatabaseStatusEntry as bd, type QueryMetrics as be, type QueryResult as bf, type QueryStats as bg, type ReferenceInfo as bh, type RelationshipEndpoint as bi, type RelationshipInfo as bj, type RenameColumnRequest as bk, type RenameTableRequest as bl, ReplicationAdminApi as bm, type ReplicationMetrics as bn, type ResidencyConfig as bo, RetryPolicy as bp, type RlsResolver as bq, type RlsResolverRule as br, type RlsResolverRuleInput as bs, type RlsResolversListResponse as bt, type SchemaChange as bu, type SchemaDiffResult as bv, type SchemaRelationshipsResponse as bw, type SeedApplyResult as bx, type SeedTableApplyResult as by, ServerAdminApi as bz, type ReadinessResponse as c, type UpdateOptions as c0, type UpdateRlsResolverRequest as c1, type UpdateTableOptionsRequest as c2, type UpdateTablePolicyRequest as c3, type UserProfile as c4, WhereGroupBuilder as c5, type WhereOperator as c6, type WriteStream as c7, coerceColumnarValue as c8, createAoudaClient as c9, 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 };
package/dist/index.cjs CHANGED
@@ -30,6 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var index_exports = {};
32
32
  __export(index_exports, {
33
+ AGGREGATE_FUNCTIONS: () => AGGREGATE_FUNCTIONS,
33
34
  AOUDA_DATA_TYPES: () => AOUDA_DATA_TYPES,
34
35
  AdminApi: () => AdminApi,
35
36
  AoudaApiError: () => AoudaApiError,
@@ -53,6 +54,7 @@ __export(index_exports, {
53
54
  ClusterAdminApi: () => ClusterAdminApi,
54
55
  ConfigAdminApi: () => ConfigAdminApi,
55
56
  DatabasesApi: () => DatabasesApi,
57
+ FILTER_OPERATORS: () => FILTER_OPERATORS,
56
58
  HealthAdminApi: () => HealthAdminApi,
57
59
  MaterializedQueriesApi: () => MaterializedQueriesApi,
58
60
  MaterializedQueryState: () => MaterializedQueryState,
@@ -62,6 +64,7 @@ __export(index_exports, {
62
64
  ReplicationAdminApi: () => ReplicationAdminApi,
63
65
  RetryPolicy: () => RetryPolicy,
64
66
  ServerAdminApi: () => ServerAdminApi,
67
+ TIME_BUCKET_FUNCTIONS: () => TIME_BUCKET_FUNCTIONS,
65
68
  TableQuery: () => TableQuery,
66
69
  TablesApi: () => TablesApi,
67
70
  WhereGroupBuilder: () => WhereGroupBuilder,
@@ -79,7 +82,7 @@ module.exports = __toCommonJS(index_exports);
79
82
  // package.json
80
83
  var package_default = {
81
84
  name: "@aouda/client",
82
- version: "0.1.1",
85
+ version: "0.1.4",
83
86
  description: "Official TypeScript/JavaScript client library for Aouda",
84
87
  type: "module",
85
88
  main: "./dist/index.cjs",
@@ -4361,6 +4364,24 @@ var AdminApi = class {
4361
4364
  };
4362
4365
 
4363
4366
  // src/materialized.ts
4367
+ var FILTER_OPERATORS = ["eq", "ne", "gt", "gte", "lt", "lte"];
4368
+ var AGGREGATE_FUNCTIONS = [
4369
+ "count",
4370
+ "sum",
4371
+ "average",
4372
+ "min",
4373
+ "max",
4374
+ "first",
4375
+ "last"
4376
+ ];
4377
+ var TIME_BUCKET_FUNCTIONS = [
4378
+ "truncateToMinute",
4379
+ "truncateToHour",
4380
+ "truncateToDay",
4381
+ "truncateToWeek",
4382
+ "truncateToMonth",
4383
+ "truncateToYear"
4384
+ ];
4364
4385
  var MaterializedQueryType = {
4365
4386
  LatestPerKey: 1,
4366
4387
  FirstPerKey: 2,
@@ -5726,6 +5747,7 @@ function createAoudaClusterMcpToolSet(client) {
5726
5747
  var version = package_default.version;
5727
5748
  // Annotate the CommonJS export names for ESM import in node:
5728
5749
  0 && (module.exports = {
5750
+ AGGREGATE_FUNCTIONS,
5729
5751
  AOUDA_DATA_TYPES,
5730
5752
  AdminApi,
5731
5753
  AoudaApiError,
@@ -5749,6 +5771,7 @@ var version = package_default.version;
5749
5771
  ClusterAdminApi,
5750
5772
  ConfigAdminApi,
5751
5773
  DatabasesApi,
5774
+ FILTER_OPERATORS,
5752
5775
  HealthAdminApi,
5753
5776
  MaterializedQueriesApi,
5754
5777
  MaterializedQueryState,
@@ -5758,6 +5781,7 @@ var version = package_default.version;
5758
5781
  ReplicationAdminApi,
5759
5782
  RetryPolicy,
5760
5783
  ServerAdminApi,
5784
+ TIME_BUCKET_FUNCTIONS,
5761
5785
  TableQuery,
5762
5786
  TablesApi,
5763
5787
  WhereGroupBuilder,