@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.
- package/dist/v1/client.d.ts +33 -33
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +33 -33
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +1 -1
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/model.d.ts +131 -124
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +119 -153
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/utils.d.ts.map +1 -1
- package/dist/v1/utils.js +2 -1
- package/dist/v1/utils.js.map +1 -1
- package/package.json +6 -6
- package/src/v1/client.ts +0 -1435
- package/src/v1/index.ts +0 -94
- package/src/v1/model.ts +0 -2049
- package/src/v1/transport.ts +0 -73
- package/src/v1/utils.ts +0 -156
package/dist/v1/model.d.ts
CHANGED
|
@@ -14,18 +14,19 @@ import { z } from 'zod';
|
|
|
14
14
|
*
|
|
15
15
|
* * `DELETE_COMMENT`: Delete the comment
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
17
|
+
export declare const ActivityAction: {
|
|
18
18
|
/** Approve a transition request. Available to users with sufficient permissions. */
|
|
19
|
-
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
|
|
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
|
|
23
|
+
readonly CANCEL_TRANSITION_REQUEST: "CANCEL_TRANSITION_REQUEST";
|
|
24
24
|
/** Edit the comment */
|
|
25
|
-
EDIT_COMMENT
|
|
25
|
+
readonly EDIT_COMMENT: "EDIT_COMMENT";
|
|
26
26
|
/** Delete the comment */
|
|
27
|
-
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
|
|
44
|
+
export declare const ActivityType: {
|
|
44
45
|
/** Indicates that the corresponding stage transition was applied by user. */
|
|
45
|
-
APPLIED_TRANSITION
|
|
46
|
+
readonly APPLIED_TRANSITION: "APPLIED_TRANSITION";
|
|
46
47
|
/** Corresponding stage transition was requested by user. */
|
|
47
|
-
REQUESTED_TRANSITION
|
|
48
|
+
readonly REQUESTED_TRANSITION: "REQUESTED_TRANSITION";
|
|
48
49
|
/** User cancelled an existing request. */
|
|
49
|
-
CANCELLED_REQUEST
|
|
50
|
+
readonly CANCELLED_REQUEST: "CANCELLED_REQUEST";
|
|
50
51
|
/** Corresponding transition request was approved by user. */
|
|
51
|
-
APPROVED_REQUEST
|
|
52
|
+
readonly APPROVED_REQUEST: "APPROVED_REQUEST";
|
|
52
53
|
/** Corresponding transition request was rejected by user. */
|
|
53
|
-
REJECTED_REQUEST
|
|
54
|
+
readonly REJECTED_REQUEST: "REJECTED_REQUEST";
|
|
54
55
|
/** User posted a new comment */
|
|
55
|
-
NEW_COMMENT
|
|
56
|
+
readonly NEW_COMMENT: "NEW_COMMENT";
|
|
56
57
|
/** Corresponding transition for events such as archiving existing model versions */
|
|
57
|
-
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
|
|
69
|
+
export declare const ModelVersionStatus: {
|
|
68
70
|
/** Request to register a new model version is pending as server performs background tasks. */
|
|
69
|
-
PENDING_REGISTRATION
|
|
71
|
+
readonly PENDING_REGISTRATION: "PENDING_REGISTRATION";
|
|
70
72
|
/** Request to register a new model version has failed. */
|
|
71
|
-
FAILED_REGISTRATION
|
|
73
|
+
readonly FAILED_REGISTRATION: "FAILED_REGISTRATION";
|
|
72
74
|
/** Model version is ready for use. */
|
|
73
|
-
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
|
|
77
|
-
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
|
|
80
|
-
CAN_READ
|
|
81
|
-
CAN_MANAGE_STAGING_VERSIONS
|
|
82
|
-
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
|
|
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
|
|
100
|
-
ALL_EVENTS
|
|
101
|
-
DEFAULT
|
|
102
|
-
SUBSCRIBED
|
|
103
|
-
UNSUBSCRIBED
|
|
104
|
-
}
|
|
105
|
-
export
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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
|
|
133
|
+
export declare const RegistryWebhookStatus: {
|
|
128
134
|
/** Event and test triggers will be sent. */
|
|
129
|
-
ACTIVE
|
|
135
|
+
readonly ACTIVE: "ACTIVE";
|
|
130
136
|
/** No triggers will be sent. */
|
|
131
|
-
DISABLED
|
|
137
|
+
readonly DISABLED: "DISABLED";
|
|
132
138
|
/** Test triggers will be sent, but not actual events. */
|
|
133
|
-
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1033
|
+
export interface UpdateRegistryWebhookResponse {
|
|
1027
1034
|
webhook?: RegistryWebhook | undefined;
|
|
1028
1035
|
}
|
|
1029
1036
|
export declare const unmarshalActivitySchema: z.ZodType<Activity>;
|
|
1030
|
-
export declare const
|
|
1037
|
+
export declare const unmarshalApproveTransitionResponseSchema: z.ZodType<ApproveTransitionResponse>;
|
|
1031
1038
|
export declare const unmarshalCommentObjectSchema: z.ZodType<CommentObject>;
|
|
1032
|
-
export declare const
|
|
1033
|
-
export declare const
|
|
1034
|
-
export declare const
|
|
1035
|
-
export declare const
|
|
1036
|
-
export declare const
|
|
1037
|
-
export declare const
|
|
1038
|
-
export declare const
|
|
1039
|
-
export declare const
|
|
1040
|
-
export declare const
|
|
1041
|
-
export declare const
|
|
1042
|
-
export declare const
|
|
1043
|
-
export declare const
|
|
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
|
|
1046
|
-
export declare const
|
|
1047
|
-
export declare const
|
|
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
|
|
1052
|
-
export declare const
|
|
1053
|
-
export declare const
|
|
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
|
|
1063
|
-
export declare const
|
|
1064
|
-
export declare const
|
|
1065
|
-
export declare const
|
|
1066
|
-
export declare const
|
|
1067
|
-
export declare const
|
|
1068
|
-
export declare const
|
|
1069
|
-
export declare const
|
|
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
|
|
1072
|
-
export declare const
|
|
1073
|
-
export declare const
|
|
1074
|
-
export declare const
|
|
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;
|