polytomic 25.9.3 → 25.9.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/BaseClient.d.ts +15 -0
- package/BaseClient.js +17 -2
- package/api/errors/BadGatewayError.d.ts +1 -0
- package/api/errors/BadGatewayError.js +1 -1
- package/api/errors/BadRequestError.d.ts +1 -0
- package/api/errors/BadRequestError.js +1 -1
- package/api/errors/ConflictError.d.ts +1 -0
- package/api/errors/ConflictError.js +1 -1
- package/api/errors/ForbiddenError.d.ts +1 -0
- package/api/errors/ForbiddenError.js +1 -1
- package/api/errors/GatewayTimeoutError.d.ts +1 -0
- package/api/errors/GatewayTimeoutError.js +1 -1
- package/api/errors/InternalServerError.d.ts +1 -0
- package/api/errors/InternalServerError.js +1 -1
- package/api/errors/NotFoundError.d.ts +1 -0
- package/api/errors/NotFoundError.js +1 -1
- package/api/errors/RequestTimeoutError.d.ts +1 -0
- package/api/errors/RequestTimeoutError.js +1 -1
- package/api/errors/ServiceUnavailableError.d.ts +1 -0
- package/api/errors/ServiceUnavailableError.js +1 -1
- package/api/errors/TooManyRequestsError.d.ts +1 -0
- package/api/errors/TooManyRequestsError.js +1 -1
- package/api/errors/UnauthorizedError.d.ts +1 -0
- package/api/errors/UnauthorizedError.js +1 -1
- package/api/errors/UnprocessableEntityError.d.ts +1 -0
- package/api/errors/UnprocessableEntityError.js +1 -1
- package/api/resources/bulkSync/client/Client.d.ts +22 -0
- package/api/resources/bulkSync/client/Client.js +27 -4
- package/api/resources/bulkSync/resources/errorHandling/client/Client.d.ts +4 -0
- package/api/resources/bulkSync/resources/errorHandling/client/Client.js +6 -1
- package/api/resources/bulkSync/resources/executions/client/Client.d.ts +18 -0
- package/api/resources/bulkSync/resources/executions/client/Client.js +18 -0
- package/api/resources/bulkSync/resources/schedules/client/Client.d.ts +10 -0
- package/api/resources/bulkSync/resources/schedules/client/Client.js +13 -2
- package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +10 -0
- package/api/resources/bulkSync/resources/schemas/client/Client.js +13 -2
- package/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.d.ts +1 -1
- package/api/resources/connections/client/Client.d.ts +26 -0
- package/api/resources/connections/client/Client.js +32 -5
- package/api/resources/connections/resources/proxy/client/Client.d.ts +8 -0
- package/api/resources/connections/resources/proxy/client/Client.js +11 -2
- package/api/resources/connections/resources/sharedConnections/client/Client.d.ts +6 -0
- package/api/resources/connections/resources/sharedConnections/client/Client.js +8 -1
- package/api/resources/entities/client/Client.d.ts +4 -0
- package/api/resources/entities/client/Client.js +4 -0
- package/api/resources/events/client/Client.d.ts +5 -0
- package/api/resources/events/client/Client.js +5 -0
- package/api/resources/harbors/client/Client.d.ts +67 -64
- package/api/resources/harbors/client/Client.js +77 -73
- package/api/resources/identity/client/Client.d.ts +2 -0
- package/api/resources/identity/client/Client.js +2 -0
- package/api/resources/jobs/client/Client.d.ts +2 -0
- package/api/resources/jobs/client/Client.js +2 -0
- package/api/resources/modelSync/client/Client.d.ts +24 -0
- package/api/resources/modelSync/client/Client.js +29 -4
- package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.d.ts +1 -1
- package/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.d.ts +1 -1
- package/api/resources/modelSync/resources/errorHandling/client/Client.d.ts +4 -0
- package/api/resources/modelSync/resources/errorHandling/client/Client.js +6 -1
- package/api/resources/modelSync/resources/executions/client/Client.d.ts +14 -0
- package/api/resources/modelSync/resources/executions/client/Client.js +14 -0
- package/api/resources/modelSync/resources/targets/client/Client.d.ts +6 -0
- package/api/resources/modelSync/resources/targets/client/Client.js +6 -0
- package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.d.ts +1 -1
- package/api/resources/models/client/Client.d.ts +18 -0
- package/api/resources/models/client/Client.js +23 -4
- package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +1 -1
- package/api/resources/notifications/client/Client.d.ts +4 -0
- package/api/resources/notifications/client/Client.js +6 -1
- package/api/resources/organization/client/Client.d.ts +16 -0
- package/api/resources/organization/client/Client.js +20 -3
- package/api/resources/permissions/resources/policies/client/Client.d.ts +10 -0
- package/api/resources/permissions/resources/policies/client/Client.js +13 -2
- package/api/resources/permissions/resources/roles/client/Client.d.ts +10 -0
- package/api/resources/permissions/resources/roles/client/Client.js +13 -2
- package/api/resources/queryRunner/client/Client.d.ts +4 -0
- package/api/resources/queryRunner/client/Client.js +6 -1
- package/api/resources/recordViewLinks/client/Client.d.ts +4 -4
- package/api/resources/recordViewLinks/client/Client.js +6 -5
- package/api/resources/schemas/client/Client.d.ts +18 -0
- package/api/resources/schemas/client/Client.js +22 -3
- package/api/resources/temporaryCredentials/client/Client.d.ts +2 -2
- package/api/resources/temporaryCredentials/client/Client.js +4 -3
- package/api/resources/users/client/Client.d.ts +22 -0
- package/api/resources/users/client/Client.js +27 -4
- package/api/resources/webhooks/client/Client.d.ts +14 -0
- package/api/resources/webhooks/client/Client.js +17 -2
- package/api/types/ConnectionParameterValuesResponseEnvelope.d.ts +1 -1
- package/api/types/ConnectionProxyResponse.d.ts +1 -1
- package/api/types/HarborPipelineStatusResponse.d.ts +1 -1
- package/api/types/HarborSourceMappingResponse.d.ts +1 -1
- package/api/types/SyncSourceMetaResponse.d.ts +1 -1
- package/core/auth/AuthProvider.d.ts +1 -0
- package/core/auth/AuthProvider.js +7 -0
- package/core/auth/index.d.ts +1 -1
- package/core/auth/index.js +3 -1
- package/core/fetcher/Fetcher.js +9 -92
- package/core/fetcher/getResponseBody.js +11 -0
- package/core/fetcher/makePassthroughRequest.js +26 -4
- package/core/fetcher/redactUrl.d.ts +2 -0
- package/core/fetcher/redactUrl.js +88 -0
- package/core/fetcher/requestWithRetries.js +4 -1
- package/core/fetcher/signals.js +9 -1
- package/core/requestBody.d.ts +12 -0
- package/core/requestBody.js +26 -0
- package/core/runtime/index.d.ts +1 -1
- package/core/runtime/index.js +2 -1
- package/core/runtime/runtime.d.ts +19 -0
- package/core/runtime/runtime.js +74 -2
- package/core/url/qs.js +2 -2
- package/errors/PolytomicError.d.ts +1 -0
- package/errors/PolytomicError.js +5 -1
- package/errors/PolytomicTimeoutError.d.ts +2 -2
- package/errors/PolytomicTimeoutError.js +40 -6
- package/package.json +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -13,13 +13,14 @@ export declare class HarborsClient {
|
|
|
13
13
|
protected readonly _options: NormalizedClientOptionsWithAuth<HarborsClient.Options>;
|
|
14
14
|
constructor(options?: HarborsClient.Options);
|
|
15
15
|
/**
|
|
16
|
-
* @beta This endpoint is in pre-release and may change.
|
|
17
|
-
*
|
|
18
16
|
* Lists profile-authorized connections and capabilities for the current Harbor credential.
|
|
19
17
|
*
|
|
20
18
|
* @param {Polytomic.HarborsListAuthorizedConnectionsRequest} request
|
|
21
19
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
22
20
|
*
|
|
21
|
+
* @throws {@link errors.PolytomicError}
|
|
22
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
23
|
+
*
|
|
23
24
|
* @example
|
|
24
25
|
* await client.harbors.listAuthorizedConnections({
|
|
25
26
|
* limit: 1,
|
|
@@ -29,14 +30,15 @@ export declare class HarborsClient {
|
|
|
29
30
|
listAuthorizedConnections(request?: Polytomic.HarborsListAuthorizedConnectionsRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborConnectionListEnvelope>;
|
|
30
31
|
private __listAuthorizedConnections;
|
|
31
32
|
/**
|
|
32
|
-
* @beta This endpoint is in pre-release and may change.
|
|
33
|
-
*
|
|
34
33
|
* Lists one bounded page of schema resources authorized by the current Harbor profile.
|
|
35
34
|
*
|
|
36
35
|
* @param {string} connection_id
|
|
37
36
|
* @param {Polytomic.HarborsListAuthorizedSchemasRequest} request
|
|
38
37
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
38
|
*
|
|
39
|
+
* @throws {@link errors.PolytomicError}
|
|
40
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
41
|
+
*
|
|
40
42
|
* @example
|
|
41
43
|
* await client.harbors.listAuthorizedSchemas("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
42
44
|
* limit: 1,
|
|
@@ -46,8 +48,6 @@ export declare class HarborsClient {
|
|
|
46
48
|
listAuthorizedSchemas(connection_id: string, request?: Polytomic.HarborsListAuthorizedSchemasRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborSchemaListEnvelope>;
|
|
47
49
|
private __listAuthorizedSchemas;
|
|
48
50
|
/**
|
|
49
|
-
* @beta This endpoint is in pre-release and may change.
|
|
50
|
-
*
|
|
51
51
|
* Returns one schema resource authorized by the current Harbor profile.
|
|
52
52
|
*
|
|
53
53
|
* @param {string} connection_id
|
|
@@ -55,14 +55,15 @@ export declare class HarborsClient {
|
|
|
55
55
|
* @param {Polytomic.HarborsGetAuthorizedSchemaRequest} request
|
|
56
56
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
57
57
|
*
|
|
58
|
+
* @throws {@link errors.PolytomicError}
|
|
59
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
60
|
+
*
|
|
58
61
|
* @example
|
|
59
62
|
* await client.harbors.getAuthorizedSchema("248df4b7-aa70-47b8-a036-33ac447e668d", "schema_id")
|
|
60
63
|
*/
|
|
61
64
|
getAuthorizedSchema(connection_id: string, schema_id: string, request?: Polytomic.HarborsGetAuthorizedSchemaRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborConnectionSchemaEnvelope>;
|
|
62
65
|
private __getAuthorizedSchema;
|
|
63
66
|
/**
|
|
64
|
-
* @beta This endpoint is in pre-release and may change.
|
|
65
|
-
*
|
|
66
67
|
* Registers a service-attested MCP transport session for a scoped Harbor credential.
|
|
67
68
|
*
|
|
68
69
|
* @param {Polytomic.RegisterHarborSessionRequest} request
|
|
@@ -70,6 +71,8 @@ export declare class HarborsClient {
|
|
|
70
71
|
*
|
|
71
72
|
* @throws {@link Polytomic.ForbiddenError}
|
|
72
73
|
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
74
|
+
* @throws {@link errors.PolytomicError}
|
|
75
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
73
76
|
*
|
|
74
77
|
* @example
|
|
75
78
|
* await client.harbors.registerSession()
|
|
@@ -77,8 +80,6 @@ export declare class HarborsClient {
|
|
|
77
80
|
registerSession(request?: Polytomic.RegisterHarborSessionRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.RegisterHarborSessionEnvelope>;
|
|
78
81
|
private __registerSession;
|
|
79
82
|
/**
|
|
80
|
-
* @beta This endpoint is in pre-release and may change.
|
|
81
|
-
*
|
|
82
83
|
* Closes a service-attested Harbor MCP transport session.
|
|
83
84
|
*
|
|
84
85
|
* @param {string} session_id
|
|
@@ -87,6 +88,8 @@ export declare class HarborsClient {
|
|
|
87
88
|
*
|
|
88
89
|
* @throws {@link Polytomic.ForbiddenError}
|
|
89
90
|
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
91
|
+
* @throws {@link errors.PolytomicError}
|
|
92
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
90
93
|
*
|
|
91
94
|
* @example
|
|
92
95
|
* await client.harbors.closeSession("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -94,8 +97,6 @@ export declare class HarborsClient {
|
|
|
94
97
|
closeSession(session_id: string, request?: Polytomic.HarborsCloseSessionRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.CloseHarborSessionEnvelope>;
|
|
95
98
|
private __closeSession;
|
|
96
99
|
/**
|
|
97
|
-
* @beta This endpoint is in pre-release and may change.
|
|
98
|
-
*
|
|
99
100
|
* Lists Harbors in the caller's current organization.
|
|
100
101
|
*
|
|
101
102
|
* Returns Harbors in creation order. Use `pagination.next_page_token` to continue when more results are available.
|
|
@@ -106,6 +107,8 @@ export declare class HarborsClient {
|
|
|
106
107
|
* @throws {@link Polytomic.ForbiddenError}
|
|
107
108
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
108
109
|
* @throws {@link Polytomic.InternalServerError}
|
|
110
|
+
* @throws {@link errors.PolytomicError}
|
|
111
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
109
112
|
*
|
|
110
113
|
* @example
|
|
111
114
|
* await client.harbors.list({
|
|
@@ -116,8 +119,6 @@ export declare class HarborsClient {
|
|
|
116
119
|
list(request?: Polytomic.HarborsListRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborListEnvelope>;
|
|
117
120
|
private __list;
|
|
118
121
|
/**
|
|
119
|
-
* @beta This endpoint is in pre-release and may change.
|
|
120
|
-
*
|
|
121
122
|
* Creates a managed or customer-managed Harbor in the caller's current organization.
|
|
122
123
|
*
|
|
123
124
|
* `generate_api_key` defaults to `true`. Polytomic returns a new plaintext credential only in this response. Set it to `false` to create the Harbor without a credential.
|
|
@@ -131,6 +132,8 @@ export declare class HarborsClient {
|
|
|
131
132
|
* @throws {@link Polytomic.ConflictError}
|
|
132
133
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
133
134
|
* @throws {@link Polytomic.InternalServerError}
|
|
135
|
+
* @throws {@link errors.PolytomicError}
|
|
136
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
134
137
|
*
|
|
135
138
|
* @example
|
|
136
139
|
* await client.harbors.create({
|
|
@@ -141,8 +144,6 @@ export declare class HarborsClient {
|
|
|
141
144
|
create(request: Polytomic.CreateHarborRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.CreateHarborEnvelope>;
|
|
142
145
|
private __create;
|
|
143
146
|
/**
|
|
144
|
-
* @beta This endpoint is in pre-release and may change.
|
|
145
|
-
*
|
|
146
147
|
* Returns one Harbor by its first-class Harbor ID.
|
|
147
148
|
*
|
|
148
149
|
* The response exposes the backing Connection ID but not the internal profile used to authorize Harbor credentials.
|
|
@@ -153,6 +154,8 @@ export declare class HarborsClient {
|
|
|
153
154
|
* @throws {@link Polytomic.ForbiddenError}
|
|
154
155
|
* @throws {@link Polytomic.NotFoundError}
|
|
155
156
|
* @throws {@link Polytomic.InternalServerError}
|
|
157
|
+
* @throws {@link errors.PolytomicError}
|
|
158
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
156
159
|
*
|
|
157
160
|
* @example
|
|
158
161
|
* await client.harbors.get("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -160,8 +163,6 @@ export declare class HarborsClient {
|
|
|
160
163
|
get(harbor_id: string, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborEnvelope>;
|
|
161
164
|
private __get;
|
|
162
165
|
/**
|
|
163
|
-
* @beta This endpoint is in pre-release and may change.
|
|
164
|
-
*
|
|
165
166
|
* Updates a Harbor's name and description.
|
|
166
167
|
*
|
|
167
168
|
* This operation does not change `backing_mode` or `backing_connection_id`.
|
|
@@ -175,6 +176,8 @@ export declare class HarborsClient {
|
|
|
175
176
|
* @throws {@link Polytomic.ConflictError}
|
|
176
177
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
177
178
|
* @throws {@link Polytomic.InternalServerError}
|
|
179
|
+
* @throws {@link errors.PolytomicError}
|
|
180
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
178
181
|
*
|
|
179
182
|
* @example
|
|
180
183
|
* await client.harbors.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -184,8 +187,6 @@ export declare class HarborsClient {
|
|
|
184
187
|
update(harbor_id: string, request: Polytomic.UpdateHarborRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborEnvelope>;
|
|
185
188
|
private __update;
|
|
186
189
|
/**
|
|
187
|
-
* @beta This endpoint is in pre-release and may change.
|
|
188
|
-
*
|
|
189
190
|
* Deletes a Harbor and revokes its credentials.
|
|
190
191
|
*
|
|
191
192
|
* > 🚧 Harbor deletion
|
|
@@ -199,6 +200,8 @@ export declare class HarborsClient {
|
|
|
199
200
|
* @throws {@link Polytomic.NotFoundError}
|
|
200
201
|
* @throws {@link Polytomic.ConflictError}
|
|
201
202
|
* @throws {@link Polytomic.InternalServerError}
|
|
203
|
+
* @throws {@link errors.PolytomicError}
|
|
204
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
202
205
|
*
|
|
203
206
|
* @example
|
|
204
207
|
* await client.harbors.delete("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -206,8 +209,6 @@ export declare class HarborsClient {
|
|
|
206
209
|
delete(harbor_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.DeletedHarborEnvelope>;
|
|
207
210
|
private __delete;
|
|
208
211
|
/**
|
|
209
|
-
* @beta This endpoint is in pre-release and may change.
|
|
210
|
-
*
|
|
211
212
|
* Lists context document metadata for a Harbor without returning document content.
|
|
212
213
|
*
|
|
213
214
|
* Collection items include the current published `version` number and omit
|
|
@@ -224,6 +225,8 @@ export declare class HarborsClient {
|
|
|
224
225
|
* @throws {@link Polytomic.NotFoundError}
|
|
225
226
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
226
227
|
* @throws {@link Polytomic.InternalServerError}
|
|
228
|
+
* @throws {@link errors.PolytomicError}
|
|
229
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
227
230
|
*
|
|
228
231
|
* @example
|
|
229
232
|
* await client.harbors.listContexts("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -234,8 +237,6 @@ export declare class HarborsClient {
|
|
|
234
237
|
listContexts(harbor_id: string, request?: Polytomic.HarborsListContextsRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextListEnvelope>;
|
|
235
238
|
private __listContexts;
|
|
236
239
|
/**
|
|
237
|
-
* @beta This endpoint is in pre-release and may change.
|
|
238
|
-
*
|
|
239
240
|
* Creates and attaches a context document to a Harbor.
|
|
240
241
|
*
|
|
241
242
|
* The new document belongs only to this Harbor. Context documents cannot be attached to multiple Harbors.
|
|
@@ -248,6 +249,8 @@ export declare class HarborsClient {
|
|
|
248
249
|
* @throws {@link Polytomic.NotFoundError}
|
|
249
250
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
250
251
|
* @throws {@link Polytomic.InternalServerError}
|
|
252
|
+
* @throws {@link errors.PolytomicError}
|
|
253
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
251
254
|
*
|
|
252
255
|
* @example
|
|
253
256
|
* await client.harbors.createContext("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -258,8 +261,6 @@ export declare class HarborsClient {
|
|
|
258
261
|
createContext(harbor_id: string, request: Polytomic.CreateHarborContextRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextEnvelope>;
|
|
259
262
|
private __createContext;
|
|
260
263
|
/**
|
|
261
|
-
* @beta This endpoint is in pre-release and may change.
|
|
262
|
-
*
|
|
263
264
|
* Lists mutable Harbor context drafts without returning document content.
|
|
264
265
|
*
|
|
265
266
|
* The collection includes drafts for published context documents and initial drafts
|
|
@@ -278,6 +279,8 @@ export declare class HarborsClient {
|
|
|
278
279
|
* @throws {@link Polytomic.NotFoundError}
|
|
279
280
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
280
281
|
* @throws {@link Polytomic.InternalServerError}
|
|
282
|
+
* @throws {@link errors.PolytomicError}
|
|
283
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
281
284
|
*
|
|
282
285
|
* @example
|
|
283
286
|
* await client.harbors.listContextDrafts("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -288,8 +291,6 @@ export declare class HarborsClient {
|
|
|
288
291
|
listContextDrafts(harbor_id: string, request?: Polytomic.HarborsListContextDraftsRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextDraftListEnvelope>;
|
|
289
292
|
private __listContextDrafts;
|
|
290
293
|
/**
|
|
291
|
-
* @beta This endpoint is in pre-release and may change.
|
|
292
|
-
*
|
|
293
294
|
* Creates an unpublished context document with its initial mutable draft.
|
|
294
295
|
*
|
|
295
296
|
* Creates a stable context identity and its initial mutable draft without publishing
|
|
@@ -309,6 +310,8 @@ export declare class HarborsClient {
|
|
|
309
310
|
* @throws {@link Polytomic.NotFoundError}
|
|
310
311
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
311
312
|
* @throws {@link Polytomic.InternalServerError}
|
|
313
|
+
* @throws {@link errors.PolytomicError}
|
|
314
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
312
315
|
*
|
|
313
316
|
* @example
|
|
314
317
|
* await client.harbors.createContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -319,8 +322,6 @@ export declare class HarborsClient {
|
|
|
319
322
|
createContextDraft(harbor_id: string, request: Polytomic.CreateHarborContextDraftRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextDraftEnvelope>;
|
|
320
323
|
private __createContextDraft;
|
|
321
324
|
/**
|
|
322
|
-
* @beta This endpoint is in pre-release and may change.
|
|
323
|
-
*
|
|
324
325
|
* Returns one complete Harbor context document.
|
|
325
326
|
*
|
|
326
327
|
* The response includes the current published `version` number and complete
|
|
@@ -337,6 +338,8 @@ export declare class HarborsClient {
|
|
|
337
338
|
* @throws {@link Polytomic.ForbiddenError}
|
|
338
339
|
* @throws {@link Polytomic.NotFoundError}
|
|
339
340
|
* @throws {@link Polytomic.InternalServerError}
|
|
341
|
+
* @throws {@link errors.PolytomicError}
|
|
342
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
340
343
|
*
|
|
341
344
|
* @example
|
|
342
345
|
* await client.harbors.getContext("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -344,8 +347,6 @@ export declare class HarborsClient {
|
|
|
344
347
|
getContext(harbor_id: string, context_id: string, request?: Polytomic.HarborsGetContextRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextEnvelope>;
|
|
345
348
|
private __getContext;
|
|
346
349
|
/**
|
|
347
|
-
* @beta This endpoint is in pre-release and may change.
|
|
348
|
-
*
|
|
349
350
|
* Replaces one Harbor context document.
|
|
350
351
|
*
|
|
351
352
|
* Each successful request publishes the next immutable version. You can omit
|
|
@@ -362,6 +363,8 @@ export declare class HarborsClient {
|
|
|
362
363
|
* @throws {@link Polytomic.NotFoundError}
|
|
363
364
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
364
365
|
* @throws {@link Polytomic.InternalServerError}
|
|
366
|
+
* @throws {@link errors.PolytomicError}
|
|
367
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
365
368
|
*
|
|
366
369
|
* @example
|
|
367
370
|
* await client.harbors.updateContext("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -372,8 +375,6 @@ export declare class HarborsClient {
|
|
|
372
375
|
updateContext(harbor_id: string, context_id: string, request: Polytomic.SaveHarborContextRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextEnvelope>;
|
|
373
376
|
private __updateContext;
|
|
374
377
|
/**
|
|
375
|
-
* @beta This endpoint is in pre-release and may change.
|
|
376
|
-
*
|
|
377
378
|
* Deletes one context document from a Harbor.
|
|
378
379
|
*
|
|
379
380
|
* Deleting a context document does not affect the Harbor or its other context documents.
|
|
@@ -386,6 +387,8 @@ export declare class HarborsClient {
|
|
|
386
387
|
* @throws {@link Polytomic.ForbiddenError}
|
|
387
388
|
* @throws {@link Polytomic.NotFoundError}
|
|
388
389
|
* @throws {@link Polytomic.InternalServerError}
|
|
390
|
+
* @throws {@link errors.PolytomicError}
|
|
391
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
389
392
|
*
|
|
390
393
|
* @example
|
|
391
394
|
* await client.harbors.deleteContext("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -393,8 +396,6 @@ export declare class HarborsClient {
|
|
|
393
396
|
deleteContext(harbor_id: string, context_id: string, request?: Polytomic.HarborsDeleteContextRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.DeletedHarborContextEnvelope>;
|
|
394
397
|
private __deleteContext;
|
|
395
398
|
/**
|
|
396
|
-
* @beta This endpoint is in pre-release and may change.
|
|
397
|
-
*
|
|
398
399
|
* Returns the mutable draft for a Harbor context document.
|
|
399
400
|
*
|
|
400
401
|
* Drafts are available only through the draft endpoints. `base_revision_id`
|
|
@@ -410,6 +411,8 @@ export declare class HarborsClient {
|
|
|
410
411
|
* @throws {@link Polytomic.ForbiddenError}
|
|
411
412
|
* @throws {@link Polytomic.NotFoundError}
|
|
412
413
|
* @throws {@link Polytomic.InternalServerError}
|
|
414
|
+
* @throws {@link errors.PolytomicError}
|
|
415
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
413
416
|
*
|
|
414
417
|
* @example
|
|
415
418
|
* await client.harbors.getContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -417,8 +420,6 @@ export declare class HarborsClient {
|
|
|
417
420
|
getContextDraft(harbor_id: string, context_id: string, request?: Polytomic.HarborsGetContextDraftRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextDraftEnvelope>;
|
|
418
421
|
private __getContextDraft;
|
|
419
422
|
/**
|
|
420
|
-
* @beta This endpoint is in pre-release and may change.
|
|
421
|
-
*
|
|
422
423
|
* Creates or completely replaces the mutable draft for a Harbor context document.
|
|
423
424
|
*
|
|
424
425
|
* The request supplies the complete draft payload. If a draft already exists,
|
|
@@ -440,6 +441,8 @@ export declare class HarborsClient {
|
|
|
440
441
|
* @throws {@link Polytomic.NotFoundError}
|
|
441
442
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
442
443
|
* @throws {@link Polytomic.InternalServerError}
|
|
444
|
+
* @throws {@link errors.PolytomicError}
|
|
445
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
443
446
|
*
|
|
444
447
|
* @example
|
|
445
448
|
* await client.harbors.saveContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -450,8 +453,6 @@ export declare class HarborsClient {
|
|
|
450
453
|
saveContextDraft(harbor_id: string, context_id: string, request: Polytomic.SaveHarborContextDraftRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextDraftEnvelope>;
|
|
451
454
|
private __saveContextDraft;
|
|
452
455
|
/**
|
|
453
|
-
* @beta This endpoint is in pre-release and may change.
|
|
454
|
-
*
|
|
455
456
|
* Discards the mutable draft for a Harbor context document.
|
|
456
457
|
*
|
|
457
458
|
* Discarding a draft does not change the current published version or its
|
|
@@ -466,6 +467,8 @@ export declare class HarborsClient {
|
|
|
466
467
|
* @throws {@link Polytomic.ForbiddenError}
|
|
467
468
|
* @throws {@link Polytomic.NotFoundError}
|
|
468
469
|
* @throws {@link Polytomic.InternalServerError}
|
|
470
|
+
* @throws {@link errors.PolytomicError}
|
|
471
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
469
472
|
*
|
|
470
473
|
* @example
|
|
471
474
|
* await client.harbors.deleteContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -473,8 +476,6 @@ export declare class HarborsClient {
|
|
|
473
476
|
deleteContextDraft(harbor_id: string, context_id: string, request?: Polytomic.HarborsDeleteContextDraftRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.DeletedHarborContextDraftEnvelope>;
|
|
474
477
|
private __deleteContextDraft;
|
|
475
478
|
/**
|
|
476
|
-
* @beta This endpoint is in pre-release and may change.
|
|
477
|
-
*
|
|
478
479
|
* Promotes the draft to the next immutable published context version.
|
|
479
480
|
*
|
|
480
481
|
* Promotion publishes the draft's exact title, description, content, and optional
|
|
@@ -494,6 +495,8 @@ export declare class HarborsClient {
|
|
|
494
495
|
* @throws {@link Polytomic.NotFoundError}
|
|
495
496
|
* @throws {@link Polytomic.ConflictError}
|
|
496
497
|
* @throws {@link Polytomic.InternalServerError}
|
|
498
|
+
* @throws {@link errors.PolytomicError}
|
|
499
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
497
500
|
*
|
|
498
501
|
* @example
|
|
499
502
|
* await client.harbors.promoteContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -501,8 +504,6 @@ export declare class HarborsClient {
|
|
|
501
504
|
promoteContextDraft(harbor_id: string, context_id: string, request?: Polytomic.HarborsPromoteContextDraftRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextVersionEnvelope>;
|
|
502
505
|
private __promoteContextDraft;
|
|
503
506
|
/**
|
|
504
|
-
* @beta This endpoint is in pre-release and may change.
|
|
505
|
-
*
|
|
506
507
|
* Lists immutable published versions of a Harbor context document without returning content.
|
|
507
508
|
*
|
|
508
509
|
* Versions are ordered from newest to oldest. Collection items omit `content`,
|
|
@@ -527,6 +528,8 @@ export declare class HarborsClient {
|
|
|
527
528
|
* @throws {@link Polytomic.NotFoundError}
|
|
528
529
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
529
530
|
* @throws {@link Polytomic.InternalServerError}
|
|
531
|
+
* @throws {@link errors.PolytomicError}
|
|
532
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
530
533
|
*
|
|
531
534
|
* @example
|
|
532
535
|
* await client.harbors.listContextVersions("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -537,8 +540,6 @@ export declare class HarborsClient {
|
|
|
537
540
|
listContextVersions(harbor_id: string, context_id: string, request?: Polytomic.HarborsListContextVersionsRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextVersionListEnvelope>;
|
|
538
541
|
private __listContextVersions;
|
|
539
542
|
/**
|
|
540
|
-
* @beta This endpoint is in pre-release and may change.
|
|
541
|
-
*
|
|
542
543
|
* Returns one immutable published version of a Harbor context document.
|
|
543
544
|
*
|
|
544
545
|
* The response includes the complete title, description, and plain-text
|
|
@@ -556,6 +557,8 @@ export declare class HarborsClient {
|
|
|
556
557
|
* @throws {@link Polytomic.ForbiddenError}
|
|
557
558
|
* @throws {@link Polytomic.NotFoundError}
|
|
558
559
|
* @throws {@link Polytomic.InternalServerError}
|
|
560
|
+
* @throws {@link errors.PolytomicError}
|
|
561
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
559
562
|
*
|
|
560
563
|
* @example
|
|
561
564
|
* await client.harbors.getContextVersion("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -563,8 +566,6 @@ export declare class HarborsClient {
|
|
|
563
566
|
getContextVersion(harbor_id: string, context_id: string, version_id: string, request?: Polytomic.HarborsGetContextVersionRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextVersionEnvelope>;
|
|
564
567
|
private __getContextVersion;
|
|
565
568
|
/**
|
|
566
|
-
* @beta This endpoint is in pre-release and may change.
|
|
567
|
-
*
|
|
568
569
|
* Lists active masked credentials for a Harbor.
|
|
569
570
|
*
|
|
570
571
|
* Each item contains a masked `key_hint`. Polytomic never returns a credential plaintext after creation.
|
|
@@ -577,6 +578,8 @@ export declare class HarborsClient {
|
|
|
577
578
|
* @throws {@link Polytomic.NotFoundError}
|
|
578
579
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
579
580
|
* @throws {@link Polytomic.InternalServerError}
|
|
581
|
+
* @throws {@link errors.PolytomicError}
|
|
582
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
580
583
|
*
|
|
581
584
|
* @example
|
|
582
585
|
* await client.harbors.listKeys("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -587,8 +590,6 @@ export declare class HarborsClient {
|
|
|
587
590
|
listKeys(harbor_id: string, request?: Polytomic.HarborsListKeysRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborKeyListEnvelope>;
|
|
588
591
|
private __listKeys;
|
|
589
592
|
/**
|
|
590
|
-
* @beta This endpoint is in pre-release and may change.
|
|
591
|
-
*
|
|
592
593
|
* Generates a new Harbor credential and returns its plaintext value once.
|
|
593
594
|
*
|
|
594
595
|
* Store the returned `value` securely. Polytomic returns it only in this response.
|
|
@@ -599,6 +600,8 @@ export declare class HarborsClient {
|
|
|
599
600
|
* @throws {@link Polytomic.ForbiddenError}
|
|
600
601
|
* @throws {@link Polytomic.NotFoundError}
|
|
601
602
|
* @throws {@link Polytomic.InternalServerError}
|
|
603
|
+
* @throws {@link errors.PolytomicError}
|
|
604
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
602
605
|
*
|
|
603
606
|
* @example
|
|
604
607
|
* await client.harbors.createKey("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -606,8 +609,6 @@ export declare class HarborsClient {
|
|
|
606
609
|
createKey(harbor_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborKeyEnvelope>;
|
|
607
610
|
private __createKey;
|
|
608
611
|
/**
|
|
609
|
-
* @beta This endpoint is in pre-release and may change.
|
|
610
|
-
*
|
|
611
612
|
* Revokes one Harbor credential by its credential ID.
|
|
612
613
|
*
|
|
613
614
|
* Revocation affects only the selected credential. Other active Harbor credentials remain valid.
|
|
@@ -619,6 +620,8 @@ export declare class HarborsClient {
|
|
|
619
620
|
* @throws {@link Polytomic.ForbiddenError}
|
|
620
621
|
* @throws {@link Polytomic.NotFoundError}
|
|
621
622
|
* @throws {@link Polytomic.InternalServerError}
|
|
623
|
+
* @throws {@link errors.PolytomicError}
|
|
624
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
622
625
|
*
|
|
623
626
|
* @example
|
|
624
627
|
* await client.harbors.deleteKey("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -626,8 +629,6 @@ export declare class HarborsClient {
|
|
|
626
629
|
deleteKey(harbor_id: string, key_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.RevokedHarborKeyEnvelope>;
|
|
627
630
|
private __deleteKey;
|
|
628
631
|
/**
|
|
629
|
-
* @beta This endpoint is in pre-release and may change.
|
|
630
|
-
*
|
|
631
632
|
* Resolves documented source table and field identities to the names a Harbor's backing Connection accepts.
|
|
632
633
|
*
|
|
633
634
|
* @param {string} harbor_id - Unique identifier of the Harbor.
|
|
@@ -638,6 +639,8 @@ export declare class HarborsClient {
|
|
|
638
639
|
* @throws {@link Polytomic.NotFoundError}
|
|
639
640
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
640
641
|
* @throws {@link Polytomic.InternalServerError}
|
|
642
|
+
* @throws {@link errors.PolytomicError}
|
|
643
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
641
644
|
*
|
|
642
645
|
* @example
|
|
643
646
|
* await client.harbors.resolveSourceMappings("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -645,8 +648,6 @@ export declare class HarborsClient {
|
|
|
645
648
|
resolveSourceMappings(harbor_id: string, request?: Polytomic.ResolveHarborSourceMappingsRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.ResolveHarborSourceMappingsEnvelope>;
|
|
646
649
|
private __resolveSourceMappings;
|
|
647
650
|
/**
|
|
648
|
-
* @beta This endpoint is in pre-release and may change.
|
|
649
|
-
*
|
|
650
651
|
* Returns raw Polytomic refresh evidence for datasets written to a Harbor.
|
|
651
652
|
*
|
|
652
653
|
* Each pipeline corresponds to a bulk sync or model sync that writes at least one
|
|
@@ -687,6 +688,8 @@ export declare class HarborsClient {
|
|
|
687
688
|
* @throws {@link Polytomic.ForbiddenError}
|
|
688
689
|
* @throws {@link Polytomic.NotFoundError}
|
|
689
690
|
* @throws {@link Polytomic.InternalServerError}
|
|
691
|
+
* @throws {@link errors.PolytomicError}
|
|
692
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
690
693
|
*
|
|
691
694
|
* @example
|
|
692
695
|
* await client.harbors.getStatus("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -694,8 +697,6 @@ export declare class HarborsClient {
|
|
|
694
697
|
getStatus(harbor_id: string, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborStatusEnvelope>;
|
|
695
698
|
private __getStatus;
|
|
696
699
|
/**
|
|
697
|
-
* @beta This endpoint is in pre-release and may change.
|
|
698
|
-
*
|
|
699
700
|
* Lists Harbor-only users assigned to a Harbor.
|
|
700
701
|
*
|
|
701
702
|
* The response contains only Harbor-only users currently assigned to this Harbor.
|
|
@@ -708,6 +709,8 @@ export declare class HarborsClient {
|
|
|
708
709
|
* @throws {@link Polytomic.NotFoundError}
|
|
709
710
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
710
711
|
* @throws {@link Polytomic.InternalServerError}
|
|
712
|
+
* @throws {@link errors.PolytomicError}
|
|
713
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
711
714
|
*
|
|
712
715
|
* @example
|
|
713
716
|
* await client.harbors.listUsers("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -718,8 +721,6 @@ export declare class HarborsClient {
|
|
|
718
721
|
listUsers(harbor_id: string, request?: Polytomic.HarborsListUsersRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborUserListEnvelope>;
|
|
719
722
|
private __listUsers;
|
|
720
723
|
/**
|
|
721
|
-
* @beta This endpoint is in pre-release and may change.
|
|
722
|
-
*
|
|
723
724
|
* Invites and assigns a new Harbor-only user.
|
|
724
725
|
*
|
|
725
726
|
* The invited account is restricted to assigned Harbors and does not receive regular Polytomic application access.
|
|
@@ -733,6 +734,8 @@ export declare class HarborsClient {
|
|
|
733
734
|
* @throws {@link Polytomic.ConflictError}
|
|
734
735
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
735
736
|
* @throws {@link Polytomic.InternalServerError}
|
|
737
|
+
* @throws {@link errors.PolytomicError}
|
|
738
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
736
739
|
*
|
|
737
740
|
* @example
|
|
738
741
|
* await client.harbors.inviteUser("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -742,8 +745,6 @@ export declare class HarborsClient {
|
|
|
742
745
|
inviteUser(harbor_id: string, request: Polytomic.InviteHarborUserRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborUserEnvelope>;
|
|
743
746
|
private __inviteUser;
|
|
744
747
|
/**
|
|
745
|
-
* @beta This endpoint is in pre-release and may change.
|
|
746
|
-
*
|
|
747
748
|
* Assigns an existing Harbor-only user to a Harbor.
|
|
748
749
|
*
|
|
749
750
|
* The assignment is idempotent. Regular Polytomic users cannot be assigned because they already have application access to Harbors.
|
|
@@ -756,6 +757,8 @@ export declare class HarborsClient {
|
|
|
756
757
|
* @throws {@link Polytomic.NotFoundError}
|
|
757
758
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
758
759
|
* @throws {@link Polytomic.InternalServerError}
|
|
760
|
+
* @throws {@link errors.PolytomicError}
|
|
761
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
759
762
|
*
|
|
760
763
|
* @example
|
|
761
764
|
* await client.harbors.assignUser("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -763,8 +766,6 @@ export declare class HarborsClient {
|
|
|
763
766
|
assignUser(harbor_id: string, user_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborUserEnvelope>;
|
|
764
767
|
private __assignUser;
|
|
765
768
|
/**
|
|
766
|
-
* @beta This endpoint is in pre-release and may change.
|
|
767
|
-
*
|
|
768
769
|
* Removes a Harbor assignment without deleting the user.
|
|
769
770
|
*
|
|
770
771
|
* This removes only the Harbor assignment. The organization user remains available and may retain assignments to other Harbors.
|
|
@@ -777,6 +778,8 @@ export declare class HarborsClient {
|
|
|
777
778
|
* @throws {@link Polytomic.NotFoundError}
|
|
778
779
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
779
780
|
* @throws {@link Polytomic.InternalServerError}
|
|
781
|
+
* @throws {@link errors.PolytomicError}
|
|
782
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
780
783
|
*
|
|
781
784
|
* @example
|
|
782
785
|
* await client.harbors.unassignUser("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|