@databricks/sdk-uc-tables 0.1.0-dev.1 → 0.1.0-dev.3

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/src/v1/model.ts CHANGED
@@ -75,9 +75,9 @@ export enum DataSourceFormat {
75
75
  }
76
76
 
77
77
  /**
78
- * Latest kind: CONNECTION_GOOGLE_CLOUD_LAKEHOUSE_SERVICE_ACCOUNT = 340; Next id: 342.
79
- * Reserved numbers: 316, 317, 327, 330 (former ENDPOINT_LLM_*,
80
- * MODEL_SERVICE_STANDARD, MODEL_SERVICE_SYSTEM_DELTASHARING).
78
+ * Latest kind: MEMORY_STORE_STANDARD = 342; Next id: 343.
79
+ * Reserved numbers: 316, 317, 327, 330, 341 (former ENDPOINT_LLM_*,
80
+ * MODEL_SERVICE_STANDARD, MODEL_SERVICE_SYSTEM_DELTASHARING, MCP_SERVICE_STANDARD).
81
81
  */
82
82
  export enum SecurableKind {
83
83
  TABLE_STANDARD = 'TABLE_STANDARD',
@@ -383,16 +383,16 @@ export interface DeleteTableConstraintRequest {
383
383
  cascade?: boolean | undefined;
384
384
  }
385
385
 
386
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
387
- export interface DeleteTableConstraintRequest_Response {}
386
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
387
+ export interface DeleteTableConstraintResponse {}
388
388
 
389
389
  export interface DeleteTableRequest {
390
390
  /** Full name of the table. */
391
391
  fullNameArg?: string | undefined;
392
392
  }
393
393
 
394
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
395
- export interface DeleteTableRequest_Response {}
394
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
395
+ export interface DeleteTableResponse {}
396
396
 
397
397
  /**
398
398
  * Properties pertaining to the current state of the delta table as given by the commit server.
@@ -505,8 +505,7 @@ export interface ListTableSummariesRequest {
505
505
  includeManifestCapabilities?: boolean | undefined;
506
506
  }
507
507
 
508
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
509
- export interface ListTableSummariesRequest_Response {
508
+ export interface ListTableSummariesResponse {
510
509
  /** List of table summaries. */
511
510
  tables?: TableSummary[] | undefined;
512
511
  /**
@@ -543,8 +542,7 @@ export interface ListTablesRequest {
543
542
  includeManifestCapabilities?: boolean | undefined;
544
543
  }
545
544
 
546
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
547
- export interface ListTablesRequest_Response {
545
+ export interface ListTablesResponse {
548
546
  /** An array of table information objects. */
549
547
  tables?: TableInfo[] | undefined;
550
548
  /**
@@ -705,8 +703,7 @@ export interface TableExistsRequest {
705
703
  fullNameArg?: string | undefined;
706
704
  }
707
705
 
708
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
709
- export interface TableExistsRequest_Response {
706
+ export interface TableExistsResponse {
710
707
  /** Whether the table exists or not. */
711
708
  tableExists?: boolean | undefined;
712
709
  }
@@ -875,8 +872,8 @@ export interface UpdateTableRequest_PropertiesEntry {
875
872
  value?: string | undefined;
876
873
  }
877
874
 
878
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
879
- export interface UpdateTableRequest_Response {}
875
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
876
+ export interface UpdateTableResponse {}
880
877
 
881
878
  export const unmarshalColumnInfoSchema: z.ZodType<ColumnInfo> = z
882
879
  .object({
@@ -940,12 +937,10 @@ export const unmarshalCredentialDependencySchema: z.ZodType<CredentialDependency
940
937
  credentialName: d.credential_name,
941
938
  }));
942
939
 
943
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
944
- export const unmarshalDeleteTableConstraintRequest_ResponseSchema: z.ZodType<DeleteTableConstraintRequest_Response> =
940
+ export const unmarshalDeleteTableConstraintResponseSchema: z.ZodType<DeleteTableConstraintResponse> =
945
941
  z.object({});
