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
|
@@ -14,11 +14,11 @@ import type * as Polytomic from "../../../../index";
|
|
|
14
14
|
* }
|
|
15
15
|
*/
|
|
16
16
|
export interface CreateModelSyncV5Request {
|
|
17
|
-
/** Whether the sync is enabled and scheduled
|
|
17
|
+
/** Whether the sync is enabled and scheduled */
|
|
18
18
|
active?: boolean;
|
|
19
|
-
/** Passphrase for encrypting the sync data
|
|
19
|
+
/** Passphrase for encrypting the sync data */
|
|
20
20
|
encryption_passphrase?: string;
|
|
21
|
-
/** Fields to sync from source to destination
|
|
21
|
+
/** Fields to sync from source to destination */
|
|
22
22
|
fields: Polytomic.SyncField[];
|
|
23
23
|
/** Deprecated. Use 'model_filters.logic'. Combines the model filters in 'filters' only. */
|
|
24
24
|
filter_logic?: string;
|
|
@@ -28,23 +28,30 @@ export interface CreateModelSyncV5Request {
|
|
|
28
28
|
identities?: Polytomic.ModelSyncIdentities;
|
|
29
29
|
/** Deprecated. Use 'identities'. Reports and accepts the first identity mapping only. */
|
|
30
30
|
identity?: Polytomic.Identity;
|
|
31
|
+
/** How source records are written to the target */
|
|
31
32
|
mode: Polytomic.ModelsyncSyncTargetMode;
|
|
33
|
+
/** Filters narrowing the records read from the source. When either filter object is present it governs both kinds, and an absent object means that kind has no filters. */
|
|
32
34
|
model_filters?: Polytomic.ModelFilters;
|
|
35
|
+
/** Name of the model sync */
|
|
33
36
|
name: string;
|
|
34
37
|
/** Whether to use enrichment models as a source of possible changes to sync. If true, only changes to the base models will cause a record to sync. */
|
|
35
38
|
only_enrich_updates?: boolean;
|
|
36
|
-
/**
|
|
39
|
+
/** Ignored for user and organization-scoped API keys, which always act in their own organization */
|
|
37
40
|
organization_id?: string;
|
|
38
|
-
/** Target fields which are set to a fixed value for every record, rather than mapped from a model field
|
|
41
|
+
/** Target fields which are set to a fixed value for every record, rather than mapped from a model field */
|
|
39
42
|
override_fields?: Polytomic.OverrideFieldInput[];
|
|
40
|
-
/** Conditional value replacement for fields
|
|
43
|
+
/** Conditional value replacement for fields */
|
|
41
44
|
overrides?: Polytomic.Override[];
|
|
45
|
+
/** Permissions policy IDs applied to the sync. On update, a non-empty list replaces the sync's policies and an empty or omitted list leaves them unchanged. */
|
|
42
46
|
policies?: string[];
|
|
47
|
+
/** Sync schedule. Schedule times are interpreted in UTC. */
|
|
43
48
|
schedule: Polytomic.Schedule;
|
|
44
49
|
/** Whether to skip the initial backfill of records; if true only records seen after the sync is enabled will be synced. */
|
|
45
50
|
skip_initial_backfill?: boolean;
|
|
46
|
-
/** Whether to sync all records from the source, regardless of whether they've changed since the previous execution
|
|
51
|
+
/** Whether to sync all records from the source, regardless of whether they've changed since the previous execution */
|
|
47
52
|
sync_all_records?: boolean;
|
|
53
|
+
/** Sync destination configuration */
|
|
48
54
|
target: Polytomic.ModelSyncV5Target;
|
|
55
|
+
/** Filters narrowing the records written to the destination. When either filter object is present it governs both kinds, and an absent object means that kind has no filters. */
|
|
49
56
|
target_filters?: Polytomic.TargetFilters;
|
|
50
57
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* {}
|
|
4
4
|
*/
|
|
5
5
|
export interface ModelSyncGetSourceFieldsRequest {
|
|
6
|
-
/** Source configuration, matching the params used with GET /api/connections/{id}/modelsync/source, that selects the specific source to return fields for
|
|
6
|
+
/** Source configuration, matching the params used with GET /api/connections/{id}/modelsync/source, that selects the specific source to return fields for */
|
|
7
7
|
params?: Record<string, string | undefined>;
|
|
8
8
|
}
|
|
@@ -4,10 +4,12 @@ import type * as Polytomic from "../../../../index";
|
|
|
4
4
|
* {}
|
|
5
5
|
*/
|
|
6
6
|
export interface StartModelSyncRequest {
|
|
7
|
-
/** Values of the sync's identity source field naming the records to sync. A sync with more than one identity mapping requires 'source_identities' instead. */
|
|
7
|
+
/** Values of the sync's identity source field naming the records to sync. A sync with more than one identity mapping requires 'source_identities' instead. Cannot be combined with 'resync'. */
|
|
8
8
|
identities?: string[];
|
|
9
|
+
/** Whether the execution ignores change tracking and syncs every record; on a sync that skips the initial backfill, it instead restarts change tracking from the current position without syncing existing records */
|
|
9
10
|
resync?: boolean;
|
|
10
|
-
/** Records to sync, each identified by every source and value its entry lists. The sources of an entry are identity mapping sources of one model, and an entry for a sync whose identities strategy is 'and' lists all of them. Cannot be combined with 'identities'; at most 1000 entries. */
|
|
11
|
+
/** Records to sync, each identified by every source and value its entry lists. The sources of an entry are identity mapping sources of one model, and an entry for a sync whose identities strategy is 'and' lists all of them. Cannot be combined with 'identities' or 'resync'; at most 1000 entries. */
|
|
11
12
|
source_identities?: Polytomic.ModelSyncSourceIdentity[][];
|
|
13
|
+
/** Whether the execution is a test that syncs at most 5 records. Cannot be combined with 'resync'. */
|
|
12
14
|
test?: boolean;
|
|
13
15
|
}
|
|
@@ -14,11 +14,11 @@ import type * as Polytomic from "../../../../index";
|
|
|
14
14
|
* }
|
|
15
15
|
*/
|
|
16
16
|
export interface UpdateModelSyncV5Request {
|
|
17
|
-
/** Whether the sync is enabled and scheduled
|
|
17
|
+
/** Whether the sync is enabled and scheduled */
|
|
18
18
|
active?: boolean;
|
|
19
|
-
/** Passphrase for encrypting the sync data
|
|
19
|
+
/** Passphrase for encrypting the sync data */
|
|
20
20
|
encryption_passphrase?: string;
|
|
21
|
-
/** Fields to sync from source to destination
|
|
21
|
+
/** Fields to sync from source to destination */
|
|
22
22
|
fields: Polytomic.SyncField[];
|
|
23
23
|
/** Deprecated. Use 'model_filters.logic'. Combines the model filters in 'filters' only. */
|
|
24
24
|
filter_logic?: string;
|
|
@@ -28,23 +28,30 @@ export interface UpdateModelSyncV5Request {
|
|
|
28
28
|
identities?: Polytomic.ModelSyncIdentities;
|
|
29
29
|
/** Deprecated. Use 'identities'. Reports and accepts the first identity mapping only. */
|
|
30
30
|
identity?: Polytomic.Identity;
|
|
31
|
+
/** How source records are written to the target */
|
|
31
32
|
mode: Polytomic.ModelsyncSyncTargetMode;
|
|
33
|
+
/** Filters narrowing the records read from the source. When either filter object is present it governs both kinds, and an absent object means that kind has no filters. */
|
|
32
34
|
model_filters?: Polytomic.ModelFilters;
|
|
35
|
+
/** Name of the model sync */
|
|
33
36
|
name: string;
|
|
34
37
|
/** Whether to use enrichment models as a source of possible changes to sync. If true, only changes to the base models will cause a record to sync. */
|
|
35
38
|
only_enrich_updates?: boolean;
|
|
36
|
-
/**
|
|
39
|
+
/** Ignored for user and organization-scoped API keys, which always act in their own organization */
|
|
37
40
|
organization_id?: string;
|
|
38
|
-
/** Target fields which are set to a fixed value for every record, rather than mapped from a model field
|
|
41
|
+
/** Target fields which are set to a fixed value for every record, rather than mapped from a model field */
|
|
39
42
|
override_fields?: Polytomic.OverrideFieldInput[];
|
|
40
|
-
/** Conditional value replacement for fields
|
|
43
|
+
/** Conditional value replacement for fields */
|
|
41
44
|
overrides?: Polytomic.Override[];
|
|
45
|
+
/** Permissions policy IDs applied to the sync. On update, a non-empty list replaces the sync's policies and an empty or omitted list leaves them unchanged. */
|
|
42
46
|
policies?: string[];
|
|
47
|
+
/** Sync schedule. Schedule times are interpreted in UTC. */
|
|
43
48
|
schedule: Polytomic.Schedule;
|
|
44
49
|
/** Whether to skip the initial backfill of records; if true only records seen after the sync is enabled will be synced. */
|
|
45
50
|
skip_initial_backfill?: boolean;
|
|
46
|
-
/** Whether to sync all records from the source, regardless of whether they've changed since the previous execution
|
|
51
|
+
/** Whether to sync all records from the source, regardless of whether they've changed since the previous execution */
|
|
47
52
|
sync_all_records?: boolean;
|
|
53
|
+
/** Sync destination configuration */
|
|
48
54
|
target: Polytomic.ModelSyncV5Target;
|
|
55
|
+
/** Filters narrowing the records written to the destination. When either filter object is present it governs both kinds, and an absent object means that kind has no filters. */
|
|
49
56
|
target_filters?: Polytomic.TargetFilters;
|
|
50
57
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type { ActivateSyncInput } from "./ActivateSyncInput";
|
|
1
2
|
export type { CreateModelSyncV5Request } from "./CreateModelSyncV5Request";
|
|
2
3
|
export type { ModelSyncGetSourceFieldsRequest } from "./ModelSyncGetSourceFieldsRequest";
|
|
3
4
|
export type { ModelSyncGetSourceRequest } from "./ModelSyncGetSourceRequest";
|
|
@@ -15,7 +15,7 @@ export declare class ErrorHandlingClient {
|
|
|
15
15
|
/**
|
|
16
16
|
* Returns the error handling settings for a model sync.
|
|
17
17
|
*
|
|
18
|
-
* @param {string} id - Unique identifier of the model sync
|
|
18
|
+
* @param {string} id - Unique identifier of the model sync
|
|
19
19
|
* @param {ErrorHandlingClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
20
20
|
*
|
|
21
21
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -32,7 +32,7 @@ export declare class ErrorHandlingClient {
|
|
|
32
32
|
/**
|
|
33
33
|
* Updates the error handling settings for a model sync.
|
|
34
34
|
*
|
|
35
|
-
* @param {string} id - Unique identifier of the model sync
|
|
35
|
+
* @param {string} id - Unique identifier of the model sync
|
|
36
36
|
* @param {Polytomic.modelSync.UpdateSyncErrorHandlingRequest} request
|
|
37
37
|
* @param {ErrorHandlingClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
38
38
|
*
|
|
@@ -59,7 +59,7 @@ class ErrorHandlingClient {
|
|
|
59
59
|
/**
|
|
60
60
|
* Returns the error handling settings for a model sync.
|
|
61
61
|
*
|
|
62
|
-
* @param {string} id - Unique identifier of the model sync
|
|
62
|
+
* @param {string} id - Unique identifier of the model sync
|
|
63
63
|
* @param {ErrorHandlingClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -117,7 +117,7 @@ class ErrorHandlingClient {
|
|
|
117
117
|
/**
|
|
118
118
|
* Updates the error handling settings for a model sync.
|
|
119
119
|
*
|
|
120
|
-
* @param {string} id - Unique identifier of the model sync
|
|
120
|
+
* @param {string} id - Unique identifier of the model sync
|
|
121
121
|
* @param {Polytomic.modelSync.UpdateSyncErrorHandlingRequest} request
|
|
122
122
|
* @param {ErrorHandlingClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
123
123
|
*
|
|
@@ -25,7 +25,7 @@ export declare class ExecutionsClient {
|
|
|
25
25
|
* summaries — use
|
|
26
26
|
* [`GET /api/syncs/{sync_id}/executions/{id}`](../../../../api-reference/model-sync/executions/get).
|
|
27
27
|
*
|
|
28
|
-
* @param {string} sync_id
|
|
28
|
+
* @param {string} sync_id - Model sync ID
|
|
29
29
|
* @param {Polytomic.modelSync.ExecutionsListRequest} request
|
|
30
30
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
31
31
|
*
|
|
@@ -49,8 +49,8 @@ export declare class ExecutionsClient {
|
|
|
49
49
|
* [`GET /api/syncs/{sync_id}/executions/{id}/{type}`](../../../../../api-reference/model-sync/executions/get-log-urls) to retrieve
|
|
50
50
|
* signed URLs grouped by log category.
|
|
51
51
|
*
|
|
52
|
-
* @param {string} sync_id
|
|
53
|
-
* @param {string} id
|
|
52
|
+
* @param {string} sync_id - Model sync ID
|
|
53
|
+
* @param {string} id - Execution ID
|
|
54
54
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link Polytomic.NotFoundError}
|
|
@@ -66,8 +66,8 @@ export declare class ExecutionsClient {
|
|
|
66
66
|
/**
|
|
67
67
|
* Requests cancellation of a model sync execution.
|
|
68
68
|
*
|
|
69
|
-
* @param {string} sync_id
|
|
70
|
-
* @param {string} id - The ID of the execution to cancel
|
|
69
|
+
* @param {string} sync_id - Model sync ID
|
|
70
|
+
* @param {string} id - The ID of the execution to cancel
|
|
71
71
|
* @param {ExecutionsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -85,8 +85,8 @@ export declare class ExecutionsClient {
|
|
|
85
85
|
/**
|
|
86
86
|
* Fetch the latest console log entries for a sync execution. Returns the most recent 50 entries.
|
|
87
87
|
*
|
|
88
|
-
* @param {string} sync_id
|
|
89
|
-
* @param {string} id
|
|
88
|
+
* @param {string} sync_id - Model sync ID
|
|
89
|
+
* @param {string} id - Execution ID
|
|
90
90
|
* @param {Polytomic.modelSync.ExecutionsGetConsoleLogsRequest} request
|
|
91
91
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
92
92
|
*
|
|
@@ -108,8 +108,8 @@ export declare class ExecutionsClient {
|
|
|
108
108
|
/**
|
|
109
109
|
* Returns an index of the record-log types produced by this model sync execution, with the per-type endpoint to retrieve signed URLs for each type's segment files.
|
|
110
110
|
*
|
|
111
|
-
* @param {string} sync_id - Unique identifier of the model sync
|
|
112
|
-
* @param {string} id - Unique identifier of the execution whose logs are being indexed
|
|
111
|
+
* @param {string} sync_id - Unique identifier of the model sync
|
|
112
|
+
* @param {string} id - Unique identifier of the execution whose logs are being indexed
|
|
113
113
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
114
114
|
*
|
|
115
115
|
* @throws {@link Polytomic.NotFoundError}
|
|
@@ -132,9 +132,9 @@ export declare class ExecutionsClient {
|
|
|
132
132
|
* > it from this endpoint. To fetch a single file's URL directly, use
|
|
133
133
|
* > [`GET /api/syncs/{sync_id}/executions/{id}/{type}/{filename}`](../../../../../../api-reference/model-sync/executions/get-logs).
|
|
134
134
|
*
|
|
135
|
-
* @param {string} sync_id
|
|
136
|
-
* @param {string} id
|
|
137
|
-
* @param {Polytomic.ExecutionLogType} type
|
|
135
|
+
* @param {string} sync_id - Model sync ID
|
|
136
|
+
* @param {string} id - Execution ID
|
|
137
|
+
* @param {Polytomic.ExecutionLogType} type - Log category
|
|
138
138
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
139
139
|
*
|
|
140
140
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -156,10 +156,10 @@ export declare class ExecutionsClient {
|
|
|
156
156
|
* after a short period, so call this endpoint again to obtain a fresh URL if it
|
|
157
157
|
* expires before you download the file.
|
|
158
158
|
*
|
|
159
|
-
* @param {string} sync_id
|
|
160
|
-
* @param {string} id
|
|
161
|
-
* @param {Polytomic.ExecutionLogType} type
|
|
162
|
-
* @param {string} filename
|
|
159
|
+
* @param {string} sync_id - Model sync ID
|
|
160
|
+
* @param {string} id - Execution ID
|
|
161
|
+
* @param {Polytomic.ExecutionLogType} type - Log category
|
|
162
|
+
* @param {string} filename - Log file name
|
|
163
163
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
164
164
|
*
|
|
165
165
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -68,7 +68,7 @@ class ExecutionsClient {
|
|
|
68
68
|
* summaries — use
|
|
69
69
|
* [`GET /api/syncs/{sync_id}/executions/{id}`](../../../../api-reference/model-sync/executions/get).
|
|
70
70
|
*
|
|
71
|
-
* @param {string} sync_id
|
|
71
|
+
* @param {string} sync_id - Model sync ID
|
|
72
72
|
* @param {Polytomic.modelSync.ExecutionsListRequest} request
|
|
73
73
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
74
|
*
|
|
@@ -142,8 +142,8 @@ class ExecutionsClient {
|
|
|
142
142
|
* [`GET /api/syncs/{sync_id}/executions/{id}/{type}`](../../../../../api-reference/model-sync/executions/get-log-urls) to retrieve
|
|
143
143
|
* signed URLs grouped by log category.
|
|
144
144
|
*
|
|
145
|
-
* @param {string} sync_id
|
|
146
|
-
* @param {string} id
|
|
145
|
+
* @param {string} sync_id - Model sync ID
|
|
146
|
+
* @param {string} id - Execution ID
|
|
147
147
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
148
148
|
*
|
|
149
149
|
* @throws {@link Polytomic.NotFoundError}
|
|
@@ -201,8 +201,8 @@ class ExecutionsClient {
|
|
|
201
201
|
/**
|
|
202
202
|
* Requests cancellation of a model sync execution.
|
|
203
203
|
*
|
|
204
|
-
* @param {string} sync_id
|
|
205
|
-
* @param {string} id - The ID of the execution to cancel
|
|
204
|
+
* @param {string} sync_id - Model sync ID
|
|
205
|
+
* @param {string} id - The ID of the execution to cancel
|
|
206
206
|
* @param {ExecutionsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
207
207
|
*
|
|
208
208
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -267,8 +267,8 @@ class ExecutionsClient {
|
|
|
267
267
|
/**
|
|
268
268
|
* Fetch the latest console log entries for a sync execution. Returns the most recent 50 entries.
|
|
269
269
|
*
|
|
270
|
-
* @param {string} sync_id
|
|
271
|
-
* @param {string} id
|
|
270
|
+
* @param {string} sync_id - Model sync ID
|
|
271
|
+
* @param {string} id - Execution ID
|
|
272
272
|
* @param {Polytomic.modelSync.ExecutionsGetConsoleLogsRequest} request
|
|
273
273
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
274
274
|
*
|
|
@@ -345,8 +345,8 @@ class ExecutionsClient {
|
|
|
345
345
|
/**
|
|
346
346
|
* Returns an index of the record-log types produced by this model sync execution, with the per-type endpoint to retrieve signed URLs for each type's segment files.
|
|
347
347
|
*
|
|
348
|
-
* @param {string} sync_id - Unique identifier of the model sync
|
|
349
|
-
* @param {string} id - Unique identifier of the execution whose logs are being indexed
|
|
348
|
+
* @param {string} sync_id - Unique identifier of the model sync
|
|
349
|
+
* @param {string} id - Unique identifier of the execution whose logs are being indexed
|
|
350
350
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
351
351
|
*
|
|
352
352
|
* @throws {@link Polytomic.NotFoundError}
|
|
@@ -408,9 +408,9 @@ class ExecutionsClient {
|
|
|
408
408
|
* > it from this endpoint. To fetch a single file's URL directly, use
|
|
409
409
|
* > [`GET /api/syncs/{sync_id}/executions/{id}/{type}/{filename}`](../../../../../../api-reference/model-sync/executions/get-logs).
|
|
410
410
|
*
|
|
411
|
-
* @param {string} sync_id
|
|
412
|
-
* @param {string} id
|
|
413
|
-
* @param {Polytomic.ExecutionLogType} type
|
|
411
|
+
* @param {string} sync_id - Model sync ID
|
|
412
|
+
* @param {string} id - Execution ID
|
|
413
|
+
* @param {Polytomic.ExecutionLogType} type - Log category
|
|
414
414
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
415
415
|
*
|
|
416
416
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -476,10 +476,10 @@ class ExecutionsClient {
|
|
|
476
476
|
* after a short period, so call this endpoint again to obtain a fresh URL if it
|
|
477
477
|
* expires before you download the file.
|
|
478
478
|
*
|
|
479
|
-
* @param {string} sync_id
|
|
480
|
-
* @param {string} id
|
|
481
|
-
* @param {Polytomic.ExecutionLogType} type
|
|
482
|
-
* @param {string} filename
|
|
479
|
+
* @param {string} sync_id - Model sync ID
|
|
480
|
+
* @param {string} id - Execution ID
|
|
481
|
+
* @param {Polytomic.ExecutionLogType} type - Log category
|
|
482
|
+
* @param {string} filename - Log file name
|
|
483
483
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
484
484
|
*
|
|
485
485
|
* @throws {@link Polytomic.BadRequestError}
|
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
|
*
|