@databricks/sdk-postgres 0.39.0 → 0.41.0
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.
- package/dist/package.js +1 -1
- package/dist/v1/model.js +40 -8
- package/dist/v1/model.js.map +1 -1
- package/package.json +4 -4
package/dist/package.js
CHANGED
package/dist/v1/model.js
CHANGED
|
@@ -281,7 +281,11 @@ const unmarshalBranchStatusSchema = z.object({
|
|
|
281
281
|
current_state: z.string().optional(),
|
|
282
282
|
pending_state: z.string().optional(),
|
|
283
283
|
state_change_time: z.string().transform((s) => Temporal.Instant.from(s)).optional(),
|
|
284
|
-
logical_size_bytes: z.union([
|
|
284
|
+
logical_size_bytes: z.union([
|
|
285
|
+
z.number(),
|
|
286
|
+
z.bigint(),
|
|
287
|
+
z.string()
|
|
288
|
+
]).transform((v) => BigInt(v)).optional(),
|
|
285
289
|
expire_time: z.string().transform((s) => Temporal.Instant.from(s)).optional(),
|
|
286
290
|
branch_id: z.string().optional(),
|
|
287
291
|
delete_time: z.string().transform((s) => Temporal.Instant.from(s)).optional(),
|
|
@@ -476,7 +480,11 @@ const unmarshalDatabaseCredentialSchema = z.object({
|
|
|
476
480
|
}));
|
|
477
481
|
const unmarshalDatabaseOperationMetadataSchema = z.object({});
|
|
478
482
|
const unmarshalDeltaTableSyncInfoSchema = z.object({
|
|
479
|
-
delta_commit_version: z.union([
|
|
483
|
+
delta_commit_version: z.union([
|
|
484
|
+
z.number(),
|
|
485
|
+
z.bigint(),
|
|
486
|
+
z.string()
|
|
487
|
+
]).transform((v) => BigInt(v)).optional(),
|
|
480
488
|
delta_commit_time: z.string().transform((s) => Temporal.Instant.from(s)).optional()
|
|
481
489
|
}).transform((d) => ({
|
|
482
490
|
deltaCommitVersion: d.delta_commit_version,
|
|
@@ -755,8 +763,16 @@ const unmarshalProjectStatusSchema = z.object({
|
|
|
755
763
|
pg_version: z.number().optional(),
|
|
756
764
|
history_retention_duration: z.string().transform((s) => Temporal.Duration.from("PT" + s.toUpperCase())).optional(),
|
|
757
765
|
default_endpoint_settings: z.lazy(() => unmarshalProjectDefaultEndpointSettingsSchema).optional(),
|
|
758
|
-
branch_logical_size_limit_bytes: z.union([
|
|
759
|
-
|
|
766
|
+
branch_logical_size_limit_bytes: z.union([
|
|
767
|
+
z.number(),
|
|
768
|
+
z.bigint(),
|
|
769
|
+
z.string()
|
|
770
|
+
]).transform((v) => BigInt(v)).optional(),
|
|
771
|
+
synthetic_storage_size_bytes: z.union([
|
|
772
|
+
z.number(),
|
|
773
|
+
z.bigint(),
|
|
774
|
+
z.string()
|
|
775
|
+
]).transform((v) => BigInt(v)).optional(),
|
|
760
776
|
compute_last_active_time: z.string().transform((s) => Temporal.Instant.from(s)).optional(),
|
|
761
777
|
budget_policy_id: z.string().optional(),
|
|
762
778
|
custom_tags: z.array(z.lazy(() => unmarshalProjectCustomTagSchema)).optional(),
|
|
@@ -902,7 +918,11 @@ const unmarshalSyncedTable_SyncedTableStatusSchema = z.object({
|
|
|
902
918
|
last_sync: z.lazy(() => unmarshalSyncedTablePositionSchema).optional(),
|
|
903
919
|
ongoing_sync_progress: z.lazy(() => unmarshalSyncedTablePipelineProgressSchema).optional(),
|
|
904
920
|
provisioning_phase: z.string().optional(),
|
|
905
|
-
last_processed_commit_version: z.union([
|
|
921
|
+
last_processed_commit_version: z.union([
|
|
922
|
+
z.number(),
|
|
923
|
+
z.bigint(),
|
|
924
|
+
z.string()
|
|
925
|
+
]).transform((v) => BigInt(v)).optional(),
|
|
906
926
|
last_sync_time: z.string().transform((s) => Temporal.Instant.from(s)).optional(),
|
|
907
927
|
pipeline_id: z.string().optional(),
|
|
908
928
|
unity_catalog_provisioning_state: z.string().optional(),
|
|
@@ -921,9 +941,21 @@ const unmarshalSyncedTable_SyncedTableStatusSchema = z.object({
|
|
|
921
941
|
}));
|
|
922
942
|
const unmarshalSyncedTableOperationMetadataSchema = z.object({});
|
|
923
943
|
const unmarshalSyncedTablePipelineProgressSchema = z.object({
|
|
924
|
-
latest_version_currently_processing: z.union([
|
|
925
|
-
|
|
926
|
-
|
|
944
|
+
latest_version_currently_processing: z.union([
|
|
945
|
+
z.number(),
|
|
946
|
+
z.bigint(),
|
|
947
|
+
z.string()
|
|
948
|
+
]).transform((v) => BigInt(v)).optional(),
|
|
949
|
+
synced_row_count: z.union([
|
|
950
|
+
z.number(),
|
|
951
|
+
z.bigint(),
|
|
952
|
+
z.string()
|
|
953
|
+
]).transform((v) => BigInt(v)).optional(),
|
|
954
|
+
total_row_count: z.union([
|
|
955
|
+
z.number(),
|
|
956
|
+
z.bigint(),
|
|
957
|
+
z.string()
|
|
958
|
+
]).transform((v) => BigInt(v)).optional(),
|
|
927
959
|
sync_progress_completion: z.number().optional(),
|
|
928
960
|
estimated_completion_time_seconds: z.number().optional()
|
|
929
961
|
}).transform((d) => ({
|