@databricks/sdk-modelregistry 0.1.0-dev.2 → 0.1.0-dev.4

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.
@@ -14,18 +14,19 @@ import { z } from 'zod';
14
14
  *
15
15
  * * `DELETE_COMMENT`: Delete the comment
16
16
  */
17
- export declare enum ActivityAction {
17
+ export declare const ActivityAction: {
18
18
  /** Approve a transition request. Available to users with sufficient permissions. */
19
- APPROVE_TRANSITION_REQUEST = "APPROVE_TRANSITION_REQUEST",
19
+ readonly APPROVE_TRANSITION_REQUEST: "APPROVE_TRANSITION_REQUEST";
20
20
  /** Reject a transition request. Available to users with sufficient permissions. */
21
- REJECT_TRANSITION_REQUEST = "REJECT_TRANSITION_REQUEST",
21
+ readonly REJECT_TRANSITION_REQUEST: "REJECT_TRANSITION_REQUEST";
22
22
  /** Cancel a transition request. Available to the user who created the request. */
23
- CANCEL_TRANSITION_REQUEST = "CANCEL_TRANSITION_REQUEST",
23
+ readonly CANCEL_TRANSITION_REQUEST: "CANCEL_TRANSITION_REQUEST";
24
24
  /** Edit the comment */
25
- EDIT_COMMENT = "EDIT_COMMENT",
25
+ readonly EDIT_COMMENT: "EDIT_COMMENT";
26
26
  /** Delete the comment */
27
- DELETE_COMMENT = "DELETE_COMMENT"
28
- }
27
+ readonly DELETE_COMMENT: "DELETE_COMMENT";
28
+ };
29
+ export type ActivityAction = (typeof ActivityAction)[keyof typeof ActivityAction] | (string & {});
29
30
  /**
30
31
  * Type of activity. Valid values are:
31
32
  * * `APPLIED_TRANSITION`: User applied the corresponding stage transition.
@@ -40,22 +41,23 @@ export declare enum ActivityAction {
40
41
  *
41
42
  * * `SYSTEM_TRANSITION`: For events performed as a side effect, such as archiving existing model versions in a stage.
42
43
  */
43
- export declare enum ActivityType {
44
+ export declare const ActivityType: {
44
45
  /** Indicates that the corresponding stage transition was applied by user. */
45
- APPLIED_TRANSITION = "APPLIED_TRANSITION",
46
+ readonly APPLIED_TRANSITION: "APPLIED_TRANSITION";
46
47
  /** Corresponding stage transition was requested by user. */
47
- REQUESTED_TRANSITION = "REQUESTED_TRANSITION",
48
+ readonly REQUESTED_TRANSITION: "REQUESTED_TRANSITION";
48
49
  /** User cancelled an existing request. */
49
- CANCELLED_REQUEST = "CANCELLED_REQUEST",
50
+ readonly CANCELLED_REQUEST: "CANCELLED_REQUEST";
50
51
  /** Corresponding transition request was approved by user. */
51
- APPROVED_REQUEST = "APPROVED_REQUEST",
52
+ readonly APPROVED_REQUEST: "APPROVED_REQUEST";
52
53
  /** Corresponding transition request was rejected by user. */
53
- REJECTED_REQUEST = "REJECTED_REQUEST",
54
+ readonly REJECTED_REQUEST: "REJECTED_REQUEST";
54
55
  /** User posted a new comment */
55
- NEW_COMMENT = "NEW_COMMENT",
56
+ readonly NEW_COMMENT: "NEW_COMMENT";
56
57
  /** Corresponding transition for events such as archiving existing model versions */
57
- SYSTEM_TRANSITION = "SYSTEM_TRANSITION"
58
- }
58
+ readonly SYSTEM_TRANSITION: "SYSTEM_TRANSITION";
59
+ };
60
+ export type ActivityType = (typeof ActivityType)[keyof typeof ActivityType] | (string & {});
59
61
  /**
60
62
  * The status of the model version. Valid values are:
61
63
  * * `PENDING_REGISTRATION`: Request to register a new model version is pending as server performs background tasks.
@@ -64,29 +66,31 @@ export declare enum ActivityType {
64
66
  *
65
67
  * * `READY`: Model version is ready for use.
66
68
  */
67
- export declare enum ModelVersionStatus {
69
+ export declare const ModelVersionStatus: {
68
70
  /** Request to register a new model version is pending as server performs background tasks. */
69
- PENDING_REGISTRATION = "PENDING_REGISTRATION",
71
+ readonly PENDING_REGISTRATION: "PENDING_REGISTRATION";
70
72
  /** Request to register a new model version has failed. */
71
- FAILED_REGISTRATION = "FAILED_REGISTRATION",
73
+ readonly FAILED_REGISTRATION: "FAILED_REGISTRATION";
72
74
  /** Model version is ready for use. */
73
- READY = "READY"
74
- }
75
+ readonly READY: "READY";
76
+ };
77
+ export type ModelVersionStatus = (typeof ModelVersionStatus)[keyof typeof ModelVersionStatus] | (string & {});
75
78
  /** Permission level of the requesting user on the object. For what is allowed at each level, see [MLflow Model permissions](..). */
