polytomic 25.9.11 → 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 +20 -9
- package/api/resources/bulkSync/resources/schemas/client/Client.js +20 -9
- 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 +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/harbors/client/Client.d.ts +72 -72
- package/api/resources/harbors/client/Client.js +72 -72
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- package/api/resources/harbors/client/requests/UpdateHarborRequest.d.ts +1 -1
- 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/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 +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 +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 +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/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 +10 -1
- 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 +5 -1
- 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/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 +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 +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 +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 +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 +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 +6 -1
- package/api/types/index.js +6 -1
- package/package.json +1 -1
- package/reference.md +254 -238
- 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
|
@@ -11,19 +11,32 @@ import type * as Polytomic from "../../../../index";
|
|
|
11
11
|
* }
|
|
12
12
|
*/
|
|
13
13
|
export interface UpdateModelRequest {
|
|
14
|
+
/** Run in the background and return a job instead of the result. */
|
|
14
15
|
async?: boolean;
|
|
16
|
+
/** User-defined fields to add to the model alongside its source fields */
|
|
15
17
|
additional_fields?: Polytomic.ModelModelFieldRequest[];
|
|
18
|
+
/** Model configuration for the source connection type */
|
|
16
19
|
configuration: Record<string, unknown>;
|
|
20
|
+
/** Connection ID of the model's source, which cannot be changed after the model is created */
|
|
17
21
|
connection_id: string;
|
|
22
|
+
/** Enrichment to apply to the model */
|
|
18
23
|
enricher?: Polytomic.Enrichment;
|
|
19
24
|
/** Technical/source field names to publish in the model. Use source names, not model-field UUIDs or display labels. For example, use dealname rather than Deal Name. Omit or pass an empty array to publish all standard source fields. */
|
|
20
25
|
fields?: string[];
|
|
26
|
+
/** Source field name of the model's unique identifier */
|
|
21
27
|
identifier?: string;
|
|
28
|
+
/** Deprecated; ignored */
|
|
22
29
|
labels?: string[];
|
|
30
|
+
/** Model name */
|
|
23
31
|
name: string;
|
|
32
|
+
/** Ignored for user and organization-scoped API keys, which always act in their own organization */
|
|
24
33
|
organization_id?: string;
|
|
34
|
+
/** Permissions policy IDs applied to the model. On update, a non-empty list replaces the model's policies and an empty or omitted list leaves them unchanged. */
|
|
25
35
|
policies?: string[];
|
|
36
|
+
/** Whether to refresh the enricher's fields and example values */
|
|
26
37
|
refresh?: boolean;
|
|
38
|
+
/** Joins from this model's fields to fields on other models */
|
|
27
39
|
relations?: Polytomic.ModelRelation[];
|
|
40
|
+
/** Source field names used to detect changed records */
|
|
28
41
|
tracking_columns?: string[];
|
|
29
42
|
}
|
|
@@ -42,6 +42,7 @@ export declare class NotificationsClient {
|
|
|
42
42
|
* @param {NotificationsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
43
43
|
*
|
|
44
44
|
* @throws {@link Polytomic.BadRequestError}
|
|
45
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
45
46
|
* @throws {@link Polytomic.InternalServerError}
|
|
46
47
|
* @throws {@link errors.PolytomicError}
|
|
47
48
|
* @throws {@link errors.PolytomicTimeoutError}
|
|
@@ -126,6 +126,7 @@ class NotificationsClient {
|
|
|
126
126
|
* @param {NotificationsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
127
127
|
*
|
|
128
128
|
* @throws {@link Polytomic.BadRequestError}
|
|
129
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
129
130
|
* @throws {@link Polytomic.InternalServerError}
|
|
130
131
|
* @throws {@link errors.PolytomicError}
|
|
131
132
|
* @throws {@link errors.PolytomicTimeoutError}
|
|
@@ -168,6 +169,8 @@ class NotificationsClient {
|
|
|
168
169
|
switch (_response.error.statusCode) {
|
|
169
170
|
case 400:
|
|
170
171
|
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
172
|
+
case 403:
|
|
173
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
171
174
|
case 500:
|
|
172
175
|
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
173
176
|
default:
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* }
|
|
6
6
|
*/
|
|
7
7
|
export interface SearchOperationsRequest {
|
|
8
|
-
/** Maximum operations per task, from 1 to 10; defaults to 5
|
|
8
|
+
/** Maximum operations per task, from 1 to 10; defaults to 5 */
|
|
9
9
|
limit?: number;
|
|
10
|
-
/** Optional nonempty list of unique stable operation IDs to rank; omitted to rank the full catalog
|
|
10
|
+
/** Optional nonempty list of unique stable operation IDs to rank; omitted to rank the full catalog */
|
|
11
11
|
operationIds?: string[];
|
|
12
|
-
/** One to three plain-language tasks to find API operations for
|
|
12
|
+
/** One to three plain-language tasks to find API operations for */
|
|
13
13
|
queries: string[];
|
|
14
14
|
}
|
|
@@ -133,7 +133,7 @@ export declare class OrganizationClient {
|
|
|
133
133
|
* > Check each endpoint's description for the caller scope that applies in that
|
|
134
134
|
* > API version.
|
|
135
135
|
*
|
|
136
|
-
* @param {string} id - Unique identifier of the organization
|
|
136
|
+
* @param {string} id - Unique identifier of the organization
|
|
137
137
|
* @param {OrganizationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
138
138
|
*
|
|
139
139
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -157,7 +157,7 @@ export declare class OrganizationClient {
|
|
|
157
157
|
* > 📘 SSO and OIDC configuration is replaced in full on each update. Include all
|
|
158
158
|
* > desired settings in the request body, not just the fields you want to change.
|
|
159
159
|
*
|
|
160
|
-
* @param {string} id - Unique identifier of the organization to update
|
|
160
|
+
* @param {string} id - Unique identifier of the organization to update
|
|
161
161
|
* @param {Polytomic.UpdateOrganizationRequestSchema} request
|
|
162
162
|
* @param {OrganizationClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
163
163
|
*
|
|
@@ -180,7 +180,7 @@ export declare class OrganizationClient {
|
|
|
180
180
|
*
|
|
181
181
|
* Partner callers cannot delete their own owner organization.
|
|
182
182
|
*
|
|
183
|
-
* @param {string} id - Unique identifier of the organization
|
|
183
|
+
* @param {string} id - Unique identifier of the organization
|
|
184
184
|
* @param {OrganizationClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
185
185
|
*
|
|
186
186
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -396,7 +396,7 @@ class OrganizationClient {
|
|
|
396
396
|
* > Check each endpoint's description for the caller scope that applies in that
|
|
397
397
|
* > API version.
|
|
398
398
|
*
|
|
399
|
-
* @param {string} id - Unique identifier of the organization
|
|
399
|
+
* @param {string} id - Unique identifier of the organization
|
|
400
400
|
* @param {OrganizationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
401
401
|
*
|
|
402
402
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -461,7 +461,7 @@ class OrganizationClient {
|
|
|
461
461
|
* > 📘 SSO and OIDC configuration is replaced in full on each update. Include all
|
|
462
462
|
* > desired settings in the request body, not just the fields you want to change.
|
|
463
463
|
*
|
|
464
|
-
* @param {string} id - Unique identifier of the organization to update
|
|
464
|
+
* @param {string} id - Unique identifier of the organization to update
|
|
465
465
|
* @param {Polytomic.UpdateOrganizationRequestSchema} request
|
|
466
466
|
* @param {OrganizationClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
467
467
|
*
|
|
@@ -531,7 +531,7 @@ class OrganizationClient {
|
|
|
531
531
|
*
|
|
532
532
|
* Partner callers cannot delete their own owner organization.
|
|
533
533
|
*
|
|
534
|
-
* @param {string} id - Unique identifier of the organization
|
|
534
|
+
* @param {string} id - Unique identifier of the organization
|
|
535
535
|
* @param {OrganizationClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
536
536
|
*
|
|
537
537
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
* }
|
|
6
6
|
*/
|
|
7
7
|
export interface CreateOrganizationRequestSchema {
|
|
8
|
-
/** OIDC client ID issued by the identity provider
|
|
8
|
+
/** OIDC client ID issued by the identity provider */
|
|
9
9
|
client_id?: string;
|
|
10
10
|
/** OIDC client secret issued by the identity provider. Write-only; never returned in responses. */
|
|
11
11
|
client_secret?: string;
|
|
12
|
-
/** OIDC issuer URL for organizations using OpenID Connect single sign-on
|
|
12
|
+
/** OIDC issuer URL for organizations using OpenID Connect single sign-on */
|
|
13
13
|
issuer?: string;
|
|
14
14
|
/** Human-readable name of the organization. Must be unique across the partner account. */
|
|
15
15
|
name: string;
|
|
16
|
-
/** Email domain used to match users to this organization during SSO sign-in
|
|
16
|
+
/** Email domain used to match users to this organization during SSO sign-in */
|
|
17
17
|
sso_domain?: string;
|
|
18
|
-
/** WorkOS organization identifier linking this organization to its SAML/SSO configuration
|
|
18
|
+
/** WorkOS organization identifier linking this organization to its SAML/SSO configuration */
|
|
19
19
|
sso_org_id?: string;
|
|
20
20
|
}
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
* }
|
|
6
6
|
*/
|
|
7
7
|
export interface UpdateOrganizationRequestSchema {
|
|
8
|
-
/** OIDC client ID issued by the identity provider
|
|
8
|
+
/** OIDC client ID issued by the identity provider */
|
|
9
9
|
client_id?: string;
|
|
10
10
|
/** OIDC client secret issued by the identity provider. Write-only; never returned in responses. */
|
|
11
11
|
client_secret?: string;
|
|
12
|
-
/** OIDC issuer URL for organizations using OpenID Connect single sign-on
|
|
12
|
+
/** OIDC issuer URL for organizations using OpenID Connect single sign-on */
|
|
13
13
|
issuer?: string;
|
|
14
14
|
/** Human-readable name of the organization. Must be unique across the partner account. */
|
|
15
15
|
name: string;
|
|
16
|
-
/** Email domain used to match users to this organization during SSO sign-in
|
|
16
|
+
/** Email domain used to match users to this organization during SSO sign-in */
|
|
17
17
|
sso_domain?: string;
|
|
18
|
-
/** WorkOS organization identifier linking this organization to its SAML/SSO configuration
|
|
18
|
+
/** WorkOS organization identifier linking this organization to its SAML/SSO configuration */
|
|
19
19
|
sso_org_id?: string;
|
|
20
20
|
}
|
|
@@ -9,6 +9,6 @@ export interface UpdateRecordLoggingSettingsRequest {
|
|
|
9
9
|
deliveryConnectionId?: string;
|
|
10
10
|
/** Path record logs are delivered under, ahead of the organization ID. Omit or send null for none; this field is replaced, not merged. */
|
|
11
11
|
deliveryPrefix?: string;
|
|
12
|
-
/** Whether record logging is enabled for the organization
|
|
12
|
+
/** Whether record logging is enabled for the organization */
|
|
13
13
|
enabled: boolean;
|
|
14
14
|
}
|
|
@@ -63,7 +63,7 @@ export declare class PoliciesClient {
|
|
|
63
63
|
* Returns the full set of action/role bindings defined by the policy, including
|
|
64
64
|
* the resources it applies to.
|
|
65
65
|
*
|
|
66
|
-
* @param {string} id
|
|
66
|
+
* @param {string} id - Policy ID
|
|
67
67
|
* @param {PoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link Polytomic.NotFoundError}
|
|
@@ -85,7 +85,7 @@ export declare class PoliciesClient {
|
|
|
85
85
|
* [`GET /api/permissions/policies/{id}`](../../../../api-reference/permissions/policies/get), modify the relevant bindings,
|
|
86
86
|
* and send the complete object back.
|
|
87
87
|
*
|
|
88
|
-
* @param {string} id
|
|
88
|
+
* @param {string} id - Policy ID
|
|
89
89
|
* @param {Polytomic.permissions.UpdatePolicyRequest} request
|
|
90
90
|
* @param {PoliciesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
91
91
|
*
|
|
@@ -109,7 +109,7 @@ export declare class PoliciesClient {
|
|
|
109
109
|
* Deletion is permanent. Any access that was granted solely through this policy
|
|
110
110
|
* is revoked immediately for all users who depended on it.
|
|
111
111
|
*
|
|
112
|
-
* @param {string} id
|
|
112
|
+
* @param {string} id - Policy ID
|
|
113
113
|
* @param {PoliciesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
114
114
|
*
|
|
115
115
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -194,7 +194,7 @@ class PoliciesClient {
|
|
|
194
194
|
* Returns the full set of action/role bindings defined by the policy, including
|
|
195
195
|
* the resources it applies to.
|
|
196
196
|
*
|
|
197
|
-
* @param {string} id
|
|
197
|
+
* @param {string} id - Policy ID
|
|
198
198
|
* @param {PoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
199
199
|
*
|
|
200
200
|
* @throws {@link Polytomic.NotFoundError}
|
|
@@ -255,7 +255,7 @@ class PoliciesClient {
|
|
|
255
255
|
* [`GET /api/permissions/policies/{id}`](../../../../api-reference/permissions/policies/get), modify the relevant bindings,
|
|
256
256
|
* and send the complete object back.
|
|
257
257
|
*
|
|
258
|
-
* @param {string} id
|
|
258
|
+
* @param {string} id - Policy ID
|
|
259
259
|
* @param {Polytomic.permissions.UpdatePolicyRequest} request
|
|
260
260
|
* @param {PoliciesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
261
261
|
*
|
|
@@ -326,7 +326,7 @@ class PoliciesClient {
|
|
|
326
326
|
* Deletion is permanent. Any access that was granted solely through this policy
|
|
327
327
|
* is revoked immediately for all users who depended on it.
|
|
328
328
|
*
|
|
329
|
-
* @param {string} id
|
|
329
|
+
* @param {string} id - Policy ID
|
|
330
330
|
* @param {PoliciesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
331
331
|
*
|
|
332
332
|
* @throws {@link Polytomic.ForbiddenError}
|
package/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import type * as Polytomic from "../../../../../../index";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface CreatePolicyRequest {
|
|
9
9
|
name: string;
|
|
10
|
+
/** Ignored for user and organization-scoped API keys, which always act in their own organization */
|
|
10
11
|
organization_id?: string;
|
|
11
12
|
policy_actions?: Polytomic.PolicyAction[];
|
|
12
13
|
}
|
package/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import type * as Polytomic from "../../../../../../index";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface UpdatePolicyRequest {
|
|
9
9
|
name: string;
|
|
10
|
+
/** Ignored for user and organization-scoped API keys, which always act in their own organization */
|
|
10
11
|
organization_id?: string;
|
|
11
12
|
policy_actions?: Polytomic.PolicyAction[];
|
|
12
13
|
}
|
|
@@ -64,7 +64,7 @@ export declare class RolesClient {
|
|
|
64
64
|
*
|
|
65
65
|
* Returns the role's name, action set, and whether it is a built-in system role.
|
|
66
66
|
*
|
|
67
|
-
* @param {string} id
|
|
67
|
+
* @param {string} id - Role ID
|
|
68
68
|
* @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link Polytomic.NotFoundError}
|
|
@@ -84,7 +84,7 @@ export declare class RolesClient {
|
|
|
84
84
|
* > 🚧 Built-in system roles (such as Admin and Member) cannot be updated.
|
|
85
85
|
* > Attempting to modify a system role returns an error.
|
|
86
86
|
*
|
|
87
|
-
* @param {string} id
|
|
87
|
+
* @param {string} id - Role ID
|
|
88
88
|
* @param {Polytomic.permissions.UpdateRoleRequest} request
|
|
89
89
|
* @param {RolesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
90
90
|
*
|
|
@@ -113,7 +113,7 @@ export declare class RolesClient {
|
|
|
113
113
|
* [`PUT /api/permissions/policies/{id}`](../../../../api-reference/permissions/policies/update) to avoid
|
|
114
114
|
* leaving stale role references.
|
|
115
115
|
*
|
|
116
|
-
* @param {string} id
|
|
116
|
+
* @param {string} id - Role ID
|
|
117
117
|
* @param {RolesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
118
118
|
*
|
|
119
119
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -192,7 +192,7 @@ class RolesClient {
|
|
|
192
192
|
*
|
|
193
193
|
* Returns the role's name, action set, and whether it is a built-in system role.
|
|
194
194
|
*
|
|
195
|
-
* @param {string} id
|
|
195
|
+
* @param {string} id - Role ID
|
|
196
196
|
* @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
197
197
|
*
|
|
198
198
|
* @throws {@link Polytomic.NotFoundError}
|
|
@@ -249,7 +249,7 @@ class RolesClient {
|
|
|
249
249
|
* > 🚧 Built-in system roles (such as Admin and Member) cannot be updated.
|
|
250
250
|
* > Attempting to modify a system role returns an error.
|
|
251
251
|
*
|
|
252
|
-
* @param {string} id
|
|
252
|
+
* @param {string} id - Role ID
|
|
253
253
|
* @param {Polytomic.permissions.UpdateRoleRequest} request
|
|
254
254
|
* @param {RolesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
255
255
|
*
|
|
@@ -325,7 +325,7 @@ class RolesClient {
|
|
|
325
325
|
* [`PUT /api/permissions/policies/{id}`](../../../../api-reference/permissions/policies/update) to avoid
|
|
326
326
|
* leaving stale role references.
|
|
327
327
|
*
|
|
328
|
-
* @param {string} id
|
|
328
|
+
* @param {string} id - Role ID
|
|
329
329
|
* @param {RolesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
330
330
|
*
|
|
331
331
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -25,7 +25,7 @@ export declare class QueryRunnerClient {
|
|
|
25
25
|
* stored temporarily and may expire; use the `expires` field from the result
|
|
26
26
|
* endpoint to understand how long they remain available.
|
|
27
27
|
*
|
|
28
|
-
* @param {string} connection_id - Unique identifier of the connection to run the query against
|
|
28
|
+
* @param {string} connection_id - Unique identifier of the connection to run the query against
|
|
29
29
|
* @param {Polytomic.RunQueryRequest} request
|
|
30
30
|
* @param {QueryRunnerClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
31
31
|
*
|
|
@@ -64,7 +64,7 @@ export declare class QueryRunnerClient {
|
|
|
64
64
|
* If the task is complete but the caller is not the same user that created it,
|
|
65
65
|
* the endpoint returns `404`.
|
|
66
66
|
*
|
|
67
|
-
* @param {string} id - Unique identifier of the query task, as returned by POST /api/connections/{connection_id}/query
|
|
67
|
+
* @param {string} id - Unique identifier of the query task, as returned by POST /api/connections/{connection_id}/query
|
|
68
68
|
* @param {Polytomic.QueryRunnerGetQueryRequest} request
|
|
69
69
|
* @param {QueryRunnerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
70
70
|
*
|
|
@@ -80,7 +80,7 @@ class QueryRunnerClient {
|
|
|
80
80
|
* stored temporarily and may expire; use the `expires` field from the result
|
|
81
81
|
* endpoint to understand how long they remain available.
|
|
82
82
|
*
|
|
83
|
-
* @param {string} connection_id - Unique identifier of the connection to run the query against
|
|
83
|
+
* @param {string} connection_id - Unique identifier of the connection to run the query against
|
|
84
84
|
* @param {Polytomic.RunQueryRequest} request
|
|
85
85
|
* @param {QueryRunnerClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
86
86
|
*
|
|
@@ -180,7 +180,7 @@ class QueryRunnerClient {
|
|
|
180
180
|
* If the task is complete but the caller is not the same user that created it,
|
|
181
181
|
* the endpoint returns `404`.
|
|
182
182
|
*
|
|
183
|
-
* @param {string} id - Unique identifier of the query task, as returned by POST /api/connections/{connection_id}/query
|
|
183
|
+
* @param {string} id - Unique identifier of the query task, as returned by POST /api/connections/{connection_id}/query
|
|
184
184
|
* @param {Polytomic.QueryRunnerGetQueryRequest} request
|
|
185
185
|
* @param {QueryRunnerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
186
186
|
*
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
* }
|
|
6
6
|
*/
|
|
7
7
|
export interface QueryRunnerGetQueryRequest {
|
|
8
|
-
/** Opaque pagination token returned in the links.next or links.previous URL of the previous response
|
|
8
|
+
/** Opaque pagination token returned in the links.next or links.previous URL of the previous response */
|
|
9
9
|
page?: string;
|
|
10
|
+
/** Harbor session token; when supplied, the session must be active and bound to this credential and Harbor. */
|
|
10
11
|
"X-Polytomic-Harbor-Session"?: string;
|
|
12
|
+
/** New nonzero UUID for each request, required for scoped credentials; a reused value is rejected. */
|
|
11
13
|
"X-Polytomic-Activity-Request-ID"?: string;
|
|
12
14
|
}
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
* }
|
|
6
6
|
*/
|
|
7
7
|
export interface RunQueryRequest {
|
|
8
|
-
/** The query to execute against the connection
|
|
8
|
+
/** The query to execute against the connection */
|
|
9
9
|
query?: string;
|
|
10
|
+
/** Harbor session token; when supplied, the session must be active and bound to this credential and Harbor. */
|
|
10
11
|
"X-Polytomic-Harbor-Session"?: string;
|
|
12
|
+
/** New nonzero UUID for each request, required for scoped credentials; a reused value is rejected. */
|
|
11
13
|
"X-Polytomic-Activity-Request-ID"?: string;
|
|
12
14
|
}
|
|
@@ -8,9 +8,11 @@
|
|
|
8
8
|
* }
|
|
9
9
|
*/
|
|
10
10
|
export interface CreateRecordViewLinkRequest {
|
|
11
|
+
/** Harbor session token; when supplied, the session must be active and bound to this credential and Harbor. */
|
|
11
12
|
"X-Polytomic-Harbor-Session"?: string;
|
|
13
|
+
/** New nonzero UUID for each request, required for scoped credentials; a reused value is rejected. */
|
|
12
14
|
"X-Polytomic-Activity-Request-ID"?: string;
|
|
13
|
-
/** Connection containing the record
|
|
15
|
+
/** Connection containing the record */
|
|
14
16
|
connection_id: string;
|
|
15
17
|
/** Optional expiry timestamp. Defaults to 72 hours and cannot exceed 7 days. */
|
|
16
18
|
expires_at?: string;
|
|
@@ -18,10 +20,10 @@ export interface CreateRecordViewLinkRequest {
|
|
|
18
20
|
fields?: string[];
|
|
19
21
|
/** The schema lookup-key field used to identify the record. V1 only accepts the schema's single effective primary key. */
|
|
20
22
|
lookup_key_field: string;
|
|
21
|
-
/** The lookup-key value for the record
|
|
23
|
+
/** The lookup-key value for the record */
|
|
22
24
|
lookup_key_value: string;
|
|
23
|
-
/** Schema containing the record
|
|
25
|
+
/** Schema containing the record */
|
|
24
26
|
schema_id: string;
|
|
25
|
-
/** Optional creator/source label
|
|
27
|
+
/** Optional creator/source label */
|
|
26
28
|
source?: string;
|
|
27
29
|
}
|
package/api/resources/recordViewLinks/client/requests/RecordViewLinksGetCapabilitiesRequest.d.ts
CHANGED
|
@@ -6,10 +6,12 @@
|
|
|
6
6
|
* }
|
|
7
7
|
*/
|
|
8
8
|
export interface RecordViewLinksGetCapabilitiesRequest {
|
|
9
|
-
/** Connection to check for record-view link support
|
|
9
|
+
/** Connection to check for record-view link support */
|
|
10
10
|
connection_id: string;
|
|
11
|
-
/** Schema to check for record-view link support
|
|
11
|
+
/** Schema to check for record-view link support */
|
|
12
12
|
schema_id: string;
|
|
13
|
+
/** Harbor session token; when supplied, the session must be active and bound to this credential and Harbor. */
|
|
13
14
|
"X-Polytomic-Harbor-Session"?: string;
|
|
15
|
+
/** New nonzero UUID for each request, required for scoped credentials; a reused value is rejected. */
|
|
14
16
|
"X-Polytomic-Activity-Request-ID"?: string;
|
|
15
17
|
}
|
|
@@ -25,8 +25,8 @@ export declare class SchemasClient {
|
|
|
25
25
|
* success response. Validate the response status and message rather than assuming
|
|
26
26
|
* the whole batch was applied uniformly.
|
|
27
27
|
*
|
|
28
|
-
* @param {string} connection_id - Unique identifier of the connection
|
|
29
|
-
* @param {string} schema_id - Identifier of the schema the fields belong to
|
|
28
|
+
* @param {string} connection_id - Unique identifier of the connection
|
|
29
|
+
* @param {string} schema_id - Identifier of the schema the fields belong to
|
|
30
30
|
* @param {Polytomic.UpsertSchemaFieldRequest} request
|
|
31
31
|
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
32
32
|
*
|
|
@@ -53,9 +53,9 @@ export declare class SchemasClient {
|
|
|
53
53
|
* > that sync to error on its next execution. Remove or update any dependent
|
|
54
54
|
* > mappings before deleting the field.
|
|
55
55
|
*
|
|
56
|
-
* @param {string} connection_id - Unique identifier of the connection
|
|
57
|
-
* @param {string} schema_id - Identifier of the schema the field belongs to
|
|
58
|
-
* @param {string} field_id - Identifier of the user-defined field to delete
|
|
56
|
+
* @param {string} connection_id - Unique identifier of the connection
|
|
57
|
+
* @param {string} schema_id - Identifier of the schema the field belongs to
|
|
58
|
+
* @param {string} field_id - Identifier of the user-defined field to delete
|
|
59
59
|
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -72,9 +72,9 @@ export declare class SchemasClient {
|
|
|
72
72
|
/**
|
|
73
73
|
* Edits a single field on a schema, creating an override for a detected field if needed.
|
|
74
74
|
*
|
|
75
|
-
* @param {string} connection_id - Connection holding the schema
|
|
76
|
-
* @param {string} schema_id - Schema identifier
|
|
77
|
-
* @param {string} field_id - Field identifier within the schema
|
|
75
|
+
* @param {string} connection_id - Connection holding the schema
|
|
76
|
+
* @param {string} schema_id - Schema identifier
|
|
77
|
+
* @param {string} field_id - Field identifier within the schema
|
|
78
78
|
* @param {Polytomic.PatchSchemaFieldRequest} request
|
|
79
79
|
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
80
80
|
*
|
|
@@ -103,8 +103,8 @@ export declare class SchemasClient {
|
|
|
103
103
|
* > 📘 To revert to the source-detected primary keys and remove all overrides,
|
|
104
104
|
* > use [`DELETE /api/connections/{connection_id}/schemas/{schema_id}/primary_keys`](../../../../../../api-reference/schemas/reset-primary-keys).
|
|
105
105
|
*
|
|
106
|
-
* @param {string} connection_id - Unique identifier of the connection
|
|
107
|
-
* @param {string} schema_id - Identifier of the schema whose primary keys are being overridden
|
|
106
|
+
* @param {string} connection_id - Unique identifier of the connection
|
|
107
|
+
* @param {string} schema_id - Identifier of the schema whose primary keys are being overridden
|
|
108
108
|
* @param {Polytomic.SetPrimaryKeysRequest} request
|
|
109
109
|
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
110
110
|
*
|
|
@@ -126,8 +126,8 @@ export declare class SchemasClient {
|
|
|
126
126
|
* use [`PUT /api/connections/{connection_id}/schemas/{schema_id}/primary_keys`](../../../../../../api-reference/schemas/set-primary-keys)
|
|
127
127
|
* instead.
|
|
128
128
|
*
|
|
129
|
-
* @param {string} connection_id - Unique identifier of the connection
|
|
130
|
-
* @param {string} schema_id - Identifier of the schema whose primary key override should be cleared
|
|
129
|
+
* @param {string} connection_id - Unique identifier of the connection
|
|
130
|
+
* @param {string} schema_id - Identifier of the schema whose primary key override should be cleared
|
|
131
131
|
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
132
132
|
*
|
|
133
133
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -163,7 +163,7 @@ export declare class SchemasClient {
|
|
|
163
163
|
* >
|
|
164
164
|
* > Only connections whose current health status is healthy may be refreshed.
|
|
165
165
|
*
|
|
166
|
-
* @param {string} id - Unique identifier of the connection whose schema cache should be refreshed
|
|
166
|
+
* @param {string} id - Unique identifier of the connection whose schema cache should be refreshed
|
|
167
167
|
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
168
168
|
*
|
|
169
169
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -196,7 +196,7 @@ export declare class SchemasClient {
|
|
|
196
196
|
* >
|
|
197
197
|
* > Only connections whose current health status is healthy may be refreshed.
|
|
198
198
|
*
|
|
199
|
-
* @param {string} id - Unique identifier of the connection whose schema cache status should be returned
|
|
199
|
+
* @param {string} id - Unique identifier of the connection whose schema cache status should be returned
|
|
200
200
|
* @param {SchemasClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
201
201
|
*
|
|
202
202
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -221,7 +221,7 @@ export declare class SchemasClient {
|
|
|
221
221
|
* > and wait for it to complete before fetching this endpoint if you need
|
|
222
222
|
* > up-to-date field definitions.
|
|
223
223
|
*
|
|
224
|
-
* @param {string} id - Unique identifier of the connection
|
|
224
|
+
* @param {string} id - Unique identifier of the connection
|
|
225
225
|
* @param {string} schema_id - Identifier of the schema within the connection. Format depends on the connection type (e.g. schema.table for databases, object name for SaaS backends).
|
|
226
226
|
* @param {SchemasClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
227
227
|
*
|
|
@@ -250,8 +250,8 @@ export declare class SchemasClient {
|
|
|
250
250
|
* > [`POST /api/connections/{id}/schemas/refresh`](../../../../../../api-reference/schemas/refresh) to ensure
|
|
251
251
|
* > the sample aligns with the current schema structure.
|
|
252
252
|
*
|
|
253
|
-
* @param {string} id - Unique identifier of the connection
|
|
254
|
-
* @param {string} schema_id - Identifier of the schema within the connection
|
|
253
|
+
* @param {string} id - Unique identifier of the connection
|
|
254
|
+
* @param {string} schema_id - Identifier of the schema within the connection
|
|
255
255
|
* @param {SchemasClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
256
256
|
*
|
|
257
257
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -69,8 +69,8 @@ class SchemasClient {
|
|
|
69
69
|
* success response. Validate the response status and message rather than assuming
|
|
70
70
|
* the whole batch was applied uniformly.
|
|
71
71
|
*
|
|
72
|
-
* @param {string} connection_id - Unique identifier of the connection
|
|
73
|
-
* @param {string} schema_id - Identifier of the schema the fields belong to
|
|
72
|
+
* @param {string} connection_id - Unique identifier of the connection
|
|
73
|
+
* @param {string} schema_id - Identifier of the schema the fields belong to
|
|
74
74
|
* @param {Polytomic.UpsertSchemaFieldRequest} request
|
|
75
75
|
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
76
76
|
*
|
|
@@ -142,9 +142,9 @@ class SchemasClient {
|
|
|
142
142
|
* > that sync to error on its next execution. Remove or update any dependent
|
|
143
143
|
* > mappings before deleting the field.
|
|
144
144
|
*
|
|
145
|
-
* @param {string} connection_id - Unique identifier of the connection
|
|
146
|
-
* @param {string} schema_id - Identifier of the schema the field belongs to
|
|
147
|
-
* @param {string} field_id - Identifier of the user-defined field to delete
|
|
145
|
+
* @param {string} connection_id - Unique identifier of the connection
|
|
146
|
+
* @param {string} schema_id - Identifier of the schema the field belongs to
|
|
147
|
+
* @param {string} field_id - Identifier of the user-defined field to delete
|
|
148
148
|
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
149
149
|
*
|
|
150
150
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -203,9 +203,9 @@ class SchemasClient {
|
|
|
203
203
|
/**
|
|
204
204
|
* Edits a single field on a schema, creating an override for a detected field if needed.
|
|
205
205
|
*
|
|
206
|
-
* @param {string} connection_id - Connection holding the schema
|
|
207
|
-
* @param {string} schema_id - Schema identifier
|
|
208
|
-
* @param {string} field_id - Field identifier within the schema
|
|
206
|
+
* @param {string} connection_id - Connection holding the schema
|
|
207
|
+
* @param {string} schema_id - Schema identifier
|
|
208
|
+
* @param {string} field_id - Field identifier within the schema
|
|
209
209
|
* @param {Polytomic.PatchSchemaFieldRequest} request
|
|
210
210
|
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
211
211
|
*
|
|
@@ -282,8 +282,8 @@ class SchemasClient {
|
|
|
282
282
|
* > 📘 To revert to the source-detected primary keys and remove all overrides,
|
|
283
283
|
* > use [`DELETE /api/connections/{connection_id}/schemas/{schema_id}/primary_keys`](../../../../../../api-reference/schemas/reset-primary-keys).
|
|
284
284
|
*
|
|
285
|
-
* @param {string} connection_id - Unique identifier of the connection
|
|
286
|
-
* @param {string} schema_id - Identifier of the schema whose primary keys are being overridden
|
|
285
|
+
* @param {string} connection_id - Unique identifier of the connection
|
|
286
|
+
* @param {string} schema_id - Identifier of the schema whose primary keys are being overridden
|
|
287
287
|
* @param {Polytomic.SetPrimaryKeysRequest} request
|
|
288
288
|
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
289
289
|
*
|
|
@@ -350,8 +350,8 @@ class SchemasClient {
|
|
|
350
350
|
* use [`PUT /api/connections/{connection_id}/schemas/{schema_id}/primary_keys`](../../../../../../api-reference/schemas/set-primary-keys)
|
|
351
351
|
* instead.
|
|
352
352
|
*
|
|
353
|
-
* @param {string} connection_id - Unique identifier of the connection
|
|
354
|
-
* @param {string} schema_id - Identifier of the schema whose primary key override should be cleared
|
|
353
|
+
* @param {string} connection_id - Unique identifier of the connection
|
|
354
|
+
* @param {string} schema_id - Identifier of the schema whose primary key override should be cleared
|
|
355
355
|
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
356
356
|
*
|
|
357
357
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -429,7 +429,7 @@ class SchemasClient {
|
|
|
429
429
|
* >
|
|
430
430
|
* > Only connections whose current health status is healthy may be refreshed.
|
|
431
431
|
*
|
|
432
|
-
* @param {string} id - Unique identifier of the connection whose schema cache should be refreshed
|
|
432
|
+
* @param {string} id - Unique identifier of the connection whose schema cache should be refreshed
|
|
433
433
|
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
434
434
|
*
|
|
435
435
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -504,7 +504,7 @@ class SchemasClient {
|
|
|
504
504
|
* >
|
|
505
505
|
* > Only connections whose current health status is healthy may be refreshed.
|
|
506
506
|
*
|
|
507
|
-
* @param {string} id - Unique identifier of the connection whose schema cache status should be returned
|
|
507
|
+
* @param {string} id - Unique identifier of the connection whose schema cache status should be returned
|
|
508
508
|
* @param {SchemasClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
509
509
|
*
|
|
510
510
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -573,7 +573,7 @@ class SchemasClient {
|
|
|
573
573
|
* > and wait for it to complete before fetching this endpoint if you need
|
|
574
574
|
* > up-to-date field definitions.
|
|
575
575
|
*
|
|
576
|
-
* @param {string} id - Unique identifier of the connection
|
|
576
|
+
* @param {string} id - Unique identifier of the connection
|
|
577
577
|
* @param {string} schema_id - Identifier of the schema within the connection. Format depends on the connection type (e.g. schema.table for databases, object name for SaaS backends).
|
|
578
578
|
* @param {SchemasClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
579
579
|
*
|
|
@@ -646,8 +646,8 @@ class SchemasClient {
|
|
|
646
646
|
* > [`POST /api/connections/{id}/schemas/refresh`](../../../../../../api-reference/schemas/refresh) to ensure
|
|
647
647
|
* > the sample aligns with the current schema structure.
|
|
648
648
|
*
|
|
649
|
-
* @param {string} id - Unique identifier of the connection
|
|
650
|
-
* @param {string} schema_id - Identifier of the schema within the connection
|
|
649
|
+
* @param {string} id - Unique identifier of the connection
|
|
650
|
+
* @param {string} schema_id - Identifier of the schema within the connection
|
|
651
651
|
* @param {SchemasClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
652
652
|
*
|
|
653
653
|
* @throws {@link Polytomic.BadRequestError}
|