polytomic 25.9.9 → 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/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +2 -0
- package/api/resources/connections/resources/proxy/client/Client.d.ts +13 -0
- package/api/resources/connections/resources/proxy/client/Client.js +13 -0
- 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 +283 -0
- package/api/resources/harbors/client/Client.js +711 -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/RunHarborQueryRequest.d.ts +12 -0
- package/api/resources/harbors/client/requests/RunHarborQueryRequest.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 +4 -0
- package/api/resources/identity/client/Client.d.ts +1 -0
- package/api/resources/identity/client/Client.js +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/resources/queryRunner/client/Client.d.ts +5 -3
- package/api/resources/queryRunner/client/Client.js +5 -3
- package/api/resources/webhooks/client/Client.d.ts +32 -0
- package/api/resources/webhooks/client/Client.js +89 -0
- package/api/resources/webhooks/client/requests/WebhooksListDeliveriesRequest.d.ts +21 -0
- package/api/resources/webhooks/client/requests/WebhooksListDeliveriesRequest.js +3 -0
- package/api/resources/webhooks/client/requests/index.d.ts +1 -0
- package/api/types/BulkExecutionStatus.d.ts +1 -0
- package/api/types/BulkExecutionStatus.js +1 -0
- package/api/types/BulkSchema.d.ts +4 -0
- package/api/types/BulkSchemaListItem.d.ts +4 -0
- package/api/types/BulkSyncDest.d.ts +2 -0
- package/api/types/BulkSyncSearchHit.d.ts +14 -0
- package/api/types/BulkSyncSearchHit.js +3 -0
- package/api/types/BulkSyncTargetMode.d.ts +1 -0
- package/api/types/BulkSyncTargetMode.js +1 -0
- package/api/types/CompletionValue.d.ts +1 -0
- package/api/types/ConnectionProxyApi.d.ts +10 -0
- package/api/types/ConnectionProxyApi.js +3 -0
- package/api/types/ConnectionProxyCall.d.ts +3 -1
- package/api/types/ConnectionProxyInfoResponse.d.ts +2 -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/PickValue.d.ts +2 -0
- package/api/types/SchemaConfiguration.d.ts +2 -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/TargetField.d.ts +2 -0
- package/api/types/WebhookDeliveriesEnvelope.d.ts +5 -0
- package/api/types/WebhookDeliveriesEnvelope.js +3 -0
- package/api/types/WebhookDelivery.d.ts +13 -0
- package/api/types/WebhookDelivery.js +3 -0
- package/api/types/index.d.ts +28 -0
- package/api/types/index.js +28 -0
- package/package.json +1 -1
- package/reference.md +985 -59
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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
|
*
|
|
@@ -644,6 +892,41 @@ export declare class HarborsClient {
|
|
|
644
892
|
*/
|
|
645
893
|
deleteKey(harbor_id: string, key_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.RevokedHarborKeyEnvelope>;
|
|
646
894
|
private __deleteKey;
|
|
895
|
+
/**
|
|
896
|
+
* Submits a query against the Harbor backing connection for asynchronous execution.
|
|
897
|
+
*
|
|
898
|
+
* Use a scoped credential bound to this Harbor. The query runs only against the
|
|
899
|
+
* Harbor's backing connection; you cannot select another connection on this route.
|
|
900
|
+
* Send a unique `X-Polytomic-Activity-Request-ID` UUID with each submission. The
|
|
901
|
+
* `X-Polytomic-Harbor-Session` header is optional; if you send one, it must be
|
|
902
|
+
* valid for this Harbor.
|
|
903
|
+
*
|
|
904
|
+
* The response contains a query ID and an initial `created` status. Poll
|
|
905
|
+
* [`GET /api/queries/{id}`](../../../../api-reference/query-runner/get-query) with that ID
|
|
906
|
+
* until the status is `done`, `failed`, or `unknown`. Follow the result endpoint's
|
|
907
|
+
* pagination links for additional rows. Results are temporary; check `expires`
|
|
908
|
+
* on the completed query.
|
|
909
|
+
*
|
|
910
|
+
* @param {string} harbor_id - Unique identifier of the Harbor whose backing connection runs the query.
|
|
911
|
+
* @param {Polytomic.RunHarborQueryRequest} request
|
|
912
|
+
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
913
|
+
*
|
|
914
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
915
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
916
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
917
|
+
* @throws {@link Polytomic.ConflictError}
|
|
918
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
919
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
920
|
+
* @throws {@link errors.PolytomicError}
|
|
921
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
922
|
+
*
|
|
923
|
+
* @example
|
|
924
|
+
* await client.harbors.runQuery("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
925
|
+
* query: "SELECT 1 AS n"
|
|
926
|
+
* })
|
|
927
|
+
*/
|
|
928
|
+
runQuery(harbor_id: string, request: Polytomic.RunHarborQueryRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.RunQueryEnvelope>;
|
|
929
|
+
private __runQuery;
|
|
647
930
|
/**
|
|
648
931
|
* Lists current published saved queries for a Harbor.
|
|
649
932
|
*
|