@databricks/sdk-postgres 0.38.0 → 0.40.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  //#region package.json
2
2
  var name = "@databricks/sdk-postgres";
3
- var version = "0.38.0";
3
+ var version = "0.40.0";
4
4
 
5
5
  //#endregion
6
6
  export { name, version };
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([z.number(), z.bigint()]).transform((v) => BigInt(v)).optional(),
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([z.number(), z.bigint()]).transform((v) => BigInt(v)).optional(),
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([z.number(), z.bigint()]).transform((v) => BigInt(v)).optional(),
759
- synthetic_storage_size_bytes: z.union([z.number(), z.bigint()]).transform((v) => BigInt(v)).optional(),
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([z.number(), z.bigint()]).transform((v) => BigInt(v)).optional(),
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([z.number(), z.bigint()]).transform((v) => BigInt(v)).optional(),
925
- synced_row_count: z.union([z.number(), z.bigint()]).transform((v) => BigInt(v)).optional(),
926
- total_row_count: z.union([z.number(), z.bigint()]).transform((v) => BigInt(v)).optional(),
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) => ({