76
- export declare enum PermissionLevel {
77
- CAN_MANAGE = "CAN_MANAGE",
79
+ export declare const PermissionLevel: {
80
+ readonly CAN_MANAGE: "CAN_MANAGE";
78
81
  /** reserved 1; // IS_OWNER = 1; was DEPRECATED */
79
- CAN_EDIT = "CAN_EDIT",
80
- CAN_READ = "CAN_READ",
81
- CAN_MANAGE_STAGING_VERSIONS = "CAN_MANAGE_STAGING_VERSIONS",
82
- CAN_MANAGE_PRODUCTION_VERSIONS = "CAN_MANAGE_PRODUCTION_VERSIONS",
82
+ readonly CAN_EDIT: "CAN_EDIT";
83
+ readonly CAN_READ: "CAN_READ";
84
+ readonly CAN_MANAGE_STAGING_VERSIONS: "CAN_MANAGE_STAGING_VERSIONS";
85
+ readonly CAN_MANAGE_PRODUCTION_VERSIONS: "CAN_MANAGE_PRODUCTION_VERSIONS";
83
86
  /**
84
87
  * Only applicable to the root ACL path, for which it is the default value if no permissions are
85
88
  * set explicitly for the user. It is the default set by the MLflow service and The ACL database
86
89
  * does not understand this value.
87
90
  */
88
- CAN_CREATE_REGISTERED_MODEL = "CAN_CREATE_REGISTERED_MODEL"
89
- }
91
+ readonly CAN_CREATE_REGISTERED_MODEL: "CAN_CREATE_REGISTERED_MODEL";
92
+ };
93
+ export type PermissionLevel = (typeof PermissionLevel)[keyof typeof PermissionLevel] | (string & {});
90
94
  /**
91
95
  * .. note::
92
96
  * Experimental: This entity may change or be removed in a future release without warning.
@@ -96,26 +100,28 @@ export declare enum PermissionLevel {
96
100
  * - `SUBSCRIBED`: Subscribed to notifications.
97
101
  * - `UNSUBSCRIBED`: Not subscribed to notifications.
98
102
  */
99
- export declare enum RegistryEmailSubscriptionType {
100
- ALL_EVENTS = "ALL_EVENTS",
101
- DEFAULT = "DEFAULT",
102
- SUBSCRIBED = "SUBSCRIBED",
103
- UNSUBSCRIBED = "UNSUBSCRIBED"
104
- }
105
- export declare enum RegistryWebhookEvent {
106
- MODEL_VERSION_CREATED = "MODEL_VERSION_CREATED",
107
- MODEL_VERSION_TRANSITIONED_STAGE = "MODEL_VERSION_TRANSITIONED_STAGE",
108
- TRANSITION_REQUEST_CREATED = "TRANSITION_REQUEST_CREATED",
109
- COMMENT_CREATED = "COMMENT_CREATED",
110
- REGISTERED_MODEL_CREATED = "REGISTERED_MODEL_CREATED",
111
- MODEL_VERSION_TAG_SET = "MODEL_VERSION_TAG_SET",
112
- MODEL_VERSION_TRANSITIONED_TO_STAGING = "MODEL_VERSION_TRANSITIONED_TO_STAGING",
113
- MODEL_VERSION_TRANSITIONED_TO_PRODUCTION = "MODEL_VERSION_TRANSITIONED_TO_PRODUCTION",
114
- MODEL_VERSION_TRANSITIONED_TO_ARCHIVED = "MODEL_VERSION_TRANSITIONED_TO_ARCHIVED",
115
- TRANSITION_REQUEST_TO_STAGING_CREATED = "TRANSITION_REQUEST_TO_STAGING_CREATED",
116
- TRANSITION_REQUEST_TO_PRODUCTION_CREATED = "TRANSITION_REQUEST_TO_PRODUCTION_CREATED",
117
- TRANSITION_REQUEST_TO_ARCHIVED_CREATED = "TRANSITION_REQUEST_TO_ARCHIVED_CREATED"
118
- }
103
+ export declare const RegistryEmailSubscriptionType: {
104
+ readonly ALL_EVENTS: "ALL_EVENTS";
105
+ readonly DEFAULT: "DEFAULT";
106
+ readonly SUBSCRIBED: "SUBSCRIBED";
107
+ readonly UNSUBSCRIBED: "UNSUBSCRIBED";
108
+ };
109
+ export type RegistryEmailSubscriptionType = (typeof RegistryEmailSubscriptionType)[keyof typeof RegistryEmailSubscriptionType] | (string & {});
110
+ export declare const RegistryWebhookEvent: {
111
+ readonly MODEL_VERSION_CREATED: "MODEL_VERSION_CREATED";
112
+ readonly MODEL_VERSION_TRANSITIONED_STAGE: "MODEL_VERSION_TRANSITIONED_STAGE";
113
+ readonly TRANSITION_REQUEST_CREATED: "TRANSITION_REQUEST_CREATED";
114
+ readonly COMMENT_CREATED: "COMMENT_CREATED";
115
+ readonly REGISTERED_MODEL_CREATED: "REGISTERED_MODEL_CREATED";
116
+ readonly MODEL_VERSION_TAG_SET: "MODEL_VERSION_TAG_SET";
117
+ readonly MODEL_VERSION_TRANSITIONED_TO_STAGING: "MODEL_VERSION_TRANSITIONED_TO_STAGING";
118
+ readonly MODEL_VERSION_TRANSITIONED_TO_PRODUCTION: "MODEL_VERSION_TRANSITIONED_TO_PRODUCTION";
119
+ readonly MODEL_VERSION_TRANSITIONED_TO_ARCHIVED: "MODEL_VERSION_TRANSITIONED_TO_ARCHIVED";
120
+ readonly TRANSITION_REQUEST_TO_STAGING_CREATED: "TRANSITION_REQUEST_TO_STAGING_CREATED";
121
+ readonly TRANSITION_REQUEST_TO_PRODUCTION_CREATED: "TRANSITION_REQUEST_TO_PRODUCTION_CREATED";
122
+ readonly TRANSITION_REQUEST_TO_ARCHIVED_CREATED: "TRANSITION_REQUEST_TO_ARCHIVED_CREATED";
123
+ };
124
+ export type RegistryWebhookEvent = (typeof RegistryWebhookEvent)[keyof typeof RegistryWebhookEvent] | (string & {});
119
125
  /**
120
126
  * Enable or disable triggering the webhook, or put the webhook into test mode. The default is `ACTIVE`:
121
127
  * * `ACTIVE`: Webhook is triggered when an associated event happens.
@@ -124,14 +130,15 @@ export declare enum RegistryWebhookEvent {
124
130
  *
125
131
  * * `TEST_MODE`: Webhook can be triggered through the test endpoint, but is not triggered on a real event.
126
132
  */
