@databricks/sdk-uc-metastores 0.1.0-dev.2 → 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
@@ -29,8 +29,8 @@ export interface AccountsCreateMetastoreAssignmentRequest {
29
29
  }
30
30
 
31
31
  /** The metastore assignment was successfully created. */
32
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
33
- export interface AccountsCreateMetastoreAssignmentRequest_Response {}
32
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
33
+ export interface AccountsCreateMetastoreAssignmentResponse {}
34
34
 
35
35
  /** Properties of the new metastore. */
36
36
  export interface AccountsCreateMetastoreRequest {
@@ -39,8 +39,7 @@ export interface AccountsCreateMetastoreRequest {
39
39
  metastoreInfo?: CreateAccountsMetastore | undefined;
40
40
  }
41
41
 
42
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
43
- export interface AccountsCreateMetastoreRequest_Response {
42
+ export interface AccountsCreateMetastoreResponse {
44
43
  metastoreInfo?: MetastoreInfo | undefined;
45
44
  }
46
45
 
@@ -55,8 +54,8 @@ export interface AccountsDeleteMetastoreAssignmentRequest {
55
54
  }
56
55
 
57
56
  /** The metastore assignment was successfully deleted. */
58
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
59
- export interface AccountsDeleteMetastoreAssignmentRequest_Response {}
57
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
58
+ export interface AccountsDeleteMetastoreAssignmentResponse {}
60
59
 
61
60
  /** Delete a metastore for the given account */
62
61
  export interface AccountsDeleteMetastoreRequest {
@@ -69,8 +68,8 @@ export interface AccountsDeleteMetastoreRequest {
69
68
  }
70
69
 
71
70
  /** The metastore was successfully deleted. */
72
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
73
- export interface AccountsDeleteMetastoreRequest_Response {}
71
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
72
+ export interface AccountsDeleteMetastoreResponse {}
74
73
 
75
74
  /** Retrieves the assignment of which metastore to a given workspace */
76
75
  export interface AccountsGetMetastoreAssignmentRequest {
@@ -81,8 +80,7 @@ export interface AccountsGetMetastoreAssignmentRequest {
81
80
  }
82
81
 
83
82
  /** The workspace metastore assignment was successfully returned. */
84
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
85
- export interface AccountsGetMetastoreAssignmentRequest_Response {
83
+ export interface AccountsGetMetastoreAssignmentResponse {
86
84
  metastoreAssignment?: MetastoreAssignment | undefined;
87
85
  }
88
86
 
@@ -95,8 +93,7 @@ export interface AccountsGetMetastoreRequest {
95
93
  }
96
94
 
97
95
  /** The metastore was successfully returned. */
98
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
99
- export interface AccountsGetMetastoreRequest_Response {
96
+ export interface AccountsGetMetastoreResponse {
100
97
  metastoreInfo?: MetastoreInfo | undefined;
101
98
  }
102
99
 
@@ -107,8 +104,7 @@ export interface AccountsListMetastoresRequest {
107
104
  }
108
105
 
109
106
  /** Metastores were returned successfully. */
110
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
111
- export interface AccountsListMetastoresRequest_Response {
107
+ export interface AccountsListMetastoresResponse {
112
108
  /** An array of metastore information objects. */
113
109
  metastores?: MetastoreInfo[] | undefined;
114
110
  }
@@ -122,8 +118,7 @@ export interface AccountsListWorkspaceIdsForMetastoreRequest {
122
118
  }
123
119
 
124
120
  /** The metastore assignments were successfully returned. */
125
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
126
- export interface AccountsListWorkspaceIdsForMetastoreRequest_Response {
121
+ export interface AccountsListWorkspaceIdsForMetastoreResponse {
127
122
  workspaceIds?: bigint[] | undefined;
128
123
  }
129
124
 
@@ -139,8 +134,8 @@ export interface AccountsUpdateMetastoreAssignmentRequest {
139
134
  }
140
135
 
141
136
  /** The metastore assignment was successfully updated. */
142
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
143
- export interface AccountsUpdateMetastoreAssignmentRequest_Response {}
137
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
138
+ export interface AccountsUpdateMetastoreAssignmentResponse {}
144
139
 
145
140
  /** Properties of the metastore to change. */
146
141
  export interface AccountsUpdateMetastoreRequest {
@@ -153,8 +148,7 @@ export interface AccountsUpdateMetastoreRequest {
153
148
  }
154
149
 
155
150
  /** The metastore update request succeeded. */
156
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
157
- export interface AccountsUpdateMetastoreRequest_Response {
151
+ export interface AccountsUpdateMetastoreResponse {
158
152
  metastoreInfo?: MetastoreInfo | undefined;
159
153
  }
160
154
 
@@ -212,8 +206,8 @@ export interface CreateMetastoreAssignmentRequest {
212
206
  defaultCatalogName?: string | undefined;
213
207
  }
214
208
 
215
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
216
- export interface CreateMetastoreAssignmentRequest_Response {}
209
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
210
+ export interface CreateMetastoreAssignmentResponse {}
217
211
 
218
212
  export interface CreateMetastoreRequest {
219
213
  /** The user-specified name of the metastore. */
@@ -263,8 +257,8 @@ export interface DeleteMetastoreAssignmentRequest {
263
257
  metastoreId?: string | undefined;
264
258
  }
265
259
 
266
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
267
- export interface DeleteMetastoreAssignmentRequest_Response {}
260
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
261
+ export interface DeleteMetastoreAssignmentResponse {}
268
262
 
269
263
  export interface DeleteMetastoreRequest {
270
264
  /** Unique ID of the metastore. */
@@ -273,8 +267,8 @@ export interface DeleteMetastoreRequest {
273
267
  force?: boolean | undefined;
274
268
  }
275
269
 
276
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
277
- export interface DeleteMetastoreRequest_Response {}
270
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
271
+ export interface DeleteMetastoreResponse {}
278
272
 
279
273
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
280
274
  export interface DeltaSharingScope {}
@@ -290,8 +284,7 @@ export interface GetMetastoreRequest {
290
284
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
291
285
  export interface GetMetastoreSummaryRequest {}
292
286
 
293
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
294
- export interface GetMetastoreSummaryRequest_Response {
287
+ export interface GetMetastoreSummaryResponse {
295
288
  /** Unique identifier of metastore. */
296
289
  metastoreId?: string | undefined;
297
290
  /** The user-specified name of the metastore. */
@@ -347,8 +340,7 @@ export interface ListMetastoresRequest {
347
340
  pageToken?: string | undefined;
348
341
  }
349
342
 
350
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
351
- export interface ListMetastoresRequest_Response {
343
+ export interface ListMetastoresResponse {
352
344
  /** An array of metastore information objects. */
353
345
  metastores?: MetastoreInfo[] | undefined;
354
346
  /**
@@ -465,8 +457,8 @@ export interface UpdateMetastoreAssignmentRequest {
465
457
  defaultCatalogName?: string | undefined;
466
458
  }
467
459
 
468
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
469
- export interface UpdateMetastoreAssignmentRequest_Response {}
460
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
461
+ export interface UpdateMetastoreAssignmentResponse {}
470
462
 
471
463
  export interface UpdateMetastoreRequest {
472
464
  /** Unique ID of the metastore. */
@@ -513,12 +505,10 @@ export interface UpdateMetastoreRequest {
513
505
  externalAccessEnabled?: boolean | undefined;
514
506
  }
515
507
 
516
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
517
- export const unmarshalAccountsCreateMetastoreAssignmentRequest_ResponseSchema: z.ZodType<AccountsCreateMetastoreAssignmentRequest_Response> =
508
+ export const unmarshalAccountsCreateMetastoreAssignmentResponseSchema: z.ZodType<AccountsCreateMetastoreAssignmentResponse> =
518
509
  z.object({});
519
510
 
520
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
521
- export const unmarshalAccountsCreateMetastoreRequest_ResponseSchema: z.ZodType<AccountsCreateMetastoreRequest_Response> =
511
+ export const unmarshalAccountsCreateMetastoreResponseSchema: z.ZodType<AccountsCreateMetastoreResponse> =
522
512
  z
523
513
  .object({
524
514
  metastore_info: z.lazy(() => unmarshalMetastoreInfoSchema).optional(),
@@ -527,16 +517,13 @@ export const unmarshalAccountsCreateMetastoreRequest_ResponseSchema: z.ZodType<A
527
517
  metastoreInfo: d.metastore_info,
528
518
  }));
529
519
 
530
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
531
- export const unmarshalAccountsDeleteMetastoreAssignmentRequest_ResponseSchema: z.ZodType<AccountsDeleteMetastoreAssignmentRequest_Response> =
520
+ export const unmarshalAccountsDeleteMetastoreAssignmentResponseSchema: z.ZodType<AccountsDeleteMetastoreAssignmentResponse> =
532
521
  z.object({});
533
522
 
534
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
535
- export const unmarshalAccountsDeleteMetastoreRequest_ResponseSchema: z.ZodType<AccountsDeleteMetastoreRequest_Response> =
523
+ export const unmarshalAccountsDeleteMetastoreResponseSchema: z.ZodType<AccountsDeleteMetastoreResponse> =
536
524
  z.object({});
537
525
 
538
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
539
- export const unmarshalAccountsGetMetastoreAssignmentRequest_ResponseSchema: z.ZodType<AccountsGetMetastoreAssignmentRequest_Response> =
526
+ export const unmarshalAccountsGetMetastoreAssignmentResponseSchema: z.ZodType<AccountsGetMetastoreAssignmentResponse> =
540
527
  z
541
528
  .object({
542
529
  metastore_assignment: z
@@ -547,8 +534,7 @@ export const unmarshalAccountsGetMetastoreAssignmentRequest_ResponseSchema: z.Zo
547
534
  metastoreAssignment: d.metastore_assignment,
548
535
  }));
549
536
 
550
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
551
- export const unmarshalAccountsGetMetastoreRequest_ResponseSchema: z.ZodType<AccountsGetMetastoreRequest_Response> =
537
+ export const unmarshalAccountsGetMetastoreResponseSchema: z.ZodType<AccountsGetMetastoreResponse> =
552
538
  z
553
539
  .object({
554
540
  metastore_info: z.lazy(() => unmarshalMetastoreInfoSchema).optional(),
@@ -557,8 +543,7 @@ export const unmarshalAccountsGetMetastoreRequest_ResponseSchema: z.ZodType<Acco
557
543
  metastoreInfo: d.metastore_info,
558
544
  }));
559
545
 
560
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
561
- export const unmarshalAccountsListMetastoresRequest_ResponseSchema: z.ZodType<AccountsListMetastoresRequest_Response> =
546
+ export const unmarshalAccountsListMetastoresResponseSchema: z.ZodType<AccountsListMetastoresResponse> =
562
547
  z
563
548
  .object({
564
549
  metastores: z
@@ -569,8 +554,7 @@ export const unmarshalAccountsListMetastoresRequest_ResponseSchema: z.ZodType<Ac
569
554
  metastores: d.metastores,
570
555
  }));
571
556
 
572
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
573
- export const unmarshalAccountsListWorkspaceIdsForMetastoreRequest_ResponseSchema: z.ZodType<AccountsListWorkspaceIdsForMetastoreRequest_Response> =
557
+ export const unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema: z.ZodType<AccountsListWorkspaceIdsForMetastoreResponse> =
574
558
  z
575
559
  .object({
576
560
  workspace_ids: z
@@ -581,12 +565,10 @@ export const unmarshalAccountsListWorkspaceIdsForMetastoreRequest_ResponseSchema
581
565
  workspaceIds: d.workspace_ids,
582
566
  }));
583
567
 
584
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
585
- export const unmarshalAccountsUpdateMetastoreAssignmentRequest_ResponseSchema: z.ZodType<AccountsUpdateMetastoreAssignmentRequest_Response> =
568
+ export const unmarshalAccountsUpdateMetastoreAssignmentResponseSchema: z.ZodType<AccountsUpdateMetastoreAssignmentResponse> =
586
569
  z.object({});
587
570
 
588
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
589
- export const unmarshalAccountsUpdateMetastoreRequest_ResponseSchema: z.ZodType<AccountsUpdateMetastoreRequest_Response> =
571
+ export const unmarshalAccountsUpdateMetastoreResponseSchema: z.ZodType<AccountsUpdateMetastoreResponse> =
590
572
  z
591
573
  .object({
592
574
  metastore_info: z.lazy(() => unmarshalMetastoreInfoSchema).optional(),
@@ -595,20 +577,16 @@ export const unmarshalAccountsUpdateMetastoreRequest_ResponseSchema: z.ZodType<A
595
577
  metastoreInfo: d.metastore_info,
596
578
  }));
597
579
 
598
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
599
- export const unmarshalCreateMetastoreAssignmentRequest_ResponseSchema: z.ZodType<CreateMetastoreAssignmentRequest_Response> =
580
+ export const unmarshalCreateMetastoreAssignmentResponseSchema: z.ZodType<CreateMetastoreAssignmentResponse> =
600
581
  z.object({});
601
582
 
602
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
603
- export const unmarshalDeleteMetastoreAssignmentRequest_ResponseSchema: z.ZodType<DeleteMetastoreAssignmentRequest_Response> =
583
+ export const unmarshalDeleteMetastoreAssignmentResponseSchema: z.ZodType<DeleteMetastoreAssignmentResponse> =
604
584
  z.object({});
605
585
 
606
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
607
- export const unmarshalDeleteMetastoreRequest_ResponseSchema: z.ZodType<DeleteMetastoreRequest_Response> =
586
+ export const unmarshalDeleteMetastoreResponseSchema: z.ZodType<DeleteMetastoreResponse> =
608
587
  z.object({});
609
588
 
610
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
611
- export const unmarshalGetMetastoreSummaryRequest_ResponseSchema: z.ZodType<GetMetastoreSummaryRequest_Response> =
589
+ export const unmarshalGetMetastoreSummaryResponseSchema: z.ZodType<GetMetastoreSummaryResponse> =
612
590
  z
613
591
  .object({
614
592
  metastore_id: z.string().optional(),
@@ -663,8 +641,7 @@ export const unmarshalGetMetastoreSummaryRequest_ResponseSchema: z.ZodType<GetMe
663
641
  externalAccessEnabled: d.external_access_enabled,
664
642
  }));
665
643
 
666
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
667
- export const unmarshalListMetastoresRequest_ResponseSchema: z.ZodType<ListMetastoresRequest_Response> =
644
+ export const unmarshalListMetastoresResponseSchema: z.ZodType<ListMetastoresResponse> =
668
645
  z
669
646
  .object({
670
647
  metastores: z
@@ -747,8 +724,7 @@ export const unmarshalMetastoreInfoSchema: z.ZodType<MetastoreInfo> = z
747
724
  externalAccessEnabled: d.external_access_enabled,
748
725
  }));
749
726
 
750
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
751
- export const unmarshalUpdateMetastoreAssignmentRequest_ResponseSchema: z.ZodType<UpdateMetastoreAssignmentRequest_Response> =
727
+ export const unmarshalUpdateMetastoreAssignmentResponseSchema: z.ZodType<UpdateMetastoreAssignmentResponse> =
752
728
  z.object({});
753
729
 
754
730
  export const marshalAccountsCreateMetastoreAssignmentRequestSchema: z.ZodType =