polytomic 25.9.10 → 25.9.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.js +2 -2
- package/api/resources/activity/client/Client.d.ts +4 -4
- package/api/resources/activity/client/Client.js +10 -6
- package/api/resources/activity/client/requests/ActivityListRequest.d.ts +5 -5
- package/api/resources/bulkSync/client/Client.d.ts +12 -11
- package/api/resources/bulkSync/client/Client.js +11 -10
- package/api/resources/bulkSync/client/requests/ActivateBulkSyncInput.d.ts +10 -0
- package/api/resources/bulkSync/client/requests/BulkSyncDeleteRequest.d.ts +1 -0
- package/api/resources/bulkSync/client/requests/BulkSyncGetRequest.d.ts +1 -0
- package/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +10 -5
- package/api/resources/bulkSync/client/requests/StartBulkSyncRequest.d.ts +2 -0
- package/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +10 -5
- package/api/resources/bulkSync/client/requests/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/errorHandling/client/Client.d.ts +2 -2
- package/api/resources/bulkSync/resources/errorHandling/client/Client.js +2 -2
- package/api/resources/bulkSync/resources/executions/client/Client.d.ts +15 -15
- package/api/resources/bulkSync/resources/executions/client/Client.js +15 -15
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetIngestConsoleLogsRequest.d.ts +1 -1
- package/api/resources/bulkSync/resources/schedules/client/Client.d.ts +8 -8
- package/api/resources/bulkSync/resources/schedules/client/Client.js +8 -8
- package/api/resources/bulkSync/resources/schedules/client/requests/CreateScheduleRequest.d.ts +1 -0
- package/api/resources/bulkSync/resources/schedules/client/requests/UpdateScheduleRequest.d.ts +1 -0
- package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +22 -10
- package/api/resources/bulkSync/resources/schemas/client/Client.js +24 -10
- package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +5 -4
- package/api/resources/connections/client/Client.d.ts +10 -9
- package/api/resources/connections/client/Client.js +14 -9
- package/api/resources/connections/client/requests/ConnectCardRequest.d.ts +7 -7
- package/api/resources/connections/client/requests/ConnectionsDeleteRequest.d.ts +1 -0
- package/api/resources/connections/client/requests/CreateConnectionRequestSchema.d.ts +4 -2
- package/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.d.ts +1 -0
- package/api/resources/connections/client/requests/TestConnectionRequest.d.ts +2 -2
- package/api/resources/connections/client/requests/UpdateConnectionRequestSchema.d.ts +4 -1
- package/api/resources/connections/resources/proxy/client/Client.d.ts +4 -4
- package/api/resources/connections/resources/proxy/client/Client.js +4 -4
- package/api/resources/connections/resources/proxy/client/requests/ExecuteConnectionProxyRequest.d.ts +2 -1
- package/api/resources/connections/resources/proxy/client/requests/UpdateConnectionProxySettingsRequest.d.ts +1 -1
- package/api/resources/connections/resources/sharedConnections/client/Client.d.ts +5 -5
- package/api/resources/connections/resources/sharedConnections/client/Client.js +5 -5
- package/api/resources/connections/resources/sharedConnections/client/requests/PartnerCreateSharedConnectionRequestSchema.d.ts +1 -1
- package/api/resources/entities/client/Client.d.ts +80 -10
- package/api/resources/entities/client/Client.js +134 -10
- package/api/resources/entities/client/index.d.ts +1 -1
- package/api/resources/entities/client/index.js +15 -0
- package/api/resources/entities/client/requests/EntitiesSearchRequest.d.ts +13 -0
- package/api/resources/entities/client/requests/EntitiesSearchRequest.js +3 -0
- package/api/resources/entities/client/requests/index.d.ts +1 -0
- package/api/resources/entities/client/requests/index.js +2 -0
- package/api/resources/harbors/client/Client.d.ts +308 -60
- package/api/resources/harbors/client/Client.js +682 -60
- package/api/resources/harbors/client/requests/CreateHarborContextDraftRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/CreateHarborRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/CreateHarborSavedQueryDraftRequest.d.ts +4 -4
- package/api/resources/harbors/client/requests/ExecuteHarborSavedQueryRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsCloseSessionRequest.d.ts +6 -0
- package/api/resources/harbors/client/requests/HarborsDeleteContextDraftRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsDeleteContextRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsGetAuthorizedSchemaRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsGetContextDraftRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsGetContextRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsGetContextVersionRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsGetSavedQueryRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsListActionConfigurationSchemasRequest.d.ts +16 -0
- package/api/resources/harbors/client/requests/HarborsListActionConfigurationSchemasRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListAuthorizedConnectionsRequest.d.ts +4 -0
- package/api/resources/harbors/client/requests/HarborsListAuthorizedSchemasRequest.d.ts +4 -0
- package/api/resources/harbors/client/requests/HarborsListContextDraftsRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/HarborsListContextVersionsRequest.d.ts +3 -1
- package/api/resources/harbors/client/requests/HarborsListContextsRequest.d.ts +3 -1
- package/api/resources/harbors/client/requests/HarborsListKeysRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/HarborsListRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/HarborsListSavedQueriesRequest.d.ts +4 -2
- package/api/resources/harbors/client/requests/HarborsListSavedQueryDraftsRequest.d.ts +2 -2
- package/api/resources/harbors/client/requests/HarborsListUsersRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/HarborsPromoteContextDraftRequest.d.ts +2 -0
- package/api/resources/harbors/client/requests/HarborsRemoveActionConfigurationRequest.d.ts +10 -0
- package/api/resources/harbors/client/requests/HarborsRemoveActionConfigurationRequest.js +3 -0
- package/api/resources/harbors/client/requests/InviteHarborUserRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/RegisterHarborSessionRequest.d.ts +8 -3
- package/api/resources/harbors/client/requests/RunHarborQueryRequest.d.ts +3 -1
- package/api/resources/harbors/client/requests/SaveHarborContextDraftRequest.d.ts +3 -1
- package/api/resources/harbors/client/requests/SaveHarborContextRequest.d.ts +3 -1
- package/api/resources/harbors/client/requests/SaveHarborSavedQueryDraftRequest.d.ts +4 -4
- package/api/resources/harbors/client/requests/SetHarborActionConfigurationRequest.d.ts +11 -0
- package/api/resources/harbors/client/requests/SetHarborActionConfigurationRequest.js +3 -0
- package/api/resources/harbors/client/requests/UpdateHarborRequest.d.ts +1 -1
- package/api/resources/harbors/client/requests/index.d.ts +3 -0
- package/api/resources/harbors/resources/actions/client/Client.d.ts +7 -7
- package/api/resources/harbors/resources/actions/client/Client.js +7 -7
- package/api/resources/harbors/resources/actions/client/requests/ActionsDescribeRequest.d.ts +5 -0
- package/api/resources/harbors/resources/actions/client/requests/ActionsGetExecutionRequest.d.ts +2 -0
- package/api/resources/harbors/resources/actions/client/requests/ActionsListRequest.d.ts +3 -0
- package/api/resources/harbors/resources/actions/client/requests/ExecuteHarborActionRequest.d.ts +2 -0
- package/api/resources/harbors/resources/actions/client/requests/LookupHarborActionRequest.d.ts +6 -3
- package/api/resources/harbors/resources/actions/client/requests/PrepareHarborActionRequest.d.ts +6 -2
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/jobs/client/Client.d.ts +1 -1
- package/api/resources/jobs/client/Client.js +1 -1
- package/api/resources/modelSync/client/Client.d.ts +34 -9
- package/api/resources/modelSync/client/Client.js +34 -9
- package/api/resources/modelSync/client/requests/ActivateSyncInput.d.ts +10 -0
- package/api/resources/modelSync/client/requests/ActivateSyncInput.js +3 -0
- package/api/resources/modelSync/client/requests/CreateModelSyncV5Request.d.ts +14 -7
- package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.d.ts +2 -2
- package/api/resources/modelSync/client/requests/StartModelSyncRequest.d.ts +4 -2
- package/api/resources/modelSync/client/requests/UpdateModelSyncV5Request.d.ts +14 -7
- package/api/resources/modelSync/client/requests/index.d.ts +1 -0
- package/api/resources/modelSync/resources/errorHandling/client/Client.d.ts +2 -2
- package/api/resources/modelSync/resources/errorHandling/client/Client.js +2 -2
- package/api/resources/modelSync/resources/executions/client/Client.d.ts +16 -16
- package/api/resources/modelSync/resources/executions/client/Client.js +16 -16
- package/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +3 -0
- package/api/resources/modelSync/resources/targets/client/Client.d.ts +4 -4
- package/api/resources/modelSync/resources/targets/client/Client.js +4 -4
- package/api/resources/models/client/Client.d.ts +17 -12
- package/api/resources/models/client/Client.js +19 -12
- package/api/resources/models/client/requests/EnrichmentInputFieldsRequest.d.ts +1 -0
- package/api/resources/models/client/requests/ModelsCreateRequest.d.ts +1 -0
- package/api/resources/models/client/requests/ModelsDeleteRequest.d.ts +1 -0
- package/api/resources/models/client/requests/ModelsGetRequest.d.ts +1 -0
- package/api/resources/models/client/requests/ModelsPreviewRequest.d.ts +1 -0
- package/api/resources/models/client/requests/ModelsSampleRequest.d.ts +1 -0
- package/api/resources/models/client/requests/UpdateModelRequest.d.ts +14 -0
- package/api/resources/notifications/client/Client.d.ts +1 -0
- package/api/resources/notifications/client/Client.js +3 -0
- package/api/resources/operations/client/requests/SearchOperationsRequest.d.ts +3 -3
- package/api/resources/organization/client/Client.d.ts +3 -3
- package/api/resources/organization/client/Client.js +3 -3
- package/api/resources/organization/client/requests/CreateOrganizationRequestSchema.d.ts +4 -4
- package/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.d.ts +4 -4
- package/api/resources/organization/client/requests/UpdateRecordLoggingSettingsRequest.d.ts +1 -1
- package/api/resources/permissions/resources/policies/client/Client.d.ts +3 -3
- package/api/resources/permissions/resources/policies/client/Client.js +3 -3
- package/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts +1 -0
- package/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts +1 -0
- package/api/resources/permissions/resources/roles/client/Client.d.ts +3 -3
- package/api/resources/permissions/resources/roles/client/Client.js +3 -3
- package/api/resources/permissions/resources/roles/client/requests/CreateRoleRequest.d.ts +1 -0
- package/api/resources/permissions/resources/roles/client/requests/UpdateRoleRequest.d.ts +1 -0
- package/api/resources/queryRunner/client/Client.d.ts +2 -2
- package/api/resources/queryRunner/client/Client.js +2 -2
- package/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.d.ts +3 -1
- package/api/resources/queryRunner/client/requests/RunQueryRequest.d.ts +3 -1
- package/api/resources/recordViewLinks/client/requests/CreateRecordViewLinkRequest.d.ts +6 -4
- package/api/resources/recordViewLinks/client/requests/RecordViewLinksGetCapabilitiesRequest.d.ts +4 -2
- package/api/resources/schemas/client/Client.d.ts +17 -17
- package/api/resources/schemas/client/Client.js +17 -17
- package/api/resources/schemas/client/requests/PatchSchemaFieldRequest.d.ts +3 -2
- package/api/resources/temporaryCredentials/client/requests/CreateTemporaryCredentialRequest.d.ts +1 -0
- package/api/resources/users/client/Client.d.ts +13 -13
- package/api/resources/users/client/Client.js +13 -13
- package/api/resources/users/client/requests/CreateUserRequestSchema.d.ts +1 -1
- package/api/resources/users/client/requests/CurrentOrgCreateUserRequestSchema.d.ts +1 -1
- package/api/resources/users/client/requests/UpdateUserRequestSchema.d.ts +1 -1
- package/api/resources/webhooks/client/Client.d.ts +6 -6
- package/api/resources/webhooks/client/Client.js +6 -6
- package/api/resources/webhooks/client/requests/CreateWebhooksSchema.d.ts +1 -0
- package/api/resources/webhooks/client/requests/UpdateWebhooksSchema.d.ts +1 -0
- package/api/resources/webhooks/client/requests/WebhooksListDeliveriesRequest.d.ts +2 -1
- package/api/types/ActionLookup.d.ts +2 -0
- package/api/types/ActivateSyncEnvelope.d.ts +1 -0
- package/api/types/ActivateSyncOutput.d.ts +2 -0
- package/api/types/ApiError.d.ts +4 -0
- package/api/types/BackendConnectionCapabilities.d.ts +5 -0
- package/api/types/BackendOAuthPrompt.d.ts +3 -0
- package/api/types/BulkBulkSyncSchedule.d.ts +17 -0
- package/api/types/BulkExecutionStatus.d.ts +1 -0
- package/api/types/BulkExecutionStatus.js +1 -0
- package/api/types/BulkField.d.ts +5 -0
- package/api/types/BulkFilter.d.ts +3 -1
- package/api/types/BulkSchema.d.ts +9 -1
- package/api/types/BulkSchemaEnvelope.d.ts +1 -0
- package/api/types/BulkSchemaListItem.d.ts +4 -4
- package/api/types/BulkSyncAdditionalScheduleRequest.d.ts +9 -5
- package/api/types/BulkSyncAdditionalScheduleResponse.d.ts +13 -8
- package/api/types/BulkSyncDefaultScheduleRequest.d.ts +7 -5
- package/api/types/BulkSyncDefaultScheduleResponse.d.ts +11 -8
- package/api/types/BulkSyncDest.d.ts +4 -2
- package/api/types/BulkSyncDestEnvelope.d.ts +1 -0
- package/api/types/BulkSyncErrorHandling.d.ts +1 -1
- package/api/types/BulkSyncErrorHandlingEnvelope.d.ts +1 -0
- package/api/types/BulkSyncExecution.d.ts +18 -1
- package/api/types/BulkSyncExecutionEnvelope.d.ts +1 -0
- package/api/types/BulkSyncExecutionLogs.d.ts +1 -1
- package/api/types/BulkSyncExecutionLogsEnvelope.d.ts +1 -0
- package/api/types/BulkSyncExecutionStatus.d.ts +4 -3
- package/api/types/BulkSyncIngestionStatus.d.ts +8 -0
- package/api/types/BulkSyncListEnvelope.d.ts +1 -0
- package/api/types/BulkSyncResponse.d.ts +17 -10
- package/api/types/BulkSyncResponseEnvelope.d.ts +1 -0
- package/api/types/BulkSyncScheduleApi.d.ts +7 -5
- package/api/types/BulkSyncSchemaExecution.d.ts +12 -1
- package/api/types/BulkSyncSchemaExecutionStatus.d.ts +8 -7
- package/api/types/BulkSyncSearchHit.d.ts +23 -0
- package/api/types/BulkSyncSearchHit.js +3 -0
- package/api/types/BulkSyncSource.d.ts +3 -0
- package/api/types/BulkSyncSourceCapabilities.d.ts +1 -0
- package/api/types/BulkSyncSourceEnvelope.d.ts +1 -0
- package/api/types/BulkSyncSourceSchemaEnvelope.d.ts +1 -0
- package/api/types/BulkSyncSourceStatus.d.ts +3 -0
- package/api/types/BulkSyncSourceStatusEnvelope.d.ts +1 -0
- package/api/types/BulkSyncStatusEnvelope.d.ts +1 -0
- package/api/types/BulkSyncStatusResponse.d.ts +4 -0
- package/api/types/CancelBulkSyncResponse.d.ts +1 -0
- package/api/types/CancelBulkSyncResponseEnvelope.d.ts +1 -0
- package/api/types/CancelSyncExecutionResponse.d.ts +1 -0
- package/api/types/CancelSyncExecutionResponseEnvelope.d.ts +1 -0
- package/api/types/CancelSyncResponse.d.ts +1 -0
- package/api/types/CancelSyncResponseEnvelope.d.ts +1 -0
- package/api/types/CloseHarborSessionEnvelope.d.ts +6 -0
- package/api/types/CompletionValue.d.ts +4 -0
- package/api/types/ConfigurationValue.d.ts +2 -0
- package/api/types/ConnectCardResponse.d.ts +2 -2
- package/api/types/ConnectCardResponseEnvelope.d.ts +1 -0
- package/api/types/ConnectSessionResponse.d.ts +10 -10
- package/api/types/ConnectSessionResponseEnvelope.d.ts +1 -0
- package/api/types/ConnectionProxyApi.d.ts +4 -3
- package/api/types/ConnectionProxyContract.d.ts +10 -10
- package/api/types/ConnectionProxyInfoResponse.d.ts +6 -2
- package/api/types/ConnectionProxyLockedHeader.d.ts +2 -2
- package/api/types/ConnectionProxyMergeRules.d.ts +2 -2
- package/api/types/ConnectionProxyResponse.d.ts +8 -7
- package/api/types/ConnectionProxySettingsEnvelope.d.ts +1 -0
- package/api/types/ConnectionProxySettingsResponse.d.ts +4 -4
- package/api/types/ConnectionProxyStats.d.ts +6 -6
- package/api/types/ConnectionResponseSchema.d.ts +2 -2
- package/api/types/ConnectionSearchHit.d.ts +13 -0
- package/api/types/ConnectionSearchHit.js +3 -0
- package/api/types/ConnectionUsageCategoryStats.d.ts +3 -3
- package/api/types/ConnectionUsageResponse.d.ts +3 -3
- package/api/types/ConnectionUsageSyncStats.d.ts +6 -6
- package/api/types/CreateConnectionResponseSchema.d.ts +3 -3
- package/api/types/CreateHarborEnvelope.d.ts +1 -0
- package/api/types/CreateHarborResponse.d.ts +2 -0
- package/api/types/CreateModelRequest.d.ts +12 -0
- package/api/types/CreateRecordViewLinkEnvelope.d.ts +1 -0
- package/api/types/CreateRecordViewLinkResponse.d.ts +4 -4
- package/api/types/CreateSharedConnectionResponseEnvelope.d.ts +1 -0
- package/api/types/CreateSharedConnectionResponseSchema.d.ts +1 -0
- package/api/types/CurrentOrgListUsersEnvelope.d.ts +1 -0
- package/api/types/CurrentOrgUserEnvelope.d.ts +1 -0
- package/api/types/CurrentOrgUserResponse.d.ts +6 -6
- package/api/types/DeletedHarborContextDraftEnvelope.d.ts +5 -1
- package/api/types/DeletedHarborContextEnvelope.d.ts +5 -1
- package/api/types/DeletedHarborEnvelope.d.ts +1 -0
- package/api/types/DeletedHarborResponse.d.ts +1 -1
- package/api/types/DeletedHarborSavedQueryDraftEnvelope.d.ts +5 -1
- package/api/types/DeletedHarborSavedQueryEnvelope.d.ts +5 -1
- package/api/types/Enrichment.d.ts +3 -0
- package/api/types/EntityRelationship.d.ts +2 -2
- package/api/types/EntityResponse.d.ts +4 -4
- package/api/types/EntityResponseEnvelope.d.ts +1 -0
- package/api/types/Event.d.ts +5 -4
- package/api/types/EventingBulkSyncCanceledEvent.d.ts +6 -0
- package/api/types/EventingBulkSyncCompletedEvent.d.ts +8 -0
- package/api/types/EventingBulkSyncCompletedWithErrorEvent.d.ts +8 -0
- package/api/types/EventingBulkSyncFailedEvent.d.ts +9 -0
- package/api/types/EventingBulkSyncRunningEvent.d.ts +6 -0
- package/api/types/EventingBulkSyncSchedule.d.ts +2 -0
- package/api/types/EventingSyncCanceledEvent.d.ts +6 -0
- package/api/types/EventingSyncCompletedEvent.d.ts +23 -1
- package/api/types/EventingSyncCompletedWithErrorsEvent.d.ts +8 -0
- package/api/types/EventingSyncFailedEvent.d.ts +6 -0
- package/api/types/EventingSyncRunningEvent.d.ts +5 -0
- package/api/types/EventingSyncSchedule.d.ts +1 -0
- package/api/types/ExecuteConnectionProxyEnvelope.d.ts +1 -0
- package/api/types/ExecuteHarborSavedQueryEnvelope.d.ts +10 -5
- package/api/types/ExecutionConsoleLogEntry.d.ts +5 -0
- package/api/types/ExecutionConsoleLogsResponse.d.ts +2 -0
- package/api/types/ExecutionConsoleLogsResponseEnvelope.d.ts +1 -0
- package/api/types/ExecutionCounts.d.ts +7 -0
- package/api/types/ExecutionLogResponse.d.ts +2 -0
- package/api/types/ExecutionLogsResponseEnvelope.d.ts +1 -0
- package/api/types/ExportSyncLogsEnvelope.d.ts +2 -0
- package/api/types/ExportSyncLogsResponse.d.ts +1 -1
- package/api/types/FieldConfiguration.d.ts +3 -2
- package/api/types/Filter.d.ts +6 -1
- package/api/types/GetConnectionProxyInfoEnvelope.d.ts +1 -0
- package/api/types/GetConnectionUsageEnvelope.d.ts +1 -0
- package/api/types/GetEnrichmentInputFieldsResponseEnvelope.d.ts +1 -0
- package/api/types/GetExecutionResponseEnvelope.d.ts +1 -0
- package/api/types/GetExecutionResponseSchema.d.ts +9 -1
- package/api/types/GetIdentityResponseSchema.d.ts +8 -7
- package/api/types/GetRecordViewCapabilitiesEnvelope.d.ts +1 -0
- package/api/types/GetSyncSourceMetaEnvelope.d.ts +1 -0
- package/api/types/GlobalErrorSubscribersResponse.d.ts +1 -1
- package/api/types/HarborActionCapability.d.ts +9 -0
- package/api/types/HarborActionConfigurationEnvelope.d.ts +5 -0
- package/api/types/HarborActionConfigurationEnvelope.js +3 -0
- package/api/types/HarborActionConfigurationFieldResponse.d.ts +20 -0
- package/api/types/HarborActionConfigurationFieldResponse.js +3 -0
- package/api/types/HarborActionConfigurationIdempotencyResponse.d.ts +6 -0
- package/api/types/HarborActionConfigurationIdempotencyResponse.js +3 -0
- package/api/types/HarborActionConfigurationOperationResponse.d.ts +29 -0
- package/api/types/HarborActionConfigurationOperationResponse.js +12 -0
- package/api/types/HarborActionConfigurationOperationsEnvelope.d.ts +5 -0
- package/api/types/HarborActionConfigurationOperationsEnvelope.js +3 -0
- package/api/types/HarborActionConfigurationResponse.d.ts +13 -0
- package/api/types/HarborActionConfigurationResponse.js +3 -0
- package/api/types/HarborActionConfigurationSchemasEnvelope.d.ts +7 -0
- package/api/types/HarborActionConfigurationSchemasEnvelope.js +3 -0
- package/api/types/HarborActionDescribeEnvelope.d.ts +1 -0
- package/api/types/HarborActionExecutionEnvelope.d.ts +1 -0
- package/api/types/HarborActionExecutionResponse.d.ts +14 -2
- package/api/types/HarborActionExecutionResponse.js +1 -0
- package/api/types/HarborActionField.d.ts +11 -0
- package/api/types/HarborActionGrantSchema.d.ts +10 -0
- package/api/types/HarborActionGrantSchema.js +3 -0
- package/api/types/HarborActionListEnvelope.d.ts +6 -0
- package/api/types/HarborActionLookupEnvelope.d.ts +1 -0
- package/api/types/HarborActionPreparation.d.ts +2 -0
- package/api/types/HarborActionPreparationEnvelope.d.ts +1 -0
- package/api/types/HarborActionSchemaResponse.d.ts +8 -0
- package/api/types/HarborActionSchemaResponse.js +3 -0
- package/api/types/HarborActionSourceConnectionResponse.d.ts +8 -0
- package/api/types/HarborActionSourceConnectionResponse.js +3 -0
- package/api/types/HarborActionSourceConnectionsEnvelope.d.ts +5 -0
- package/api/types/HarborActionSourceConnectionsEnvelope.js +3 -0
- package/api/types/HarborActionSummary.d.ts +5 -0
- package/api/types/HarborActivityEventEnvelope.d.ts +1 -0
- package/api/types/HarborActivityListEnvelope.d.ts +2 -0
- package/api/types/HarborActivitySessionEnvelope.d.ts +2 -0
- package/api/types/HarborApiKeyCreatedResponse.d.ts +3 -3
- package/api/types/HarborConnectionCapability.d.ts +6 -0
- package/api/types/HarborConnectionCapability.js +9 -0
- package/api/types/HarborConnectionListEnvelope.d.ts +2 -0
- package/api/types/HarborConnectionResponse.d.ts +6 -1
- package/api/types/HarborConnectionSchemaEnvelope.d.ts +1 -0
- package/api/types/HarborContextDraftEnvelope.d.ts +1 -0
- package/api/types/HarborContextDraftListEnvelope.d.ts +2 -0
- package/api/types/HarborContextDraftMetadataResponse.d.ts +8 -8
- package/api/types/HarborContextDraftResponse.d.ts +9 -9
- package/api/types/HarborContextEnvelope.d.ts +1 -0
- package/api/types/HarborContextListEnvelope.d.ts +2 -0
- package/api/types/HarborContextMetadataResponse.d.ts +7 -7
- package/api/types/HarborContextResponse.d.ts +8 -8
- package/api/types/HarborContextVersionEnvelope.d.ts +1 -0
- package/api/types/HarborContextVersionListEnvelope.d.ts +2 -0
- package/api/types/HarborContextVersionMetadataResponse.d.ts +7 -7
- package/api/types/HarborContextVersionResponse.d.ts +8 -8
- package/api/types/HarborDatasetStatusResponse.d.ts +2 -2
- package/api/types/HarborEnvelope.d.ts +1 -0
- package/api/types/HarborKeyEnvelope.d.ts +1 -0
- package/api/types/HarborKeyListEnvelope.d.ts +2 -0
- package/api/types/HarborKeyResponse.d.ts +5 -5
- package/api/types/HarborListEnvelope.d.ts +2 -0
- package/api/types/HarborPipelineStatusResponse.d.ts +6 -6
- package/api/types/HarborPipelineStatusResponse.js +1 -1
- package/api/types/HarborResponse.d.ts +9 -9
- package/api/types/HarborSavedQueryDraftEnvelope.d.ts +1 -0
- package/api/types/HarborSavedQueryDraftListEnvelope.d.ts +2 -0
- package/api/types/HarborSavedQueryDraftResponse.d.ts +13 -13
- package/api/types/HarborSavedQueryEnvelope.d.ts +1 -0
- package/api/types/HarborSavedQueryListEnvelope.d.ts +2 -0
- package/api/types/HarborSavedQueryMetadataResponse.d.ts +9 -9
- package/api/types/HarborSavedQueryParameter.d.ts +4 -4
- package/api/types/HarborSavedQueryParameter.js +1 -1
- package/api/types/HarborSavedQueryPreviewResponse.d.ts +2 -2
- package/api/types/HarborSavedQueryResponse.d.ts +13 -13
- package/api/types/HarborSavedQueryValidationEnvelope.d.ts +1 -0
- package/api/types/HarborSchemaListEnvelope.d.ts +3 -0
- package/api/types/HarborSchemaResponse.d.ts +2 -0
- package/api/types/HarborSourceMappingResponse.d.ts +2 -2
- package/api/types/HarborSourceReference.d.ts +5 -3
- package/api/types/HarborStatusEnvelope.d.ts +1 -0
- package/api/types/HarborStatusResponse.d.ts +1 -1
- package/api/types/HarborStatusScheduleResponse.d.ts +13 -10
- package/api/types/HarborUserEnvelope.d.ts +1 -0
- package/api/types/HarborUserListEnvelope.d.ts +2 -0
- package/api/types/HarborUserResponse.d.ts +7 -7
- package/api/types/HarboractivityEventType.d.ts +29 -0
- package/api/types/HarboractivityEventType.js +32 -0
- package/api/types/HarboractivityOutcome.d.ts +7 -0
- package/api/types/HarboractivityOutcome.js +10 -0
- package/api/types/HarboractivityProvenance.d.ts +6 -0
- package/api/types/HarboractivityProvenance.js +9 -0
- package/api/types/HarboractivityQueryPhase.d.ts +6 -0
- package/api/types/HarboractivityQueryPhase.js +9 -0
- package/api/types/HarboractivityStatementCategory.d.ts +6 -0
- package/api/types/HarboractivityStatementCategory.js +9 -0
- package/api/types/HarboractivityapiHarborActivityActorSnapshot.d.ts +4 -0
- package/api/types/HarboractivityapiHarborActivityEvent.d.ts +24 -3
- package/api/types/HarboractivityapiHarborActivityIdentitySnapshot.d.ts +1 -0
- package/api/types/HarboractivityapiHarborActivityMetadata.d.ts +37 -5
- package/api/types/HarboractivityapiHarborActivityQuerySource.d.ts +4 -0
- package/api/types/HarboractivityapiHarborActivitySavedQuerySource.d.ts +5 -0
- package/api/types/HarboractivityapiHarborActivitySession.d.ts +16 -1
- package/api/types/HarboractivityapiHarborActivitySession.js +1 -0
- package/api/types/HarboractivityapiHarborActivityTarget.d.ts +6 -0
- package/api/types/Identity.d.ts +5 -0
- package/api/types/IdentityCredentialApiKeyProfileSchema.d.ts +5 -4
- package/api/types/IdentityCredentialCapabilitiesSchema.d.ts +2 -0
- package/api/types/IdentityCredentialConnectionCapabilitySchema.d.ts +1 -1
- package/api/types/IdentityCredentialHarborSchema.d.ts +3 -3
- package/api/types/IdentityCredentialSchema.d.ts +8 -4
- package/api/types/IdentityFunction.d.ts +1 -1
- package/api/types/JobResponse.d.ts +3 -2
- package/api/types/ListBulkSchemaEnvelope.d.ts +1 -0
- package/api/types/ListBulkSyncExecutionsEnvelope.d.ts +2 -0
- package/api/types/ListBulkSyncExecutionsStatusEnvelope.d.ts +1 -0
- package/api/types/ListExecutionResponseEnvelope.d.ts +2 -0
- package/api/types/ListSyncItem.d.ts +13 -10
- package/api/types/ListSyncResponseEnvelope.d.ts +2 -0
- package/api/types/LogsIndexEntry.d.ts +2 -2
- package/api/types/LogsIndexResponse.d.ts +6 -0
- package/api/types/LogsIndexResponseEnvelope.d.ts +1 -0
- package/api/types/Mode.d.ts +5 -5
- package/api/types/ModelField.d.ts +12 -0
- package/api/types/ModelFieldResponse.d.ts +1 -0
- package/api/types/ModelFieldSearchHit.d.ts +23 -0
- package/api/types/ModelFieldSearchHit.js +3 -0
- package/api/types/ModelFilterCondition.d.ts +2 -2
- package/api/types/ModelListResponseEnvelope.d.ts +1 -0
- package/api/types/ModelModelFieldRequest.d.ts +4 -0
- package/api/types/ModelRelation.d.ts +2 -0
- package/api/types/ModelRelationTo.d.ts +2 -0
- package/api/types/ModelResponse.d.ts +18 -0
- package/api/types/ModelResponseEnvelope.d.ts +2 -0
- package/api/types/ModelSample.d.ts +2 -0
- package/api/types/ModelSampleResponseEnvelope.d.ts +2 -0
- package/api/types/ModelSearchHit.d.ts +17 -0
- package/api/types/ModelSearchHit.js +3 -0
- package/api/types/ModelSyncProblem.d.ts +2 -2
- package/api/types/ModelSyncSearchHit.d.ts +19 -0
- package/api/types/ModelSyncSearchHit.js +3 -0
- package/api/types/ModelSyncSourceConnection.d.ts +8 -0
- package/api/types/ModelSyncSourceConnection.js +3 -0
- package/api/types/ModelSyncSourceIdentity.d.ts +2 -1
- package/api/types/ModelSyncV5Response.d.ts +23 -2
- package/api/types/ModelSyncV5ResponseEnvelope.d.ts +1 -0
- package/api/types/ModelSyncV5Target.d.ts +4 -1
- package/api/types/OperationMatch.d.ts +6 -6
- package/api/types/OperationSearchAvailabilityEnvelope.d.ts +6 -1
- package/api/types/OperationSearchRateLimit.d.ts +3 -3
- package/api/types/OperationSearchRateLimit.js +1 -1
- package/api/types/OperationSearchResult.d.ts +3 -3
- package/api/types/Organization.d.ts +5 -5
- package/api/types/OutputActor.d.ts +3 -0
- package/api/types/Override.d.ts +5 -1
- package/api/types/OverrideField.d.ts +2 -2
- package/api/types/OverrideFieldInput.d.ts +2 -2
- package/api/types/PaginationDetails.d.ts +1 -0
- package/api/types/PickValue.d.ts +2 -0
- package/api/types/PolicyAction.d.ts +1 -0
- package/api/types/QueryResultsEnvelope.d.ts +2 -0
- package/api/types/RecordLoggingSettingsEnvelope.d.ts +1 -0
- package/api/types/RecordLoggingSettingsResponse.d.ts +3 -3
- package/api/types/RecordviewCapabilities.d.ts +11 -1
- package/api/types/RegisterHarborSessionEnvelope.d.ts +1 -0
- package/api/types/RegisterHarborSessionResponse.d.ts +3 -1
- package/api/types/Relation.d.ts +2 -0
- package/api/types/RelationTo.d.ts +2 -0
- package/api/types/ResolveHarborSourceMappingsEnvelope.d.ts +6 -2
- package/api/types/RevokedHarborKeyEnvelope.d.ts +5 -1
- package/api/types/RunAfter.d.ts +2 -0
- package/api/types/RunQueryEnvelope.d.ts +1 -0
- package/api/types/RunQueryResult.d.ts +3 -2
- package/api/types/Schedule.d.ts +9 -0
- package/api/types/ScheduleEnvelope.d.ts +1 -0
- package/api/types/ScheduleOptionResponse.d.ts +1 -0
- package/api/types/ScheduleOptionResponseEnvelope.d.ts +1 -0
- package/api/types/ScheduleScheduleOption.d.ts +4 -0
- package/api/types/SchedulesEnvelope.d.ts +1 -0
- package/api/types/Schema.d.ts +3 -0
- package/api/types/SchemaAssociation.d.ts +4 -0
- package/api/types/SchemaConfiguration.d.ts +8 -2
- package/api/types/SchemaField.d.ts +12 -6
- package/api/types/SchemaFieldResponseEnvelope.d.ts +1 -0
- package/api/types/SchemaOperationIdempotency.d.ts +2 -0
- package/api/types/SchemaPrimaryKeyOverrideInput.d.ts +2 -0
- package/api/types/SchemaRecordsResponseEnvelope.d.ts +1 -0
- package/api/types/SearchEnvelope.d.ts +7 -0
- package/api/types/SearchEnvelope.js +3 -0
- package/api/types/SearchMatch.d.ts +9 -0
- package/api/types/SearchMatch.js +3 -0
- package/api/types/SearchMatchAttribute.d.ts +8 -0
- package/api/types/SearchMatchAttribute.js +3 -0
- package/api/types/SearchMatchMapping.d.ts +27 -0
- package/api/types/SearchMatchMapping.js +13 -0
- package/api/types/SearchMatchSchema.d.ts +8 -0
- package/api/types/SearchMatchSchema.js +3 -0
- package/api/types/SearchOperationsEnvelope.d.ts +1 -0
- package/api/types/SearchOperationsResponse.d.ts +2 -2
- package/api/types/SearchResultItem.d.ts +19 -0
- package/api/types/SearchResultItem.js +3 -0
- package/api/types/SearchResultLinks.d.ts +14 -0
- package/api/types/SearchResultLinks.js +3 -0
- package/api/types/SearchResultMetadata.d.ts +6 -0
- package/api/types/SearchResultMetadata.js +3 -0
- package/api/types/Source.d.ts +2 -0
- package/api/types/SourceMeta.d.ts +1 -1
- package/api/types/StartSyncResponseEnvelope.d.ts +1 -0
- package/api/types/StartSyncResponseSchema.d.ts +2 -0
- package/api/types/SupportedBulkMode.d.ts +6 -0
- package/api/types/SupportedFilterFunction.d.ts +3 -2
- package/api/types/SupportedMode.d.ts +4 -3
- package/api/types/SyncDestinationProperties.d.ts +15 -13
- package/api/types/SyncErrorHandling.d.ts +4 -4
- package/api/types/SyncErrorHandlingEnvelope.d.ts +1 -0
- package/api/types/SyncField.d.ts +3 -2
- package/api/types/SyncSourceMetaResponse.d.ts +3 -3
- package/api/types/SyncStatusEnvelope.d.ts +1 -0
- package/api/types/SyncStatusResponse.d.ts +3 -0
- package/api/types/TargetCreator.d.ts +2 -2
- package/api/types/TargetField.d.ts +12 -12
- package/api/types/TargetFilterCondition.d.ts +2 -2
- package/api/types/TargetObject.d.ts +3 -3
- package/api/types/TargetObjectsResponseEnvelope.d.ts +2 -0
- package/api/types/TargetPropertyValues.d.ts +4 -4
- package/api/types/TargetPropertyValuesEnvelope.d.ts +1 -0
- package/api/types/TargetResponse.d.ts +2 -1
- package/api/types/TargetResponseEnvelope.d.ts +1 -0
- package/api/types/TemporaryCredentialResponse.d.ts +2 -2
- package/api/types/TemporaryCredentialResponseEnvelope.d.ts +1 -0
- package/api/types/TemporaryCredentialSubject.d.ts +1 -1
- package/api/types/UnassignedHarborUserEnvelope.d.ts +5 -1
- package/api/types/UpdateBulkField.d.ts +4 -0
- package/api/types/UpdateBulkSyncSchemasEnvelope.d.ts +1 -0
- package/api/types/User.d.ts +4 -4
- package/api/types/UserFieldRequest.d.ts +4 -3
- package/api/types/UtilEnumValue.d.ts +2 -0
- package/api/types/WebhookDelivery.d.ts +1 -1
- package/api/types/index.d.ts +31 -1
- package/api/types/index.js +31 -1
- package/package.json +1 -1
- package/reference.md +1115 -356
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ActivateSyncInput.d.ts +0 -3
- /package/api/{types/ActivateSyncInput.js → resources/bulkSync/client/requests/ActivateBulkSyncInput.js} +0 -0
package/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.d.ts
CHANGED
|
@@ -7,7 +7,10 @@
|
|
|
7
7
|
* }
|
|
8
8
|
*/
|
|
9
9
|
export interface ExecutionsListRequest {
|
|
10
|
+
/** Token from the previous page */
|
|
10
11
|
page_token?: string;
|
|
12
|
+
/** Return only completed executions. */
|
|
11
13
|
only_completed?: boolean;
|
|
14
|
+
/** Return executions oldest first. */
|
|
12
15
|
ascending?: boolean;
|
|
13
16
|
}
|
|
@@ -54,7 +54,7 @@ export declare class TargetsClient {
|
|
|
54
54
|
* When `properties` is supplied, the `refresh` parameter is ignored — a
|
|
55
55
|
* not-yet-created target has no cached schema to refresh.
|
|
56
56
|
*
|
|
57
|
-
* @param {string} id - Unique identifier of the connection
|
|
57
|
+
* @param {string} id - Unique identifier of the connection
|
|
58
58
|
* @param {Polytomic.modelSync.TargetsGetTargetFieldsRequest} request
|
|
59
59
|
* @param {TargetsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
60
60
|
*
|
|
@@ -94,7 +94,7 @@ export declare class TargetsClient {
|
|
|
94
94
|
* model sync. The `modes` array for a target object defines the `id` along with
|
|
95
95
|
* what operations the mode supports.
|
|
96
96
|
*
|
|
97
|
-
* @param {string} id
|
|
97
|
+
* @param {string} id - Connection ID
|
|
98
98
|
* @param {Polytomic.modelSync.TargetsListRequest} request
|
|
99
99
|
* @param {TargetsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
100
100
|
*
|
|
@@ -146,8 +146,8 @@ export declare class TargetsClient {
|
|
|
146
146
|
* The `value` for the selected option should be passed when [creating a
|
|
147
147
|
* sync](../../../../../../../api-reference/model-sync/create).
|
|
148
148
|
*
|
|
149
|
-
* @param {string} id
|
|
150
|
-
* @param {string} property
|
|
149
|
+
* @param {string} id - Connection ID
|
|
150
|
+
* @param {string} property - Target-creation property ID
|
|
151
151
|
* @param {TargetsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
152
152
|
*
|
|
153
153
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -100,7 +100,7 @@ class TargetsClient {
|
|
|
100
100
|
* When `properties` is supplied, the `refresh` parameter is ignored — a
|
|
101
101
|
* not-yet-created target has no cached schema to refresh.
|
|
102
102
|
*
|
|
103
|
-
* @param {string} id - Unique identifier of the connection
|
|
103
|
+
* @param {string} id - Unique identifier of the connection
|
|
104
104
|
* @param {Polytomic.modelSync.TargetsGetTargetFieldsRequest} request
|
|
105
105
|
* @param {TargetsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
106
106
|
*
|
|
@@ -193,7 +193,7 @@ class TargetsClient {
|
|
|
193
193
|
* model sync. The `modes` array for a target object defines the `id` along with
|
|
194
194
|
* what operations the mode supports.
|
|
195
195
|
*
|
|
196
|
-
* @param {string} id
|
|
196
|
+
* @param {string} id - Connection ID
|
|
197
197
|
* @param {Polytomic.modelSync.TargetsListRequest} request
|
|
198
198
|
* @param {TargetsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
199
199
|
*
|
|
@@ -299,8 +299,8 @@ class TargetsClient {
|
|
|
299
299
|
* The `value` for the selected option should be passed when [creating a
|
|
300
300
|
* sync](../../../../../../../api-reference/model-sync/create).
|
|
301
301
|
*
|
|
302
|
-
* @param {string} id
|
|
303
|
-
* @param {string} property
|
|
302
|
+
* @param {string} id - Connection ID
|
|
303
|
+
* @param {string} property - Target-creation property ID
|
|
304
304
|
* @param {TargetsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
305
305
|
*
|
|
306
306
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -27,7 +27,7 @@ export declare class ModelsClient {
|
|
|
27
27
|
* configuration fields required to set it up. Pass those values in the
|
|
28
28
|
* `enrichment` block when creating or updating a model sync.
|
|
29
29
|
*
|
|
30
|
-
* @param {string} id - Unique identifier of the connection
|
|
30
|
+
* @param {string} id - Unique identifier of the connection
|
|
31
31
|
* @param {Polytomic.ModelsGetEnrichmentSourceRequest} request
|
|
32
32
|
* @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
33
|
*
|
|
@@ -52,10 +52,11 @@ export declare class ModelsClient {
|
|
|
52
52
|
* valid input field sets that map your model's fields to the enrichment service's
|
|
53
53
|
* expected inputs.
|
|
54
54
|
*
|
|
55
|
-
* @param {string} connection_id
|
|
55
|
+
* @param {string} connection_id - Enrichment connection ID
|
|
56
56
|
* @param {Polytomic.EnrichmentInputFieldsRequest} request
|
|
57
57
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
58
58
|
*
|
|
59
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
59
60
|
* @throws {@link Polytomic.ForbiddenError}
|
|
60
61
|
* @throws {@link Polytomic.NotFoundError}
|
|
61
62
|
* @throws {@link Polytomic.InternalServerError}
|
|
@@ -68,12 +69,15 @@ export declare class ModelsClient {
|
|
|
68
69
|
post(connection_id: string, request?: Polytomic.EnrichmentInputFieldsRequest, requestOptions?: ModelsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.GetEnrichmentInputFieldsResponseEnvelope>;
|
|
69
70
|
private __post;
|
|
70
71
|
/**
|
|
71
|
-
*
|
|
72
|
+
* Previews the fields a model exposes without saving the model.
|
|
73
|
+
*
|
|
74
|
+
* The response contains the previewed model, including the fields it exposes.
|
|
75
|
+
* With `async=true`, the response contains a job instead; poll the job until it
|
|
76
|
+
* completes to retrieve the field list.
|
|
72
77
|
*
|
|
73
|
-
* The
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* configuration before calling [`POST /api/models`](../../api-reference/models/create) to save it.
|
|
78
|
+
* The model is not saved, and `policies` and `labels` are ignored. Use this
|
|
79
|
+
* endpoint to validate a query or configuration before calling
|
|
80
|
+
* [`POST /api/models`](../../api-reference/models/create) to save it.
|
|
77
81
|
*
|
|
78
82
|
* @param {Polytomic.ModelsPreviewRequest} request
|
|
79
83
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -162,7 +166,7 @@ export declare class ModelsClient {
|
|
|
162
166
|
* configured filters. To preview the data a model would return without saving
|
|
163
167
|
* changes, use [`GET /api/models/{id}/sample`](../../../api-reference/models/sample).
|
|
164
168
|
*
|
|
165
|
-
* @param {string} id
|
|
169
|
+
* @param {string} id - Model ID
|
|
166
170
|
* @param {Polytomic.ModelsGetRequest} request
|
|
167
171
|
* @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
168
172
|
*
|
|
@@ -183,7 +187,8 @@ export declare class ModelsClient {
|
|
|
183
187
|
*
|
|
184
188
|
* Updating a model is a **full replacement** of its configuration. Every field in
|
|
185
189
|
* the request body is written to the model; any field you omit is cleared or reset
|
|
186
|
-
* to its default value.
|
|
190
|
+
* to its default value. An empty or omitted `policies` list leaves the model's
|
|
191
|
+
* current policies unchanged.
|
|
187
192
|
*
|
|
188
193
|
* To make a partial change, fetch the current model with
|
|
189
194
|
* [`GET /api/models/{id}`](../../../api-reference/models/get), modify the fields you want to change, and send
|
|
@@ -192,7 +197,7 @@ export declare class ModelsClient {
|
|
|
192
197
|
* Changes to source fields, filters, or the identity column take effect on the
|
|
193
198
|
* next sync execution that uses this model.
|
|
194
199
|
*
|
|
195
|
-
* @param {string} id
|
|
200
|
+
* @param {string} id - Model ID
|
|
196
201
|
* @param {Polytomic.UpdateModelRequest} request
|
|
197
202
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
198
203
|
*
|
|
@@ -220,7 +225,7 @@ export declare class ModelsClient {
|
|
|
220
225
|
* > 🚧 Deleting a model used by one or more syncs will break those syncs. Remove
|
|
221
226
|
* > or reconfigure any syncs that reference this model before deleting it.
|
|
222
227
|
*
|
|
223
|
-
* @param {string} id
|
|
228
|
+
* @param {string} id - Model ID
|
|
224
229
|
* @param {Polytomic.ModelsDeleteRequest} request
|
|
225
230
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
226
231
|
*
|
|
@@ -244,7 +249,7 @@ export declare class ModelsClient {
|
|
|
244
249
|
* enrichment step can exceed that budget, use the asynchronous option so the
|
|
245
250
|
* work runs as a background job.
|
|
246
251
|
*
|
|
247
|
-
* @param {string} id
|
|
252
|
+
* @param {string} id - Model ID
|
|
248
253
|
* @param {Polytomic.ModelsSampleRequest} request
|
|
249
254
|
* @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
250
255
|
*
|
|
@@ -83,7 +83,7 @@ class ModelsClient {
|
|
|
83
83
|
* configuration fields required to set it up. Pass those values in the
|
|
84
84
|
* `enrichment` block when creating or updating a model sync.
|
|
85
85
|
*
|
|
86
|
-
* @param {string} id - Unique identifier of the connection
|
|
86
|
+
* @param {string} id - Unique identifier of the connection
|
|
87
87
|
* @param {Polytomic.ModelsGetEnrichmentSourceRequest} request
|
|
88
88
|
* @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
89
89
|
*
|
|
@@ -159,10 +159,11 @@ class ModelsClient {
|
|
|
159
159
|
* valid input field sets that map your model's fields to the enrichment service's
|
|
160
160
|
* expected inputs.
|
|
161
161
|
*
|
|
162
|
-
* @param {string} connection_id
|
|
162
|
+
* @param {string} connection_id - Enrichment connection ID
|
|
163
163
|
* @param {Polytomic.EnrichmentInputFieldsRequest} request
|
|
164
164
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
165
165
|
*
|
|
166
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
166
167
|
* @throws {@link Polytomic.ForbiddenError}
|
|
167
168
|
* @throws {@link Polytomic.NotFoundError}
|
|
168
169
|
* @throws {@link Polytomic.InternalServerError}
|
|
@@ -205,6 +206,8 @@ class ModelsClient {
|
|
|
205
206
|
}
|
|
206
207
|
if (_response.error.reason === "status-code") {
|
|
207
208
|
switch (_response.error.statusCode) {
|
|
209
|
+
case 400:
|
|
210
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
208
211
|
case 403:
|
|
209
212
|
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
210
213
|
case 404:
|
|
@@ -223,12 +226,15 @@ class ModelsClient {
|
|
|
223
226
|
});
|
|
224
227
|
}
|
|
225
228
|
/**
|
|
226
|
-
*
|
|
229
|
+
* Previews the fields a model exposes without saving the model.
|
|
230
|
+
*
|
|
231
|
+
* The response contains the previewed model, including the fields it exposes.
|
|
232
|
+
* With `async=true`, the response contains a job instead; poll the job until it
|
|
233
|
+
* completes to retrieve the field list.
|
|
227
234
|
*
|
|
228
|
-
* The
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
* configuration before calling [`POST /api/models`](../../api-reference/models/create) to save it.
|
|
235
|
+
* The model is not saved, and `policies` and `labels` are ignored. Use this
|
|
236
|
+
* endpoint to validate a query or configuration before calling
|
|
237
|
+
* [`POST /api/models`](../../api-reference/models/create) to save it.
|
|
232
238
|
*
|
|
233
239
|
* @param {Polytomic.ModelsPreviewRequest} request
|
|
234
240
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -460,7 +466,7 @@ class ModelsClient {
|
|
|
460
466
|
* configured filters. To preview the data a model would return without saving
|
|
461
467
|
* changes, use [`GET /api/models/{id}/sample`](../../../api-reference/models/sample).
|
|
462
468
|
*
|
|
463
|
-
* @param {string} id
|
|
469
|
+
* @param {string} id - Model ID
|
|
464
470
|
* @param {Polytomic.ModelsGetRequest} request
|
|
465
471
|
* @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
466
472
|
*
|
|
@@ -528,7 +534,8 @@ class ModelsClient {
|
|
|
528
534
|
*
|
|
529
535
|
* Updating a model is a **full replacement** of its configuration. Every field in
|
|
530
536
|
* the request body is written to the model; any field you omit is cleared or reset
|
|
531
|
-
* to its default value.
|
|
537
|
+
* to its default value. An empty or omitted `policies` list leaves the model's
|
|
538
|
+
* current policies unchanged.
|
|
532
539
|
*
|
|
533
540
|
* To make a partial change, fetch the current model with
|
|
534
541
|
* [`GET /api/models/{id}`](../../../api-reference/models/get), modify the fields you want to change, and send
|
|
@@ -537,7 +544,7 @@ class ModelsClient {
|
|
|
537
544
|
* Changes to source fields, filters, or the identity column take effect on the
|
|
538
545
|
* next sync execution that uses this model.
|
|
539
546
|
*
|
|
540
|
-
* @param {string} id
|
|
547
|
+
* @param {string} id - Model ID
|
|
541
548
|
* @param {Polytomic.UpdateModelRequest} request
|
|
542
549
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
543
550
|
*
|
|
@@ -618,7 +625,7 @@ class ModelsClient {
|
|
|
618
625
|
* > 🚧 Deleting a model used by one or more syncs will break those syncs. Remove
|
|
619
626
|
* > or reconfigure any syncs that reference this model before deleting it.
|
|
620
627
|
*
|
|
621
|
-
* @param {string} id
|
|
628
|
+
* @param {string} id - Model ID
|
|
622
629
|
* @param {Polytomic.ModelsDeleteRequest} request
|
|
623
630
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
624
631
|
*
|
|
@@ -692,7 +699,7 @@ class ModelsClient {
|
|
|
692
699
|
* enrichment step can exceed that budget, use the asynchronous option so the
|
|
693
700
|
* work runs as a background job.
|
|
694
701
|
*
|
|
695
|
-
* @param {string} id
|
|
702
|
+
* @param {string} id - Model ID
|
|
696
703
|
* @param {Polytomic.ModelsSampleRequest} request
|
|
697
704
|
* @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
698
705
|
*
|
|
@@ -11,18 +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;
|
|
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. */
|
|
19
25
|
fields?: string[];
|
|
26
|
+
/** Source field name of the model's unique identifier */
|
|
20
27
|
identifier?: string;
|
|
28
|
+
/** Deprecated; ignored */
|
|
21
29
|
labels?: string[];
|
|
30
|
+
/** Model name */
|
|
22
31
|
name: string;
|
|
32
|
+
/** Ignored for user and organization-scoped API keys, which always act in their own organization */
|
|
23
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. */
|
|
24
35
|
policies?: string[];
|
|
36
|
+
/** Whether to refresh the enricher's fields and example values */
|
|
25
37
|
refresh?: boolean;
|
|
38
|
+
/** Joins from this model's fields to fields on other models */
|
|
26
39
|
relations?: Polytomic.ModelRelation[];
|
|
40
|
+
/** Source field names used to detect changed records */
|
|
27
41
|
tracking_columns?: string[];
|
|
28
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}
|