polytomic 25.9.10 → 25.9.11
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.js +2 -2
- package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +2 -1
- package/api/resources/bulkSync/resources/schemas/client/Client.js +4 -1
- package/api/resources/entities/client/Client.d.ts +78 -8
- package/api/resources/entities/client/Client.js +132 -8
- package/api/resources/entities/client/index.d.ts +1 -1
- package/api/resources/entities/client/index.js +15 -0
- package/api/resources/entities/client/requests/EntitiesSearchRequest.d.ts +13 -0
- package/api/resources/entities/client/requests/EntitiesSearchRequest.js +3 -0
- package/api/resources/entities/client/requests/index.d.ts +1 -0
- package/api/resources/entities/client/requests/index.js +2 -0
- package/api/resources/harbors/client/Client.d.ts +248 -0
- package/api/resources/harbors/client/Client.js +622 -0
- package/api/resources/harbors/client/requests/HarborsListActionConfigurationSchemasRequest.d.ts +16 -0
- package/api/resources/harbors/client/requests/HarborsListActionConfigurationSchemasRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsRemoveActionConfigurationRequest.d.ts +10 -0
- package/api/resources/harbors/client/requests/HarborsRemoveActionConfigurationRequest.js +3 -0
- package/api/resources/harbors/client/requests/SetHarborActionConfigurationRequest.d.ts +11 -0
- package/api/resources/harbors/client/requests/SetHarborActionConfigurationRequest.js +3 -0
- package/api/resources/harbors/client/requests/index.d.ts +3 -0
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/modelSync/client/Client.d.ts +24 -0
- package/api/resources/modelSync/client/Client.js +24 -0
- package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.d.ts +1 -1
- package/api/resources/models/client/requests/UpdateModelRequest.d.ts +1 -0
- package/api/types/BulkExecutionStatus.d.ts +1 -0
- package/api/types/BulkExecutionStatus.js +1 -0
- package/api/types/BulkSyncSearchHit.d.ts +14 -0
- package/api/types/BulkSyncSearchHit.js +3 -0
- package/api/types/ConnectionSearchHit.d.ts +9 -0
- package/api/types/ConnectionSearchHit.js +3 -0
- package/api/types/CreateModelRequest.d.ts +1 -0
- package/api/types/EntityResponse.d.ts +1 -1
- package/api/types/HarborActionConfigurationEnvelope.d.ts +5 -0
- package/api/types/HarborActionConfigurationEnvelope.js +3 -0
- package/api/types/HarborActionConfigurationFieldResponse.d.ts +20 -0
- package/api/types/HarborActionConfigurationFieldResponse.js +3 -0
- package/api/types/HarborActionConfigurationIdempotencyResponse.d.ts +6 -0
- package/api/types/HarborActionConfigurationIdempotencyResponse.js +3 -0
- package/api/types/HarborActionConfigurationOperationResponse.d.ts +28 -0
- package/api/types/HarborActionConfigurationOperationResponse.js +12 -0
- package/api/types/HarborActionConfigurationOperationsEnvelope.d.ts +4 -0
- package/api/types/HarborActionConfigurationOperationsEnvelope.js +3 -0
- package/api/types/HarborActionConfigurationResponse.d.ts +13 -0
- package/api/types/HarborActionConfigurationResponse.js +3 -0
- package/api/types/HarborActionConfigurationSchemasEnvelope.d.ts +5 -0
- package/api/types/HarborActionConfigurationSchemasEnvelope.js +3 -0
- package/api/types/HarborActionGrantSchema.d.ts +10 -0
- package/api/types/HarborActionGrantSchema.js +3 -0
- package/api/types/HarborActionSchemaResponse.d.ts +8 -0
- package/api/types/HarborActionSchemaResponse.js +3 -0
- package/api/types/HarborActionSourceConnectionResponse.d.ts +8 -0
- package/api/types/HarborActionSourceConnectionResponse.js +3 -0
- package/api/types/HarborActionSourceConnectionsEnvelope.d.ts +4 -0
- package/api/types/HarborActionSourceConnectionsEnvelope.js +3 -0
- package/api/types/IdentityCredentialSchema.d.ts +2 -0
- package/api/types/ModelFieldSearchHit.d.ts +15 -0
- package/api/types/ModelFieldSearchHit.js +3 -0
- package/api/types/ModelSearchHit.d.ts +11 -0
- package/api/types/ModelSearchHit.js +3 -0
- package/api/types/ModelSyncSearchHit.d.ts +12 -0
- package/api/types/ModelSyncSearchHit.js +3 -0
- package/api/types/ModelSyncSourceConnection.d.ts +5 -0
- package/api/types/ModelSyncSourceConnection.js +3 -0
- package/api/types/SearchEnvelope.d.ts +5 -0
- package/api/types/SearchEnvelope.js +3 -0
- package/api/types/SearchMatch.d.ts +7 -0
- package/api/types/SearchMatch.js +3 -0
- package/api/types/SearchMatchAttribute.d.ts +8 -0
- package/api/types/SearchMatchAttribute.js +3 -0
- package/api/types/SearchMatchMapping.d.ts +19 -0
- package/api/types/SearchMatchMapping.js +12 -0
- package/api/types/SearchMatchSchema.d.ts +8 -0
- package/api/types/SearchMatchSchema.js +3 -0
- package/api/types/SearchResultItem.d.ts +19 -0
- package/api/types/SearchResultItem.js +3 -0
- package/api/types/SearchResultLinks.d.ts +8 -0
- package/api/types/SearchResultLinks.js +3 -0
- package/api/types/SearchResultMetadata.d.ts +6 -0
- package/api/types/SearchResultMetadata.js +3 -0
- package/api/types/SyncDestinationProperties.d.ts +2 -0
- package/api/types/index.d.ts +25 -0
- package/api/types/index.js +25 -0
- package/package.json +1 -1
- package/reference.md +752 -9
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/BaseClient.js
CHANGED
|
@@ -44,8 +44,8 @@ function normalizeClientOptions(options) {
|
|
|
44
44
|
const headers = (0, headers_1.mergeHeaders)({
|
|
45
45
|
"X-Fern-Language": "JavaScript",
|
|
46
46
|
"X-Fern-SDK-Name": "polytomic",
|
|
47
|
-
"X-Fern-SDK-Version": "25.9.
|
|
48
|
-
"User-Agent": "polytomic/25.9.
|
|
47
|
+
"X-Fern-SDK-Version": "25.9.11",
|
|
48
|
+
"User-Agent": "polytomic/25.9.11",
|
|
49
49
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
50
50
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
51
51
|
"X-Polytomic-Version": (_a = options === null || options === void 0 ? void 0 : options.version) !== null && _a !== void 0 ? _a : "2025-09-18",
|
|
@@ -132,7 +132,7 @@ export declare class SchemasClient {
|
|
|
132
132
|
update(id: string, schema_id: string, request?: Polytomic.bulkSync.UpdateBulkSchema, requestOptions?: SchemasClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.BulkSchemaEnvelope>;
|
|
133
133
|
private __update;
|
|
134
134
|
/**
|
|
135
|
-
* Requests cancellation of any running executions for a specific schema on a bulk sync.
|
|
135
|
+
* Requests cancellation of any running executions for a specific schema on a bulk sync. A schema whose only running work is a backfill returns a conflict.
|
|
136
136
|
*
|
|
137
137
|
* Cancellation is asynchronous. A successful response means the cancellation
|
|
138
138
|
* signal for this schema has been queued; the schema's in-flight work continues
|
|
@@ -147,6 +147,7 @@ export declare class SchemasClient {
|
|
|
147
147
|
*
|
|
148
148
|
* @throws {@link Polytomic.ForbiddenError}
|
|
149
149
|
* @throws {@link Polytomic.NotFoundError}
|
|
150
|
+
* @throws {@link Polytomic.ConflictError}
|
|
150
151
|
* @throws {@link Polytomic.InternalServerError}
|
|
151
152
|
* @throws {@link errors.PolytomicError}
|
|
152
153
|
* @throws {@link errors.PolytomicTimeoutError}
|
|
@@ -356,7 +356,7 @@ class SchemasClient {
|
|
|
356
356
|
});
|
|
357
357
|
}
|
|
358
358
|
/**
|
|
359
|
-
* Requests cancellation of any running executions for a specific schema on a bulk sync.
|
|
359
|
+
* Requests cancellation of any running executions for a specific schema on a bulk sync. A schema whose only running work is a backfill returns a conflict.
|
|
360
360
|
*
|
|
361
361
|
* Cancellation is asynchronous. A successful response means the cancellation
|
|
362
362
|
* signal for this schema has been queued; the schema's in-flight work continues
|
|
@@ -371,6 +371,7 @@ class SchemasClient {
|
|
|
371
371
|
*
|
|
372
372
|
* @throws {@link Polytomic.ForbiddenError}
|
|
373
373
|
* @throws {@link Polytomic.NotFoundError}
|
|
374
|
+
* @throws {@link Polytomic.ConflictError}
|
|
374
375
|
* @throws {@link Polytomic.InternalServerError}
|
|
375
376
|
* @throws {@link errors.PolytomicError}
|
|
376
377
|
* @throws {@link errors.PolytomicTimeoutError}
|
|
@@ -412,6 +413,8 @@ class SchemasClient {
|
|
|
412
413
|
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
413
414
|
case 404:
|
|
414
415
|
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
416
|
+
case 409:
|
|
417
|
+
throw new Polytomic.ConflictError(_response.error.body, _response.rawResponse);
|
|
415
418
|
case 500:
|
|
416
419
|
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
417
420
|
default:
|
|
@@ -10,6 +10,76 @@ export declare namespace EntitiesClient {
|
|
|
10
10
|
export declare class EntitiesClient {
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<EntitiesClient.Options>;
|
|
12
12
|
constructor(options?: EntitiesClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Searches models, model fields, model syncs, bulk syncs, and connections in the caller's organization.
|
|
15
|
+
*
|
|
16
|
+
* Supply a nonblank `search` term to search all five result categories. Unlike
|
|
17
|
+
* [entity lookup](../../../api-reference/entities/get), this endpoint does not search
|
|
18
|
+
* Organizations, users, executions, Harbors, or Harbor contexts. Model fields are
|
|
19
|
+
* searchable but have no standalone lookup endpoint.
|
|
20
|
+
*
|
|
21
|
+
* ## Searchable resources
|
|
22
|
+
*
|
|
23
|
+
* - Models: ID, name, and source Connection type.
|
|
24
|
+
* - Model fields: ID, technical name, and label.
|
|
25
|
+
* - Model Syncs: ID, name, source and target Connection types, and saved field and
|
|
26
|
+
* identity mappings. Mappings include source field names and labels, target
|
|
27
|
+
* field IDs, and available target field names.
|
|
28
|
+
* - Bulk Syncs: ID, name, source and target Connection names and types, and enabled
|
|
29
|
+
* schema IDs, display names, and configured output names. Disabled schemas are
|
|
30
|
+
* excluded; enabled schemas remain searchable when the sync is inactive.
|
|
31
|
+
* - Connections: ID and name.
|
|
32
|
+
*
|
|
33
|
+
* Search uses cached metadata and does not refresh schemas. Names absent from
|
|
34
|
+
* that metadata are not searchable. Bulk Sync fields, execution state,
|
|
35
|
+
* expressions, filters, and constant values are not searched.
|
|
36
|
+
*
|
|
37
|
+
* ## Matching and evidence
|
|
38
|
+
*
|
|
39
|
+
* Matching is case-insensitive and uses word prefixes, not fuzzy matching. Every
|
|
40
|
+
* query word must match somewhere within a result. Spaces and punctuation split
|
|
41
|
+
* words: `other emails` matches `other_emails`, but `mail` does not match `email`.
|
|
42
|
+
* Some Model Sync source-type matches require a leading `~`.
|
|
43
|
+
*
|
|
44
|
+
* Each resource appears once. Its `matches` explain which attributes matched and
|
|
45
|
+
* which query terms contributed. Mapping and schema attributes carry their
|
|
46
|
+
* respective `mapping` or `schema` context; resource metadata has neither. A name
|
|
47
|
+
* or Connection type match alone does not establish mapping or schema use.
|
|
48
|
+
* Results include canonical `links`, not complete configurations or schema lists.
|
|
49
|
+
*
|
|
50
|
+
* ## Limits and completeness
|
|
51
|
+
*
|
|
52
|
+
* Results are ordered by category, then name or field label, then ID, not by
|
|
53
|
+
* relevance. `limit` defaults to 50 and accepts 1–100. It limits resource hits,
|
|
54
|
+
* not match evidence. When `metadata.truncated` is `true`, narrow your search or
|
|
55
|
+
* increase the limit. There is no cursor pagination.
|
|
56
|
+
*
|
|
57
|
+
* > ⚠️ Incomplete model-field coverage
|
|
58
|
+
* >
|
|
59
|
+
* > Above 40,000 published model fields, `metadata.model_fields_complete` is
|
|
60
|
+
* > `false`: standalone field results cover a subset, not every published field.
|
|
61
|
+
* > Model Sync mapping search is unaffected. Incomplete or truncated results
|
|
62
|
+
* > cannot establish that no other matches exist.
|
|
63
|
+
*
|
|
64
|
+
* @param {Polytomic.EntitiesSearchRequest} request
|
|
65
|
+
* @param {EntitiesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
68
|
+
* @throws {@link Polytomic.UnauthorizedError}
|
|
69
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
70
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
71
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
72
|
+
* @throws {@link errors.PolytomicError}
|
|
73
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* await client.entities.search({
|
|
77
|
+
* search: "email",
|
|
78
|
+
* limit: 50
|
|
79
|
+
* })
|
|
80
|
+
*/
|
|
81
|
+
search(request: Polytomic.EntitiesSearchRequest, requestOptions?: EntitiesClient.RequestOptions): core.HttpResponsePromise<Polytomic.SearchEnvelope>;
|
|
82
|
+
private __search;
|
|
13
83
|
/**
|
|
14
84
|
* Returns a resolved entity by ID.
|
|
15
85
|
*
|
|
@@ -40,8 +110,8 @@ export declare class EntitiesClient {
|
|
|
40
110
|
* - `user`
|
|
41
111
|
* - `connection`
|
|
42
112
|
* - `model`
|
|
43
|
-
* - `
|
|
44
|
-
* - `
|
|
113
|
+
* - `model_sync`
|
|
114
|
+
* - `model_sync_execution`
|
|
45
115
|
* - `bulk_sync`
|
|
46
116
|
* - `bulk_sync_execution`
|
|
47
117
|
* - `harbor`
|
|
@@ -49,8 +119,8 @@ export declare class EntitiesClient {
|
|
|
49
119
|
*
|
|
50
120
|
* Examples:
|
|
51
121
|
*
|
|
52
|
-
* - A model sync execution resolves to a `
|
|
53
|
-
* relationship.
|
|
122
|
+
* - A model sync execution resolves to a `model_sync_execution` and includes a
|
|
123
|
+
* `sync` relationship.
|
|
54
124
|
* - A bulk sync execution resolves to a `bulk_sync_execution`, includes a
|
|
55
125
|
* `bulk_sync` relationship, and may include `context.schema_ids`.
|
|
56
126
|
* - A Harbor context resolves to a `harbor_context` and includes a `harbor`
|
|
@@ -102,8 +172,8 @@ export declare class EntitiesClient {
|
|
|
102
172
|
* - `user`
|
|
103
173
|
* - `connection`
|
|
104
174
|
* - `model`
|
|
105
|
-
* - `
|
|
106
|
-
* - `
|
|
175
|
+
* - `model_sync`
|
|
176
|
+
* - `model_sync_execution`
|
|
107
177
|
* - `bulk_sync`
|
|
108
178
|
* - `bulk_sync_execution`
|
|
109
179
|
* - `harbor`
|
|
@@ -111,8 +181,8 @@ export declare class EntitiesClient {
|
|
|
111
181
|
*
|
|
112
182
|
* Examples:
|
|
113
183
|
*
|
|
114
|
-
* - A model sync execution resolves to a `
|
|
115
|
-
* relationship.
|
|
184
|
+
* - A model sync execution resolves to a `model_sync_execution` and includes a
|
|
185
|
+
* `sync` relationship.
|
|
116
186
|
* - A bulk sync execution resolves to a `bulk_sync_execution`, includes a
|
|
117
187
|
* `bulk_sync` relationship, and may include `context.schema_ids`.
|
|
118
188
|
* - A Harbor context resolves to a `harbor_context` and includes a `harbor`
|
|
@@ -55,6 +55,130 @@ class EntitiesClient {
|
|
|
55
55
|
constructor(options = {}) {
|
|
56
56
|
this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
|
|
57
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
* Searches models, model fields, model syncs, bulk syncs, and connections in the caller's organization.
|
|
60
|
+
*
|
|
61
|
+
* Supply a nonblank `search` term to search all five result categories. Unlike
|
|
62
|
+
* [entity lookup](../../../api-reference/entities/get), this endpoint does not search
|
|
63
|
+
* Organizations, users, executions, Harbors, or Harbor contexts. Model fields are
|
|
64
|
+
* searchable but have no standalone lookup endpoint.
|
|
65
|
+
*
|
|
66
|
+
* ## Searchable resources
|
|
67
|
+
*
|
|
68
|
+
* - Models: ID, name, and source Connection type.
|
|
69
|
+
* - Model fields: ID, technical name, and label.
|
|
70
|
+
* - Model Syncs: ID, name, source and target Connection types, and saved field and
|
|
71
|
+
* identity mappings. Mappings include source field names and labels, target
|
|
72
|
+
* field IDs, and available target field names.
|
|
73
|
+
* - Bulk Syncs: ID, name, source and target Connection names and types, and enabled
|
|
74
|
+
* schema IDs, display names, and configured output names. Disabled schemas are
|
|
75
|
+
* excluded; enabled schemas remain searchable when the sync is inactive.
|
|
76
|
+
* - Connections: ID and name.
|
|
77
|
+
*
|
|
78
|
+
* Search uses cached metadata and does not refresh schemas. Names absent from
|
|
79
|
+
* that metadata are not searchable. Bulk Sync fields, execution state,
|
|
80
|
+
* expressions, filters, and constant values are not searched.
|
|
81
|
+
*
|
|
82
|
+
* ## Matching and evidence
|
|
83
|
+
*
|
|
84
|
+
* Matching is case-insensitive and uses word prefixes, not fuzzy matching. Every
|
|
85
|
+
* query word must match somewhere within a result. Spaces and punctuation split
|
|
86
|
+
* words: `other emails` matches `other_emails`, but `mail` does not match `email`.
|
|
87
|
+
* Some Model Sync source-type matches require a leading `~`.
|
|
88
|
+
*
|
|
89
|
+
* Each resource appears once. Its `matches` explain which attributes matched and
|
|
90
|
+
* which query terms contributed. Mapping and schema attributes carry their
|
|
91
|
+
* respective `mapping` or `schema` context; resource metadata has neither. A name
|
|
92
|
+
* or Connection type match alone does not establish mapping or schema use.
|
|
93
|
+
* Results include canonical `links`, not complete configurations or schema lists.
|
|
94
|
+
*
|
|
95
|
+
* ## Limits and completeness
|
|
96
|
+
*
|
|
97
|
+
* Results are ordered by category, then name or field label, then ID, not by
|
|
98
|
+
* relevance. `limit` defaults to 50 and accepts 1–100. It limits resource hits,
|
|
99
|
+
* not match evidence. When `metadata.truncated` is `true`, narrow your search or
|
|
100
|
+
* increase the limit. There is no cursor pagination.
|
|
101
|
+
*
|
|
102
|
+
* > ⚠️ Incomplete model-field coverage
|
|
103
|
+
* >
|
|
104
|
+
* > Above 40,000 published model fields, `metadata.model_fields_complete` is
|
|
105
|
+
* > `false`: standalone field results cover a subset, not every published field.
|
|
106
|
+
* > Model Sync mapping search is unaffected. Incomplete or truncated results
|
|
107
|
+
* > cannot establish that no other matches exist.
|
|
108
|
+
*
|
|
109
|
+
* @param {Polytomic.EntitiesSearchRequest} request
|
|
110
|
+
* @param {EntitiesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
113
|
+
* @throws {@link Polytomic.UnauthorizedError}
|
|
114
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
115
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
116
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
117
|
+
* @throws {@link errors.PolytomicError}
|
|
118
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* await client.entities.search({
|
|
122
|
+
* search: "email",
|
|
123
|
+
* limit: 50
|
|
124
|
+
* })
|
|
125
|
+
*/
|
|
126
|
+
search(request, requestOptions) {
|
|
127
|
+
return core.HttpResponsePromise.fromPromise(this.__search(request, requestOptions));
|
|
128
|
+
}
|
|
129
|
+
__search(request, requestOptions) {
|
|
130
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
131
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
132
|
+
const { search, limit } = request;
|
|
133
|
+
const _queryParams = {
|
|
134
|
+
search,
|
|
135
|
+
limit,
|
|
136
|
+
};
|
|
137
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
138
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
139
|
+
"X-Polytomic-Version": (_d = (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.version) !== null && _d !== void 0 ? _d : "2025-09-18",
|
|
140
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
141
|
+
const _response = yield core.fetcher({
|
|
142
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.PolytomicEnvironment.Default, "api/entities/search"),
|
|
143
|
+
method: "GET",
|
|
144
|
+
headers: _headers,
|
|
145
|
+
queryString: core.url
|
|
146
|
+
.queryBuilder()
|
|
147
|
+
.addMany(_queryParams)
|
|
148
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
149
|
+
.build(),
|
|
150
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
|
|
151
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
152
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
153
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
154
|
+
logging: this._options.logging,
|
|
155
|
+
});
|
|
156
|
+
if (_response.ok) {
|
|
157
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
158
|
+
}
|
|
159
|
+
if (_response.error.reason === "status-code") {
|
|
160
|
+
switch (_response.error.statusCode) {
|
|
161
|
+
case 400:
|
|
162
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
163
|
+
case 401:
|
|
164
|
+
throw new Polytomic.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
165
|
+
case 403:
|
|
166
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
167
|
+
case 404:
|
|
168
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
169
|
+
case 500:
|
|
170
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
171
|
+
default:
|
|
172
|
+
throw new errors.PolytomicError({
|
|
173
|
+
statusCode: _response.error.statusCode,
|
|
174
|
+
body: _response.error.body,
|
|
175
|
+
rawResponse: _response.rawResponse,
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/entities/search");
|
|
180
|
+
});
|
|
181
|
+
}
|
|
58
182
|
/**
|
|
59
183
|
* Returns a resolved entity by ID.
|
|
60
184
|
*
|
|
@@ -85,8 +209,8 @@ class EntitiesClient {
|
|
|
85
209
|
* - `user`
|
|
86
210
|
* - `connection`
|
|
87
211
|
* - `model`
|
|
88
|
-
* - `
|
|
89
|
-
* - `
|
|
212
|
+
* - `model_sync`
|
|
213
|
+
* - `model_sync_execution`
|
|
90
214
|
* - `bulk_sync`
|
|
91
215
|
* - `bulk_sync_execution`
|
|
92
216
|
* - `harbor`
|
|
@@ -94,8 +218,8 @@ class EntitiesClient {
|
|
|
94
218
|
*
|
|
95
219
|
* Examples:
|
|
96
220
|
*
|
|
97
|
-
* - A model sync execution resolves to a `
|
|
98
|
-
* relationship.
|
|
221
|
+
* - A model sync execution resolves to a `model_sync_execution` and includes a
|
|
222
|
+
* `sync` relationship.
|
|
99
223
|
* - A bulk sync execution resolves to a `bulk_sync_execution`, includes a
|
|
100
224
|
* `bulk_sync` relationship, and may include `context.schema_ids`.
|
|
101
225
|
* - A Harbor context resolves to a `harbor_context` and includes a `harbor`
|
|
@@ -190,8 +314,8 @@ class EntitiesClient {
|
|
|
190
314
|
* - `user`
|
|
191
315
|
* - `connection`
|
|
192
316
|
* - `model`
|
|
193
|
-
* - `
|
|
194
|
-
* - `
|
|
317
|
+
* - `model_sync`
|
|
318
|
+
* - `model_sync_execution`
|
|
195
319
|
* - `bulk_sync`
|
|
196
320
|
* - `bulk_sync_execution`
|
|
197
321
|
* - `harbor`
|
|
@@ -199,8 +323,8 @@ class EntitiesClient {
|
|
|
199
323
|
*
|
|
200
324
|
* Examples:
|
|
201
325
|
*
|
|
202
|
-
* - A model sync execution resolves to a `
|
|
203
|
-
* relationship.
|
|
326
|
+
* - A model sync execution resolves to a `model_sync_execution` and includes a
|
|
327
|
+
* `sync` relationship.
|
|
204
328
|
* - A bulk sync execution resolves to a `bulk_sync_execution`, includes a
|
|
205
329
|
* `bulk_sync` relationship, and may include `context.schema_ids`.
|
|
206
330
|
* - A Harbor context resolves to a `harbor_context` and includes a `harbor`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./requests";
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* search: "email",
|
|
5
|
+
* limit: 50
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface EntitiesSearchRequest {
|
|
9
|
+
/** Search term matched, by word prefix, against models, model fields, model syncs, bulk syncs, and connections in the caller's organization. */
|
|
10
|
+
search: string;
|
|
11
|
+
/** Maximum number of results to return across all result types. Defaults to 50 and cannot exceed 100. */
|
|
12
|
+
limit?: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { EntitiesSearchRequest } from "./EntitiesSearchRequest";
|
|
@@ -224,6 +224,254 @@ export declare class HarborsClient {
|
|
|
224
224
|
*/
|
|
225
225
|
delete(harbor_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.DeletedHarborEnvelope>;
|
|
226
226
|
private __delete;
|
|
227
|
+
/**
|
|
228
|
+
* Returns configured action grants and revisions for a Harbor.
|
|
229
|
+
*
|
|
230
|
+
* You must be an Organization administrator with permission to edit the Harbor.
|
|
231
|
+
* Use a writable API credential, not a Harbor profile credential. Read-only keys
|
|
232
|
+
* are denied because this endpoint requires Harbor edit permission.
|
|
233
|
+
*
|
|
234
|
+
* This response includes grants for Connections that no longer populate the
|
|
235
|
+
* Harbor. You can remove those stale grants without reattaching the Connection.
|
|
236
|
+
* Reading configuration does not require the Harbor Actions entitlement.
|
|
237
|
+
*
|
|
238
|
+
* Use each Connection's `revision` as `expected_revision` when replacing or
|
|
239
|
+
* removing its grants. Configuration responses contain metadata only, not provider
|
|
240
|
+
* credentials or record values.
|
|
241
|
+
*
|
|
242
|
+
* @param {string} harbor_id - Unique identifier of the Harbor.
|
|
243
|
+
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
244
|
+
*
|
|
245
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
246
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
247
|
+
* @throws {@link Polytomic.ConflictError}
|
|
248
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
249
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
250
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
251
|
+
* @throws {@link errors.PolytomicError}
|
|
252
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
253
|
+
*
|
|
254
|
+
* @example
|
|
255
|
+
* await client.harbors.getActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
256
|
+
*/
|
|
257
|
+
getActionConfiguration(harbor_id: string, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborActionConfigurationEnvelope>;
|
|
258
|
+
private __getActionConfiguration;
|
|
259
|
+
/**
|
|
260
|
+
* Disables all configured actions for a Harbor.
|
|
261
|
+
*
|
|
262
|
+
* You must be an Organization administrator with permission to edit the Harbor.
|
|
263
|
+
* Use a normal writable API credential, not a Harbor profile credential. Your
|
|
264
|
+
* Organization must have the Harbor Actions entitlement.
|
|
265
|
+
*
|
|
266
|
+
* > 🚧 Disable all actions
|
|
267
|
+
* >
|
|
268
|
+
* > This removes every configured action grant from the Harbor, including grants
|
|
269
|
+
* > for detached Connections. There is no per-Connection revision check.
|
|
270
|
+
*
|
|
271
|
+
* The response contains the empty configuration. This request does not delete
|
|
272
|
+
* Connections, syncs, or provider records.
|
|
273
|
+
*
|
|
274
|
+
* @param {string} harbor_id - Unique identifier of the Harbor.
|
|
275
|
+
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
276
|
+
*
|
|
277
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
278
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
279
|
+
* @throws {@link Polytomic.ConflictError}
|
|
280
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
281
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
282
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
283
|
+
* @throws {@link errors.PolytomicError}
|
|
284
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
285
|
+
*
|
|
286
|
+
* @example
|
|
287
|
+
* await client.harbors.disableActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
288
|
+
*/
|
|
289
|
+
disableActionConfiguration(harbor_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborActionConfigurationEnvelope>;
|
|
290
|
+
private __disableActionConfiguration;
|
|
291
|
+
/**
|
|
292
|
+
* Lists action-capable source Connections that populate a Harbor.
|
|
293
|
+
*
|
|
294
|
+
* You must be an Organization administrator with permission to edit the Harbor.
|
|
295
|
+
* Use a writable API credential, not a Harbor profile credential. Read-only keys
|
|
296
|
+
* are denied because this endpoint requires Harbor edit permission. Discovery does
|
|
297
|
+
* not require the Harbor Actions entitlement.
|
|
298
|
+
*
|
|
299
|
+
* A Connection is eligible when it supports actions and is a source of a
|
|
300
|
+
* non-deleted Bulk Sync or Model Sync targeting the Harbor's backing Connection.
|
|
301
|
+
* Only saved, non-shared Connections in your Organization that you can query are
|
|
302
|
+
* included. Disabled syncs still establish source membership.
|
|
303
|
+
*
|
|
304
|
+
* Discover schemas and operations before choosing the grants to configure.
|
|
305
|
+
*
|
|
306
|
+
* @param {string} harbor_id - Unique identifier of the Harbor.
|
|
307
|
+
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
308
|
+
*
|
|
309
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
310
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
311
|
+
* @throws {@link Polytomic.ConflictError}
|
|
312
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
313
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
314
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
315
|
+
* @throws {@link errors.PolytomicError}
|
|
316
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
317
|
+
*
|
|
318
|
+
* @example
|
|
319
|
+
* await client.harbors.listActionSourceConnections("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
320
|
+
*/
|
|
321
|
+
listActionSourceConnections(harbor_id: string, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborActionSourceConnectionsEnvelope>;
|
|
322
|
+
private __listActionSourceConnections;
|
|
323
|
+
/**
|
|
324
|
+
* Creates or replaces action grants for an eligible Harbor source Connection.
|
|
325
|
+
*
|
|
326
|
+
* You must be an Organization administrator with permission to edit both the
|
|
327
|
+
* Harbor and the source Connection. Use a normal writable API credential, not a
|
|
328
|
+
* Harbor profile credential. Your Organization must have the Harbor Actions
|
|
329
|
+
* entitlement.
|
|
330
|
+
*
|
|
331
|
+
* The Connection must populate the Harbor through a non-deleted Bulk Sync or Model
|
|
332
|
+
* Sync targeting its backing Connection. This requirement applies to new grants
|
|
333
|
+
* and replacements, even when you only remove fields from an existing grant.
|
|
334
|
+
*
|
|
335
|
+
* Submit the complete grant set for this Connection. Omit `expected_revision` to
|
|
336
|
+
* create it, or supply the current revision to replace it. A missing, stale, or
|
|
337
|
+
* unexpected revision returns `409 Conflict`; read configuration again before
|
|
338
|
+
* retrying. Successful replacement creates a new revision.
|
|
339
|
+
*
|
|
340
|
+
* For mutating operations, `field_ids` selects input fields and
|
|
341
|
+
* `lookup_field_ids` must be omitted. For read-only operations, `field_ids`
|
|
342
|
+
* selects output fields and `lookup_field_ids` selects allowed lookup fields.
|
|
343
|
+
* Duplicate operations or field IDs are invalid. An empty grant set is invalid;
|
|
344
|
+
* remove the Connection's grants instead.
|
|
345
|
+
*
|
|
346
|
+
* This request changes permissions only. It does not execute provider actions.
|
|
347
|
+
*
|
|
348
|
+
* @param {string} harbor_id - Unique identifier of the Harbor.
|
|
349
|
+
* @param {string} connection_id - Source Connection whose action grants you want to manage.
|
|
350
|
+
* @param {Polytomic.SetHarborActionConfigurationRequest} request
|
|
351
|
+
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
352
|
+
*
|
|
353
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
354
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
355
|
+
* @throws {@link Polytomic.ConflictError}
|
|
356
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
357
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
358
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
359
|
+
* @throws {@link errors.PolytomicError}
|
|
360
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
361
|
+
*
|
|
362
|
+
* @example
|
|
363
|
+
* await client.harbors.setActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
364
|
+
*/
|
|
365
|
+
setActionConfiguration(harbor_id: string, connection_id: string, request?: Polytomic.SetHarborActionConfigurationRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborActionConfigurationEnvelope>;
|
|
366
|
+
private __setActionConfiguration;
|
|
367
|
+
/**
|
|
368
|
+
* Removes a Connection's action grants from a Harbor.
|
|
369
|
+
*
|
|
370
|
+
* You must be an Organization administrator with permission to edit the Harbor.
|
|
371
|
+
* Use a normal writable API credential, not a Harbor profile credential. Your
|
|
372
|
+
* Organization must have the Harbor Actions entitlement.
|
|
373
|
+
*
|
|
374
|
+
* Supply the current `expected_revision` as a query parameter. A stale revision
|
|
375
|
+
* returns `409 Conflict`; read configuration again before retrying.
|
|
376
|
+
*
|
|
377
|
+
* You can remove grants after the Connection stops populating the Harbor, or after
|
|
378
|
+
* the Connection is deleted. The response contains the remaining configured action
|
|
379
|
+
* Connections. This request does not delete the Connection or provider records.
|
|
380
|
+
*
|
|
381
|
+
* @param {string} harbor_id - Unique identifier of the Harbor.
|
|
382
|
+
* @param {string} connection_id - Source Connection whose action grants you want to manage.
|
|
383
|
+
* @param {Polytomic.HarborsRemoveActionConfigurationRequest} request
|
|
384
|
+
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
385
|
+
*
|
|
386
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
387
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
388
|
+
* @throws {@link Polytomic.ConflictError}
|
|
389
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
390
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
391
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
392
|
+
* @throws {@link errors.PolytomicError}
|
|
393
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
394
|
+
*
|
|
395
|
+
* @example
|
|
396
|
+
* await client.harbors.removeActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
397
|
+
* expected_revision: "248df4b7-aa70-47b8-a036-33ac447e668d"
|
|
398
|
+
* })
|
|
399
|
+
*/
|
|
400
|
+
removeActionConfiguration(harbor_id: string, connection_id: string, request: Polytomic.HarborsRemoveActionConfigurationRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborActionConfigurationEnvelope>;
|
|
401
|
+
private __removeActionConfiguration;
|
|
402
|
+
/**
|
|
403
|
+
* Lists available action schemas for an eligible Harbor source Connection.
|
|
404
|
+
*
|
|
405
|
+
* You must be an Organization administrator with permission to edit the Harbor
|
|
406
|
+
* and query the source Connection. Use a writable API credential, not a Harbor
|
|
407
|
+
* profile credential. Read-only keys are denied because this endpoint requires
|
|
408
|
+
* Harbor edit permission. Discovery does not require the Harbor Actions entitlement.
|
|
409
|
+
*
|
|
410
|
+
* The Connection must populate the Harbor through a non-deleted Bulk Sync or Model
|
|
411
|
+
* Sync targeting its backing Connection. The response lists action schemas, not
|
|
412
|
+
* records. Use the next page token with the same search filter to continue.
|
|
413
|
+
*
|
|
414
|
+
* Operation IDs in the catalog are hints. Operation discovery returns the current
|
|
415
|
+
* configurable fields for a schema.
|
|
416
|
+
*
|
|
417
|
+
* @param {string} harbor_id - Unique identifier of the Harbor.
|
|
418
|
+
* @param {string} connection_id - Source Connection whose action grants you want to manage.
|
|
419
|
+
* @param {Polytomic.HarborsListActionConfigurationSchemasRequest} request
|
|
420
|
+
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
421
|
+
*
|
|
422
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
423
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
424
|
+
* @throws {@link Polytomic.ConflictError}
|
|
425
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
426
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
427
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
428
|
+
* @throws {@link errors.PolytomicError}
|
|
429
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
430
|
+
*
|
|
431
|
+
* @example
|
|
432
|
+
* await client.harbors.listActionConfigurationSchemas("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
433
|
+
* search: "search",
|
|
434
|
+
* limit: 1,
|
|
435
|
+
* page_token: "page_token"
|
|
436
|
+
* })
|
|
437
|
+
*/
|
|
438
|
+
listActionConfigurationSchemas(harbor_id: string, connection_id: string, request?: Polytomic.HarborsListActionConfigurationSchemasRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborActionConfigurationSchemasEnvelope>;
|
|
439
|
+
private __listActionConfigurationSchemas;
|
|
440
|
+
/**
|
|
441
|
+
* Lists operations and configurable fields for an eligible Harbor action schema.
|
|
442
|
+
*
|
|
443
|
+
* You must be an Organization administrator with permission to edit the Harbor
|
|
444
|
+
* and query the source Connection. Use a writable API credential, not a Harbor
|
|
445
|
+
* profile credential. Read-only keys are denied because this endpoint requires
|
|
446
|
+
* Harbor edit permission. Discovery does not require the Harbor Actions entitlement.
|
|
447
|
+
*
|
|
448
|
+
* The Connection must populate the Harbor through a non-deleted Bulk Sync or Model
|
|
449
|
+
* Sync targeting its backing Connection. This request returns operation metadata,
|
|
450
|
+
* not provider records, and does not execute an action.
|
|
451
|
+
*
|
|
452
|
+
* For a mutating operation, choose input field IDs. For a read-only operation,
|
|
453
|
+
* choose output field IDs and at least one lookup field ID. Required input fields
|
|
454
|
+
* must be included in the grant.
|
|
455
|
+
*
|
|
456
|
+
* @param {string} harbor_id - Unique identifier of the Harbor.
|
|
457
|
+
* @param {string} connection_id - Source Connection whose action grants you want to manage.
|
|
458
|
+
* @param {string} schema_id - Exact action schema ID returned by schema discovery.
|
|
459
|
+
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
460
|
+
*
|
|
461
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
462
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
463
|
+
* @throws {@link Polytomic.ConflictError}
|
|
464
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
465
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
466
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
467
|
+
* @throws {@link errors.PolytomicError}
|
|
468
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
469
|
+
*
|
|
470
|
+
* @example
|
|
471
|
+
* await client.harbors.listActionConfigurationOperations("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "schema_id")
|
|
472
|
+
*/
|
|
473
|
+
listActionConfigurationOperations(harbor_id: string, connection_id: string, schema_id: string, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborActionConfigurationOperationsEnvelope>;
|
|
474
|
+
private __listActionConfigurationOperations;
|
|
227
475
|
/**
|
|
228
476
|
* Lists context document metadata for a Harbor without returning document content.
|
|
229
477
|
*
|