946
942
 
947
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
948
- export const unmarshalDeleteTableRequest_ResponseSchema: z.ZodType<DeleteTableRequest_Response> =
943
+ export const unmarshalDeleteTableResponseSchema: z.ZodType<DeleteTableResponse> =
949
944
  z.object({});
950
945
 
951
946
  export const unmarshalDeltaRuntimePropertiesKvPairsSchema: z.ZodType<DeltaRuntimePropertiesKvPairs> =
@@ -1040,8 +1035,7 @@ export const unmarshalFunctionDependencySchema: z.ZodType<FunctionDependency> =
1040
1035
  functionFullName: d.function_full_name,
1041
1036
  }));
1042
1037
 
1043
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1044
- export const unmarshalListTableSummariesRequest_ResponseSchema: z.ZodType<ListTableSummariesRequest_Response> =
1038
+ export const unmarshalListTableSummariesResponseSchema: z.ZodType<ListTableSummariesResponse> =
1045
1039
  z
1046
1040
  .object({
1047
1041
  tables: z.array(z.lazy(() => unmarshalTableSummarySchema)).optional(),
@@ -1052,8 +1046,7 @@ export const unmarshalListTableSummariesRequest_ResponseSchema: z.ZodType<ListTa
1052
1046
  nextPageToken: d.next_page_token,
1053
1047
  }));
1054
1048
 
1055
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1056
- export const unmarshalListTablesRequest_ResponseSchema: z.ZodType<ListTablesRequest_Response> =
1049
+ export const unmarshalListTablesResponseSchema: z.ZodType<ListTablesResponse> =
1057
1050
  z
1058
1051
  .object({
1059
1052
  tables: z.array(z.lazy(() => unmarshalTableInfoSchema)).optional(),
@@ -1219,8 +1212,7 @@ export const unmarshalTableDependencySchema: z.ZodType<TableDependency> = z
1219
1212
  tableFullName: d.table_full_name,
1220
1213
  }));
1221
1214
 
1222
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1223
- export const unmarshalTableExistsRequest_ResponseSchema: z.ZodType<TableExistsRequest_Response> =
1215
+ export const unmarshalTableExistsResponseSchema: z.ZodType<TableExistsResponse> =
1224
1216
  z
1225
1217
  .object({
1226
1218
  table_exists: z.boolean().optional(),
@@ -1335,8 +1327,7 @@ export const unmarshalTableSummarySchema: z.ZodType<TableSummary> = z
1335
1327
  securableKindManifest: d.securable_kind_manifest,
1336
1328
  }));
1337
1329
 
1338
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1339
- export const unmarshalUpdateTableRequest_ResponseSchema: z.ZodType<UpdateTableRequest_Response> =
1330
+ export const unmarshalUpdateTableResponseSchema: z.ZodType<UpdateTableResponse> =
1340
1331
  z.object({});
1341
1332
 
1342
1333
  export const marshalColumnInfoSchema: z.ZodType = z
package/src/v1/utils.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.
2
2
 
3
- import type {Call, Options} from '@databricks/sdk-core/api';
4
- import {execute} from '@databricks/sdk-core/api';
3
+ import type {Options} from '@databricks/sdk-core/ops';
4
+ import {execute} from '@databricks/sdk-core/ops';
5
5
  import {ApiError} from '@databricks/sdk-core/apierror';
6
6
  import type {
7
7
  HttpClient,
@@ -30,7 +30,7 @@ export interface HttpCallOptions {
30
30
  * API from the executor's internal type so they can diverge.
31
31
  */
32
32
  export async function executeCall(
33
- call: Call,
33
+ call: (signal?: AbortSignal) => Promise<void>,
34
34
  options?: CallOptions
35
35
  ): Promise<void> {
36
36
  const opts: Options = {