polytomic 25.9.3 → 25.9.5
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/Client.d.ts +3 -0
- package/Client.js +41 -36
- 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/GoneError.d.ts +7 -0
- package/api/errors/GoneError.js +54 -0
- 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/errors/index.d.ts +1 -0
- package/api/errors/index.js +1 -0
- package/api/resources/activity/client/Client.d.ts +144 -0
- package/api/resources/activity/client/Client.js +359 -0
- package/api/resources/activity/client/index.d.ts +1 -0
- package/api/resources/activity/client/index.js +17 -0
- package/api/resources/activity/client/requests/ActivityGetSessionRequest.d.ts +17 -0
- package/api/resources/activity/client/requests/ActivityGetSessionRequest.js +3 -0
- package/api/resources/activity/client/requests/ActivityListRequest.d.ts +47 -0
- package/api/resources/activity/client/requests/ActivityListRequest.js +3 -0
- package/api/resources/activity/client/requests/index.d.ts +2 -0
- package/api/resources/activity/client/requests/index.js +2 -0
- package/api/resources/activity/exports.d.ts +2 -0
- package/api/resources/activity/exports.js +21 -0
- package/api/resources/activity/index.d.ts +2 -0
- package/api/resources/activity/index.js +18 -0
- package/api/resources/activity/types/ActivityGetSessionRequestOrder.d.ts +6 -0
- package/api/resources/activity/types/ActivityGetSessionRequestOrder.js +9 -0
- package/api/resources/activity/types/ActivityListRequestOrder.d.ts +6 -0
- package/api/resources/activity/types/ActivityListRequestOrder.js +9 -0
- package/api/resources/activity/types/index.d.ts +2 -0
- package/api/resources/activity/types/index.js +18 -0
- 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/errorHandling/client/requests/UpdateBulkSyncErrorHandlingRequest.d.ts +2 -0
- 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 +38 -0
- package/api/resources/connections/client/Client.js +48 -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 +71 -64
- package/api/resources/harbors/client/Client.js +81 -73
- package/api/resources/identity/client/Client.d.ts +2 -0
- package/api/resources/identity/client/Client.js +2 -0
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- 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 +15 -1
- package/api/resources/queryRunner/client/Client.js +35 -4
- package/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.d.ts +2 -0
- package/api/resources/queryRunner/client/requests/RunQueryRequest.d.ts +2 -0
- package/api/resources/recordViewLinks/client/Client.d.ts +6 -4
- package/api/resources/recordViewLinks/client/Client.js +26 -5
- package/api/resources/recordViewLinks/client/requests/CreateRecordViewLinkRequest.d.ts +2 -0
- 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/BulkSyncErrorHandling.d.ts +2 -0
- package/api/types/ConnectionParameterValuesResponseEnvelope.d.ts +1 -1
- package/api/types/ConnectionProxyResponse.d.ts +1 -1
- package/api/types/Filter.d.ts +1 -0
- package/api/types/HarborActivityEventEnvelope.d.ts +4 -0
- package/api/types/HarborActivityEventEnvelope.js +3 -0
- package/api/types/HarborActivityListEnvelope.d.ts +5 -0
- package/api/types/HarborActivityListEnvelope.js +3 -0
- package/api/types/HarborActivitySessionEnvelope.d.ts +5 -0
- package/api/types/HarborActivitySessionEnvelope.js +3 -0
- package/api/types/HarborPipelineStatusResponse.d.ts +1 -1
- package/api/types/HarborSourceMappingResponse.d.ts +1 -1
- package/api/types/HarboractivityapiHarborActivityActorSnapshot.d.ts +6 -0
- package/api/types/HarboractivityapiHarborActivityActorSnapshot.js +3 -0
- package/api/types/HarboractivityapiHarborActivityEvent.d.ts +24 -0
- package/api/types/HarboractivityapiHarborActivityEvent.js +3 -0
- package/api/types/HarboractivityapiHarborActivityIdentitySnapshot.d.ts +3 -0
- package/api/types/HarboractivityapiHarborActivityIdentitySnapshot.js +3 -0
- package/api/types/HarboractivityapiHarborActivityMetadata.d.ts +31 -0
- package/api/types/HarboractivityapiHarborActivityMetadata.js +3 -0
- package/api/types/HarboractivityapiHarborActivitySession.d.ts +27 -0
- package/api/types/HarboractivityapiHarborActivitySession.js +12 -0
- package/api/types/HarboractivityapiHarborActivityTarget.d.ts +6 -0
- package/api/types/HarboractivityapiHarborActivityTarget.js +3 -0
- package/api/types/ModelFilterCondition.d.ts +1 -1
- package/api/types/ModelFilters.d.ts +1 -1
- package/api/types/QueryStatus.d.ts +8 -0
- package/api/types/QueryStatus.js +11 -0
- package/api/types/RunQueryResult.d.ts +2 -2
- package/api/types/SchemaField.d.ts +4 -0
- package/api/types/SupportedFilterFunction.d.ts +12 -0
- package/api/types/SupportedFilterFunction.js +3 -0
- package/api/types/SyncSourceMetaResponse.d.ts +1 -1
- package/api/types/TargetField.d.ts +2 -0
- package/api/types/TargetFilterCondition.d.ts +2 -2
- package/api/types/TargetFilters.d.ts +1 -1
- package/api/types/index.d.ts +11 -0
- package/api/types/index.js +11 -0
- 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/reference.md +291 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -66,6 +66,8 @@ export declare class EntitiesClient {
|
|
|
66
66
|
* @throws {@link Polytomic.ForbiddenError}
|
|
67
67
|
* @throws {@link Polytomic.NotFoundError}
|
|
68
68
|
* @throws {@link Polytomic.InternalServerError}
|
|
69
|
+
* @throws {@link errors.PolytomicError}
|
|
70
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
69
71
|
*
|
|
70
72
|
* @example
|
|
71
73
|
* await client.entities.get("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -124,6 +126,8 @@ export declare class EntitiesClient {
|
|
|
124
126
|
* @throws {@link Polytomic.ForbiddenError}
|
|
125
127
|
* @throws {@link Polytomic.NotFoundError}
|
|
126
128
|
* @throws {@link Polytomic.InternalServerError}
|
|
129
|
+
* @throws {@link errors.PolytomicError}
|
|
130
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
127
131
|
*
|
|
128
132
|
* @example
|
|
129
133
|
* await client.entities.getForPartner("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -111,6 +111,8 @@ class EntitiesClient {
|
|
|
111
111
|
* @throws {@link Polytomic.ForbiddenError}
|
|
112
112
|
* @throws {@link Polytomic.NotFoundError}
|
|
113
113
|
* @throws {@link Polytomic.InternalServerError}
|
|
114
|
+
* @throws {@link errors.PolytomicError}
|
|
115
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
114
116
|
*
|
|
115
117
|
* @example
|
|
116
118
|
* await client.entities.get("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -212,6 +214,8 @@ class EntitiesClient {
|
|
|
212
214
|
* @throws {@link Polytomic.ForbiddenError}
|
|
213
215
|
* @throws {@link Polytomic.NotFoundError}
|
|
214
216
|
* @throws {@link Polytomic.InternalServerError}
|
|
217
|
+
* @throws {@link errors.PolytomicError}
|
|
218
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
215
219
|
*
|
|
216
220
|
* @example
|
|
217
221
|
* await client.entities.getForPartner("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -29,6 +29,8 @@ export declare class EventsClient {
|
|
|
29
29
|
*
|
|
30
30
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
31
31
|
* @throws {@link Polytomic.InternalServerError}
|
|
32
|
+
* @throws {@link errors.PolytomicError}
|
|
33
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
32
34
|
*
|
|
33
35
|
* @example
|
|
34
36
|
* await client.events.list({
|
|
@@ -49,6 +51,9 @@ export declare class EventsClient {
|
|
|
49
51
|
*
|
|
50
52
|
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
51
53
|
*
|
|
54
|
+
* @throws {@link errors.PolytomicError}
|
|
55
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
56
|
+
*
|
|
52
57
|
* @example
|
|
53
58
|
* await client.events.getTypes()
|
|
54
59
|
*/
|
|
@@ -74,6 +74,8 @@ class EventsClient {
|
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
76
76
|
* @throws {@link Polytomic.InternalServerError}
|
|
77
|
+
* @throws {@link errors.PolytomicError}
|
|
78
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
77
79
|
*
|
|
78
80
|
* @example
|
|
79
81
|
* await client.events.list({
|
|
@@ -145,6 +147,9 @@ class EventsClient {
|
|
|
145
147
|
*
|
|
146
148
|
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
147
149
|
*
|
|
150
|
+
* @throws {@link errors.PolytomicError}
|
|
151
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
152
|
+
*
|
|
148
153
|
* @example
|
|
149
154
|
* await client.events.getTypes()
|
|
150
155
|
*/
|
|
@@ -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,10 +163,12 @@ 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
|
*
|
|
168
|
+
* Renaming a managed Harbor also renames its backing Connection. Both names
|
|
169
|
+
* change together; a name conflict returns `409 Conflict` and leaves both
|
|
170
|
+
* unchanged. Renaming a customer-managed Harbor preserves its Connection's name.
|
|
171
|
+
*
|
|
167
172
|
* This operation does not change `backing_mode` or `backing_connection_id`.
|
|
168
173
|
*
|
|
169
174
|
* @param {string} harbor_id - Unique identifier of the Harbor.
|
|
@@ -175,6 +180,8 @@ export declare class HarborsClient {
|
|
|
175
180
|
* @throws {@link Polytomic.ConflictError}
|
|
176
181
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
177
182
|
* @throws {@link Polytomic.InternalServerError}
|
|
183
|
+
* @throws {@link errors.PolytomicError}
|
|
184
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
178
185
|
*
|
|
179
186
|
* @example
|
|
180
187
|
* await client.harbors.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -184,8 +191,6 @@ export declare class HarborsClient {
|
|
|
184
191
|
update(harbor_id: string, request: Polytomic.UpdateHarborRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborEnvelope>;
|
|
185
192
|
private __update;
|
|
186
193
|
/**
|
|
187
|
-
* @beta This endpoint is in pre-release and may change.
|
|
188
|
-
*
|
|
189
194
|
* Deletes a Harbor and revokes its credentials.
|
|
190
195
|
*
|
|
191
196
|
* > 🚧 Harbor deletion
|
|
@@ -199,6 +204,8 @@ export declare class HarborsClient {
|
|
|
199
204
|
* @throws {@link Polytomic.NotFoundError}
|
|
200
205
|
* @throws {@link Polytomic.ConflictError}
|
|
201
206
|
* @throws {@link Polytomic.InternalServerError}
|
|
207
|
+
* @throws {@link errors.PolytomicError}
|
|
208
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
202
209
|
*
|
|
203
210
|
* @example
|
|
204
211
|
* await client.harbors.delete("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -206,8 +213,6 @@ export declare class HarborsClient {
|
|
|
206
213
|
delete(harbor_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.DeletedHarborEnvelope>;
|
|
207
214
|
private __delete;
|
|
208
215
|
/**
|
|
209
|
-
* @beta This endpoint is in pre-release and may change.
|
|
210
|
-
*
|
|
211
216
|
* Lists context document metadata for a Harbor without returning document content.
|
|
212
217
|
*
|
|
213
218
|
* Collection items include the current published `version` number and omit
|
|
@@ -224,6 +229,8 @@ export declare class HarborsClient {
|
|
|
224
229
|
* @throws {@link Polytomic.NotFoundError}
|
|
225
230
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
226
231
|
* @throws {@link Polytomic.InternalServerError}
|
|
232
|
+
* @throws {@link errors.PolytomicError}
|
|
233
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
227
234
|
*
|
|
228
235
|
* @example
|
|
229
236
|
* await client.harbors.listContexts("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -234,8 +241,6 @@ export declare class HarborsClient {
|
|
|
234
241
|
listContexts(harbor_id: string, request?: Polytomic.HarborsListContextsRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextListEnvelope>;
|
|
235
242
|
private __listContexts;
|
|
236
243
|
/**
|
|
237
|
-
* @beta This endpoint is in pre-release and may change.
|
|
238
|
-
*
|
|
239
244
|
* Creates and attaches a context document to a Harbor.
|
|
240
245
|
*
|
|
241
246
|
* The new document belongs only to this Harbor. Context documents cannot be attached to multiple Harbors.
|
|
@@ -248,6 +253,8 @@ export declare class HarborsClient {
|
|
|
248
253
|
* @throws {@link Polytomic.NotFoundError}
|
|
249
254
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
250
255
|
* @throws {@link Polytomic.InternalServerError}
|
|
256
|
+
* @throws {@link errors.PolytomicError}
|
|
257
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
251
258
|
*
|
|
252
259
|
* @example
|
|
253
260
|
* await client.harbors.createContext("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -258,8 +265,6 @@ export declare class HarborsClient {
|
|
|
258
265
|
createContext(harbor_id: string, request: Polytomic.CreateHarborContextRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextEnvelope>;
|
|
259
266
|
private __createContext;
|
|
260
267
|
/**
|
|
261
|
-
* @beta This endpoint is in pre-release and may change.
|
|
262
|
-
*
|
|
263
268
|
* Lists mutable Harbor context drafts without returning document content.
|
|
264
269
|
*
|
|
265
270
|
* The collection includes drafts for published context documents and initial drafts
|
|
@@ -278,6 +283,8 @@ export declare class HarborsClient {
|
|
|
278
283
|
* @throws {@link Polytomic.NotFoundError}
|
|
279
284
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
280
285
|
* @throws {@link Polytomic.InternalServerError}
|
|
286
|
+
* @throws {@link errors.PolytomicError}
|
|
287
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
281
288
|
*
|
|
282
289
|
* @example
|
|
283
290
|
* await client.harbors.listContextDrafts("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -288,8 +295,6 @@ export declare class HarborsClient {
|
|
|
288
295
|
listContextDrafts(harbor_id: string, request?: Polytomic.HarborsListContextDraftsRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextDraftListEnvelope>;
|
|
289
296
|
private __listContextDrafts;
|
|
290
297
|
/**
|
|
291
|
-
* @beta This endpoint is in pre-release and may change.
|
|
292
|
-
*
|
|
293
298
|
* Creates an unpublished context document with its initial mutable draft.
|
|
294
299
|
*
|
|
295
300
|
* Creates a stable context identity and its initial mutable draft without publishing
|
|
@@ -309,6 +314,8 @@ export declare class HarborsClient {
|
|
|
309
314
|
* @throws {@link Polytomic.NotFoundError}
|
|
310
315
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
311
316
|
* @throws {@link Polytomic.InternalServerError}
|
|
317
|
+
* @throws {@link errors.PolytomicError}
|
|
318
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
312
319
|
*
|
|
313
320
|
* @example
|
|
314
321
|
* await client.harbors.createContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -319,8 +326,6 @@ export declare class HarborsClient {
|
|
|
319
326
|
createContextDraft(harbor_id: string, request: Polytomic.CreateHarborContextDraftRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextDraftEnvelope>;
|
|
320
327
|
private __createContextDraft;
|
|
321
328
|
/**
|
|
322
|
-
* @beta This endpoint is in pre-release and may change.
|
|
323
|
-
*
|
|
324
329
|
* Returns one complete Harbor context document.
|
|
325
330
|
*
|
|
326
331
|
* The response includes the current published `version` number and complete
|
|
@@ -337,6 +342,8 @@ export declare class HarborsClient {
|
|
|
337
342
|
* @throws {@link Polytomic.ForbiddenError}
|
|
338
343
|
* @throws {@link Polytomic.NotFoundError}
|
|
339
344
|
* @throws {@link Polytomic.InternalServerError}
|
|
345
|
+
* @throws {@link errors.PolytomicError}
|
|
346
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
340
347
|
*
|
|
341
348
|
* @example
|
|
342
349
|
* await client.harbors.getContext("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -344,8 +351,6 @@ export declare class HarborsClient {
|
|
|
344
351
|
getContext(harbor_id: string, context_id: string, request?: Polytomic.HarborsGetContextRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextEnvelope>;
|
|
345
352
|
private __getContext;
|
|
346
353
|
/**
|
|
347
|
-
* @beta This endpoint is in pre-release and may change.
|
|
348
|
-
*
|
|
349
354
|
* Replaces one Harbor context document.
|
|
350
355
|
*
|
|
351
356
|
* Each successful request publishes the next immutable version. You can omit
|
|
@@ -362,6 +367,8 @@ export declare class HarborsClient {
|
|
|
362
367
|
* @throws {@link Polytomic.NotFoundError}
|
|
363
368
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
364
369
|
* @throws {@link Polytomic.InternalServerError}
|
|
370
|
+
* @throws {@link errors.PolytomicError}
|
|
371
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
365
372
|
*
|
|
366
373
|
* @example
|
|
367
374
|
* await client.harbors.updateContext("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -372,8 +379,6 @@ export declare class HarborsClient {
|
|
|
372
379
|
updateContext(harbor_id: string, context_id: string, request: Polytomic.SaveHarborContextRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextEnvelope>;
|
|
373
380
|
private __updateContext;
|
|
374
381
|
/**
|
|
375
|
-
* @beta This endpoint is in pre-release and may change.
|
|
376
|
-
*
|
|
377
382
|
* Deletes one context document from a Harbor.
|
|
378
383
|
*
|
|
379
384
|
* Deleting a context document does not affect the Harbor or its other context documents.
|
|
@@ -386,6 +391,8 @@ export declare class HarborsClient {
|
|
|
386
391
|
* @throws {@link Polytomic.ForbiddenError}
|
|
387
392
|
* @throws {@link Polytomic.NotFoundError}
|
|
388
393
|
* @throws {@link Polytomic.InternalServerError}
|
|
394
|
+
* @throws {@link errors.PolytomicError}
|
|
395
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
389
396
|
*
|
|
390
397
|
* @example
|
|
391
398
|
* await client.harbors.deleteContext("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -393,8 +400,6 @@ export declare class HarborsClient {
|
|
|
393
400
|
deleteContext(harbor_id: string, context_id: string, request?: Polytomic.HarborsDeleteContextRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.DeletedHarborContextEnvelope>;
|
|
394
401
|
private __deleteContext;
|
|
395
402
|
/**
|
|
396
|
-
* @beta This endpoint is in pre-release and may change.
|
|
397
|
-
*
|
|
398
403
|
* Returns the mutable draft for a Harbor context document.
|
|
399
404
|
*
|
|
400
405
|
* Drafts are available only through the draft endpoints. `base_revision_id`
|
|
@@ -410,6 +415,8 @@ export declare class HarborsClient {
|
|
|
410
415
|
* @throws {@link Polytomic.ForbiddenError}
|
|
411
416
|
* @throws {@link Polytomic.NotFoundError}
|
|
412
417
|
* @throws {@link Polytomic.InternalServerError}
|
|
418
|
+
* @throws {@link errors.PolytomicError}
|
|
419
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
413
420
|
*
|
|
414
421
|
* @example
|
|
415
422
|
* await client.harbors.getContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -417,8 +424,6 @@ export declare class HarborsClient {
|
|
|
417
424
|
getContextDraft(harbor_id: string, context_id: string, request?: Polytomic.HarborsGetContextDraftRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextDraftEnvelope>;
|
|
418
425
|
private __getContextDraft;
|
|
419
426
|
/**
|
|
420
|
-
* @beta This endpoint is in pre-release and may change.
|
|
421
|
-
*
|
|
422
427
|
* Creates or completely replaces the mutable draft for a Harbor context document.
|
|
423
428
|
*
|
|
424
429
|
* The request supplies the complete draft payload. If a draft already exists,
|
|
@@ -440,6 +445,8 @@ export declare class HarborsClient {
|
|
|
440
445
|
* @throws {@link Polytomic.NotFoundError}
|
|
441
446
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
442
447
|
* @throws {@link Polytomic.InternalServerError}
|
|
448
|
+
* @throws {@link errors.PolytomicError}
|
|
449
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
443
450
|
*
|
|
444
451
|
* @example
|
|
445
452
|
* await client.harbors.saveContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -450,8 +457,6 @@ export declare class HarborsClient {
|
|
|
450
457
|
saveContextDraft(harbor_id: string, context_id: string, request: Polytomic.SaveHarborContextDraftRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextDraftEnvelope>;
|
|
451
458
|
private __saveContextDraft;
|
|
452
459
|
/**
|
|
453
|
-
* @beta This endpoint is in pre-release and may change.
|
|
454
|
-
*
|
|
455
460
|
* Discards the mutable draft for a Harbor context document.
|
|
456
461
|
*
|
|
457
462
|
* Discarding a draft does not change the current published version or its
|
|
@@ -466,6 +471,8 @@ export declare class HarborsClient {
|
|
|
466
471
|
* @throws {@link Polytomic.ForbiddenError}
|
|
467
472
|
* @throws {@link Polytomic.NotFoundError}
|
|
468
473
|
* @throws {@link Polytomic.InternalServerError}
|
|
474
|
+
* @throws {@link errors.PolytomicError}
|
|
475
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
469
476
|
*
|
|
470
477
|
* @example
|
|
471
478
|
* await client.harbors.deleteContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -473,8 +480,6 @@ export declare class HarborsClient {
|
|
|
473
480
|
deleteContextDraft(harbor_id: string, context_id: string, request?: Polytomic.HarborsDeleteContextDraftRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.DeletedHarborContextDraftEnvelope>;
|
|
474
481
|
private __deleteContextDraft;
|
|
475
482
|
/**
|
|
476
|
-
* @beta This endpoint is in pre-release and may change.
|
|
477
|
-
*
|
|
478
483
|
* Promotes the draft to the next immutable published context version.
|
|
479
484
|
*
|
|
480
485
|
* Promotion publishes the draft's exact title, description, content, and optional
|
|
@@ -494,6 +499,8 @@ export declare class HarborsClient {
|
|
|
494
499
|
* @throws {@link Polytomic.NotFoundError}
|
|
495
500
|
* @throws {@link Polytomic.ConflictError}
|
|
496
501
|
* @throws {@link Polytomic.InternalServerError}
|
|
502
|
+
* @throws {@link errors.PolytomicError}
|
|
503
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
497
504
|
*
|
|
498
505
|
* @example
|
|
499
506
|
* await client.harbors.promoteContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -501,8 +508,6 @@ export declare class HarborsClient {
|
|
|
501
508
|
promoteContextDraft(harbor_id: string, context_id: string, request?: Polytomic.HarborsPromoteContextDraftRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextVersionEnvelope>;
|
|
502
509
|
private __promoteContextDraft;
|
|
503
510
|
/**
|
|
504
|
-
* @beta This endpoint is in pre-release and may change.
|
|
505
|
-
*
|
|
506
511
|
* Lists immutable published versions of a Harbor context document without returning content.
|
|
507
512
|
*
|
|
508
513
|
* Versions are ordered from newest to oldest. Collection items omit `content`,
|
|
@@ -527,6 +532,8 @@ export declare class HarborsClient {
|
|
|
527
532
|
* @throws {@link Polytomic.NotFoundError}
|
|
528
533
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
529
534
|
* @throws {@link Polytomic.InternalServerError}
|
|
535
|
+
* @throws {@link errors.PolytomicError}
|
|
536
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
530
537
|
*
|
|
531
538
|
* @example
|
|
532
539
|
* await client.harbors.listContextVersions("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -537,8 +544,6 @@ export declare class HarborsClient {
|
|
|
537
544
|
listContextVersions(harbor_id: string, context_id: string, request?: Polytomic.HarborsListContextVersionsRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextVersionListEnvelope>;
|
|
538
545
|
private __listContextVersions;
|
|
539
546
|
/**
|
|
540
|
-
* @beta This endpoint is in pre-release and may change.
|
|
541
|
-
*
|
|
542
547
|
* Returns one immutable published version of a Harbor context document.
|
|
543
548
|
*
|
|
544
549
|
* The response includes the complete title, description, and plain-text
|
|
@@ -556,6 +561,8 @@ export declare class HarborsClient {
|
|
|
556
561
|
* @throws {@link Polytomic.ForbiddenError}
|
|
557
562
|
* @throws {@link Polytomic.NotFoundError}
|
|
558
563
|
* @throws {@link Polytomic.InternalServerError}
|
|
564
|
+
* @throws {@link errors.PolytomicError}
|
|
565
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
559
566
|
*
|
|
560
567
|
* @example
|
|
561
568
|
* await client.harbors.getContextVersion("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -563,8 +570,6 @@ export declare class HarborsClient {
|
|
|
563
570
|
getContextVersion(harbor_id: string, context_id: string, version_id: string, request?: Polytomic.HarborsGetContextVersionRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextVersionEnvelope>;
|
|
564
571
|
private __getContextVersion;
|
|
565
572
|
/**
|
|
566
|
-
* @beta This endpoint is in pre-release and may change.
|
|
567
|
-
*
|
|
568
573
|
* Lists active masked credentials for a Harbor.
|
|
569
574
|
*
|
|
570
575
|
* Each item contains a masked `key_hint`. Polytomic never returns a credential plaintext after creation.
|
|
@@ -577,6 +582,8 @@ export declare class HarborsClient {
|
|
|
577
582
|
* @throws {@link Polytomic.NotFoundError}
|
|
578
583
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
579
584
|
* @throws {@link Polytomic.InternalServerError}
|
|
585
|
+
* @throws {@link errors.PolytomicError}
|
|
586
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
580
587
|
*
|
|
581
588
|
* @example
|
|
582
589
|
* await client.harbors.listKeys("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -587,8 +594,6 @@ export declare class HarborsClient {
|
|
|
587
594
|
listKeys(harbor_id: string, request?: Polytomic.HarborsListKeysRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborKeyListEnvelope>;
|
|
588
595
|
private __listKeys;
|
|
589
596
|
/**
|
|
590
|
-
* @beta This endpoint is in pre-release and may change.
|
|
591
|
-
*
|
|
592
597
|
* Generates a new Harbor credential and returns its plaintext value once.
|
|
593
598
|
*
|
|
594
599
|
* Store the returned `value` securely. Polytomic returns it only in this response.
|
|
@@ -599,6 +604,8 @@ export declare class HarborsClient {
|
|
|
599
604
|
* @throws {@link Polytomic.ForbiddenError}
|
|
600
605
|
* @throws {@link Polytomic.NotFoundError}
|
|
601
606
|
* @throws {@link Polytomic.InternalServerError}
|
|
607
|
+
* @throws {@link errors.PolytomicError}
|
|
608
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
602
609
|
*
|
|
603
610
|
* @example
|
|
604
611
|
* await client.harbors.createKey("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -606,8 +613,6 @@ export declare class HarborsClient {
|
|
|
606
613
|
createKey(harbor_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborKeyEnvelope>;
|
|
607
614
|
private __createKey;
|
|
608
615
|
/**
|
|
609
|
-
* @beta This endpoint is in pre-release and may change.
|
|
610
|
-
*
|
|
611
616
|
* Revokes one Harbor credential by its credential ID.
|
|
612
617
|
*
|
|
613
618
|
* Revocation affects only the selected credential. Other active Harbor credentials remain valid.
|
|
@@ -619,6 +624,8 @@ export declare class HarborsClient {
|
|
|
619
624
|
* @throws {@link Polytomic.ForbiddenError}
|
|
620
625
|
* @throws {@link Polytomic.NotFoundError}
|
|
621
626
|
* @throws {@link Polytomic.InternalServerError}
|
|
627
|
+
* @throws {@link errors.PolytomicError}
|
|
628
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
622
629
|
*
|
|
623
630
|
* @example
|
|
624
631
|
* await client.harbors.deleteKey("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -626,8 +633,6 @@ export declare class HarborsClient {
|
|
|
626
633
|
deleteKey(harbor_id: string, key_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.RevokedHarborKeyEnvelope>;
|
|
627
634
|
private __deleteKey;
|
|
628
635
|
/**
|
|
629
|
-
* @beta This endpoint is in pre-release and may change.
|
|
630
|
-
*
|
|
631
636
|
* Resolves documented source table and field identities to the names a Harbor's backing Connection accepts.
|
|
632
637
|
*
|
|
633
638
|
* @param {string} harbor_id - Unique identifier of the Harbor.
|
|
@@ -638,6 +643,8 @@ export declare class HarborsClient {
|
|
|
638
643
|
* @throws {@link Polytomic.NotFoundError}
|
|
639
644
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
640
645
|
* @throws {@link Polytomic.InternalServerError}
|
|
646
|
+
* @throws {@link errors.PolytomicError}
|
|
647
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
641
648
|
*
|
|
642
649
|
* @example
|
|
643
650
|
* await client.harbors.resolveSourceMappings("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -645,8 +652,6 @@ export declare class HarborsClient {
|
|
|
645
652
|
resolveSourceMappings(harbor_id: string, request?: Polytomic.ResolveHarborSourceMappingsRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.ResolveHarborSourceMappingsEnvelope>;
|
|
646
653
|
private __resolveSourceMappings;
|
|
647
654
|
/**
|
|
648
|
-
* @beta This endpoint is in pre-release and may change.
|
|
649
|
-
*
|
|
650
655
|
* Returns raw Polytomic refresh evidence for datasets written to a Harbor.
|
|
651
656
|
*
|
|
652
657
|
* Each pipeline corresponds to a bulk sync or model sync that writes at least one
|
|
@@ -687,6 +692,8 @@ export declare class HarborsClient {
|
|
|
687
692
|
* @throws {@link Polytomic.ForbiddenError}
|
|
688
693
|
* @throws {@link Polytomic.NotFoundError}
|
|
689
694
|
* @throws {@link Polytomic.InternalServerError}
|
|
695
|
+
* @throws {@link errors.PolytomicError}
|
|
696
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
690
697
|
*
|
|
691
698
|
* @example
|
|
692
699
|
* await client.harbors.getStatus("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -694,8 +701,6 @@ export declare class HarborsClient {
|
|
|
694
701
|
getStatus(harbor_id: string, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborStatusEnvelope>;
|
|
695
702
|
private __getStatus;
|
|
696
703
|
/**
|
|
697
|
-
* @beta This endpoint is in pre-release and may change.
|
|
698
|
-
*
|
|
699
704
|
* Lists Harbor-only users assigned to a Harbor.
|
|
700
705
|
*
|
|
701
706
|
* The response contains only Harbor-only users currently assigned to this Harbor.
|
|
@@ -708,6 +713,8 @@ export declare class HarborsClient {
|
|
|
708
713
|
* @throws {@link Polytomic.NotFoundError}
|
|
709
714
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
710
715
|
* @throws {@link Polytomic.InternalServerError}
|
|
716
|
+
* @throws {@link errors.PolytomicError}
|
|
717
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
711
718
|
*
|
|
712
719
|
* @example
|
|
713
720
|
* await client.harbors.listUsers("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -718,8 +725,6 @@ export declare class HarborsClient {
|
|
|
718
725
|
listUsers(harbor_id: string, request?: Polytomic.HarborsListUsersRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborUserListEnvelope>;
|
|
719
726
|
private __listUsers;
|
|
720
727
|
/**
|
|
721
|
-
* @beta This endpoint is in pre-release and may change.
|
|
722
|
-
*
|
|
723
728
|
* Invites and assigns a new Harbor-only user.
|
|
724
729
|
*
|
|
725
730
|
* The invited account is restricted to assigned Harbors and does not receive regular Polytomic application access.
|
|
@@ -733,6 +738,8 @@ export declare class HarborsClient {
|
|
|
733
738
|
* @throws {@link Polytomic.ConflictError}
|
|
734
739
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
735
740
|
* @throws {@link Polytomic.InternalServerError}
|
|
741
|
+
* @throws {@link errors.PolytomicError}
|
|
742
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
736
743
|
*
|
|
737
744
|
* @example
|
|
738
745
|
* await client.harbors.inviteUser("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -742,8 +749,6 @@ export declare class HarborsClient {
|
|
|
742
749
|
inviteUser(harbor_id: string, request: Polytomic.InviteHarborUserRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborUserEnvelope>;
|
|
743
750
|
private __inviteUser;
|
|
744
751
|
/**
|
|
745
|
-
* @beta This endpoint is in pre-release and may change.
|
|
746
|
-
*
|
|
747
752
|
* Assigns an existing Harbor-only user to a Harbor.
|
|
748
753
|
*
|
|
749
754
|
* The assignment is idempotent. Regular Polytomic users cannot be assigned because they already have application access to Harbors.
|
|
@@ -756,6 +761,8 @@ export declare class HarborsClient {
|
|
|
756
761
|
* @throws {@link Polytomic.NotFoundError}
|
|
757
762
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
758
763
|
* @throws {@link Polytomic.InternalServerError}
|
|
764
|
+
* @throws {@link errors.PolytomicError}
|
|
765
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
759
766
|
*
|
|
760
767
|
* @example
|
|
761
768
|
* await client.harbors.assignUser("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -763,8 +770,6 @@ export declare class HarborsClient {
|
|
|
763
770
|
assignUser(harbor_id: string, user_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborUserEnvelope>;
|
|
764
771
|
private __assignUser;
|
|
765
772
|
/**
|
|
766
|
-
* @beta This endpoint is in pre-release and may change.
|
|
767
|
-
*
|
|
768
773
|
* Removes a Harbor assignment without deleting the user.
|
|
769
774
|
*
|
|
770
775
|
* This removes only the Harbor assignment. The organization user remains available and may retain assignments to other Harbors.
|
|
@@ -777,6 +782,8 @@ export declare class HarborsClient {
|
|
|
777
782
|
* @throws {@link Polytomic.NotFoundError}
|
|
778
783
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
779
784
|
* @throws {@link Polytomic.InternalServerError}
|
|
785
|
+
* @throws {@link errors.PolytomicError}
|
|
786
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
780
787
|
*
|
|
781
788
|
* @example
|
|
782
789
|
* await client.harbors.unassignUser("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|