polytomic 25.9.10 → 25.9.12
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/activity/client/Client.d.ts +4 -4
- package/api/resources/activity/client/Client.js +10 -6
- package/api/resources/activity/client/requests/ActivityListRequest.d.ts +5 -5
- package/api/resources/bulkSync/client/Client.d.ts +12 -11
- package/api/resources/bulkSync/client/Client.js +11 -10
- package/api/resources/bulkSync/client/requests/ActivateBulkSyncInput.d.ts +10 -0
- package/api/resources/bulkSync/client/requests/BulkSyncDeleteRequest.d.ts +1 -0
- package/api/resources/bulkSync/client/requests/BulkSyncGetRequest.d.ts +1 -0
- package/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +10 -5
- package/api/resources/bulkSync/client/requests/StartBulkSyncRequest.d.ts +2 -0
- package/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +10 -5
- package/api/resources/bulkSync/client/requests/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/errorHandling/client/Client.d.ts +2 -2
- package/api/resources/bulkSync/resources/errorHandling/client/Client.js +2 -2
- package/api/resources/bulkSync/resources/executions/client/Client.d.ts +15 -15
- package/api/resources/bulkSync/resources/executions/client/Client.js +15 -15
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetIngestConsoleLogsRequest.d.ts +1 -1
- package/api/resources/bulkSync/resources/schedules/client/Client.d.ts +8 -8
- package/api/resources/bulkSync/resources/schedules/client/Client.js +8 -8
- package/api/resources/bulkSync/resources/schedules/client/requests/CreateScheduleRequest.d.ts +1 -0
- package/api/resources/bulkSync/resources/schedules/client/requests/UpdateScheduleRequest.d.ts +1 -0
- package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +22 -10
- package/api/resources/bulkSync/resources/schemas/client/Client.js +24 -10
- package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +5 -4
- package/api/resources/connections/client/Client.d.ts +10 -9
- package/api/resources/connections/client/Client.js +14 -9
- package/api/resources/connections/client/requests/ConnectCardRequest.d.ts +7 -7
- package/api/resources/connections/client/requests/ConnectionsDeleteRequest.d.ts +1 -0
- package/api/resources/connections/client/requests/CreateConnectionRequestSchema.d.ts +4 -2
- package/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.d.ts +1 -0
- package/api/resources/connections/client/requests/TestConnectionRequest.d.ts +2 -2
- package/api/resources/connections/client/requests/UpdateConnectionRequestSchema.d.ts +4 -1
- package/api/resources/connections/resources/proxy/client/Client.d.ts +4 -4
- package/api/resources/connections/resources/proxy/client/Client.js +4 -4
- package/api/resources/connections/resources/proxy/client/requests/ExecuteConnectionProxyRequest.d.ts +2 -1
- package/api/resources/connections/resources/proxy/client/requests/UpdateConnectionProxySettingsRequest.d.ts +1 -1
- package/api/resources/connections/resources/sharedConnections/client/Client.d.ts +5 -5
- package/api/resources/connections/resources/sharedConnections/client/Client.js +5 -5
- package/api/resources/connections/resources/sharedConnections/client/requests/PartnerCreateSharedConnectionRequestSchema.d.ts +1 -1
- package/api/resources/entities/client/Client.d.ts +80 -10
- package/api/resources/entities/client/Client.js +134 -10
- 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 +308 -60
- package/api/resources/harbors/client/Client.js +682 -60
- package/api/resources/harbors/client/requests/CreateHarborContextDraftRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/CreateHarborRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/CreateHarborSavedQueryDraftRequest.d.ts +4 -4
- package/api/resources/harbors/client/requests/ExecuteHarborSavedQueryRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsCloseSessionRequest.d.ts +6 -0
- package/api/resources/harbors/client/requests/HarborsDeleteContextDraftRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsDeleteContextRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsGetAuthorizedSchemaRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsGetContextDraftRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsGetContextRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsGetContextVersionRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsGetSavedQueryRequest.d.ts +2 -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/HarborsListAuthorizedConnectionsRequest.d.ts +4 -0
- package/api/resources/harbors/client/requests/HarborsListAuthorizedSchemasRequest.d.ts +4 -0
- package/api/resources/harbors/client/requests/HarborsListContextDraftsRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/HarborsListContextVersionsRequest.d.ts +3 -1
- package/api/resources/harbors/client/requests/HarborsListContextsRequest.d.ts +3 -1
- package/api/resources/harbors/client/requests/HarborsListKeysRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/HarborsListRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/HarborsListSavedQueriesRequest.d.ts +4 -2
- package/api/resources/harbors/client/requests/HarborsListSavedQueryDraftsRequest.d.ts +2 -2
- package/api/resources/harbors/client/requests/HarborsListUsersRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/HarborsPromoteContextDraftRequest.d.ts +2 -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/InviteHarborUserRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/RegisterHarborSessionRequest.d.ts +8 -3
- package/api/resources/harbors/client/requests/RunHarborQueryRequest.d.ts +3 -1
- package/api/resources/harbors/client/requests/SaveHarborContextDraftRequest.d.ts +3 -1
- package/api/resources/harbors/client/requests/SaveHarborContextRequest.d.ts +3 -1
- package/api/resources/harbors/client/requests/SaveHarborSavedQueryDraftRequest.d.ts +4 -4
- 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/UpdateHarborRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/index.d.ts +3 -0
- package/api/resources/harbors/resources/actions/client/Client.d.ts +7 -7
- package/api/resources/harbors/resources/actions/client/Client.js +7 -7
- package/api/resources/harbors/resources/actions/client/requests/ActionsDescribeRequest.d.ts +5 -0
- package/api/resources/harbors/resources/actions/client/requests/ActionsGetExecutionRequest.d.ts +2 -0
- package/api/resources/harbors/resources/actions/client/requests/ActionsListRequest.d.ts +3 -0
- package/api/resources/harbors/resources/actions/client/requests/ExecuteHarborActionRequest.d.ts +2 -0
- package/api/resources/harbors/resources/actions/client/requests/LookupHarborActionRequest.d.ts +6 -3
- package/api/resources/harbors/resources/actions/client/requests/PrepareHarborActionRequest.d.ts +6 -2
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/jobs/client/Client.d.ts +1 -1
- package/api/resources/jobs/client/Client.js +1 -1
- package/api/resources/modelSync/client/Client.d.ts +34 -9
- package/api/resources/modelSync/client/Client.js +34 -9
- package/api/resources/modelSync/client/requests/ActivateSyncInput.d.ts +10 -0
- package/api/resources/modelSync/client/requests/ActivateSyncInput.js +3 -0
- package/api/resources/modelSync/client/requests/CreateModelSyncV5Request.d.ts +14 -7
- package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.d.ts +2 -2
- package/api/resources/modelSync/client/requests/StartModelSyncRequest.d.ts +4 -2
- package/api/resources/modelSync/client/requests/UpdateModelSyncV5Request.d.ts +14 -7
- package/api/resources/modelSync/client/requests/index.d.ts +1 -0
- package/api/resources/modelSync/resources/errorHandling/client/Client.d.ts +2 -2
- package/api/resources/modelSync/resources/errorHandling/client/Client.js +2 -2
- package/api/resources/modelSync/resources/executions/client/Client.d.ts +16 -16
- package/api/resources/modelSync/resources/executions/client/Client.js +16 -16
- package/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +3 -0
- package/api/resources/modelSync/resources/targets/client/Client.d.ts +4 -4
- package/api/resources/modelSync/resources/targets/client/Client.js +4 -4
- package/api/resources/models/client/Client.d.ts +17 -12
- package/api/resources/models/client/Client.js +19 -12
- package/api/resources/models/client/requests/EnrichmentInputFieldsRequest.d.ts +1 -0
- package/api/resources/models/client/requests/ModelsCreateRequest.d.ts +1 -0
- package/api/resources/models/client/requests/ModelsDeleteRequest.d.ts +1 -0
- package/api/resources/models/client/requests/ModelsGetRequest.d.ts +1 -0
- package/api/resources/models/client/requests/ModelsPreviewRequest.d.ts +1 -0
- package/api/resources/models/client/requests/ModelsSampleRequest.d.ts +1 -0
- package/api/resources/models/client/requests/UpdateModelRequest.d.ts +14 -0
- package/api/resources/notifications/client/Client.d.ts +1 -0
- package/api/resources/notifications/client/Client.js +3 -0
- package/api/resources/operations/client/requests/SearchOperationsRequest.d.ts +3 -3
- package/api/resources/organization/client/Client.d.ts +3 -3
- package/api/resources/organization/client/Client.js +3 -3
- package/api/resources/organization/client/requests/CreateOrganizationRequestSchema.d.ts +4 -4
- package/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.d.ts +4 -4
- package/api/resources/organization/client/requests/UpdateRecordLoggingSettingsRequest.d.ts +1 -1
- package/api/resources/permissions/resources/policies/client/Client.d.ts +3 -3
- package/api/resources/permissions/resources/policies/client/Client.js +3 -3
- package/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts +1 -0
- package/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts +1 -0
- package/api/resources/permissions/resources/roles/client/Client.d.ts +3 -3
- package/api/resources/permissions/resources/roles/client/Client.js +3 -3
- package/api/resources/permissions/resources/roles/client/requests/CreateRoleRequest.d.ts +1 -0
- package/api/resources/permissions/resources/roles/client/requests/UpdateRoleRequest.d.ts +1 -0
- package/api/resources/queryRunner/client/Client.d.ts +2 -2
- package/api/resources/queryRunner/client/Client.js +2 -2
- package/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.d.ts +3 -1
- package/api/resources/queryRunner/client/requests/RunQueryRequest.d.ts +3 -1
- package/api/resources/recordViewLinks/client/requests/CreateRecordViewLinkRequest.d.ts +6 -4
- package/api/resources/recordViewLinks/client/requests/RecordViewLinksGetCapabilitiesRequest.d.ts +4 -2
- package/api/resources/schemas/client/Client.d.ts +17 -17
- package/api/resources/schemas/client/Client.js +17 -17
- package/api/resources/schemas/client/requests/PatchSchemaFieldRequest.d.ts +3 -2
- package/api/resources/temporaryCredentials/client/requests/CreateTemporaryCredentialRequest.d.ts +1 -0
- package/api/resources/users/client/Client.d.ts +13 -13
- package/api/resources/users/client/Client.js +13 -13
- package/api/resources/users/client/requests/CreateUserRequestSchema.d.ts +1 -1
- package/api/resources/users/client/requests/CurrentOrgCreateUserRequestSchema.d.ts +1 -1
- package/api/resources/users/client/requests/UpdateUserRequestSchema.d.ts +1 -1
- package/api/resources/webhooks/client/Client.d.ts +6 -6
- package/api/resources/webhooks/client/Client.js +6 -6
- package/api/resources/webhooks/client/requests/CreateWebhooksSchema.d.ts +1 -0
- package/api/resources/webhooks/client/requests/UpdateWebhooksSchema.d.ts +1 -0
- package/api/resources/webhooks/client/requests/WebhooksListDeliveriesRequest.d.ts +2 -1
- package/api/types/ActionLookup.d.ts +2 -0
- package/api/types/ActivateSyncEnvelope.d.ts +1 -0
- package/api/types/ActivateSyncOutput.d.ts +2 -0
- package/api/types/ApiError.d.ts +4 -0
- package/api/types/BackendConnectionCapabilities.d.ts +5 -0
- package/api/types/BackendOAuthPrompt.d.ts +3 -0
- package/api/types/BulkBulkSyncSchedule.d.ts +17 -0
- package/api/types/BulkExecutionStatus.d.ts +1 -0
- package/api/types/BulkExecutionStatus.js +1 -0
- package/api/types/BulkField.d.ts +5 -0
- package/api/types/BulkFilter.d.ts +3 -1
- package/api/types/BulkSchema.d.ts +9 -1
- package/api/types/BulkSchemaEnvelope.d.ts +1 -0
- package/api/types/BulkSchemaListItem.d.ts +4 -4
- package/api/types/BulkSyncAdditionalScheduleRequest.d.ts +9 -5
- package/api/types/BulkSyncAdditionalScheduleResponse.d.ts +13 -8
- package/api/types/BulkSyncDefaultScheduleRequest.d.ts +7 -5
- package/api/types/BulkSyncDefaultScheduleResponse.d.ts +11 -8
- package/api/types/BulkSyncDest.d.ts +4 -2
- package/api/types/BulkSyncDestEnvelope.d.ts +1 -0
- package/api/types/BulkSyncErrorHandling.d.ts +1 -1
- package/api/types/BulkSyncErrorHandlingEnvelope.d.ts +1 -0
- package/api/types/BulkSyncExecution.d.ts +18 -1
- package/api/types/BulkSyncExecutionEnvelope.d.ts +1 -0
- package/api/types/BulkSyncExecutionLogs.d.ts +1 -1
- package/api/types/BulkSyncExecutionLogsEnvelope.d.ts +1 -0
- package/api/types/BulkSyncExecutionStatus.d.ts +4 -3
- package/api/types/BulkSyncIngestionStatus.d.ts +8 -0
- package/api/types/BulkSyncListEnvelope.d.ts +1 -0
- package/api/types/BulkSyncResponse.d.ts +17 -10
- package/api/types/BulkSyncResponseEnvelope.d.ts +1 -0
- package/api/types/BulkSyncScheduleApi.d.ts +7 -5
- package/api/types/BulkSyncSchemaExecution.d.ts +12 -1
- package/api/types/BulkSyncSchemaExecutionStatus.d.ts +8 -7
- package/api/types/BulkSyncSearchHit.d.ts +23 -0
- package/api/types/BulkSyncSearchHit.js +3 -0
- package/api/types/BulkSyncSource.d.ts +3 -0
- package/api/types/BulkSyncSourceCapabilities.d.ts +1 -0
- package/api/types/BulkSyncSourceEnvelope.d.ts +1 -0
- package/api/types/BulkSyncSourceSchemaEnvelope.d.ts +1 -0
- package/api/types/BulkSyncSourceStatus.d.ts +3 -0
- package/api/types/BulkSyncSourceStatusEnvelope.d.ts +1 -0
- package/api/types/BulkSyncStatusEnvelope.d.ts +1 -0
- package/api/types/BulkSyncStatusResponse.d.ts +4 -0
- package/api/types/CancelBulkSyncResponse.d.ts +1 -0
- package/api/types/CancelBulkSyncResponseEnvelope.d.ts +1 -0
- package/api/types/CancelSyncExecutionResponse.d.ts +1 -0
- package/api/types/CancelSyncExecutionResponseEnvelope.d.ts +1 -0
- package/api/types/CancelSyncResponse.d.ts +1 -0
- package/api/types/CancelSyncResponseEnvelope.d.ts +1 -0
- package/api/types/CloseHarborSessionEnvelope.d.ts +6 -0
- package/api/types/CompletionValue.d.ts +4 -0
- package/api/types/ConfigurationValue.d.ts +2 -0
- package/api/types/ConnectCardResponse.d.ts +2 -2
- package/api/types/ConnectCardResponseEnvelope.d.ts +1 -0
- package/api/types/ConnectSessionResponse.d.ts +10 -10
- package/api/types/ConnectSessionResponseEnvelope.d.ts +1 -0
- package/api/types/ConnectionProxyApi.d.ts +4 -3
- package/api/types/ConnectionProxyContract.d.ts +10 -10
- package/api/types/ConnectionProxyInfoResponse.d.ts +6 -2
- package/api/types/ConnectionProxyLockedHeader.d.ts +2 -2
- package/api/types/ConnectionProxyMergeRules.d.ts +2 -2
- package/api/types/ConnectionProxyResponse.d.ts +8 -7
- package/api/types/ConnectionProxySettingsEnvelope.d.ts +1 -0
- package/api/types/ConnectionProxySettingsResponse.d.ts +4 -4
- package/api/types/ConnectionProxyStats.d.ts +6 -6
- package/api/types/ConnectionResponseSchema.d.ts +2 -2
- package/api/types/ConnectionSearchHit.d.ts +13 -0
- package/api/types/ConnectionSearchHit.js +3 -0
- package/api/types/ConnectionUsageCategoryStats.d.ts +3 -3
- package/api/types/ConnectionUsageResponse.d.ts +3 -3
- package/api/types/ConnectionUsageSyncStats.d.ts +6 -6
- package/api/types/CreateConnectionResponseSchema.d.ts +3 -3
- package/api/types/CreateHarborEnvelope.d.ts +1 -0
- package/api/types/CreateHarborResponse.d.ts +2 -0
- package/api/types/CreateModelRequest.d.ts +12 -0
- package/api/types/CreateRecordViewLinkEnvelope.d.ts +1 -0
- package/api/types/CreateRecordViewLinkResponse.d.ts +4 -4
- package/api/types/CreateSharedConnectionResponseEnvelope.d.ts +1 -0
- package/api/types/CreateSharedConnectionResponseSchema.d.ts +1 -0
- package/api/types/CurrentOrgListUsersEnvelope.d.ts +1 -0
- package/api/types/CurrentOrgUserEnvelope.d.ts +1 -0
- package/api/types/CurrentOrgUserResponse.d.ts +6 -6
- package/api/types/DeletedHarborContextDraftEnvelope.d.ts +5 -1
- package/api/types/DeletedHarborContextEnvelope.d.ts +5 -1
- package/api/types/DeletedHarborEnvelope.d.ts +1 -0
- package/api/types/DeletedHarborResponse.d.ts +1 -1
- package/api/types/DeletedHarborSavedQueryDraftEnvelope.d.ts +5 -1
- package/api/types/DeletedHarborSavedQueryEnvelope.d.ts +5 -1
- package/api/types/Enrichment.d.ts +3 -0
- package/api/types/EntityRelationship.d.ts +2 -2
- package/api/types/EntityResponse.d.ts +4 -4
- package/api/types/EntityResponseEnvelope.d.ts +1 -0
- package/api/types/Event.d.ts +5 -4
- package/api/types/EventingBulkSyncCanceledEvent.d.ts +6 -0
- package/api/types/EventingBulkSyncCompletedEvent.d.ts +8 -0
- package/api/types/EventingBulkSyncCompletedWithErrorEvent.d.ts +8 -0
- package/api/types/EventingBulkSyncFailedEvent.d.ts +9 -0
- package/api/types/EventingBulkSyncRunningEvent.d.ts +6 -0
- package/api/types/EventingBulkSyncSchedule.d.ts +2 -0
- package/api/types/EventingSyncCanceledEvent.d.ts +6 -0
- package/api/types/EventingSyncCompletedEvent.d.ts +23 -1
- package/api/types/EventingSyncCompletedWithErrorsEvent.d.ts +8 -0
- package/api/types/EventingSyncFailedEvent.d.ts +6 -0
- package/api/types/EventingSyncRunningEvent.d.ts +5 -0
- package/api/types/EventingSyncSchedule.d.ts +1 -0
- package/api/types/ExecuteConnectionProxyEnvelope.d.ts +1 -0
- package/api/types/ExecuteHarborSavedQueryEnvelope.d.ts +10 -5
- package/api/types/ExecutionConsoleLogEntry.d.ts +5 -0
- package/api/types/ExecutionConsoleLogsResponse.d.ts +2 -0
- package/api/types/ExecutionConsoleLogsResponseEnvelope.d.ts +1 -0
- package/api/types/ExecutionCounts.d.ts +7 -0
- package/api/types/ExecutionLogResponse.d.ts +2 -0
- package/api/types/ExecutionLogsResponseEnvelope.d.ts +1 -0
- package/api/types/ExportSyncLogsEnvelope.d.ts +2 -0
- package/api/types/ExportSyncLogsResponse.d.ts +1 -1
- package/api/types/FieldConfiguration.d.ts +3 -2
- package/api/types/Filter.d.ts +6 -1
- package/api/types/GetConnectionProxyInfoEnvelope.d.ts +1 -0
- package/api/types/GetConnectionUsageEnvelope.d.ts +1 -0
- package/api/types/GetEnrichmentInputFieldsResponseEnvelope.d.ts +1 -0
- package/api/types/GetExecutionResponseEnvelope.d.ts +1 -0
- package/api/types/GetExecutionResponseSchema.d.ts +9 -1
- package/api/types/GetIdentityResponseSchema.d.ts +8 -7
- package/api/types/GetRecordViewCapabilitiesEnvelope.d.ts +1 -0
- package/api/types/GetSyncSourceMetaEnvelope.d.ts +1 -0
- package/api/types/GlobalErrorSubscribersResponse.d.ts +1 -1
- package/api/types/HarborActionCapability.d.ts +9 -0
- 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 +29 -0
- package/api/types/HarborActionConfigurationOperationResponse.js +12 -0
- package/api/types/HarborActionConfigurationOperationsEnvelope.d.ts +5 -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 +7 -0
- package/api/types/HarborActionConfigurationSchemasEnvelope.js +3 -0
- package/api/types/HarborActionDescribeEnvelope.d.ts +1 -0
- package/api/types/HarborActionExecutionEnvelope.d.ts +1 -0
- package/api/types/HarborActionExecutionResponse.d.ts +14 -2
- package/api/types/HarborActionExecutionResponse.js +1 -0
- package/api/types/HarborActionField.d.ts +11 -0
- package/api/types/HarborActionGrantSchema.d.ts +10 -0
- package/api/types/HarborActionGrantSchema.js +3 -0
- package/api/types/HarborActionListEnvelope.d.ts +6 -0
- package/api/types/HarborActionLookupEnvelope.d.ts +1 -0
- package/api/types/HarborActionPreparation.d.ts +2 -0
- package/api/types/HarborActionPreparationEnvelope.d.ts +1 -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 +5 -0
- package/api/types/HarborActionSourceConnectionsEnvelope.js +3 -0
- package/api/types/HarborActionSummary.d.ts +5 -0
- package/api/types/HarborActivityEventEnvelope.d.ts +1 -0
- package/api/types/HarborActivityListEnvelope.d.ts +2 -0
- package/api/types/HarborActivitySessionEnvelope.d.ts +2 -0
- package/api/types/HarborApiKeyCreatedResponse.d.ts +3 -3
- package/api/types/HarborConnectionCapability.d.ts +6 -0
- package/api/types/HarborConnectionCapability.js +9 -0
- package/api/types/HarborConnectionListEnvelope.d.ts +2 -0
- package/api/types/HarborConnectionResponse.d.ts +6 -1
- package/api/types/HarborConnectionSchemaEnvelope.d.ts +1 -0
- package/api/types/HarborContextDraftEnvelope.d.ts +1 -0
- package/api/types/HarborContextDraftListEnvelope.d.ts +2 -0
- package/api/types/HarborContextDraftMetadataResponse.d.ts +8 -8
- package/api/types/HarborContextDraftResponse.d.ts +9 -9
- package/api/types/HarborContextEnvelope.d.ts +1 -0
- package/api/types/HarborContextListEnvelope.d.ts +2 -0
- package/api/types/HarborContextMetadataResponse.d.ts +7 -7
- package/api/types/HarborContextResponse.d.ts +8 -8
- package/api/types/HarborContextVersionEnvelope.d.ts +1 -0
- package/api/types/HarborContextVersionListEnvelope.d.ts +2 -0
- package/api/types/HarborContextVersionMetadataResponse.d.ts +7 -7
- package/api/types/HarborContextVersionResponse.d.ts +8 -8
- package/api/types/HarborDatasetStatusResponse.d.ts +2 -2
- package/api/types/HarborEnvelope.d.ts +1 -0
- package/api/types/HarborKeyEnvelope.d.ts +1 -0
- package/api/types/HarborKeyListEnvelope.d.ts +2 -0
- package/api/types/HarborKeyResponse.d.ts +5 -5
- package/api/types/HarborListEnvelope.d.ts +2 -0
- package/api/types/HarborPipelineStatusResponse.d.ts +6 -6
- package/api/types/HarborPipelineStatusResponse.js +1 -1
- package/api/types/HarborResponse.d.ts +9 -9
- package/api/types/HarborSavedQueryDraftEnvelope.d.ts +1 -0
- package/api/types/HarborSavedQueryDraftListEnvelope.d.ts +2 -0
- package/api/types/HarborSavedQueryDraftResponse.d.ts +13 -13
- package/api/types/HarborSavedQueryEnvelope.d.ts +1 -0
- package/api/types/HarborSavedQueryListEnvelope.d.ts +2 -0
- package/api/types/HarborSavedQueryMetadataResponse.d.ts +9 -9
- package/api/types/HarborSavedQueryParameter.d.ts +4 -4
- package/api/types/HarborSavedQueryParameter.js +1 -1
- package/api/types/HarborSavedQueryPreviewResponse.d.ts +2 -2
- package/api/types/HarborSavedQueryResponse.d.ts +13 -13
- package/api/types/HarborSavedQueryValidationEnvelope.d.ts +1 -0
- package/api/types/HarborSchemaListEnvelope.d.ts +3 -0
- package/api/types/HarborSchemaResponse.d.ts +2 -0
- package/api/types/HarborSourceMappingResponse.d.ts +2 -2
- package/api/types/HarborSourceReference.d.ts +5 -3
- package/api/types/HarborStatusEnvelope.d.ts +1 -0
- package/api/types/HarborStatusResponse.d.ts +1 -1
- package/api/types/HarborStatusScheduleResponse.d.ts +13 -10
- package/api/types/HarborUserEnvelope.d.ts +1 -0
- package/api/types/HarborUserListEnvelope.d.ts +2 -0
- package/api/types/HarborUserResponse.d.ts +7 -7
- package/api/types/HarboractivityEventType.d.ts +29 -0
- package/api/types/HarboractivityEventType.js +32 -0
- package/api/types/HarboractivityOutcome.d.ts +7 -0
- package/api/types/HarboractivityOutcome.js +10 -0
- package/api/types/HarboractivityProvenance.d.ts +6 -0
- package/api/types/HarboractivityProvenance.js +9 -0
- package/api/types/HarboractivityQueryPhase.d.ts +6 -0
- package/api/types/HarboractivityQueryPhase.js +9 -0
- package/api/types/HarboractivityStatementCategory.d.ts +6 -0
- package/api/types/HarboractivityStatementCategory.js +9 -0
- package/api/types/HarboractivityapiHarborActivityActorSnapshot.d.ts +4 -0
- package/api/types/HarboractivityapiHarborActivityEvent.d.ts +24 -3
- package/api/types/HarboractivityapiHarborActivityIdentitySnapshot.d.ts +1 -0
- package/api/types/HarboractivityapiHarborActivityMetadata.d.ts +37 -5
- package/api/types/HarboractivityapiHarborActivityQuerySource.d.ts +4 -0
- package/api/types/HarboractivityapiHarborActivitySavedQuerySource.d.ts +5 -0
- package/api/types/HarboractivityapiHarborActivitySession.d.ts +16 -1
- package/api/types/HarboractivityapiHarborActivitySession.js +1 -0
- package/api/types/HarboractivityapiHarborActivityTarget.d.ts +6 -0
- package/api/types/Identity.d.ts +5 -0
- package/api/types/IdentityCredentialApiKeyProfileSchema.d.ts +5 -4
- package/api/types/IdentityCredentialCapabilitiesSchema.d.ts +2 -0
- package/api/types/IdentityCredentialConnectionCapabilitySchema.d.ts +1 -1
- package/api/types/IdentityCredentialHarborSchema.d.ts +3 -3
- package/api/types/IdentityCredentialSchema.d.ts +8 -4
- package/api/types/IdentityFunction.d.ts +1 -1
- package/api/types/JobResponse.d.ts +3 -2
- package/api/types/ListBulkSchemaEnvelope.d.ts +1 -0
- package/api/types/ListBulkSyncExecutionsEnvelope.d.ts +2 -0
- package/api/types/ListBulkSyncExecutionsStatusEnvelope.d.ts +1 -0
- package/api/types/ListExecutionResponseEnvelope.d.ts +2 -0
- package/api/types/ListSyncItem.d.ts +13 -10
- package/api/types/ListSyncResponseEnvelope.d.ts +2 -0
- package/api/types/LogsIndexEntry.d.ts +2 -2
- package/api/types/LogsIndexResponse.d.ts +6 -0
- package/api/types/LogsIndexResponseEnvelope.d.ts +1 -0
- package/api/types/Mode.d.ts +5 -5
- package/api/types/ModelField.d.ts +12 -0
- package/api/types/ModelFieldResponse.d.ts +1 -0
- package/api/types/ModelFieldSearchHit.d.ts +23 -0
- package/api/types/ModelFieldSearchHit.js +3 -0
- package/api/types/ModelFilterCondition.d.ts +2 -2
- package/api/types/ModelListResponseEnvelope.d.ts +1 -0
- package/api/types/ModelModelFieldRequest.d.ts +4 -0
- package/api/types/ModelRelation.d.ts +2 -0
- package/api/types/ModelRelationTo.d.ts +2 -0
- package/api/types/ModelResponse.d.ts +18 -0
- package/api/types/ModelResponseEnvelope.d.ts +2 -0
- package/api/types/ModelSample.d.ts +2 -0
- package/api/types/ModelSampleResponseEnvelope.d.ts +2 -0
- package/api/types/ModelSearchHit.d.ts +17 -0
- package/api/types/ModelSearchHit.js +3 -0
- package/api/types/ModelSyncProblem.d.ts +2 -2
- package/api/types/ModelSyncSearchHit.d.ts +19 -0
- package/api/types/ModelSyncSearchHit.js +3 -0
- package/api/types/ModelSyncSourceConnection.d.ts +8 -0
- package/api/types/ModelSyncSourceConnection.js +3 -0
- package/api/types/ModelSyncSourceIdentity.d.ts +2 -1
- package/api/types/ModelSyncV5Response.d.ts +23 -2
- package/api/types/ModelSyncV5ResponseEnvelope.d.ts +1 -0
- package/api/types/ModelSyncV5Target.d.ts +4 -1
- package/api/types/OperationMatch.d.ts +6 -6
- package/api/types/OperationSearchAvailabilityEnvelope.d.ts +6 -1
- package/api/types/OperationSearchRateLimit.d.ts +3 -3
- package/api/types/OperationSearchRateLimit.js +1 -1
- package/api/types/OperationSearchResult.d.ts +3 -3
- package/api/types/Organization.d.ts +5 -5
- package/api/types/OutputActor.d.ts +3 -0
- package/api/types/Override.d.ts +5 -1
- package/api/types/OverrideField.d.ts +2 -2
- package/api/types/OverrideFieldInput.d.ts +2 -2
- package/api/types/PaginationDetails.d.ts +1 -0
- package/api/types/PickValue.d.ts +2 -0
- package/api/types/PolicyAction.d.ts +1 -0
- package/api/types/QueryResultsEnvelope.d.ts +2 -0
- package/api/types/RecordLoggingSettingsEnvelope.d.ts +1 -0
- package/api/types/RecordLoggingSettingsResponse.d.ts +3 -3
- package/api/types/RecordviewCapabilities.d.ts +11 -1
- package/api/types/RegisterHarborSessionEnvelope.d.ts +1 -0
- package/api/types/RegisterHarborSessionResponse.d.ts +3 -1
- package/api/types/Relation.d.ts +2 -0
- package/api/types/RelationTo.d.ts +2 -0
- package/api/types/ResolveHarborSourceMappingsEnvelope.d.ts +6 -2
- package/api/types/RevokedHarborKeyEnvelope.d.ts +5 -1
- package/api/types/RunAfter.d.ts +2 -0
- package/api/types/RunQueryEnvelope.d.ts +1 -0
- package/api/types/RunQueryResult.d.ts +3 -2
- package/api/types/Schedule.d.ts +9 -0
- package/api/types/ScheduleEnvelope.d.ts +1 -0
- package/api/types/ScheduleOptionResponse.d.ts +1 -0
- package/api/types/ScheduleOptionResponseEnvelope.d.ts +1 -0
- package/api/types/ScheduleScheduleOption.d.ts +4 -0
- package/api/types/SchedulesEnvelope.d.ts +1 -0
- package/api/types/Schema.d.ts +3 -0
- package/api/types/SchemaAssociation.d.ts +4 -0
- package/api/types/SchemaConfiguration.d.ts +8 -2
- package/api/types/SchemaField.d.ts +12 -6
- package/api/types/SchemaFieldResponseEnvelope.d.ts +1 -0
- package/api/types/SchemaOperationIdempotency.d.ts +2 -0
- package/api/types/SchemaPrimaryKeyOverrideInput.d.ts +2 -0
- package/api/types/SchemaRecordsResponseEnvelope.d.ts +1 -0
- package/api/types/SearchEnvelope.d.ts +7 -0
- package/api/types/SearchEnvelope.js +3 -0
- package/api/types/SearchMatch.d.ts +9 -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 +27 -0
- package/api/types/SearchMatchMapping.js +13 -0
- package/api/types/SearchMatchSchema.d.ts +8 -0
- package/api/types/SearchMatchSchema.js +3 -0
- package/api/types/SearchOperationsEnvelope.d.ts +1 -0
- package/api/types/SearchOperationsResponse.d.ts +2 -2
- package/api/types/SearchResultItem.d.ts +19 -0
- package/api/types/SearchResultItem.js +3 -0
- package/api/types/SearchResultLinks.d.ts +14 -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/Source.d.ts +2 -0
- package/api/types/SourceMeta.d.ts +1 -1
- package/api/types/StartSyncResponseEnvelope.d.ts +1 -0
- package/api/types/StartSyncResponseSchema.d.ts +2 -0
- package/api/types/SupportedBulkMode.d.ts +6 -0
- package/api/types/SupportedFilterFunction.d.ts +3 -2
- package/api/types/SupportedMode.d.ts +4 -3
- package/api/types/SyncDestinationProperties.d.ts +15 -13
- package/api/types/SyncErrorHandling.d.ts +4 -4
- package/api/types/SyncErrorHandlingEnvelope.d.ts +1 -0
- package/api/types/SyncField.d.ts +3 -2
- package/api/types/SyncSourceMetaResponse.d.ts +3 -3
- package/api/types/SyncStatusEnvelope.d.ts +1 -0
- package/api/types/SyncStatusResponse.d.ts +3 -0
- package/api/types/TargetCreator.d.ts +2 -2
- package/api/types/TargetField.d.ts +12 -12
- package/api/types/TargetFilterCondition.d.ts +2 -2
- package/api/types/TargetObject.d.ts +3 -3
- package/api/types/TargetObjectsResponseEnvelope.d.ts +2 -0
- package/api/types/TargetPropertyValues.d.ts +4 -4
- package/api/types/TargetPropertyValuesEnvelope.d.ts +1 -0
- package/api/types/TargetResponse.d.ts +2 -1
- package/api/types/TargetResponseEnvelope.d.ts +1 -0
- package/api/types/TemporaryCredentialResponse.d.ts +2 -2
- package/api/types/TemporaryCredentialResponseEnvelope.d.ts +1 -0
- package/api/types/TemporaryCredentialSubject.d.ts +1 -1
- package/api/types/UnassignedHarborUserEnvelope.d.ts +5 -1
- package/api/types/UpdateBulkField.d.ts +4 -0
- package/api/types/UpdateBulkSyncSchemasEnvelope.d.ts +1 -0
- package/api/types/User.d.ts +4 -4
- package/api/types/UserFieldRequest.d.ts +4 -3
- package/api/types/UtilEnumValue.d.ts +2 -0
- package/api/types/WebhookDelivery.d.ts +1 -1
- package/api/types/index.d.ts +31 -1
- package/api/types/index.js +31 -1
- package/package.json +1 -1
- package/reference.md +1115 -356
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ActivateSyncInput.d.ts +0 -3
- /package/api/{types/ActivateSyncInput.js → resources/bulkSync/client/requests/ActivateBulkSyncInput.js} +0 -0
|
@@ -138,7 +138,7 @@ class HarborsClient {
|
|
|
138
138
|
/**
|
|
139
139
|
* Lists one bounded page of schema resources authorized by the current Harbor profile.
|
|
140
140
|
*
|
|
141
|
-
* @param {string} connection_id
|
|
141
|
+
* @param {string} connection_id - Connection ID
|
|
142
142
|
* @param {Polytomic.HarborsListAuthorizedSchemasRequest} request
|
|
143
143
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
144
144
|
*
|
|
@@ -199,8 +199,8 @@ class HarborsClient {
|
|
|
199
199
|
/**
|
|
200
200
|
* Returns one schema resource authorized by the current Harbor profile.
|
|
201
201
|
*
|
|
202
|
-
* @param {string} connection_id
|
|
203
|
-
* @param {string} schema_id
|
|
202
|
+
* @param {string} connection_id - Connection ID
|
|
203
|
+
* @param {string} schema_id - Schema ID
|
|
204
204
|
* @param {Polytomic.HarborsGetAuthorizedSchemaRequest} request
|
|
205
205
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
206
206
|
*
|
|
@@ -321,7 +321,7 @@ class HarborsClient {
|
|
|
321
321
|
/**
|
|
322
322
|
* Closes a service-attested Harbor MCP transport session.
|
|
323
323
|
*
|
|
324
|
-
* @param {string} session_id
|
|
324
|
+
* @param {string} session_id - Harbor session ID
|
|
325
325
|
* @param {Polytomic.HarborsCloseSessionRequest} request
|
|
326
326
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
327
327
|
*
|
|
@@ -536,7 +536,7 @@ class HarborsClient {
|
|
|
536
536
|
*
|
|
537
537
|
* The response exposes the backing Connection ID but not the internal profile used to authorize Harbor credentials.
|
|
538
538
|
*
|
|
539
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
539
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
540
540
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
541
541
|
*
|
|
542
542
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -600,7 +600,7 @@ class HarborsClient {
|
|
|
600
600
|
*
|
|
601
601
|
* This operation does not change `backing_mode` or `backing_connection_id`.
|
|
602
602
|
*
|
|
603
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
603
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
604
604
|
* @param {Polytomic.UpdateHarborRequest} request
|
|
605
605
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
606
606
|
*
|
|
@@ -679,7 +679,7 @@ class HarborsClient {
|
|
|
679
679
|
* storage in the background and retries failed cleanup automatically. You can also
|
|
680
680
|
* delete a Harbor while it is provisioning.
|
|
681
681
|
*
|
|
682
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
682
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
683
683
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
684
684
|
*
|
|
685
685
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -738,6 +738,628 @@ class HarborsClient {
|
|
|
738
738
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/api/harbors/{harbor_id}");
|
|
739
739
|
});
|
|
740
740
|
}
|
|
741
|
+
/**
|
|
742
|
+
* Returns configured action grants and revisions for a Harbor.
|
|
743
|
+
*
|
|
744
|
+
* You must be an Organization administrator with permission to edit the Harbor.
|
|
745
|
+
* Use a writable API credential, not a Harbor profile credential. Read-only keys
|
|
746
|
+
* are denied because this endpoint requires Harbor edit permission.
|
|
747
|
+
*
|
|
748
|
+
* This response includes grants for Connections that no longer populate the
|
|
749
|
+
* Harbor. You can remove those stale grants without reattaching the Connection.
|
|
750
|
+
* Reading configuration does not require the Harbor Actions entitlement.
|
|
751
|
+
*
|
|
752
|
+
* Use each Connection's `revision` as `expected_revision` when replacing or
|
|
753
|
+
* removing its grants. Configuration responses contain metadata only, not provider
|
|
754
|
+
* credentials or record values.
|
|
755
|
+
*
|
|
756
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
757
|
+
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
758
|
+
*
|
|
759
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
760
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
761
|
+
* @throws {@link Polytomic.ConflictError}
|
|
762
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
763
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
764
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
765
|
+
* @throws {@link errors.PolytomicError}
|
|
766
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
767
|
+
*
|
|
768
|
+
* @example
|
|
769
|
+
* await client.harbors.getActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
770
|
+
*/
|
|
771
|
+
getActionConfiguration(harbor_id, requestOptions) {
|
|
772
|
+
return core.HttpResponsePromise.fromPromise(this.__getActionConfiguration(harbor_id, requestOptions));
|
|
773
|
+
}
|
|
774
|
+
__getActionConfiguration(harbor_id, requestOptions) {
|
|
775
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
776
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
777
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
778
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
779
|
+
"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",
|
|
780
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
781
|
+
const _response = yield core.fetcher({
|
|
782
|
+
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/harbors/${core.url.encodePathParam(harbor_id)}/action-configuration`),
|
|
783
|
+
method: "GET",
|
|
784
|
+
headers: _headers,
|
|
785
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
786
|
+
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,
|
|
787
|
+
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,
|
|
788
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
789
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
790
|
+
logging: this._options.logging,
|
|
791
|
+
});
|
|
792
|
+
if (_response.ok) {
|
|
793
|
+
return {
|
|
794
|
+
data: _response.body,
|
|
795
|
+
rawResponse: _response.rawResponse,
|
|
796
|
+
};
|
|
797
|
+
}
|
|
798
|
+
if (_response.error.reason === "status-code") {
|
|
799
|
+
switch (_response.error.statusCode) {
|
|
800
|
+
case 403:
|
|
801
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
802
|
+
case 404:
|
|
803
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
804
|
+
case 409:
|
|
805
|
+
throw new Polytomic.ConflictError(_response.error.body, _response.rawResponse);
|
|
806
|
+
case 422:
|
|
807
|
+
throw new Polytomic.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
808
|
+
case 500:
|
|
809
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
810
|
+
case 503:
|
|
811
|
+
throw new Polytomic.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
812
|
+
default:
|
|
813
|
+
throw new errors.PolytomicError({
|
|
814
|
+
statusCode: _response.error.statusCode,
|
|
815
|
+
body: _response.error.body,
|
|
816
|
+
rawResponse: _response.rawResponse,
|
|
817
|
+
});
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/harbors/{harbor_id}/action-configuration");
|
|
821
|
+
});
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
* Disables all configured actions for a Harbor.
|
|
825
|
+
*
|
|
826
|
+
* You must be an Organization administrator with permission to edit the Harbor.
|
|
827
|
+
* Use a normal writable API credential, not a Harbor profile credential. Your
|
|
828
|
+
* Organization must have the Harbor Actions entitlement.
|
|
829
|
+
*
|
|
830
|
+
* > 🚧 Disable all actions
|
|
831
|
+
* >
|
|
832
|
+
* > This removes every configured action grant from the Harbor, including grants
|
|
833
|
+
* > for detached Connections. There is no per-Connection revision check.
|
|
834
|
+
*
|
|
835
|
+
* The response contains the empty configuration. This request does not delete
|
|
836
|
+
* Connections, syncs, or provider records.
|
|
837
|
+
*
|
|
838
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
839
|
+
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
840
|
+
*
|
|
841
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
842
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
843
|
+
* @throws {@link Polytomic.ConflictError}
|
|
844
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
845
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
846
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
847
|
+
* @throws {@link errors.PolytomicError}
|
|
848
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
849
|
+
*
|
|
850
|
+
* @example
|
|
851
|
+
* await client.harbors.disableActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
852
|
+
*/
|
|
853
|
+
disableActionConfiguration(harbor_id, requestOptions) {
|
|
854
|
+
return core.HttpResponsePromise.fromPromise(this.__disableActionConfiguration(harbor_id, requestOptions));
|
|
855
|
+
}
|
|
856
|
+
__disableActionConfiguration(harbor_id, requestOptions) {
|
|
857
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
858
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
859
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
860
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
861
|
+
"Idempotency-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey,
|
|
862
|
+
"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",
|
|
863
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
864
|
+
const _response = yield core.fetcher({
|
|
865
|
+
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/harbors/${core.url.encodePathParam(harbor_id)}/action-configuration`),
|
|
866
|
+
method: "DELETE",
|
|
867
|
+
headers: _headers,
|
|
868
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
869
|
+
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,
|
|
870
|
+
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,
|
|
871
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
872
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
873
|
+
logging: this._options.logging,
|
|
874
|
+
});
|
|
875
|
+
if (_response.ok) {
|
|
876
|
+
return {
|
|
877
|
+
data: _response.body,
|
|
878
|
+
rawResponse: _response.rawResponse,
|
|
879
|
+
};
|
|
880
|
+
}
|
|
881
|
+
if (_response.error.reason === "status-code") {
|
|
882
|
+
switch (_response.error.statusCode) {
|
|
883
|
+
case 403:
|
|
884
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
885
|
+
case 404:
|
|
886
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
887
|
+
case 409:
|
|
888
|
+
throw new Polytomic.ConflictError(_response.error.body, _response.rawResponse);
|
|
889
|
+
case 422:
|
|
890
|
+
throw new Polytomic.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
891
|
+
case 500:
|
|
892
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
893
|
+
case 503:
|
|
894
|
+
throw new Polytomic.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
895
|
+
default:
|
|
896
|
+
throw new errors.PolytomicError({
|
|
897
|
+
statusCode: _response.error.statusCode,
|
|
898
|
+
body: _response.error.body,
|
|
899
|
+
rawResponse: _response.rawResponse,
|
|
900
|
+
});
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/api/harbors/{harbor_id}/action-configuration");
|
|
904
|
+
});
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* Lists action-capable source Connections that populate a Harbor.
|
|
908
|
+
*
|
|
909
|
+
* You must be an Organization administrator with permission to edit the Harbor.
|
|
910
|
+
* Use a writable API credential, not a Harbor profile credential. Read-only keys
|
|
911
|
+
* are denied because this endpoint requires Harbor edit permission. Discovery does
|
|
912
|
+
* not require the Harbor Actions entitlement.
|
|
913
|
+
*
|
|
914
|
+
* A Connection is eligible when it supports actions and is a source of a
|
|
915
|
+
* non-deleted Bulk Sync or Model Sync targeting the Harbor's backing Connection.
|
|
916
|
+
* Only saved, non-shared Connections in your Organization that you can query are
|
|
917
|
+
* included. Disabled syncs still establish source membership.
|
|
918
|
+
*
|
|
919
|
+
* Discover schemas and operations before choosing the grants to configure.
|
|
920
|
+
*
|
|
921
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
922
|
+
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
923
|
+
*
|
|
924
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
925
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
926
|
+
* @throws {@link Polytomic.ConflictError}
|
|
927
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
928
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
929
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
930
|
+
* @throws {@link errors.PolytomicError}
|
|
931
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
932
|
+
*
|
|
933
|
+
* @example
|
|
934
|
+
* await client.harbors.listActionSourceConnections("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
935
|
+
*/
|
|
936
|
+
listActionSourceConnections(harbor_id, requestOptions) {
|
|
937
|
+
return core.HttpResponsePromise.fromPromise(this.__listActionSourceConnections(harbor_id, requestOptions));
|
|
938
|
+
}
|
|
939
|
+
__listActionSourceConnections(harbor_id, requestOptions) {
|
|
940
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
941
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
942
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
943
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
944
|
+
"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",
|
|
945
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
946
|
+
const _response = yield core.fetcher({
|
|
947
|
+
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/harbors/${core.url.encodePathParam(harbor_id)}/action-configuration/connections`),
|
|
948
|
+
method: "GET",
|
|
949
|
+
headers: _headers,
|
|
950
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
951
|
+
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,
|
|
952
|
+
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,
|
|
953
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
954
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
955
|
+
logging: this._options.logging,
|
|
956
|
+
});
|
|
957
|
+
if (_response.ok) {
|
|
958
|
+
return {
|
|
959
|
+
data: _response.body,
|
|
960
|
+
rawResponse: _response.rawResponse,
|
|
961
|
+
};
|
|
962
|
+
}
|
|
963
|
+
if (_response.error.reason === "status-code") {
|
|
964
|
+
switch (_response.error.statusCode) {
|
|
965
|
+
case 403:
|
|
966
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
967
|
+
case 404:
|
|
968
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
969
|
+
case 409:
|
|
970
|
+
throw new Polytomic.ConflictError(_response.error.body, _response.rawResponse);
|
|
971
|
+
case 422:
|
|
972
|
+
throw new Polytomic.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
973
|
+
case 500:
|
|
974
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
975
|
+
case 503:
|
|
976
|
+
throw new Polytomic.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
977
|
+
default:
|
|
978
|
+
throw new errors.PolytomicError({
|
|
979
|
+
statusCode: _response.error.statusCode,
|
|
980
|
+
body: _response.error.body,
|
|
981
|
+
rawResponse: _response.rawResponse,
|
|
982
|
+
});
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/harbors/{harbor_id}/action-configuration/connections");
|
|
986
|
+
});
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* Creates or replaces action grants for an eligible Harbor source Connection.
|
|
990
|
+
*
|
|
991
|
+
* You must be an Organization administrator with permission to edit both the
|
|
992
|
+
* Harbor and the source Connection. Use a normal writable API credential, not a
|
|
993
|
+
* Harbor profile credential. Your Organization must have the Harbor Actions
|
|
994
|
+
* entitlement.
|
|
995
|
+
*
|
|
996
|
+
* The Connection must populate the Harbor through a non-deleted Bulk Sync or Model
|
|
997
|
+
* Sync targeting its backing Connection. This requirement applies to new grants
|
|
998
|
+
* and replacements, even when you only remove fields from an existing grant.
|
|
999
|
+
*
|
|
1000
|
+
* Submit the complete grant set for this Connection. Omit `expected_revision` to
|
|
1001
|
+
* create it, or supply the current revision to replace it. A missing, stale, or
|
|
1002
|
+
* unexpected revision returns `409 Conflict`; read configuration again before
|
|
1003
|
+
* retrying. Successful replacement creates a new revision.
|
|
1004
|
+
*
|
|
1005
|
+
* For mutating operations, `field_ids` selects input fields and
|
|
1006
|
+
* `lookup_field_ids` must be omitted. For read-only operations, `field_ids`
|
|
1007
|
+
* selects output fields and `lookup_field_ids` selects allowed lookup fields.
|
|
1008
|
+
* Duplicate operations or field IDs are invalid. An empty grant set is invalid;
|
|
1009
|
+
* remove the Connection's grants instead.
|
|
1010
|
+
*
|
|
1011
|
+
* This request changes permissions only. It does not execute provider actions.
|
|
1012
|
+
*
|
|
1013
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1014
|
+
* @param {string} connection_id - Source Connection whose action grants you want to manage
|
|
1015
|
+
* @param {Polytomic.SetHarborActionConfigurationRequest} request
|
|
1016
|
+
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
1017
|
+
*
|
|
1018
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
1019
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
1020
|
+
* @throws {@link Polytomic.ConflictError}
|
|
1021
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
1022
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
1023
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
1024
|
+
* @throws {@link errors.PolytomicError}
|
|
1025
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
1026
|
+
*
|
|
1027
|
+
* @example
|
|
1028
|
+
* await client.harbors.setActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
1029
|
+
*/
|
|
1030
|
+
setActionConfiguration(harbor_id, connection_id, request = {}, requestOptions) {
|
|
1031
|
+
return core.HttpResponsePromise.fromPromise(this.__setActionConfiguration(harbor_id, connection_id, request, requestOptions));
|
|
1032
|
+
}
|
|
1033
|
+
__setActionConfiguration(harbor_id_1, connection_id_1) {
|
|
1034
|
+
return __awaiter(this, arguments, void 0, function* (harbor_id, connection_id, request = {}, requestOptions) {
|
|
1035
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
1036
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1037
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
1038
|
+
"Idempotency-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey,
|
|
1039
|
+
"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",
|
|
1040
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1041
|
+
const _response = yield core.fetcher({
|
|
1042
|
+
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/harbors/${core.url.encodePathParam(harbor_id)}/action-configuration/connections/${core.url.encodePathParam(connection_id)}`),
|
|
1043
|
+
method: "PUT",
|
|
1044
|
+
headers: _headers,
|
|
1045
|
+
contentType: "application/json",
|
|
1046
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1047
|
+
requestType: "json",
|
|
1048
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
1049
|
+
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,
|
|
1050
|
+
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,
|
|
1051
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1052
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
1053
|
+
logging: this._options.logging,
|
|
1054
|
+
});
|
|
1055
|
+
if (_response.ok) {
|
|
1056
|
+
return {
|
|
1057
|
+
data: _response.body,
|
|
1058
|
+
rawResponse: _response.rawResponse,
|
|
1059
|
+
};
|
|
1060
|
+
}
|
|
1061
|
+
if (_response.error.reason === "status-code") {
|
|
1062
|
+
switch (_response.error.statusCode) {
|
|
1063
|
+
case 403:
|
|
1064
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1065
|
+
case 404:
|
|
1066
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1067
|
+
case 409:
|
|
1068
|
+
throw new Polytomic.ConflictError(_response.error.body, _response.rawResponse);
|
|
1069
|
+
case 422:
|
|
1070
|
+
throw new Polytomic.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1071
|
+
case 500:
|
|
1072
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1073
|
+
case 503:
|
|
1074
|
+
throw new Polytomic.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
1075
|
+
default:
|
|
1076
|
+
throw new errors.PolytomicError({
|
|
1077
|
+
statusCode: _response.error.statusCode,
|
|
1078
|
+
body: _response.error.body,
|
|
1079
|
+
rawResponse: _response.rawResponse,
|
|
1080
|
+
});
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PUT", "/api/harbors/{harbor_id}/action-configuration/connections/{connection_id}");
|
|
1084
|
+
});
|
|
1085
|
+
}
|
|
1086
|
+
/**
|
|
1087
|
+
* Removes a Connection's action grants from a Harbor.
|
|
1088
|
+
*
|
|
1089
|
+
* You must be an Organization administrator with permission to edit the Harbor.
|
|
1090
|
+
* Use a normal writable API credential, not a Harbor profile credential. Your
|
|
1091
|
+
* Organization must have the Harbor Actions entitlement.
|
|
1092
|
+
*
|
|
1093
|
+
* Supply the current `expected_revision` as a query parameter. A stale revision
|
|
1094
|
+
* returns `409 Conflict`; read configuration again before retrying.
|
|
1095
|
+
*
|
|
1096
|
+
* You can remove grants after the Connection stops populating the Harbor, or after
|
|
1097
|
+
* the Connection is deleted. The response contains the remaining configured action
|
|
1098
|
+
* Connections. This request does not delete the Connection or provider records.
|
|
1099
|
+
*
|
|
1100
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1101
|
+
* @param {string} connection_id - Source Connection whose action grants you want to manage
|
|
1102
|
+
* @param {Polytomic.HarborsRemoveActionConfigurationRequest} request
|
|
1103
|
+
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
1104
|
+
*
|
|
1105
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
1106
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
1107
|
+
* @throws {@link Polytomic.ConflictError}
|
|
1108
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
1109
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
1110
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
1111
|
+
* @throws {@link errors.PolytomicError}
|
|
1112
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
1113
|
+
*
|
|
1114
|
+
* @example
|
|
1115
|
+
* await client.harbors.removeActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
1116
|
+
* expected_revision: "248df4b7-aa70-47b8-a036-33ac447e668d"
|
|
1117
|
+
* })
|
|
1118
|
+
*/
|
|
1119
|
+
removeActionConfiguration(harbor_id, connection_id, request, requestOptions) {
|
|
1120
|
+
return core.HttpResponsePromise.fromPromise(this.__removeActionConfiguration(harbor_id, connection_id, request, requestOptions));
|
|
1121
|
+
}
|
|
1122
|
+
__removeActionConfiguration(harbor_id, connection_id, request, requestOptions) {
|
|
1123
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1124
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
1125
|
+
const { expected_revision: expectedRevision } = request;
|
|
1126
|
+
const _queryParams = {
|
|
1127
|
+
expected_revision: expectedRevision,
|
|
1128
|
+
};
|
|
1129
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1130
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
1131
|
+
"Idempotency-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey,
|
|
1132
|
+
"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",
|
|
1133
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1134
|
+
const _response = yield core.fetcher({
|
|
1135
|
+
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/harbors/${core.url.encodePathParam(harbor_id)}/action-configuration/connections/${core.url.encodePathParam(connection_id)}`),
|
|
1136
|
+
method: "DELETE",
|
|
1137
|
+
headers: _headers,
|
|
1138
|
+
queryString: core.url
|
|
1139
|
+
.queryBuilder()
|
|
1140
|
+
.addMany(_queryParams)
|
|
1141
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1142
|
+
.build(),
|
|
1143
|
+
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,
|
|
1144
|
+
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,
|
|
1145
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1146
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
1147
|
+
logging: this._options.logging,
|
|
1148
|
+
});
|
|
1149
|
+
if (_response.ok) {
|
|
1150
|
+
return {
|
|
1151
|
+
data: _response.body,
|
|
1152
|
+
rawResponse: _response.rawResponse,
|
|
1153
|
+
};
|
|
1154
|
+
}
|
|
1155
|
+
if (_response.error.reason === "status-code") {
|
|
1156
|
+
switch (_response.error.statusCode) {
|
|
1157
|
+
case 403:
|
|
1158
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1159
|
+
case 404:
|
|
1160
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1161
|
+
case 409:
|
|
1162
|
+
throw new Polytomic.ConflictError(_response.error.body, _response.rawResponse);
|
|
1163
|
+
case 422:
|
|
1164
|
+
throw new Polytomic.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1165
|
+
case 500:
|
|
1166
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1167
|
+
case 503:
|
|
1168
|
+
throw new Polytomic.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
1169
|
+
default:
|
|
1170
|
+
throw new errors.PolytomicError({
|
|
1171
|
+
statusCode: _response.error.statusCode,
|
|
1172
|
+
body: _response.error.body,
|
|
1173
|
+
rawResponse: _response.rawResponse,
|
|
1174
|
+
});
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/api/harbors/{harbor_id}/action-configuration/connections/{connection_id}");
|
|
1178
|
+
});
|
|
1179
|
+
}
|
|
1180
|
+
/**
|
|
1181
|
+
* Lists available action schemas for an eligible Harbor source Connection.
|
|
1182
|
+
*
|
|
1183
|
+
* You must be an Organization administrator with permission to edit the Harbor
|
|
1184
|
+
* and query the source Connection. Use a writable API credential, not a Harbor
|
|
1185
|
+
* profile credential. Read-only keys are denied because this endpoint requires
|
|
1186
|
+
* Harbor edit permission. Discovery does not require the Harbor Actions entitlement.
|
|
1187
|
+
*
|
|
1188
|
+
* The Connection must populate the Harbor through a non-deleted Bulk Sync or Model
|
|
1189
|
+
* Sync targeting its backing Connection. The response lists action schemas, not
|
|
1190
|
+
* records. Use the next page token with the same search filter to continue.
|
|
1191
|
+
*
|
|
1192
|
+
* Operation IDs in the catalog are hints. Operation discovery returns the current
|
|
1193
|
+
* configurable fields for a schema.
|
|
1194
|
+
*
|
|
1195
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1196
|
+
* @param {string} connection_id - Source Connection whose action grants you want to manage
|
|
1197
|
+
* @param {Polytomic.HarborsListActionConfigurationSchemasRequest} request
|
|
1198
|
+
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1199
|
+
*
|
|
1200
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
1201
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
1202
|
+
* @throws {@link Polytomic.ConflictError}
|
|
1203
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
1204
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
1205
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
1206
|
+
* @throws {@link errors.PolytomicError}
|
|
1207
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
1208
|
+
*
|
|
1209
|
+
* @example
|
|
1210
|
+
* await client.harbors.listActionConfigurationSchemas("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
1211
|
+
* search: "search",
|
|
1212
|
+
* limit: 1,
|
|
1213
|
+
* page_token: "page_token"
|
|
1214
|
+
* })
|
|
1215
|
+
*/
|
|
1216
|
+
listActionConfigurationSchemas(harbor_id, connection_id, request = {}, requestOptions) {
|
|
1217
|
+
return core.HttpResponsePromise.fromPromise(this.__listActionConfigurationSchemas(harbor_id, connection_id, request, requestOptions));
|
|
1218
|
+
}
|
|
1219
|
+
__listActionConfigurationSchemas(harbor_id_1, connection_id_1) {
|
|
1220
|
+
return __awaiter(this, arguments, void 0, function* (harbor_id, connection_id, request = {}, requestOptions) {
|
|
1221
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
1222
|
+
const { search, limit, page_token: pageToken } = request;
|
|
1223
|
+
const _queryParams = {
|
|
1224
|
+
search,
|
|
1225
|
+
limit,
|
|
1226
|
+
page_token: pageToken,
|
|
1227
|
+
};
|
|
1228
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1229
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
1230
|
+
"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",
|
|
1231
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1232
|
+
const _response = yield core.fetcher({
|
|
1233
|
+
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/harbors/${core.url.encodePathParam(harbor_id)}/action-configuration/connections/${core.url.encodePathParam(connection_id)}/schemas`),
|
|
1234
|
+
method: "GET",
|
|
1235
|
+
headers: _headers,
|
|
1236
|
+
queryString: core.url
|
|
1237
|
+
.queryBuilder()
|
|
1238
|
+
.addMany(_queryParams)
|
|
1239
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1240
|
+
.build(),
|
|
1241
|
+
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,
|
|
1242
|
+
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,
|
|
1243
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1244
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
1245
|
+
logging: this._options.logging,
|
|
1246
|
+
});
|
|
1247
|
+
if (_response.ok) {
|
|
1248
|
+
return {
|
|
1249
|
+
data: _response.body,
|
|
1250
|
+
rawResponse: _response.rawResponse,
|
|
1251
|
+
};
|
|
1252
|
+
}
|
|
1253
|
+
if (_response.error.reason === "status-code") {
|
|
1254
|
+
switch (_response.error.statusCode) {
|
|
1255
|
+
case 403:
|
|
1256
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1257
|
+
case 404:
|
|
1258
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1259
|
+
case 409:
|
|
1260
|
+
throw new Polytomic.ConflictError(_response.error.body, _response.rawResponse);
|
|
1261
|
+
case 422:
|
|
1262
|
+
throw new Polytomic.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1263
|
+
case 500:
|
|
1264
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1265
|
+
case 503:
|
|
1266
|
+
throw new Polytomic.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
1267
|
+
default:
|
|
1268
|
+
throw new errors.PolytomicError({
|
|
1269
|
+
statusCode: _response.error.statusCode,
|
|
1270
|
+
body: _response.error.body,
|
|
1271
|
+
rawResponse: _response.rawResponse,
|
|
1272
|
+
});
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/harbors/{harbor_id}/action-configuration/connections/{connection_id}/schemas");
|
|
1276
|
+
});
|
|
1277
|
+
}
|
|
1278
|
+
/**
|
|
1279
|
+
* Lists operations and configurable fields for an eligible Harbor action schema.
|
|
1280
|
+
*
|
|
1281
|
+
* You must be an Organization administrator with permission to edit the Harbor
|
|
1282
|
+
* and query the source Connection. Use a writable API credential, not a Harbor
|
|
1283
|
+
* profile credential. Read-only keys are denied because this endpoint requires
|
|
1284
|
+
* Harbor edit permission. Discovery does not require the Harbor Actions entitlement.
|
|
1285
|
+
*
|
|
1286
|
+
* The Connection must populate the Harbor through a non-deleted Bulk Sync or Model
|
|
1287
|
+
* Sync targeting its backing Connection. This request returns operation metadata,
|
|
1288
|
+
* not provider records, and does not execute an action.
|
|
1289
|
+
*
|
|
1290
|
+
* For a mutating operation, choose input field IDs. For a read-only operation,
|
|
1291
|
+
* choose output field IDs and at least one lookup field ID. Required input fields
|
|
1292
|
+
* must be included in the grant.
|
|
1293
|
+
*
|
|
1294
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1295
|
+
* @param {string} connection_id - Source Connection whose action grants you want to manage
|
|
1296
|
+
* @param {string} schema_id - Exact action schema ID returned by schema discovery
|
|
1297
|
+
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1298
|
+
*
|
|
1299
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
1300
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
1301
|
+
* @throws {@link Polytomic.ConflictError}
|
|
1302
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
1303
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
1304
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
1305
|
+
* @throws {@link errors.PolytomicError}
|
|
1306
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
1307
|
+
*
|
|
1308
|
+
* @example
|
|
1309
|
+
* await client.harbors.listActionConfigurationOperations("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "schema_id")
|
|
1310
|
+
*/
|
|
1311
|
+
listActionConfigurationOperations(harbor_id, connection_id, schema_id, requestOptions) {
|
|
1312
|
+
return core.HttpResponsePromise.fromPromise(this.__listActionConfigurationOperations(harbor_id, connection_id, schema_id, requestOptions));
|
|
1313
|
+
}
|
|
1314
|
+
__listActionConfigurationOperations(harbor_id, connection_id, schema_id, requestOptions) {
|
|
1315
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1316
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
1317
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1318
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
1319
|
+
"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",
|
|
1320
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1321
|
+
const _response = yield core.fetcher({
|
|
1322
|
+
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/harbors/${core.url.encodePathParam(harbor_id)}/action-configuration/connections/${core.url.encodePathParam(connection_id)}/schemas/${core.url.encodePathParam(schema_id)}/operations`),
|
|
1323
|
+
method: "GET",
|
|
1324
|
+
headers: _headers,
|
|
1325
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1326
|
+
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,
|
|
1327
|
+
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,
|
|
1328
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1329
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
1330
|
+
logging: this._options.logging,
|
|
1331
|
+
});
|
|
1332
|
+
if (_response.ok) {
|
|
1333
|
+
return {
|
|
1334
|
+
data: _response.body,
|
|
1335
|
+
rawResponse: _response.rawResponse,
|
|
1336
|
+
};
|
|
1337
|
+
}
|
|
1338
|
+
if (_response.error.reason === "status-code") {
|
|
1339
|
+
switch (_response.error.statusCode) {
|
|
1340
|
+
case 403:
|
|
1341
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1342
|
+
case 404:
|
|
1343
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1344
|
+
case 409:
|
|
1345
|
+
throw new Polytomic.ConflictError(_response.error.body, _response.rawResponse);
|
|
1346
|
+
case 422:
|
|
1347
|
+
throw new Polytomic.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1348
|
+
case 500:
|
|
1349
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1350
|
+
case 503:
|
|
1351
|
+
throw new Polytomic.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
1352
|
+
default:
|
|
1353
|
+
throw new errors.PolytomicError({
|
|
1354
|
+
statusCode: _response.error.statusCode,
|
|
1355
|
+
body: _response.error.body,
|
|
1356
|
+
rawResponse: _response.rawResponse,
|
|
1357
|
+
});
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
1360
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/harbors/{harbor_id}/action-configuration/connections/{connection_id}/schemas/{schema_id}/operations");
|
|
1361
|
+
});
|
|
1362
|
+
}
|
|
741
1363
|
/**
|
|
742
1364
|
* Lists context document metadata for a Harbor without returning document content.
|
|
743
1365
|
*
|
|
@@ -747,7 +1369,7 @@ class HarborsClient {
|
|
|
747
1369
|
* A Harbor profile credential can read context only when `harbor_id` identifies
|
|
748
1370
|
* its own Harbor.
|
|
749
1371
|
*
|
|
750
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1372
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
751
1373
|
* @param {Polytomic.HarborsListContextsRequest} request
|
|
752
1374
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
753
1375
|
*
|
|
@@ -825,7 +1447,7 @@ class HarborsClient {
|
|
|
825
1447
|
*
|
|
826
1448
|
* The new document belongs only to this Harbor. Context documents cannot be attached to multiple Harbors.
|
|
827
1449
|
*
|
|
828
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1450
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
829
1451
|
* @param {Polytomic.CreateHarborContextRequest} request
|
|
830
1452
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
831
1453
|
*
|
|
@@ -902,7 +1524,7 @@ class HarborsClient {
|
|
|
902
1524
|
* detail endpoint to read the complete candidate. Normal context list and detail
|
|
903
1525
|
* operations continue to return published content only.
|
|
904
1526
|
*
|
|
905
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1527
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
906
1528
|
* @param {Polytomic.HarborsListContextDraftsRequest} request
|
|
907
1529
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
908
1530
|
*
|
|
@@ -988,7 +1610,7 @@ class HarborsClient {
|
|
|
988
1610
|
* Use the regular context creation endpoint instead when the initial payload should
|
|
989
1611
|
* be published immediately.
|
|
990
1612
|
*
|
|
991
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1613
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
992
1614
|
* @param {Polytomic.CreateHarborContextDraftRequest} request
|
|
993
1615
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
994
1616
|
*
|
|
@@ -1063,8 +1685,8 @@ class HarborsClient {
|
|
|
1063
1685
|
* A Harbor profile credential can read context only when `harbor_id` identifies
|
|
1064
1686
|
* its own Harbor.
|
|
1065
1687
|
*
|
|
1066
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1067
|
-
* @param {string} context_id - Unique identifier of the context document
|
|
1688
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1689
|
+
* @param {string} context_id - Unique identifier of the context document
|
|
1068
1690
|
* @param {Polytomic.HarborsGetContextRequest} request
|
|
1069
1691
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1070
1692
|
*
|
|
@@ -1131,8 +1753,8 @@ class HarborsClient {
|
|
|
1131
1753
|
*
|
|
1132
1754
|
* A direct publication leaves an existing draft unchanged.
|
|
1133
1755
|
*
|
|
1134
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1135
|
-
* @param {string} context_id - Unique identifier of the context document
|
|
1756
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1757
|
+
* @param {string} context_id - Unique identifier of the context document
|
|
1136
1758
|
* @param {Polytomic.SaveHarborContextRequest} request
|
|
1137
1759
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
1138
1760
|
*
|
|
@@ -1206,8 +1828,8 @@ class HarborsClient {
|
|
|
1206
1828
|
*
|
|
1207
1829
|
* Deleting a context document does not affect the Harbor or its other context documents.
|
|
1208
1830
|
*
|
|
1209
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1210
|
-
* @param {string} context_id - Unique identifier of the context document
|
|
1831
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1832
|
+
* @param {string} context_id - Unique identifier of the context document
|
|
1211
1833
|
* @param {Polytomic.HarborsDeleteContextRequest} request
|
|
1212
1834
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
1213
1835
|
*
|
|
@@ -1278,8 +1900,8 @@ class HarborsClient {
|
|
|
1278
1900
|
* context reads and Harbor MCP tools continue to return the current published
|
|
1279
1901
|
* version. Creator and updater IDs are null when their actor type is `system`.
|
|
1280
1902
|
*
|
|
1281
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1282
|
-
* @param {string} context_id - Unique identifier of the context document
|
|
1903
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1904
|
+
* @param {string} context_id - Unique identifier of the context document
|
|
1283
1905
|
* @param {Polytomic.HarborsGetContextDraftRequest} request
|
|
1284
1906
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1285
1907
|
*
|
|
@@ -1351,8 +1973,8 @@ class HarborsClient {
|
|
|
1351
1973
|
* updater provenance comes from the request actor; system actors have a null actor
|
|
1352
1974
|
* ID.
|
|
1353
1975
|
*
|
|
1354
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1355
|
-
* @param {string} context_id - Unique identifier of the context document
|
|
1976
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1977
|
+
* @param {string} context_id - Unique identifier of the context document
|
|
1356
1978
|
* @param {Polytomic.SaveHarborContextDraftRequest} request
|
|
1357
1979
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
1358
1980
|
*
|
|
@@ -1428,8 +2050,8 @@ class HarborsClient {
|
|
|
1428
2050
|
* history. If the draft belongs to a context that has never been published,
|
|
1429
2051
|
* discarding it also removes the otherwise empty context identity.
|
|
1430
2052
|
*
|
|
1431
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1432
|
-
* @param {string} context_id - Unique identifier of the context document
|
|
2053
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2054
|
+
* @param {string} context_id - Unique identifier of the context document
|
|
1433
2055
|
* @param {Polytomic.HarborsDeleteContextDraftRequest} request
|
|
1434
2056
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
1435
2057
|
*
|
|
@@ -1503,8 +2125,8 @@ class HarborsClient {
|
|
|
1503
2125
|
* the draft's `base_revision_id`. The stale draft remains available so an author
|
|
1504
2126
|
* can compare it with the current version before discarding and recreating it.
|
|
1505
2127
|
*
|
|
1506
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1507
|
-
* @param {string} context_id - Unique identifier of the context document
|
|
2128
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2129
|
+
* @param {string} context_id - Unique identifier of the context document
|
|
1508
2130
|
* @param {Polytomic.HarborsPromoteContextDraftRequest} request
|
|
1509
2131
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
1510
2132
|
*
|
|
@@ -1586,8 +2208,8 @@ class HarborsClient {
|
|
|
1586
2208
|
* A Harbor profile credential can read versions only when `harbor_id` identifies
|
|
1587
2209
|
* its own Harbor.
|
|
1588
2210
|
*
|
|
1589
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1590
|
-
* @param {string} context_id - Unique identifier of the context document
|
|
2211
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2212
|
+
* @param {string} context_id - Unique identifier of the context document
|
|
1591
2213
|
* @param {Polytomic.HarborsListContextVersionsRequest} request
|
|
1592
2214
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1593
2215
|
*
|
|
@@ -1672,9 +2294,9 @@ class HarborsClient {
|
|
|
1672
2294
|
* Published versions cannot be changed or deleted. System publications have
|
|
1673
2295
|
* `published_by_type: "system"` and a null `published_by`.
|
|
1674
2296
|
*
|
|
1675
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1676
|
-
* @param {string} context_id - Unique identifier of the context document
|
|
1677
|
-
* @param {string} version_id - Unique identifier of the published context version
|
|
2297
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2298
|
+
* @param {string} context_id - Unique identifier of the context document
|
|
2299
|
+
* @param {string} version_id - Unique identifier of the published context version
|
|
1678
2300
|
* @param {Polytomic.HarborsGetContextVersionRequest} request
|
|
1679
2301
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1680
2302
|
*
|
|
@@ -1741,7 +2363,7 @@ class HarborsClient {
|
|
|
1741
2363
|
*
|
|
1742
2364
|
* Each item contains a masked `key_hint`. Polytomic never returns a credential plaintext after creation.
|
|
1743
2365
|
*
|
|
1744
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2366
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1745
2367
|
* @param {Polytomic.HarborsListKeysRequest} request
|
|
1746
2368
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1747
2369
|
*
|
|
@@ -1817,7 +2439,7 @@ class HarborsClient {
|
|
|
1817
2439
|
*
|
|
1818
2440
|
* Store the returned `value` securely. Polytomic returns it only in this response.
|
|
1819
2441
|
*
|
|
1820
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2442
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1821
2443
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
1822
2444
|
*
|
|
1823
2445
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -1878,8 +2500,8 @@ class HarborsClient {
|
|
|
1878
2500
|
*
|
|
1879
2501
|
* Revocation affects only the selected credential. Other active Harbor credentials remain valid.
|
|
1880
2502
|
*
|
|
1881
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
1882
|
-
* @param {string} key_id - Unique identifier of the Harbor credential
|
|
2503
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2504
|
+
* @param {string} key_id - Unique identifier of the Harbor credential
|
|
1883
2505
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
1884
2506
|
*
|
|
1885
2507
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -1950,7 +2572,7 @@ class HarborsClient {
|
|
|
1950
2572
|
* pagination links for additional rows. Results are temporary; check `expires`
|
|
1951
2573
|
* on the completed query.
|
|
1952
2574
|
*
|
|
1953
|
-
* @param {string} harbor_id - Unique identifier of the Harbor whose backing connection runs the query
|
|
2575
|
+
* @param {string} harbor_id - Unique identifier of the Harbor whose backing connection runs the query
|
|
1954
2576
|
* @param {Polytomic.RunHarborQueryRequest} request
|
|
1955
2577
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
1956
2578
|
*
|
|
@@ -2051,7 +2673,7 @@ class HarborsClient {
|
|
|
2051
2673
|
* values, and expected column names. If Polytomic cannot record the event, the
|
|
2052
2674
|
* request returns `503 Service Unavailable` without saved-query data.
|
|
2053
2675
|
*
|
|
2054
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2676
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2055
2677
|
* @param {Polytomic.HarborsListSavedQueriesRequest} request
|
|
2056
2678
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2057
2679
|
*
|
|
@@ -2166,7 +2788,7 @@ class HarborsClient {
|
|
|
2166
2788
|
* {"name": "days", "type": "number", "required": true, "default_value": 7}
|
|
2167
2789
|
* ```
|
|
2168
2790
|
*
|
|
2169
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2791
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2170
2792
|
* @param {Polytomic.CreateHarborSavedQueryDraftRequest} request
|
|
2171
2793
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
2172
2794
|
*
|
|
@@ -2245,7 +2867,7 @@ class HarborsClient {
|
|
|
2245
2867
|
* parameter declarations, and author-supplied validation values. Harbor profile
|
|
2246
2868
|
* credentials cannot access this endpoint.
|
|
2247
2869
|
*
|
|
2248
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2870
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2249
2871
|
* @param {Polytomic.HarborsListSavedQueryDraftsRequest} request
|
|
2250
2872
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2251
2873
|
*
|
|
@@ -2345,8 +2967,8 @@ class HarborsClient {
|
|
|
2345
2967
|
* and result rows. If Polytomic cannot record the event, the request returns
|
|
2346
2968
|
* `503 Service Unavailable` without saved-query data.
|
|
2347
2969
|
*
|
|
2348
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2349
|
-
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
2970
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2971
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
2350
2972
|
* @param {Polytomic.HarborsGetSavedQueryRequest} request
|
|
2351
2973
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2352
2974
|
*
|
|
@@ -2429,8 +3051,8 @@ class HarborsClient {
|
|
|
2429
3051
|
* Unpublish is available only through the GraphQL `unpublishHarborSavedQuery`
|
|
2430
3052
|
* mutation. There is no REST unpublish endpoint.
|
|
2431
3053
|
*
|
|
2432
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2433
|
-
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
3054
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3055
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
2434
3056
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
2435
3057
|
*
|
|
2436
3058
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -2514,8 +3136,8 @@ class HarborsClient {
|
|
|
2514
3136
|
* {"name": "days", "type": "number", "required": true, "default_value": 7}
|
|
2515
3137
|
* ```
|
|
2516
3138
|
*
|
|
2517
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2518
|
-
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
3139
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3140
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
2519
3141
|
* @param {Polytomic.SaveHarborSavedQueryDraftRequest} request
|
|
2520
3142
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
2521
3143
|
*
|
|
@@ -2594,8 +3216,8 @@ class HarborsClient {
|
|
|
2594
3216
|
* saved-query identity. Discarding a later draft preserves every immutable
|
|
2595
3217
|
* published version.
|
|
2596
3218
|
*
|
|
2597
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2598
|
-
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
3219
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3220
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
2599
3221
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
2600
3222
|
*
|
|
2601
3223
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -2675,8 +3297,8 @@ class HarborsClient {
|
|
|
2675
3297
|
* deletes the mutable draft. The response includes the immutable `revision_id`
|
|
2676
3298
|
* that future executions use for exact provenance.
|
|
2677
3299
|
*
|
|
2678
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2679
|
-
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
3300
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3301
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
2680
3302
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
2681
3303
|
*
|
|
2682
3304
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -2750,8 +3372,8 @@ class HarborsClient {
|
|
|
2750
3372
|
* never falls back to the Harbor writer credential. Preview rows and serialized
|
|
2751
3373
|
* response size are bounded. The preview and validation attempt are not persisted.
|
|
2752
3374
|
*
|
|
2753
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2754
|
-
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
3375
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3376
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
2755
3377
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
2756
3378
|
*
|
|
2757
3379
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -2882,8 +3504,8 @@ class HarborsClient {
|
|
|
2882
3504
|
* `query.started` records provider invocation. `query.succeeded` means results are
|
|
2883
3505
|
* available for authorized retrieval, not that you have consumed them.
|
|
2884
3506
|
*
|
|
2885
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2886
|
-
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
3507
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3508
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
2887
3509
|
* @param {Polytomic.ExecuteHarborSavedQueryRequest} request
|
|
2888
3510
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
2889
3511
|
*
|
|
@@ -2964,7 +3586,7 @@ class HarborsClient {
|
|
|
2964
3586
|
/**
|
|
2965
3587
|
* Resolves documented source table and field identities to the names a Harbor's backing Connection accepts.
|
|
2966
3588
|
*
|
|
2967
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3589
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
2968
3590
|
* @param {Polytomic.ResolveHarborSourceMappingsRequest} request
|
|
2969
3591
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
2970
3592
|
*
|
|
@@ -3065,7 +3687,7 @@ class HarborsClient {
|
|
|
3065
3687
|
* staleness for your task. The endpoint does not classify datasets or the Harbor
|
|
3066
3688
|
* as healthy, stale, or unhealthy.
|
|
3067
3689
|
*
|
|
3068
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3690
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3069
3691
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
3070
3692
|
*
|
|
3071
3693
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -3125,7 +3747,7 @@ class HarborsClient {
|
|
|
3125
3747
|
*
|
|
3126
3748
|
* The response contains only Harbor-only users currently assigned to this Harbor.
|
|
3127
3749
|
*
|
|
3128
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3750
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3129
3751
|
* @param {Polytomic.HarborsListUsersRequest} request
|
|
3130
3752
|
* @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
3131
3753
|
*
|
|
@@ -3201,7 +3823,7 @@ class HarborsClient {
|
|
|
3201
3823
|
*
|
|
3202
3824
|
* The invited account is restricted to assigned Harbors and does not receive regular Polytomic application access.
|
|
3203
3825
|
*
|
|
3204
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3826
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3205
3827
|
* @param {Polytomic.InviteHarborUserRequest} request
|
|
3206
3828
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
3207
3829
|
*
|
|
@@ -3274,8 +3896,8 @@ class HarborsClient {
|
|
|
3274
3896
|
*
|
|
3275
3897
|
* The assignment is idempotent. Regular Polytomic users cannot be assigned because they already have application access to Harbors.
|
|
3276
3898
|
*
|
|
3277
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3278
|
-
* @param {string} user_id - Unique identifier of the Harbor-only user
|
|
3899
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3900
|
+
* @param {string} user_id - Unique identifier of the Harbor-only user
|
|
3279
3901
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
3280
3902
|
*
|
|
3281
3903
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -3339,8 +3961,8 @@ class HarborsClient {
|
|
|
3339
3961
|
*
|
|
3340
3962
|
* This removes only the Harbor assignment. The organization user remains available and may retain assignments to other Harbors.
|
|
3341
3963
|
*
|
|
3342
|
-
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3343
|
-
* @param {string} user_id - Unique identifier of the Harbor-only user
|
|
3964
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
3965
|
+
* @param {string} user_id - Unique identifier of the Harbor-only user
|
|
3344
3966
|
* @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
3345
3967
|
*
|
|
3346
3968
|
* @throws {@link Polytomic.ForbiddenError}
|