@aouda/client 0.1.0 → 0.1.1

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.
@@ -543,6 +543,8 @@ interface TableSchema {
543
543
  permissionDimension?: string;
544
544
  /** Resolver name for auth-db-rls mode. */
545
545
  rlsResolverName?: string;
546
+ /** IETF culture tag for locale-aware date/number parsing (e.g. "en-US", "en-GB"). Null = ISO defaults. */
547
+ culture?: string | null;
546
548
  }
547
549
  /**
548
550
  * Schema definition for a single column.
@@ -620,6 +622,8 @@ interface TableSchemaResponse {
620
622
  permissionDimension?: string;
621
623
  /** Resolver name for auth-db-rls mode. */
622
624
  rlsResolverName?: string;
625
+ /** IETF culture tag for locale-aware date/number parsing (e.g. "en-US", "en-GB"). Null = ISO defaults. */
626
+ culture?: string | null;
623
627
  }
624
628
  /**
625
629
  * Index information (placeholder for future index management).
@@ -875,6 +879,24 @@ interface CreateTableRequest {
875
879
  authMode?: AuthorizationMode;
876
880
  permissionDimension?: string;
877
881
  rlsResolverName?: string;
882
+ /** IETF culture tag for locale-aware date/number parsing (e.g. "en-US", "en-GB"). Null/omit = ISO defaults. */
883
+ culture?: string | null;
884
+ }
885
+ /**
886
+ * Request body for updating table options (PUT /api/databases/{db}/tables/{name}/options).
887
+ * Use null to clear a nullable field; omit a field entirely to leave it unchanged.
888
+ */
889
+ interface UpdateTableOptionsRequest {
890
+ /** Whether partition-level security is enabled. */
891
+ partitionLevelSecurity?: boolean;
892
+ /** Table authorization mode. */
893
+ authMode?: AuthorizationMode;
894
+ /** Permission dimension for auth-db-pls mode. Null to clear. */
895
+ permissionDimension?: string | null;
896
+ /** Resolver name for auth-db-rls mode. Null to clear. */
897
+ rlsResolverName?: string | null;
898
+ /** IETF culture tag. Null to clear. */
899
+ culture?: string | null;
878
900
  }
879
901
  /**
880
902
  * Request body for renaming a table (PATCH /api/databases/{db}/tables/{name}).
@@ -2920,6 +2942,15 @@ declare class TablesApi {
2920
2942
  * @throws AoudaNotFoundError if table or column does not exist; AoudaApiError for WRITE_NOT_ALLOWED, etc.
2921
2943
  */
2922
2944
  dropColumn(tableName: string, columnName: string): Promise<void>;
2945
+ /**
2946
+ * Updates table options (auth mode, partition-level security, culture, etc.).
2947
+ * PUT /api/databases/{db}/tables/{name}/options.
2948
+ * @param name - Table name.
2949
+ * @param body - Options to update. Omit a field to leave it unchanged; pass null to clear a nullable field.
2950
+ * @returns Updated table schema.
2951
+ * @throws AoudaNotFoundError if table does not exist; AoudaApiError for WRITE_NOT_ALLOWED, INVALID_REQUEST, etc.
2952
+ */
2953
+ updateTableOptions(name: string, body: UpdateTableOptionsRequest): Promise<TableSchema>;
2923
2954
  /**
2924
2955
  * Updates a table's storage policy (temperature).
2925
2956
  * @param name - Table name.
@@ -3498,4 +3529,4 @@ declare class AoudaClient<S extends SchemaLike = DefaultSchema> {
3498
3529
  */
3499
3530
  declare function createAoudaClient<S extends SchemaLike = DefaultSchema>(options: AoudaClientOptions): AoudaClient<S>;
3500
3531
 
3501
- 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 WriteStream 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 UpdateTablePolicyRequest as bX, type UserProfile as bY, WhereGroupBuilder as bZ, type WhereOperator 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, coerceColumnarValue as c0, createAoudaClient as c1, 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 };
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 };
@@ -543,6 +543,8 @@ interface TableSchema {
543
543
  permissionDimension?: string;
544
544
  /** Resolver name for auth-db-rls mode. */
545
545
  rlsResolverName?: string;
546
+ /** IETF culture tag for locale-aware date/number parsing (e.g. "en-US", "en-GB"). Null = ISO defaults. */
547
+ culture?: string | null;
546
548
  }
547
549
  /**
548
550
  * Schema definition for a single column.
@@ -620,6 +622,8 @@ interface TableSchemaResponse {
620
622
  permissionDimension?: string;
621
623
  /** Resolver name for auth-db-rls mode. */
622
624
  rlsResolverName?: string;
625
+ /** IETF culture tag for locale-aware date/number parsing (e.g. "en-US", "en-GB"). Null = ISO defaults. */
626
+ culture?: string | null;
623
627
  }
