polytomic 25.9.11 → 25.10.0
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/Client.d.ts +0 -3
- package/Client.js +38 -43
- package/api/resources/bulkSync/client/Client.d.ts +54 -29
- package/api/resources/bulkSync/client/Client.js +65 -32
- 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/BulkSyncGetDestinationRequest.d.ts +10 -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 +2 -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 +32 -25
- package/api/resources/bulkSync/resources/executions/client/Client.js +32 -25
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetIngestConsoleLogsRequest.d.ts +1 -1
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +1 -1
- package/api/resources/bulkSync/resources/schedules/client/Client.d.ts +16 -8
- package/api/resources/bulkSync/resources/schedules/client/Client.js +16 -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 +20 -9
- package/api/resources/bulkSync/resources/schemas/client/Client.js +20 -9
- package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +7 -4
- package/api/resources/connections/client/Client.d.ts +18 -16
- package/api/resources/connections/client/Client.js +22 -16
- package/api/resources/connections/client/requests/ConnectCardRequest.d.ts +11 -8
- 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 +6 -1
- 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 +17 -6
- package/api/resources/connections/resources/proxy/client/Client.js +17 -6
- 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 +2 -2
- package/api/resources/entities/client/Client.js +2 -2
- package/api/resources/entities/client/requests/EntitiesSearchRequest.d.ts +1 -1
- package/api/resources/events/client/Client.d.ts +10 -7
- package/api/resources/events/client/Client.js +10 -7
- package/api/resources/harbors/client/Client.d.ts +78 -1295
- package/api/resources/harbors/client/Client.js +113 -3358
- package/api/resources/harbors/client/requests/CreateHarborRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/HarborsCloseSessionRequest.d.ts +6 -0
- package/api/resources/harbors/client/requests/HarborsListRequest.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/UpdateHarborRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/index.d.ts +0 -29
- package/api/resources/harbors/resources/actionConfiguration/client/Client.d.ts +267 -0
- package/api/resources/harbors/resources/actionConfiguration/client/Client.js +686 -0
- package/api/resources/harbors/{client/requests/HarborsListActionConfigurationSchemasRequest.d.ts → resources/actionConfiguration/client/requests/ActionConfigurationListSchemasRequest.d.ts} +3 -3
- package/api/resources/harbors/{client/requests/HarborsRemoveActionConfigurationRequest.d.ts → resources/actionConfiguration/client/requests/ActionConfigurationRemoveRequest.d.ts} +2 -2
- package/api/resources/harbors/{client → resources/actionConfiguration/client}/requests/SetHarborActionConfigurationRequest.d.ts +2 -2
- package/api/resources/harbors/resources/actionConfiguration/client/requests/index.d.ts +3 -0
- package/api/resources/harbors/resources/actionConfiguration/exports.d.ts +2 -0
- package/api/resources/harbors/resources/actionConfiguration/exports.js +21 -0
- package/api/resources/harbors/resources/actionConfiguration/index.d.ts +1 -0
- package/api/resources/harbors/resources/actionConfiguration/index.js +17 -0
- package/api/resources/harbors/resources/actions/client/Client.d.ts +11 -7
- package/api/resources/harbors/resources/actions/client/Client.js +11 -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/{activity → harbors/resources/activity}/client/Client.d.ts +15 -15
- package/api/resources/{activity → harbors/resources/activity}/client/Client.js +22 -18
- package/api/resources/harbors/resources/activity/client/index.d.ts +1 -0
- package/api/resources/harbors/resources/activity/client/index.js +17 -0
- package/api/resources/{activity → harbors/resources/activity}/client/requests/ActivityGetSessionRequest.d.ts +2 -2
- package/api/resources/{activity → harbors/resources/activity}/client/requests/ActivityListRequest.d.ts +7 -7
- package/api/resources/harbors/resources/activity/client/requests/index.js +2 -0
- package/api/resources/harbors/resources/connections/client/Client.d.ts +64 -0
- package/api/resources/harbors/resources/connections/client/Client.js +236 -0
- package/api/resources/harbors/resources/connections/client/index.d.ts +1 -0
- package/api/resources/harbors/resources/connections/client/index.js +17 -0
- package/api/resources/harbors/resources/connections/client/requests/ConnectionsGetSchemaRequest.d.ts +10 -0
- package/api/resources/harbors/resources/connections/client/requests/ConnectionsListRequest.d.ts +17 -0
- package/api/resources/harbors/resources/connections/client/requests/ConnectionsListSchemasRequest.d.ts +17 -0
- package/api/resources/harbors/resources/connections/client/requests/index.d.ts +3 -0
- package/api/resources/harbors/resources/connections/client/requests/index.js +2 -0
- package/api/resources/harbors/resources/connections/exports.d.ts +2 -0
- package/api/resources/harbors/resources/connections/exports.js +21 -0
- package/api/resources/harbors/resources/connections/index.d.ts +1 -0
- package/api/resources/harbors/resources/connections/index.js +17 -0
- package/api/resources/harbors/resources/contexts/client/Client.d.ts +395 -0
- package/api/resources/harbors/resources/contexts/client/Client.js +1142 -0
- package/api/resources/harbors/resources/contexts/client/index.d.ts +1 -0
- package/api/resources/harbors/resources/contexts/client/index.js +17 -0
- package/api/resources/harbors/resources/contexts/client/requests/ContextsDeleteDraftRequest.d.ts +10 -0
- package/api/resources/harbors/resources/contexts/client/requests/ContextsDeleteRequest.d.ts +10 -0
- package/api/resources/harbors/resources/contexts/client/requests/ContextsGetDraftRequest.d.ts +10 -0
- package/api/resources/harbors/resources/contexts/client/requests/ContextsGetRequest.d.ts +10 -0
- package/api/resources/harbors/resources/contexts/client/requests/ContextsGetVersionRequest.d.ts +10 -0
- package/api/resources/harbors/{client/requests/HarborsListContextDraftsRequest.d.ts → resources/contexts/client/requests/ContextsListDraftsRequest.d.ts} +2 -2
- package/api/resources/harbors/{client/requests/HarborsListContextsRequest.d.ts → resources/contexts/client/requests/ContextsListRequest.d.ts} +4 -2
- package/api/resources/harbors/{client/requests/HarborsListContextVersionsRequest.d.ts → resources/contexts/client/requests/ContextsListVersionsRequest.d.ts} +4 -2
- package/api/resources/harbors/resources/contexts/client/requests/ContextsPromoteDraftRequest.d.ts +10 -0
- package/api/resources/harbors/{client → resources/contexts/client}/requests/CreateHarborContextDraftRequest.d.ts +1 -1
- package/api/resources/harbors/{client → resources/contexts/client}/requests/ResolveHarborSourceMappingsRequest.d.ts +6 -2
- package/api/resources/harbors/{client → resources/contexts/client}/requests/SaveHarborContextDraftRequest.d.ts +3 -1
- package/api/resources/harbors/{client → resources/contexts/client}/requests/SaveHarborContextRequest.d.ts +3 -1
- package/api/resources/harbors/resources/contexts/client/requests/index.d.ts +14 -0
- package/api/resources/harbors/resources/contexts/client/requests/index.js +2 -0
- package/api/resources/harbors/resources/contexts/exports.d.ts +2 -0
- package/api/resources/harbors/resources/contexts/exports.js +21 -0
- package/api/resources/harbors/resources/contexts/index.d.ts +1 -0
- package/api/resources/harbors/resources/contexts/index.js +17 -0
- package/api/resources/harbors/resources/index.d.ts +15 -0
- package/api/resources/harbors/resources/index.js +16 -1
- package/api/resources/harbors/resources/keys/client/Client.d.ts +86 -0
- package/api/resources/harbors/resources/keys/client/Client.js +266 -0
- package/api/resources/harbors/resources/keys/client/index.d.ts +1 -0
- package/api/resources/harbors/resources/keys/client/index.js +17 -0
- package/api/resources/harbors/{client/requests/HarborsListKeysRequest.d.ts → resources/keys/client/requests/KeysListRequest.d.ts} +2 -2
- package/api/resources/harbors/resources/keys/client/requests/index.d.ts +1 -0
- package/api/resources/harbors/resources/keys/client/requests/index.js +2 -0
- package/api/resources/harbors/resources/keys/exports.d.ts +2 -0
- package/api/resources/harbors/resources/keys/exports.js +21 -0
- package/api/resources/harbors/resources/keys/index.d.ts +1 -0
- package/api/resources/harbors/resources/keys/index.js +17 -0
- package/api/resources/harbors/resources/savedQueries/client/Client.d.ts +430 -0
- package/api/resources/harbors/resources/savedQueries/client/Client.js +1008 -0
- package/api/resources/harbors/resources/savedQueries/client/index.d.ts +1 -0
- package/api/resources/harbors/resources/savedQueries/client/index.js +17 -0
- package/api/resources/harbors/{client → resources/savedQueries/client}/requests/CreateHarborSavedQueryDraftRequest.d.ts +5 -5
- package/api/resources/harbors/{client → resources/savedQueries/client}/requests/ExecuteHarborSavedQueryRequest.d.ts +2 -0
- package/api/resources/harbors/{client → resources/savedQueries/client}/requests/SaveHarborSavedQueryDraftRequest.d.ts +5 -5
- package/api/resources/harbors/resources/savedQueries/client/requests/SavedQueriesGetRequest.d.ts +10 -0
- package/api/resources/harbors/{client/requests/HarborsListSavedQueryDraftsRequest.d.ts → resources/savedQueries/client/requests/SavedQueriesListDraftsRequest.d.ts} +3 -3
- package/api/resources/harbors/resources/savedQueries/client/requests/SavedQueriesListRequest.d.ts +17 -0
- package/api/resources/harbors/resources/savedQueries/client/requests/index.d.ts +6 -0
- package/api/resources/harbors/resources/savedQueries/client/requests/index.js +2 -0
- package/api/resources/harbors/resources/savedQueries/exports.d.ts +2 -0
- package/api/resources/harbors/resources/savedQueries/exports.js +21 -0
- package/api/resources/harbors/resources/savedQueries/index.d.ts +1 -0
- package/api/resources/harbors/resources/savedQueries/index.js +17 -0
- package/api/resources/harbors/resources/users/client/Client.d.ts +105 -0
- package/api/resources/harbors/resources/users/client/Client.js +342 -0
- package/api/resources/harbors/resources/users/client/index.d.ts +1 -0
- package/api/resources/harbors/resources/users/client/index.js +17 -0
- package/api/resources/harbors/{client → resources/users/client}/requests/InviteHarborUserRequest.d.ts +1 -1
- package/api/resources/harbors/{client/requests/HarborsListUsersRequest.d.ts → resources/users/client/requests/UsersListRequest.d.ts} +2 -2
- package/api/resources/harbors/resources/users/client/requests/UsersListRequest.js +3 -0
- package/api/resources/harbors/resources/users/client/requests/index.d.ts +2 -0
- package/api/resources/harbors/resources/users/client/requests/index.js +2 -0
- package/api/resources/harbors/resources/users/exports.d.ts +2 -0
- package/api/resources/harbors/resources/users/exports.js +21 -0
- package/api/resources/harbors/resources/users/index.d.ts +1 -0
- package/api/resources/harbors/resources/users/index.js +17 -0
- package/api/resources/index.d.ts +0 -3
- package/api/resources/index.js +1 -4
- 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 +10 -9
- package/api/resources/modelSync/client/Client.js +10 -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 +1 -1
- 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 +28 -22
- package/api/resources/modelSync/resources/executions/client/Client.js +28 -22
- 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 +19 -20
- package/api/resources/models/client/Client.js +21 -20
- 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 +13 -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 +13 -5
- package/api/resources/permissions/resources/policies/client/Client.js +13 -5
- package/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts +6 -1
- package/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts +6 -1
- 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/Client.d.ts +5 -0
- package/api/resources/recordViewLinks/client/Client.js +5 -0
- 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 +21 -28
- package/api/resources/schemas/client/Client.js +21 -28
- package/api/resources/schemas/client/requests/PatchSchemaFieldRequest.d.ts +3 -2
- package/api/resources/temporaryCredentials/client/Client.d.ts +3 -0
- package/api/resources/temporaryCredentials/client/Client.js +3 -0
- package/api/resources/temporaryCredentials/client/requests/CreateTemporaryCredentialRequest.d.ts +1 -0
- package/api/resources/users/client/Client.d.ts +43 -28
- package/api/resources/users/client/Client.js +43 -28
- 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 +13 -13
- package/api/resources/webhooks/client/Client.js +13 -13
- 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 +16 -0
- package/api/types/BulkField.d.ts +5 -0
- package/api/types/BulkFilter.d.ts +3 -1
- package/api/types/BulkSchema.d.ts +11 -1
- package/api/types/BulkSchemaEnvelope.d.ts +1 -0
- package/api/types/BulkSchemaListItem.d.ts +4 -4
- package/api/types/BulkSelectiveMode.d.ts +9 -0
- package/api/types/BulkSelectiveMode.js +9 -0
- package/api/types/BulkSyncAdditionalScheduleRequest.d.ts +8 -5
- package/api/types/BulkSyncAdditionalScheduleResponse.d.ts +12 -8
- package/api/types/BulkSyncDefaultScheduleRequest.d.ts +7 -5
- package/api/types/BulkSyncDefaultScheduleResponse.d.ts +11 -8
- package/api/types/BulkSyncDest.d.ts +6 -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 +6 -5
- package/api/types/BulkSyncSchemaExecution.d.ts +12 -1
- package/api/types/BulkSyncSchemaExecutionStatus.d.ts +8 -7
- package/api/types/BulkSyncSearchHit.d.ts +10 -1
- package/api/types/BulkSyncSource.d.ts +3 -0
- package/api/types/BulkSyncSourceCapabilities.d.ts +3 -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/ConnectAccessLevel.d.ts +5 -0
- package/api/types/ConnectAccessLevel.js +8 -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 +5 -1
- package/api/types/ConnectionType.d.ts +2 -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 +11 -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 +3 -3
- package/api/types/EntityResponseEnvelope.d.ts +1 -0
- package/api/types/Event.d.ts +5 -4
- package/api/types/EventPayload.d.ts +1 -1
- package/api/types/EventingBulkSyncCanceledEvent.d.ts +9 -0
- package/api/types/EventingBulkSyncCompletedEvent.d.ts +11 -0
- package/api/types/EventingBulkSyncCompletedWithErrorEvent.d.ts +11 -0
- package/api/types/EventingBulkSyncFailedEvent.d.ts +12 -0
- package/api/types/EventingBulkSyncRunningEvent.d.ts +9 -0
- package/api/types/EventingBulkSyncSchedule.d.ts +2 -0
- package/api/types/EventingIngestionRecoveredEvent.d.ts +17 -0
- package/api/types/EventingIngestionRecoveredEvent.js +3 -0
- package/api/types/EventingIngestionStalledEvent.d.ts +19 -0
- package/api/types/EventingIngestionStalledEvent.js +3 -0
- package/api/types/EventingSyncCanceledEvent.d.ts +9 -0
- package/api/types/EventingSyncCompletedEvent.d.ts +26 -1
- package/api/types/EventingSyncCompletedWithErrorsEvent.d.ts +11 -0
- package/api/types/EventingSyncFailedEvent.d.ts +9 -0
- package/api/types/EventingSyncRunningEvent.d.ts +8 -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 +1 -1
- package/api/types/HarborActionConfigurationFieldResponse.d.ts +9 -9
- package/api/types/HarborActionConfigurationIdempotencyResponse.d.ts +2 -2
- package/api/types/HarborActionConfigurationOperationResponse.d.ts +10 -9
- package/api/types/HarborActionConfigurationOperationResponse.js +1 -1
- package/api/types/HarborActionConfigurationOperationsEnvelope.d.ts +1 -0
- package/api/types/HarborActionConfigurationResponse.d.ts +5 -5
- package/api/types/HarborActionConfigurationSchemasEnvelope.d.ts +2 -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 +3 -3
- 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 +2 -2
- package/api/types/HarborActionSourceConnectionResponse.d.ts +3 -3
- package/api/types/HarborActionSourceConnectionsEnvelope.d.ts +1 -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 +12 -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 +7 -5
- 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 +10 -2
- 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 +7 -1
- package/api/types/ModelSyncProblem.d.ts +2 -2
- package/api/types/ModelSyncSearchHit.d.ts +8 -1
- package/api/types/ModelSyncSourceConnection.d.ts +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 +10 -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 +2 -0
- package/api/types/SearchMatch.d.ts +3 -1
- package/api/types/SearchMatchAttribute.d.ts +3 -3
- package/api/types/SearchMatchMapping.d.ts +9 -1
- package/api/types/SearchMatchMapping.js +1 -0
- package/api/types/SearchMatchSchema.d.ts +3 -3
- package/api/types/SearchOperationsEnvelope.d.ts +1 -0
- package/api/types/SearchOperationsResponse.d.ts +2 -2
- package/api/types/SearchResultLinks.d.ts +6 -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 +13 -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 +9 -1
- package/api/types/index.js +9 -1
- package/package.json +1 -1
- package/reference.md +2782 -2650
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/harbors/client/requests/HarborsDeleteContextDraftRequest.d.ts +0 -8
- package/api/resources/harbors/client/requests/HarborsDeleteContextRequest.d.ts +0 -8
- package/api/resources/harbors/client/requests/HarborsGetAuthorizedSchemaRequest.d.ts +0 -8
- package/api/resources/harbors/client/requests/HarborsGetContextDraftRequest.d.ts +0 -8
- package/api/resources/harbors/client/requests/HarborsGetContextRequest.d.ts +0 -8
- package/api/resources/harbors/client/requests/HarborsGetContextVersionRequest.d.ts +0 -8
- package/api/resources/harbors/client/requests/HarborsGetSavedQueryRequest.d.ts +0 -8
- package/api/resources/harbors/client/requests/HarborsListAuthorizedConnectionsRequest.d.ts +0 -13
- package/api/resources/harbors/client/requests/HarborsListAuthorizedSchemasRequest.d.ts +0 -13
- package/api/resources/harbors/client/requests/HarborsListSavedQueriesRequest.d.ts +0 -15
- package/api/resources/harbors/client/requests/HarborsPromoteContextDraftRequest.d.ts +0 -8
- package/api/types/ActivateSyncInput.d.ts +0 -3
- /package/api/resources/{activity/client/requests/ActivityGetSessionRequest.js → bulkSync/client/requests/ActivateBulkSyncInput.js} +0 -0
- /package/api/resources/{activity/client/requests/ActivityListRequest.js → bulkSync/client/requests/BulkSyncGetDestinationRequest.js} +0 -0
- /package/api/resources/{activity → harbors/resources/actionConfiguration}/client/index.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/actionConfiguration}/client/index.js +0 -0
- /package/api/resources/harbors/{client/requests/CreateHarborContextDraftRequest.js → resources/actionConfiguration/client/requests/ActionConfigurationListSchemasRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/CreateHarborContextRequest.js → resources/actionConfiguration/client/requests/ActionConfigurationRemoveRequest.js} +0 -0
- /package/api/resources/harbors/{client → resources/actionConfiguration/client}/requests/SetHarborActionConfigurationRequest.js +0 -0
- /package/api/resources/{activity → harbors/resources/actionConfiguration}/client/requests/index.js +0 -0
- /package/api/resources/harbors/{client/requests/CreateHarborSavedQueryDraftRequest.js → resources/activity/client/requests/ActivityGetSessionRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/ExecuteHarborSavedQueryRequest.js → resources/activity/client/requests/ActivityListRequest.js} +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/client/requests/index.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/exports.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/exports.js +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/index.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/index.js +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/types/ActivityGetSessionRequestOrder.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/types/ActivityGetSessionRequestOrder.js +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/types/ActivityListRequestOrder.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/types/ActivityListRequestOrder.js +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/types/index.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/types/index.js +0 -0
- /package/api/resources/harbors/{client/requests/HarborsDeleteContextDraftRequest.js → resources/connections/client/requests/ConnectionsGetSchemaRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsDeleteContextRequest.js → resources/connections/client/requests/ConnectionsListRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsGetAuthorizedSchemaRequest.js → resources/connections/client/requests/ConnectionsListSchemasRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsGetContextDraftRequest.js → resources/contexts/client/requests/ContextsDeleteDraftRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsGetContextRequest.js → resources/contexts/client/requests/ContextsDeleteRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsGetContextVersionRequest.js → resources/contexts/client/requests/ContextsGetDraftRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsGetSavedQueryRequest.js → resources/contexts/client/requests/ContextsGetRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListActionConfigurationSchemasRequest.js → resources/contexts/client/requests/ContextsGetVersionRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListAuthorizedConnectionsRequest.js → resources/contexts/client/requests/ContextsListDraftsRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListAuthorizedSchemasRequest.js → resources/contexts/client/requests/ContextsListRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListContextDraftsRequest.js → resources/contexts/client/requests/ContextsListVersionsRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListContextVersionsRequest.js → resources/contexts/client/requests/ContextsPromoteDraftRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListContextsRequest.js → resources/contexts/client/requests/CreateHarborContextDraftRequest.js} +0 -0
- /package/api/resources/harbors/{client → resources/contexts/client}/requests/CreateHarborContextRequest.d.ts +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListKeysRequest.js → resources/contexts/client/requests/CreateHarborContextRequest.js} +0 -0
- /package/api/resources/harbors/{client → resources/contexts/client}/requests/ResolveHarborSourceMappingsRequest.js +0 -0
- /package/api/resources/harbors/{client → resources/contexts/client}/requests/SaveHarborContextDraftRequest.js +0 -0
- /package/api/resources/harbors/{client → resources/contexts/client}/requests/SaveHarborContextRequest.js +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListSavedQueriesRequest.js → resources/keys/client/requests/KeysListRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListSavedQueryDraftsRequest.js → resources/savedQueries/client/requests/CreateHarborSavedQueryDraftRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListUsersRequest.js → resources/savedQueries/client/requests/ExecuteHarborSavedQueryRequest.js} +0 -0
- /package/api/resources/harbors/{client → resources/savedQueries/client}/requests/SaveHarborSavedQueryDraftRequest.js +0 -0
- /package/api/resources/harbors/{client/requests/HarborsPromoteContextDraftRequest.js → resources/savedQueries/client/requests/SavedQueriesGetRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsRemoveActionConfigurationRequest.js → resources/savedQueries/client/requests/SavedQueriesListDraftsRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/InviteHarborUserRequest.js → resources/savedQueries/client/requests/SavedQueriesListRequest.js} +0 -0
- /package/api/{types/ActivateSyncInput.js → resources/harbors/resources/users/client/requests/InviteHarborUserRequest.js} +0 -0
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseIdempotentRequestOptions, BaseRequestOptions } from "../../../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient";
|
|
3
|
+
import * as core from "../../../../../../core";
|
|
4
|
+
import * as Polytomic from "../../../../../index";
|
|
5
|
+
export declare namespace SavedQueriesClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
interface IdempotentRequestOptions extends RequestOptions, BaseIdempotentRequestOptions {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export declare class SavedQueriesClient {
|
|
13
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<SavedQueriesClient.Options>;
|
|
14
|
+
constructor(options?: SavedQueriesClient.Options);
|
|
15
|
+
/**
|
|
16
|
+
* Lists current published saved queries for a Harbor.
|
|
17
|
+
*
|
|
18
|
+
* Saved queries are supported only for Polytomic-managed Harbors whose backing
|
|
19
|
+
* Connection type is `polytomic_harbor`.
|
|
20
|
+
*
|
|
21
|
+
* Collection items contain current published metadata and omit SQL, parameter
|
|
22
|
+
* values, and unpublished drafts. A Harbor profile credential can list saved
|
|
23
|
+
* queries only when `harbor_id` identifies its own Harbor.
|
|
24
|
+
*
|
|
25
|
+
* ## Harbor Activity
|
|
26
|
+
*
|
|
27
|
+
* When you use a Harbor profile credential, send a new nonzero UUID in
|
|
28
|
+
* `X-Polytomic-Activity-Request-ID` for each request, including each page. A
|
|
29
|
+
* missing or invalid ID returns `400 Bad Request`. Reusing a consumed ID returns
|
|
30
|
+
* `409 Conflict`.
|
|
31
|
+
*
|
|
32
|
+
* If you supply `X-Polytomic-Harbor-Session`, the session must be active and bound
|
|
33
|
+
* to your credential and Harbor. An invalid session returns `403 Forbidden`.
|
|
34
|
+
* Direct scoped REST requests may omit the session header.
|
|
35
|
+
*
|
|
36
|
+
* Polytomic records `saved_query.listed` before returning data. The event describes
|
|
37
|
+
* only the returned page, including saved-query IDs, immutable revision IDs,
|
|
38
|
+
* version numbers, and bounded name snapshots. Activity excludes SQL, parameter
|
|
39
|
+
* values, and expected column names. If Polytomic cannot record the event, the
|
|
40
|
+
* request returns `503 Service Unavailable` without saved-query data.
|
|
41
|
+
*
|
|
42
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
43
|
+
* @param {Polytomic.harbors.SavedQueriesListRequest} request
|
|
44
|
+
* @param {SavedQueriesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
47
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
48
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
49
|
+
* @throws {@link Polytomic.ConflictError}
|
|
50
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
51
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
52
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
53
|
+
* @throws {@link errors.PolytomicError}
|
|
54
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* await client.harbors.savedQueries.list("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
58
|
+
* limit: 1,
|
|
59
|
+
* page_token: "page_token"
|
|
60
|
+
* })
|
|
61
|
+
*/
|
|
62
|
+
list(harbor_id: string, request?: Polytomic.harbors.SavedQueriesListRequest, requestOptions?: SavedQueriesClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborSavedQueryListEnvelope>;
|
|
63
|
+
private __list;
|
|
64
|
+
/**
|
|
65
|
+
* Creates a stable Harbor saved query with its initial mutable draft.
|
|
66
|
+
*
|
|
67
|
+
* Saved queries are supported only for Polytomic-managed Harbors whose backing
|
|
68
|
+
* Connection type is `polytomic_harbor`. Customer-managed Harbor backings return
|
|
69
|
+
* an unsupported-backing error.
|
|
70
|
+
*
|
|
71
|
+
* The saved query receives a stable ID, but it remains absent from published
|
|
72
|
+
* saved-query reads until an administrator publishes its initial draft.
|
|
73
|
+
*
|
|
74
|
+
* Use `{{parameter_name}}` references in `sql_template`. Each reference must have
|
|
75
|
+
* one scalar declaration. Validation values and defaults must match the declared
|
|
76
|
+
* `string`, `number`, `boolean`, `date`, `timestamp`, or `uuid` type.
|
|
77
|
+
*
|
|
78
|
+
* Unknown JSON fields, including fields inside parameter declarations, return
|
|
79
|
+
* `400 Bad Request` before the draft is saved. Use `default_value`, not `default`,
|
|
80
|
+
* for parameter defaults.
|
|
81
|
+
*
|
|
82
|
+
* When you omit a parameter during execution, Polytomic uses its published
|
|
83
|
+
* `default_value`, never its draft validation value. An omitted optional parameter
|
|
84
|
+
* without a default binds SQL `NULL`. A required parameter allows omission when a
|
|
85
|
+
* default exists, but rejects explicit `null` even with a default.
|
|
86
|
+
*
|
|
87
|
+
* For a report window, use a required parameter with a default so omission selects
|
|
88
|
+
* a useful window and explicit `null` is rejected:
|
|
89
|
+
*
|
|
90
|
+
* ```json
|
|
91
|
+
* {"name": "days", "type": "number", "required": true, "default_value": 7}
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
94
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
95
|
+
* @param {Polytomic.harbors.CreateHarborSavedQueryDraftRequest} request
|
|
96
|
+
* @param {SavedQueriesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
99
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
100
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
101
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
102
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
103
|
+
* @throws {@link errors.PolytomicError}
|
|
104
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* await client.harbors.savedQueries.createDraft("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
108
|
+
* name: "Monthly revenue",
|
|
109
|
+
* sql_template: "SELECT account_id, sum(amount) AS revenue FROM orders WHERE created_at >= {{start_date}} GROUP BY account_id"
|
|
110
|
+
* })
|
|
111
|
+
*/
|
|
112
|
+
createDraft(harbor_id: string, request: Polytomic.harbors.CreateHarborSavedQueryDraftRequest, requestOptions?: SavedQueriesClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborSavedQueryDraftEnvelope>;
|
|
113
|
+
private __createDraft;
|
|
114
|
+
/**
|
|
115
|
+
* Lists mutable Harbor saved-query drafts.
|
|
116
|
+
*
|
|
117
|
+
* Drafts are ordered from newest to oldest and include complete SQL, typed
|
|
118
|
+
* parameter declarations, and author-supplied validation values. Harbor profile
|
|
119
|
+
* credentials cannot access this endpoint.
|
|
120
|
+
*
|
|
121
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
122
|
+
* @param {Polytomic.harbors.SavedQueriesListDraftsRequest} request
|
|
123
|
+
* @param {SavedQueriesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
126
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
127
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
128
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
129
|
+
* @throws {@link errors.PolytomicError}
|
|
130
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* await client.harbors.savedQueries.listDrafts("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
134
|
+
* limit: 1,
|
|
135
|
+
* page_token: "page_token"
|
|
136
|
+
* })
|
|
137
|
+
*/
|
|
138
|
+
listDrafts(harbor_id: string, request?: Polytomic.harbors.SavedQueriesListDraftsRequest, requestOptions?: SavedQueriesClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborSavedQueryDraftListEnvelope>;
|
|
139
|
+
private __listDrafts;
|
|
140
|
+
/**
|
|
141
|
+
* Returns the current published version of one Harbor saved query.
|
|
142
|
+
*
|
|
143
|
+
* The response contains the current immutable `revision_id`, SQL template,
|
|
144
|
+
* parameter contract, expected columns, and publication provenance. Validation
|
|
145
|
+
* inputs are draft-only and are never part of a published response.
|
|
146
|
+
*
|
|
147
|
+
* A Harbor profile credential can retrieve a saved query only from its own Harbor.
|
|
148
|
+
*
|
|
149
|
+
* ## Harbor Activity
|
|
150
|
+
*
|
|
151
|
+
* When you use a Harbor profile credential, send a new nonzero UUID in
|
|
152
|
+
* `X-Polytomic-Activity-Request-ID` for each request. A missing or invalid ID
|
|
153
|
+
* returns `400 Bad Request`. Reusing a consumed ID returns `409 Conflict`.
|
|
154
|
+
*
|
|
155
|
+
* If you supply `X-Polytomic-Harbor-Session`, the session must be active and bound
|
|
156
|
+
* to your credential and Harbor. An invalid session returns `403 Forbidden`.
|
|
157
|
+
* Direct scoped REST requests may omit the session header.
|
|
158
|
+
*
|
|
159
|
+
* Polytomic records `saved_query.fetched` before returning the definition. The
|
|
160
|
+
* event identifies the saved query, exact immutable revision, published version,
|
|
161
|
+
* and bounded name snapshot. It does not indicate query execution. Activity
|
|
162
|
+
* excludes SQL, parameter defaults and validation values, expected column names,
|
|
163
|
+
* and result rows. If Polytomic cannot record the event, the request returns
|
|
164
|
+
* `503 Service Unavailable` without saved-query data.
|
|
165
|
+
*
|
|
166
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
167
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
168
|
+
* @param {Polytomic.harbors.SavedQueriesGetRequest} request
|
|
169
|
+
* @param {SavedQueriesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
172
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
173
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
174
|
+
* @throws {@link Polytomic.ConflictError}
|
|
175
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
176
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
177
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
178
|
+
* @throws {@link errors.PolytomicError}
|
|
179
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* await client.harbors.savedQueries.get("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
183
|
+
*/
|
|
184
|
+
get(harbor_id: string, saved_query_id: string, request?: Polytomic.harbors.SavedQueriesGetRequest, requestOptions?: SavedQueriesClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborSavedQueryEnvelope>;
|
|
185
|
+
private __get;
|
|
186
|
+
/**
|
|
187
|
+
* Archives one Harbor saved query and removes it from active reads.
|
|
188
|
+
*
|
|
189
|
+
* Archiving removes the saved query and any draft from active reads while
|
|
190
|
+
* retaining its immutable revisions for provenance. The operation does not run
|
|
191
|
+
* the saved SQL or modify the Harbor backing Connection. Archiving does not cancel
|
|
192
|
+
* in-flight execution requests or queued executions.
|
|
193
|
+
*
|
|
194
|
+
* This REST operation archives the saved query; it does not merely unpublish it.
|
|
195
|
+
* Unpublish is available only through the GraphQL `unpublishHarborSavedQuery`
|
|
196
|
+
* mutation. There is no REST unpublish endpoint.
|
|
197
|
+
*
|
|
198
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
199
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
200
|
+
* @param {SavedQueriesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
201
|
+
*
|
|
202
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
203
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
204
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
205
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
206
|
+
* @throws {@link errors.PolytomicError}
|
|
207
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
208
|
+
*
|
|
209
|
+
* @example
|
|
210
|
+
* await client.harbors.savedQueries.delete("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
211
|
+
*/
|
|
212
|
+
delete(harbor_id: string, saved_query_id: string, requestOptions?: SavedQueriesClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.DeletedHarborSavedQueryEnvelope>;
|
|
213
|
+
private __delete;
|
|
214
|
+
/**
|
|
215
|
+
* Creates or completely replaces the mutable draft for a Harbor saved query.
|
|
216
|
+
*
|
|
217
|
+
* Replacement is complete rather than partial. The next validation or publication
|
|
218
|
+
* uses the replacement SQL, parameter declarations, and validation values.
|
|
219
|
+
*
|
|
220
|
+
* Unknown JSON fields, including fields inside parameter declarations, return
|
|
221
|
+
* `400 Bad Request` before the draft is saved. Use `default_value`, not `default`,
|
|
222
|
+
* for parameter defaults.
|
|
223
|
+
*
|
|
224
|
+
* When you omit a parameter during execution, Polytomic uses its published
|
|
225
|
+
* `default_value`, never its draft validation value. An omitted optional parameter
|
|
226
|
+
* without a default binds SQL `NULL`. A required parameter allows omission when a
|
|
227
|
+
* default exists, but rejects explicit `null` even with a default.
|
|
228
|
+
*
|
|
229
|
+
* For a report window, use a required parameter with a default so omission selects
|
|
230
|
+
* a useful window and explicit `null` is rejected:
|
|
231
|
+
*
|
|
232
|
+
* ```json
|
|
233
|
+
* {"name": "days", "type": "number", "required": true, "default_value": 7}
|
|
234
|
+
* ```
|
|
235
|
+
*
|
|
236
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
237
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
238
|
+
* @param {Polytomic.harbors.SaveHarborSavedQueryDraftRequest} request
|
|
239
|
+
* @param {SavedQueriesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
240
|
+
*
|
|
241
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
242
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
243
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
244
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
245
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
246
|
+
* @throws {@link errors.PolytomicError}
|
|
247
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
248
|
+
*
|
|
249
|
+
* @example
|
|
250
|
+
* await client.harbors.savedQueries.saveDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
251
|
+
* name: "Monthly revenue",
|
|
252
|
+
* sql_template: "SELECT account_id, sum(amount) AS revenue FROM orders WHERE created_at >= {{start_date}} GROUP BY account_id"
|
|
253
|
+
* })
|
|
254
|
+
*/
|
|
255
|
+
saveDraft(harbor_id: string, saved_query_id: string, request: Polytomic.harbors.SaveHarborSavedQueryDraftRequest, requestOptions?: SavedQueriesClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborSavedQueryDraftEnvelope>;
|
|
256
|
+
private __saveDraft;
|
|
257
|
+
/**
|
|
258
|
+
* Discards the mutable draft for one Harbor saved query.
|
|
259
|
+
*
|
|
260
|
+
* Discarding an initial unpublished draft also removes its otherwise empty stable
|
|
261
|
+
* saved-query identity. Discarding a later draft preserves every immutable
|
|
262
|
+
* published version.
|
|
263
|
+
*
|
|
264
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
265
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
266
|
+
* @param {SavedQueriesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
267
|
+
*
|
|
268
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
269
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
270
|
+
* @throws {@link Polytomic.ConflictError}
|
|
271
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
272
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
273
|
+
* @throws {@link errors.PolytomicError}
|
|
274
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
275
|
+
*
|
|
276
|
+
* @example
|
|
277
|
+
* await client.harbors.savedQueries.deleteDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
278
|
+
*/
|
|
279
|
+
deleteDraft(harbor_id: string, saved_query_id: string, requestOptions?: SavedQueriesClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.DeletedHarborSavedQueryDraftEnvelope>;
|
|
280
|
+
private __deleteDraft;
|
|
281
|
+
/**
|
|
282
|
+
* Validates and publishes the current draft as the next immutable saved-query version.
|
|
283
|
+
*
|
|
284
|
+
* Only organization administrators can publish. Publication executes and validates
|
|
285
|
+
* the current draft with the Polytomic-managed Harbor's MotherDuck `read_scaling`
|
|
286
|
+
* credential. It fails instead of using the Harbor writer credential when the
|
|
287
|
+
* reader credential is missing or incomplete.
|
|
288
|
+
*
|
|
289
|
+
* After execution, publication verifies that the draft did not change. A
|
|
290
|
+
* concurrent edit returns a conflict and remains a draft. Successful publication
|
|
291
|
+
* creates the next immutable revision, records the observed ordered columns as its
|
|
292
|
+
* output contract, removes validation inputs from the published definition, and
|
|
293
|
+
* deletes the mutable draft. The response includes the immutable `revision_id`
|
|
294
|
+
* that future executions use for exact provenance.
|
|
295
|
+
*
|
|
296
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
297
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
298
|
+
* @param {SavedQueriesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
299
|
+
*
|
|
300
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
301
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
302
|
+
* @throws {@link Polytomic.ConflictError}
|
|
303
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
304
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
305
|
+
* @throws {@link errors.PolytomicError}
|
|
306
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
307
|
+
*
|
|
308
|
+
* @example
|
|
309
|
+
* await client.harbors.savedQueries.publishDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
310
|
+
*/
|
|
311
|
+
publishDraft(harbor_id: string, saved_query_id: string, requestOptions?: SavedQueriesClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborSavedQueryEnvelope>;
|
|
312
|
+
private __publishDraft;
|
|
313
|
+
/**
|
|
314
|
+
* Validates the exact current saved-query draft and returns a bounded ephemeral preview.
|
|
315
|
+
*
|
|
316
|
+
* Only organization administrators can validate drafts. Named template references
|
|
317
|
+
* compile to DuckDB placeholders, and typed values are passed separately rather
|
|
318
|
+
* than interpolated into SQL.
|
|
319
|
+
*
|
|
320
|
+
* The query runs with the Polytomic-managed Harbor's MotherDuck `read_scaling`
|
|
321
|
+
* credential. Validation fails when that credential is missing or incomplete and
|
|
322
|
+
* never falls back to the Harbor writer credential. Preview rows and serialized
|
|
323
|
+
* response size are bounded. The preview and validation attempt are not persisted.
|
|
324
|
+
*
|
|
325
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
326
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
327
|
+
* @param {SavedQueriesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
328
|
+
*
|
|
329
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
330
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
331
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
332
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
333
|
+
* @throws {@link errors.PolytomicError}
|
|
334
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
335
|
+
*
|
|
336
|
+
* @example
|
|
337
|
+
* await client.harbors.savedQueries.validateDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
338
|
+
*/
|
|
339
|
+
validateDraft(harbor_id: string, saved_query_id: string, requestOptions?: SavedQueriesClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborSavedQueryValidationEnvelope>;
|
|
340
|
+
private __validateDraft;
|
|
341
|
+
/**
|
|
342
|
+
* Submits the current published Harbor saved query for asynchronous reader-only execution.
|
|
343
|
+
*
|
|
344
|
+
* Use a Harbor-bound scoped credential with query access to the Harbor's backing
|
|
345
|
+
* Connection. Administrator credentials cannot submit executions here. Saved
|
|
346
|
+
* queries require a Polytomic-managed Harbor.
|
|
347
|
+
*
|
|
348
|
+
* Polytomic selects the current published revision while processing your request.
|
|
349
|
+
* The response identifies that exact immutable revision. Selection happens before
|
|
350
|
+
* Polytomic accepts the execution. Drafts, unpublished queries, and archived
|
|
351
|
+
* queries are unavailable for selection. You cannot select a historical revision
|
|
352
|
+
* or supply SQL through this endpoint.
|
|
353
|
+
*
|
|
354
|
+
* > ⚠️ Concurrent publication changes
|
|
355
|
+
* >
|
|
356
|
+
* > Publishing, unpublishing, or archiving a saved query after selection does not
|
|
357
|
+
* > change the selected revision. An in-flight request may still be accepted and
|
|
358
|
+
* > execute that revision. Unpublishing or archiving does not cancel in-flight
|
|
359
|
+
* > requests or queued executions. Query access is checked again before execution
|
|
360
|
+
* > and result retrieval.
|
|
361
|
+
*
|
|
362
|
+
* Parameter values are bound separately from SQL. Omitted parameters use the
|
|
363
|
+
* published `default_value`, never draft validation values. An omitted optional
|
|
364
|
+
* parameter without a default binds SQL `NULL`. Required parameters allow omission
|
|
365
|
+
* when a default exists, but reject explicit `null` even with a default. Missing
|
|
366
|
+
* required values without defaults, explicit `null` for required parameters,
|
|
367
|
+
* unknown parameter names, and invalid scalar types return
|
|
368
|
+
* `422 Unprocessable Entity` without accepting an execution. Execution requires
|
|
369
|
+
* reader credentials and never falls back to writer credentials.
|
|
370
|
+
*
|
|
371
|
+
* For report windows, define parameters with `required: true` and a
|
|
372
|
+
* `default_value`, such as `7` for a `days` parameter. This allows omission while
|
|
373
|
+
* preventing explicit `null` from turning a time filter into a SQL `NULL`
|
|
374
|
+
* comparison.
|
|
375
|
+
*
|
|
376
|
+
* To archive a saved query through REST, use
|
|
377
|
+
* [`DELETE /api/harbors/{harbor_id}/saved-queries/{saved_query_id}`](../../../../../../api-reference/harbors/saved-queries/delete).
|
|
378
|
+
* Unpublish is available only through the GraphQL `unpublishHarborSavedQuery`
|
|
379
|
+
* mutation, not a REST endpoint.
|
|
380
|
+
*
|
|
381
|
+
* ## Results
|
|
382
|
+
*
|
|
383
|
+
* The response returns a task ID with status `created`, not result rows. Poll
|
|
384
|
+
* [`GET /api/queries/{id}`](../../../../../../api-reference/query-runner/get-query) using a credential
|
|
385
|
+
* from the same Harbor profile. Query access is checked again before execution and
|
|
386
|
+
* result retrieval. Stop polling at `done`, `failed`, or `unknown`; `unknown` means
|
|
387
|
+
* execution started but no durable terminal result is available.
|
|
388
|
+
*
|
|
389
|
+
* Results and detailed failure information expire after 24 hours. Use the
|
|
390
|
+
* `expires` field and follow `links.next` to retrieve additional result pages.
|
|
391
|
+
*
|
|
392
|
+
* ## Harbor Activity
|
|
393
|
+
*
|
|
394
|
+
* Send a new nonzero UUID in `X-Polytomic-Activity-Request-ID`. Missing or invalid
|
|
395
|
+
* IDs return `400 Bad Request`. Reusing a consumed ID returns `409 Conflict` and
|
|
396
|
+
* does not create another execution.
|
|
397
|
+
*
|
|
398
|
+
* You may omit `X-Polytomic-Harbor-Session` for direct REST requests. If supplied,
|
|
399
|
+
* the session must be active and bound to your credential and Harbor.
|
|
400
|
+
*
|
|
401
|
+
* Polytomic records `query.submitted` atomically with acceptance. The event
|
|
402
|
+
* identifies the saved query, immutable revision, published version, and bounded
|
|
403
|
+
* name snapshot. SQL, parameter values and defaults, column names, and result rows
|
|
404
|
+
* remain outside Activity metadata. If Activity persistence is unavailable, the
|
|
405
|
+
* request returns `503 Service Unavailable` without accepting an execution.
|
|
406
|
+
*
|
|
407
|
+
* `query.started` records provider invocation. `query.succeeded` means results are
|
|
408
|
+
* available for authorized retrieval, not that you have consumed them.
|
|
409
|
+
*
|
|
410
|
+
* @param {string} harbor_id - Unique identifier of the Harbor
|
|
411
|
+
* @param {string} saved_query_id - Unique stable identifier of the saved query
|
|
412
|
+
* @param {Polytomic.harbors.ExecuteHarborSavedQueryRequest} request
|
|
413
|
+
* @param {SavedQueriesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
414
|
+
*
|
|
415
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
416
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
417
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
418
|
+
* @throws {@link Polytomic.ConflictError}
|
|
419
|
+
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
420
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
421
|
+
* @throws {@link Polytomic.ServiceUnavailableError}
|
|
422
|
+
* @throws {@link errors.PolytomicError}
|
|
423
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
424
|
+
*
|
|
425
|
+
* @example
|
|
426
|
+
* await client.harbors.savedQueries.execute("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
427
|
+
*/
|
|
428
|
+
execute(harbor_id: string, saved_query_id: string, request?: Polytomic.harbors.ExecuteHarborSavedQueryRequest, requestOptions?: SavedQueriesClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.ExecuteHarborSavedQueryEnvelope>;
|
|
429
|
+
private __execute;
|
|
430
|
+
}
|