127
- export declare enum RegistryWebhookStatus {
133
+ export declare const RegistryWebhookStatus: {
128
134
  /** Event and test triggers will be sent. */
129
- ACTIVE = "ACTIVE",
135
+ readonly ACTIVE: "ACTIVE";
130
136
  /** No triggers will be sent. */
131
- DISABLED = "DISABLED",
137
+ readonly DISABLED: "DISABLED";
132
138
  /** Test triggers will be sent, but not actual events. */
133
- TEST_MODE = "TEST_MODE"
134
- }
139
+ readonly TEST_MODE: "TEST_MODE";
140
+ };
141
+ export type RegistryWebhookStatus = (typeof RegistryWebhookStatus)[keyof typeof RegistryWebhookStatus] | (string & {});
135
142
  /**
136
143
  * For activities, this contains the activity recorded for the action.
137
144
  * For comments, this contains the comment details.
@@ -201,7 +208,7 @@ export interface ApproveTransitionRequest {
201
208
  /** User-provided comment on the action. */
202
209
  comment?: string | undefined;
203
210
  }
204
- export interface ApproveTransitionRequest_Response {
211
+ export interface ApproveTransitionResponse {
205
212
  /** New activity generated as a result of this operation. */
206
213
  activity?: Activity | undefined;
207
214
  }
@@ -260,7 +267,7 @@ export interface CreateCommentRequest {
260
267
  /** User-provided comment on the action. */
261
268
  comment?: string | undefined;
262
269
  }
263
- export interface CreateCommentRequest_Response {
270
+ export interface CreateCommentResponse {
264
271
  /** New comment object */
265
272
  comment?: CommentObject | undefined;
266
273
  }
@@ -284,7 +291,7 @@ export interface CreateModelVersionRequest {
284
291
  /** Optional description for model version. */
285
292
  description?: string | undefined;
286
293
  }
287
- export interface CreateModelVersionRequest_Response {
294
+ export interface CreateModelVersionResponse {
288
295
  /** Return new version number generated for this model in registry. */
289
296
  modelVersion?: ModelVersion | undefined;
290
297
  }
@@ -296,7 +303,7 @@ export interface CreateRegisteredModelRequest {
296
303
  /** Optional description for registered model. */
297
304
  description?: string | undefined;
298
305
  }
299
- export interface CreateRegisteredModelRequest_Response {
306
+ export interface CreateRegisteredModelResponse {
300
307
  registeredModel?: RegisteredModel | undefined;
301
308
  }
302
309
  /** Details required to create a registry webhook. */
@@ -346,7 +353,7 @@ export interface CreateRegistryWebhookRequest {
346
353
  /** ID of the job that the webhook runs. */
347
354
  jobSpec?: JobSpec | undefined;
348
355
  }
349
- export interface CreateRegistryWebhookRequest_Response {
356
+ export interface CreateRegistryWebhookResponse {
350
357
  webhook?: RegistryWebhook | undefined;
351
358
  }
352
359
  /** Details required to create a model version stage transition request. */
@@ -370,7 +377,7 @@ export interface CreateTransitionRequest {
370
377
  /** User-provided comment on the action. */
371
378
  comment?: string | undefined;
372
379
  }
373
- export interface CreateTransitionRequest_Response {
380
+ export interface CreateTransitionResponse {
374
381
  /** New activity generated for stage transition request. */
375
382
  request?: TransitionRequest | undefined;
376
383
  }
@@ -378,7 +385,7 @@ export interface DeleteCommentRequest {
378
385
  /** Unique identifier of an activity */
379
386
  id?: string | undefined;
380
387
  }
381
- export interface DeleteCommentRequest_Response {
388
+ export interface DeleteCommentResponse {
382
389
  }
383
390
  export interface DeleteModelVersionRequest {
384
391
  /** Name of the registered model */
@@ -386,7 +393,7 @@ export interface DeleteModelVersionRequest {
386
393
  /** Model version number */
387
394
  version?: string | undefined;
388
395
  }
389
- export interface DeleteModelVersionRequest_Response {
396
+ export interface DeleteModelVersionResponse {
390
397
  }
391
398
  export interface DeleteModelVersionTagRequest {
392
399
  /** Name of the registered model that the tag was logged under. */
@@ -396,13 +403,13 @@ export interface DeleteModelVersionTagRequest {
396
403
  /** Name of the tag. The name must be an exact match; wild-card deletion is not supported. Maximum size is 250 bytes. */
397
404
  key?: string | undefined;
398
405
  }
399
- export interface DeleteModelVersionTagRequest_Response {
406
+ export interface DeleteModelVersionTagResponse {
400
407
  }
401
408
  export interface DeleteRegisteredModelRequest {
402
409
  /** Registered model unique name identifier. */
403
410
  name?: string | undefined;
404
411
  }
405
- export interface DeleteRegisteredModelRequest_Response {
412
+ export interface DeleteRegisteredModelResponse {
406
413
  }
407
414
  export interface DeleteRegisteredModelTagRequest {
408
415
  /** Name of the registered model that the tag was logged under. */
@@ -410,7 +417,7 @@ export interface DeleteRegisteredModelTagRequest {
410
417
  /** Name of the tag. The name must be an exact match; wild-card deletion is not supported. Maximum size is 250 bytes. */
411
418
  key?: string | undefined;
412
419
  }
413
- export interface DeleteRegisteredModelTagRequest_Response {
420
+ export interface DeleteRegisteredModelTagResponse {
414
421
  }
415
422
  /**
416
423
  * .. note::
@@ -420,7 +427,7 @@ export interface DeleteRegistryWebhookRequest {
420
427
  /** Webhook ID required to delete a registry webhook. */
421
428
  id?: string | undefined;
422
429
  }
423
- export interface DeleteRegistryWebhookRequest_Response {
430
+ export interface DeleteRegistryWebhookResponse {
424
431
  }
425
432
  export interface DeleteTransitionRequest {
426
433
  /** Name of the model. */
@@ -444,7 +451,7 @@ export interface DeleteTransitionRequest {
444
451
  /** User-provided comment on the action. */
445
452
  comment?: string | undefined;
446
453
  }
447
- export interface DeleteTransitionRequest_Response {
454
+ export interface DeleteTransitionResponse {
448
455
  /** New activity generated as a result of this operation. */
449
456
  activity?: Activity | undefined;
450
457
  }
@@ -452,13 +459,20 @@ export interface DeleteTransitionRequest_Response {
452
459
  export interface FeatureList {
453
460
  features?: LinkedFeature[] | undefined;
454
461
  }
462
+ export interface GetLatestVersionsResponse {
463
+ /**
464
+ * Latest version models for each requests stage. Only return models with current `READY` status.
465
+ * If no `stages` provided, returns the latest version for each stage, including `"None"`.
466
+ */
467
+ modelVersions?: ModelVersion[] | undefined;
468
+ }
455
469
  export interface GetModelVersionDownloadUriRequest {
456
470
  /** Name of the registered model */
457
471
  name?: string | undefined;
458
472
  /** Model version number */
459
473
  version?: string | undefined;
460
474
  }
461
- export interface GetModelVersionDownloadUriRequest_Response {
475
+ export interface GetModelVersionDownloadUriResponse {
462
476
  /** URI corresponding to where artifacts for this model version are stored. */
463
477
  artifactUri?: string | undefined;
464
478
  }
@@ -468,14 +482,14 @@ export interface GetModelVersionRequest {
468
482
  /** Model version number */
469
483
  version?: string | undefined;
470
484
  }
471
- export interface GetModelVersionRequest_Response {
485
+ export interface GetModelVersionResponse {
472
486
  modelVersion?: ModelVersion | undefined;
473
487
  }
474
488
  export interface GetRegisteredModelDatabricksRequest {
475
489
  /** Registered model unique name identifier. */
476
490
  name?: string | undefined;
477
491
  }
478
- export interface GetRegisteredModelDatabricksRequest_Response {
492
+ export interface GetRegisteredModelDatabricksResponse {
479
493
  registeredModelDatabricks?: RegisteredModelDatabricks | undefined;
480
494
  }
481
495
  export interface HttpUrlSpec {
@@ -511,20 +525,13 @@ export interface ListLatestVersionsRequest {
511
525
  /** List of stages. */
512
526
  stages?: string[] | undefined;
513
527
  }
514
- export interface ListLatestVersionsRequest_Response {
515
- /**
516
- * Latest version models for each requests stage. Only return models with current `READY` status.
517
- * If no `stages` provided, returns the latest version for each stage, including `"None"`.
518
- */
519
- modelVersions?: ModelVersion[] | undefined;
520
- }
521
528
  export interface ListRegisteredModelsRequest {
522
529
  /** Maximum number of registered models desired. Max threshold is 1000. */
523
530
  maxResults?: bigint | undefined;
524
531
  /** Pagination token to go to the next page based on a previous query. */
525
532
  pageToken?: string | undefined;
526
533
  }
527
- export interface ListRegisteredModelsRequest_Response {
534
+ export interface ListRegisteredModelsResponse {
528
535
  registeredModels?: RegisteredModel[] | undefined;
529
536
  /** Pagination token to request next page of models for the same query. */
530
537
  nextPageToken?: string | undefined;
@@ -569,7 +576,7 @@ export interface ListRegistryWebhooksRequest {
569
576
  pageToken?: string | undefined;
570
577
  maxResults?: bigint | undefined;
571
578
  }
572
- export interface ListRegistryWebhooksRequest_Response {
579
+ export interface ListRegistryWebhooksResponse {
573
580
  /** Array of registry webhooks. */
574
581
  webhooks?: RegistryWebhook[] | undefined;
575
582
  /** Token that can be used to retrieve the next page of artifact results */
@@ -581,7 +588,7 @@ export interface ListTransitionRequest {
581
588
  /** Version of the model. */
582
589
  version?: string | undefined;
583
590
  }
584
- export interface ListTransitionRequest_Response {
591
+ export interface ListTransitionResponse {
585
592
  /** Array of open transition requests. */
586
593
  requests?: Activity[] | undefined;
587
594
  }
@@ -771,7 +778,7 @@ export interface RejectTransitionRequest {
771
778
  /** User-provided comment on the action. */
772
779
  comment?: string | undefined;
773
780
  }
774
- export interface RejectTransitionRequest_Response {
781
+ export interface RejectTransitionResponse {
775
782
  /** New activity generated as a result of this operation. */
776
783
  activity?: Activity | undefined;
777
784
  }
@@ -781,7 +788,7 @@ export interface RenameRegisteredModelRequest {
781
788
  /** If provided, updates the name for this `registered_model`. */
782
789
  newName?: string | undefined;
783
790
  }
784
- export interface RenameRegisteredModelRequest_Response {
791
+ export interface RenameRegisteredModelResponse {
785
792
  registeredModel?: RegisteredModel | undefined;
786
793
  }
787
794
  export interface SearchModelVersionsRequest {
@@ -802,7 +809,7 @@ export interface SearchModelVersionsRequest {
802
809
  /** Pagination token to go to next page based on previous search query. */
803
810
  pageToken?: string | undefined;
804
811
  }
805
- export interface SearchModelVersionsRequest_Response {
812
+ export interface SearchModelVersionsResponse {
806
813
  /** Models that match the search criteria */
807
814
  modelVersions?: ModelVersion[] | undefined;
808
815
  /** Pagination token to request next page of models for the same search query. */
@@ -826,7 +833,7 @@ export interface SearchRegisteredModelsRequest {
826
833
  /** Pagination token to go to the next page based on a previous search query. */
827
834
  pageToken?: string | undefined;
828
835
  }
829
- export interface SearchRegisteredModelsRequest_Response {
836
+ export interface SearchRegisteredModelsResponse {
830
837
  /** Registered Models that match the search criteria. */
831
838
  registeredModels?: RegisteredModel[] | undefined;
832
839
  /** Pagination token to request the next page of models. */
@@ -849,7 +856,7 @@ export interface SetModelVersionTagRequest {
849
856
  */
850
857
  value?: string | undefined;
851
858
  }
852
- export interface SetModelVersionTagRequest_Response {
859
+ export interface SetModelVersionTagResponse {
853
860
  }
854
861
  export interface SetRegisteredModelTagRequest {
855
862
  /** Unique name of the model. */
@@ -866,7 +873,7 @@ export interface SetRegisteredModelTagRequest {
866
873
  */
867
874
  value?: string | undefined;
868
875
  }
869
- export interface SetRegisteredModelTagRequest_Response {
876
+ export interface SetRegisteredModelTagResponse {
870
877
  }
871
878
  /** Details required to test a registry webhook. */
872
879
  export interface TestRegistryWebhookRequest {
@@ -875,7 +882,7 @@ export interface TestRegistryWebhookRequest {
875
882
  /** If `event` is specified, the test trigger uses the specified event. If `event` is not specified, the test trigger uses a randomly chosen event associated with the webhook. */
876
883
  event?: RegistryWebhookEvent | undefined;
877
884
  }
878
- export interface TestRegistryWebhookRequest_Response {
885
+ export interface TestRegistryWebhookResponse {
879
886
  /** Status code returned by the webhook URL */
880
887
  statusCode?: number | undefined;
881
888
  /** Body of the response from the webhook URL */
@@ -904,7 +911,7 @@ export interface TransitionModelVersionStageDatabricksRequest {
904
911
  /** User-provided comment on the action. */
905
912
  comment?: string | undefined;
906
913
  }
907
- export interface TransitionModelVersionStageDatabricksRequest_Response {
914
+ export interface TransitionModelVersionStageDatabricksResponse {
908
915
  /** Updated model version */
909
916
  modelVersionDatabricks?: ModelVersionDatabricks | undefined;
910
917
  }
@@ -961,7 +968,7 @@ export interface UpdateCommentRequest {
961
968
  /** User-provided comment on the action. */
962
969
  comment?: string | undefined;
963
970
  }
964
- export interface UpdateCommentRequest_Response {
971
+ export interface UpdateCommentResponse {
965
972
  /** Updated comment object */
966
973
  comment?: CommentObject | undefined;
967
974
  }
@@ -973,7 +980,7 @@ export interface UpdateModelVersionRequest {
973
980
  /** If provided, updates the description for this `registered_model`. */
974
981
  description?: string | undefined;
975
982
  }
976
- export interface UpdateModelVersionRequest_Response {
983
+ export interface UpdateModelVersionResponse {
977
984
  /** Return new version number generated for this model in registry. */
978
985
  modelVersion?: ModelVersion | undefined;
979
986
  }
@@ -983,7 +990,7 @@ export interface UpdateRegisteredModelRequest {
983
990
  /** If provided, updates the description for this `registered_model`. */
984
991
  description?: string | undefined;
985
992
  }
986
- export interface UpdateRegisteredModelRequest_Response {
993
+ export interface UpdateRegisteredModelResponse {
987
994
  registeredModel?: RegisteredModel | undefined;
988
995
  }
989
996
  /** Details required to update a registry webhook. Only the fields that need to be updated should be specified, and both `http_url_spec` and `job_spec` should not be specified in the same request. */
@@ -1023,35 +1030,35 @@ export interface UpdateRegistryWebhookRequest {
1023
1030
  httpUrlSpec?: HttpUrlSpec | undefined;
1024
1031
  jobSpec?: JobSpec | undefined;
1025
1032
  }
1026
- export interface UpdateRegistryWebhookRequest_Response {
1033
+ export interface UpdateRegistryWebhookResponse {
1027
1034
  webhook?: RegistryWebhook | undefined;
1028
1035
  }
1029
1036
  export declare const unmarshalActivitySchema: z.ZodType<Activity>;
1030
- export declare const unmarshalApproveTransitionRequest_ResponseSchema: z.ZodType<ApproveTransitionRequest_Response>;
1037
+ export declare const unmarshalApproveTransitionResponseSchema: z.ZodType<ApproveTransitionResponse>;
1031
1038
  export declare const unmarshalCommentObjectSchema: z.ZodType<CommentObject>;
1032
- export declare const unmarshalCreateCommentRequest_ResponseSchema: z.ZodType<CreateCommentRequest_Response>;
1033
- export declare const unmarshalCreateModelVersionRequest_ResponseSchema: z.ZodType<CreateModelVersionRequest_Response>;
1034
- export declare const unmarshalCreateRegisteredModelRequest_ResponseSchema: z.ZodType<CreateRegisteredModelRequest_Response>;
1035
- export declare const unmarshalCreateRegistryWebhookRequest_ResponseSchema: z.ZodType<CreateRegistryWebhookRequest_Response>;
1036
- export declare const unmarshalCreateTransitionRequest_ResponseSchema: z.ZodType<CreateTransitionRequest_Response>;
1037
- export declare const unmarshalDeleteCommentRequest_ResponseSchema: z.ZodType<DeleteCommentRequest_Response>;
1038
- export declare const unmarshalDeleteModelVersionRequest_ResponseSchema: z.ZodType<DeleteModelVersionRequest_Response>;
1039
- export declare const unmarshalDeleteModelVersionTagRequest_ResponseSchema: z.ZodType<DeleteModelVersionTagRequest_Response>;
1040
- export declare const unmarshalDeleteRegisteredModelRequest_ResponseSchema: z.ZodType<DeleteRegisteredModelRequest_Response>;
1041
- export declare const unmarshalDeleteRegisteredModelTagRequest_ResponseSchema: z.ZodType<DeleteRegisteredModelTagRequest_Response>;
1042
- export declare const unmarshalDeleteRegistryWebhookRequest_ResponseSchema: z.ZodType<DeleteRegistryWebhookRequest_Response>;
1043
- export declare const unmarshalDeleteTransitionRequest_ResponseSchema: z.ZodType<DeleteTransitionRequest_Response>;
1039
+ export declare const unmarshalCreateCommentResponseSchema: z.ZodType<CreateCommentResponse>;
1040
+ export declare const unmarshalCreateModelVersionResponseSchema: z.ZodType<CreateModelVersionResponse>;
1041
+ export declare const unmarshalCreateRegisteredModelResponseSchema: z.ZodType<CreateRegisteredModelResponse>;
1042
+ export declare const unmarshalCreateRegistryWebhookResponseSchema: z.ZodType<CreateRegistryWebhookResponse>;
1043
+ export declare const unmarshalCreateTransitionResponseSchema: z.ZodType<CreateTransitionResponse>;
1044
+ export declare const unmarshalDeleteCommentResponseSchema: z.ZodType<DeleteCommentResponse>;
1045
+ export declare const unmarshalDeleteModelVersionResponseSchema: z.ZodType<DeleteModelVersionResponse>;
1046
+ export declare const unmarshalDeleteModelVersionTagResponseSchema: z.ZodType<DeleteModelVersionTagResponse>;
1047
+ export declare const unmarshalDeleteRegisteredModelResponseSchema: z.ZodType<DeleteRegisteredModelResponse>;
1048
+ export declare const unmarshalDeleteRegisteredModelTagResponseSchema: z.ZodType<DeleteRegisteredModelTagResponse>;
1049
+ export declare const unmarshalDeleteRegistryWebhookResponseSchema: z.ZodType<DeleteRegistryWebhookResponse>;
1050
+ export declare const unmarshalDeleteTransitionResponseSchema: z.ZodType<DeleteTransitionResponse>;
1044
1051
  export declare const unmarshalFeatureListSchema: z.ZodType<FeatureList>;
1045
- export declare const unmarshalGetModelVersionDownloadUriRequest_ResponseSchema: z.ZodType<GetModelVersionDownloadUriRequest_Response>;
1046
- export declare const unmarshalGetModelVersionRequest_ResponseSchema: z.ZodType<GetModelVersionRequest_Response>;
1047
- export declare const unmarshalGetRegisteredModelDatabricksRequest_ResponseSchema: z.ZodType<GetRegisteredModelDatabricksRequest_Response>;
1052
+ export declare const unmarshalGetLatestVersionsResponseSchema: z.ZodType<GetLatestVersionsResponse>;
1053
+ export declare const unmarshalGetModelVersionDownloadUriResponseSchema: z.ZodType<GetModelVersionDownloadUriResponse>;
1054
+ export declare const unmarshalGetModelVersionResponseSchema: z.ZodType<GetModelVersionResponse>;
1055
+ export declare const unmarshalGetRegisteredModelDatabricksResponseSchema: z.ZodType<GetRegisteredModelDatabricksResponse>;
1048
1056
  export declare const unmarshalHttpUrlSpecSchema: z.ZodType<HttpUrlSpec>;
1049
1057
  export declare const unmarshalJobSpecSchema: z.ZodType<JobSpec>;
1050
1058
  export declare const unmarshalLinkedFeatureSchema: z.ZodType<LinkedFeature>;
1051
- export declare const unmarshalListLatestVersionsRequest_ResponseSchema: z.ZodType<ListLatestVersionsRequest_Response>;
1052
- export declare const unmarshalListRegisteredModelsRequest_ResponseSchema: z.ZodType<ListRegisteredModelsRequest_Response>;
1053
- export declare const unmarshalListRegistryWebhooksRequest_ResponseSchema: z.ZodType<ListRegistryWebhooksRequest_Response>;
1054
- export declare const unmarshalListTransitionRequest_ResponseSchema: z.ZodType<ListTransitionRequest_Response>;
1059
+ export declare const unmarshalListRegisteredModelsResponseSchema: z.ZodType<ListRegisteredModelsResponse>;
1060
+ export declare const unmarshalListRegistryWebhooksResponseSchema: z.ZodType<ListRegistryWebhooksResponse>;
1061
+ export declare const unmarshalListTransitionResponseSchema: z.ZodType<ListTransitionResponse>;
1055
1062
  export declare const unmarshalModelVersionSchema: z.ZodType<ModelVersion>;
1056
1063
  export declare const unmarshalModelVersionDatabricksSchema: z.ZodType<ModelVersionDatabricks>;
1057
1064
  export declare const unmarshalModelVersionTagSchema: z.ZodType<ModelVersionTag>;
@@ -1059,19 +1066,19 @@ export declare const unmarshalRegisteredModelSchema: z.ZodType<RegisteredModel>;
1059
1066
  export declare const unmarshalRegisteredModelDatabricksSchema: z.ZodType<RegisteredModelDatabricks>;
1060
1067
  export declare const unmarshalRegisteredModelTagSchema: z.ZodType<RegisteredModelTag>;
1061
1068
  export declare const unmarshalRegistryWebhookSchema: z.ZodType<RegistryWebhook>;
1062
- export declare const unmarshalRejectTransitionRequest_ResponseSchema: z.ZodType<RejectTransitionRequest_Response>;
1063
- export declare const unmarshalRenameRegisteredModelRequest_ResponseSchema: z.ZodType<RenameRegisteredModelRequest_Response>;
1064
- export declare const unmarshalSearchModelVersionsRequest_ResponseSchema: z.ZodType<SearchModelVersionsRequest_Response>;
1065
- export declare const unmarshalSearchRegisteredModelsRequest_ResponseSchema: z.ZodType<SearchRegisteredModelsRequest_Response>;
1066
- export declare const unmarshalSetModelVersionTagRequest_ResponseSchema: z.ZodType<SetModelVersionTagRequest_Response>;
1067
- export declare const unmarshalSetRegisteredModelTagRequest_ResponseSchema: z.ZodType<SetRegisteredModelTagRequest_Response>;
1068
- export declare const unmarshalTestRegistryWebhookRequest_ResponseSchema: z.ZodType<TestRegistryWebhookRequest_Response>;
1069
- export declare const unmarshalTransitionModelVersionStageDatabricksRequest_ResponseSchema: z.ZodType<TransitionModelVersionStageDatabricksRequest_Response>;
1069
+ export declare const unmarshalRejectTransitionResponseSchema: z.ZodType<RejectTransitionResponse>;
1070
+ export declare const unmarshalRenameRegisteredModelResponseSchema: z.ZodType<RenameRegisteredModelResponse>;
1071
+ export declare const unmarshalSearchModelVersionsResponseSchema: z.ZodType<SearchModelVersionsResponse>;
1072
+ export declare const unmarshalSearchRegisteredModelsResponseSchema: z.ZodType<SearchRegisteredModelsResponse>;
1073
+ export declare const unmarshalSetModelVersionTagResponseSchema: z.ZodType<SetModelVersionTagResponse>;
1074
+ export declare const unmarshalSetRegisteredModelTagResponseSchema: z.ZodType<SetRegisteredModelTagResponse>;
1075
+ export declare const unmarshalTestRegistryWebhookResponseSchema: z.ZodType<TestRegistryWebhookResponse>;
1076
+ export declare const unmarshalTransitionModelVersionStageDatabricksResponseSchema: z.ZodType<TransitionModelVersionStageDatabricksResponse>;
1070
1077
  export declare const unmarshalTransitionRequestSchema: z.ZodType<TransitionRequest>;
1071
- export declare const unmarshalUpdateCommentRequest_ResponseSchema: z.ZodType<UpdateCommentRequest_Response>;
1072
- export declare const unmarshalUpdateModelVersionRequest_ResponseSchema: z.ZodType<UpdateModelVersionRequest_Response>;
1073
- export declare const unmarshalUpdateRegisteredModelRequest_ResponseSchema: z.ZodType<UpdateRegisteredModelRequest_Response>;
1074
- export declare const unmarshalUpdateRegistryWebhookRequest_ResponseSchema: z.ZodType<UpdateRegistryWebhookRequest_Response>;
1078
+ export declare const unmarshalUpdateCommentResponseSchema: z.ZodType<UpdateCommentResponse>;
1079
+ export declare const unmarshalUpdateModelVersionResponseSchema: z.ZodType<UpdateModelVersionResponse>;
1080
+ export declare const unmarshalUpdateRegisteredModelResponseSchema: z.ZodType<UpdateRegisteredModelResponse>;
1081
+ export declare const unmarshalUpdateRegistryWebhookResponseSchema: z.ZodType<UpdateRegistryWebhookResponse>;
1075
1082
  export declare const marshalApproveTransitionRequestSchema: z.ZodType;
1076
1083
  export declare const marshalCreateCommentRequestSchema: z.ZodType;
1077
1084
  export declare const marshalCreateModelVersionRequestSchema: z.ZodType;