624
628
  /**
625
629
  * Index information (placeholder for future index management).
@@ -875,6 +879,24 @@ interface CreateTableRequest {
875
879
  authMode?: AuthorizationMode;
876
880
  permissionDimension?: string;
877
881
  rlsResolverName?: string;
882
+ /** IETF culture tag for locale-aware date/number parsing (e.g. "en-US", "en-GB"). Null/omit = ISO defaults. */
883
+ culture?: string | null;
884
+ }
885
+ /**
886
+ * Request body for updating table options (PUT /api/databases/{db}/tables/{name}/options).
887
+ * Use null to clear a nullable field; omit a field entirely to leave it unchanged.
888
+ */
889
+ interface UpdateTableOptionsRequest {
890
+ /** Whether partition-level security is enabled. */
891
+ partitionLevelSecurity?: boolean;
892
+ /** Table authorization mode. */
893
+ authMode?: AuthorizationMode;
894
+ /** Permission dimension for auth-db-pls mode. Null to clear. */
895
+ permissionDimension?: string | null;
896
+ /** Resolver name for auth-db-rls mode. Null to clear. */
897
+ rlsResolverName?: string | null;
898
+ /** IETF culture tag. Null to clear. */
899
+ culture?: string | null;
878
900
  }
879
901
  /**
880
902
  * Request body for renaming a table (PATCH /api/databases/{db}/tables/{name}).
@@ -2920,6 +2942,15 @@ declare class TablesApi {
2920
2942
  * @throws AoudaNotFoundError if table or column does not exist; AoudaApiError for WRITE_NOT_ALLOWED, etc.
2921
2943
  */
2922
2944
  dropColumn(tableName: string, columnName: string): Promise<void>;
2945
+ /**
2946
+ * Updates table options (auth mode, partition-level security, culture, etc.).
2947
+ * PUT /api/databases/{db}/tables/{name}/options.
2948
+ * @param name - Table name.
2949
+ * @param body - Options to update. Omit a field to leave it unchanged; pass null to clear a nullable field.
2950
+ * @returns Updated table schema.
2951
+ * @throws AoudaNotFoundError if table does not exist; AoudaApiError for WRITE_NOT_ALLOWED, INVALID_REQUEST, etc.
2952
+ */
2953
+ updateTableOptions(name: string, body: UpdateTableOptionsRequest): Promise<TableSchema>;
2923
2954
  /**
2924
2955
  * Updates a table's storage policy (temperature).
2925
2956
  * @param name - Table name.
@@ -3498,4 +3529,4 @@ declare class AoudaClient<S extends SchemaLike = DefaultSchema> {
3498
3529
  */
3499
3530
  declare function createAoudaClient<S extends SchemaLike = DefaultSchema>(options: AoudaClientOptions): AoudaClient<S>;
3500
3531
 
3501
- 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 WriteStream 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 UpdateTablePolicyRequest as bX, type UserProfile as bY, WhereGroupBuilder as bZ, type WhereOperator 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, coerceColumnarValue as c0, createAoudaClient as c1, 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 };
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 };
package/dist/index.cjs CHANGED
@@ -79,7 +79,7 @@ module.exports = __toCommonJS(index_exports);
79
79
  // package.json
80
80
  var package_default = {
81
81
  name: "@aouda/client",
82
- version: "0.1.0",
82
+ version: "0.1.1",
83
83
  description: "Official TypeScript/JavaScript client library for Aouda",
84
84
  type: "module",
85
85
  main: "./dist/index.cjs",
@@ -3613,6 +3613,24 @@ var TablesApi = class {
3613
3613
  `${prefix}/tables/${encodedTable}/columns/${encodedColumn}`
3614
3614
  );
3615
3615
  }
3616
+ /**
3617
+ * Updates table options (auth mode, partition-level security, culture, etc.).
3618
+ * PUT /api/databases/{db}/tables/{name}/options.
3619
+ * @param name - Table name.
3620
+ * @param body - Options to update. Omit a field to leave it unchanged; pass null to clear a nullable field.
3621
+ * @returns Updated table schema.
3622
+ * @throws AoudaNotFoundError if table does not exist; AoudaApiError for WRITE_NOT_ALLOWED, INVALID_REQUEST, etc.
3623
+ */
3624
+ async updateTableOptions(name, body) {
3625
+ validateNonEmptyString(name, "Table name");
3626
+ const prefix = databasePath2(this.database);
3627
+ const encodedName = encodeURIComponent(name);
3628
+ const requestBody = { database: this.database, ...body };
3629
+ return this.transport.put(
3630
+ `${prefix}/tables/${encodedName}/options`,
3631
+ requestBody
3632
+ );
3633
+ }
3616
3634
  /**
3617
3635
  * Updates a table's storage policy (temperature).
3618
3636
  * @param name - Table name.