polytomic 25.9.1 → 25.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.js +2 -2
- package/Client.d.ts +9 -0
- package/Client.js +37 -22
- package/api/errors/ServiceUnavailableError.d.ts +6 -0
- package/api/errors/ServiceUnavailableError.js +54 -0
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.js +1 -0
- package/api/resources/bulkSync/client/Client.d.ts +7 -4
- package/api/resources/bulkSync/client/Client.js +16 -11
- package/api/resources/bulkSync/client/requests/{BulkSyncRemoveRequest.d.ts → BulkSyncDeleteRequest.d.ts} +1 -1
- package/api/resources/bulkSync/client/requests/StartBulkSyncRequest.d.ts +1 -1
- package/api/resources/bulkSync/client/requests/index.d.ts +1 -1
- package/api/resources/bulkSync/resources/errorHandling/client/Client.d.ts +47 -0
- package/api/resources/bulkSync/resources/errorHandling/client/Client.js +185 -0
- package/api/resources/bulkSync/resources/errorHandling/client/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/errorHandling/client/index.js +17 -0
- package/api/resources/bulkSync/resources/errorHandling/client/requests/UpdateBulkSyncErrorHandlingRequest.d.ts +8 -0
- package/api/resources/bulkSync/resources/errorHandling/client/requests/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/errorHandling/client/requests/index.js +2 -0
- package/api/resources/bulkSync/resources/errorHandling/exports.d.ts +2 -0
- package/api/resources/bulkSync/resources/errorHandling/exports.js +21 -0
- package/api/resources/bulkSync/resources/errorHandling/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/errorHandling/index.js +17 -0
- package/api/resources/bulkSync/resources/executions/client/Client.d.ts +23 -6
- package/api/resources/bulkSync/resources/executions/client/Client.js +79 -6
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetIngestConsoleLogsRequest.d.ts +16 -0
- package/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/index.d.ts +2 -0
- package/api/resources/bulkSync/resources/index.js +3 -1
- package/api/resources/connections/client/Client.d.ts +51 -150
- package/api/resources/connections/client/Client.js +104 -360
- package/api/resources/connections/client/requests/ConnectCardRequest.d.ts +4 -0
- package/api/resources/connections/client/requests/{ConnectionsRemoveRequest.d.ts → ConnectionsDeleteRequest.d.ts} +1 -1
- package/api/resources/connections/client/requests/index.d.ts +1 -3
- package/api/resources/connections/exports.d.ts +1 -0
- package/api/resources/connections/exports.js +1 -0
- package/api/resources/connections/index.d.ts +1 -0
- package/api/resources/connections/index.js +1 -0
- package/api/resources/connections/resources/index.d.ts +4 -0
- package/api/resources/connections/resources/index.js +43 -0
- package/api/resources/connections/resources/proxy/client/Client.d.ts +153 -0
- package/api/resources/connections/resources/proxy/client/Client.js +399 -0
- package/api/resources/connections/resources/proxy/client/index.d.ts +1 -0
- package/api/resources/connections/resources/proxy/client/index.js +17 -0
- package/api/resources/connections/{client → resources/proxy/client}/requests/ExecuteConnectionProxyRequest.d.ts +3 -1
- package/api/resources/connections/resources/proxy/client/requests/UpdateConnectionProxySettingsRequest.d.ts +10 -0
- package/api/resources/connections/resources/proxy/client/requests/index.d.ts +2 -0
- package/api/resources/connections/resources/proxy/client/requests/index.js +2 -0
- package/api/resources/connections/resources/proxy/exports.d.ts +2 -0
- package/api/resources/connections/resources/proxy/exports.js +21 -0
- package/api/resources/connections/resources/proxy/index.d.ts +1 -0
- package/api/resources/connections/resources/proxy/index.js +17 -0
- package/api/resources/connections/resources/sharedConnections/client/Client.d.ts +83 -0
- package/api/resources/connections/resources/sharedConnections/client/Client.js +267 -0
- package/api/resources/connections/resources/sharedConnections/client/index.d.ts +1 -0
- package/api/resources/connections/resources/sharedConnections/client/index.js +17 -0
- package/api/resources/connections/resources/sharedConnections/client/requests/index.d.ts +1 -0
- package/api/resources/connections/resources/sharedConnections/client/requests/index.js +2 -0
- package/api/resources/connections/resources/sharedConnections/exports.d.ts +2 -0
- package/api/resources/connections/resources/sharedConnections/exports.js +21 -0
- package/api/resources/connections/resources/sharedConnections/index.d.ts +1 -0
- package/api/resources/connections/resources/sharedConnections/index.js +17 -0
- package/api/resources/entities/client/Client.d.ts +11 -2
- package/api/resources/entities/client/Client.js +11 -2
- package/api/resources/harbors/client/Client.d.ts +786 -0
- package/api/resources/harbors/client/Client.js +2358 -0
- package/api/resources/harbors/client/index.d.ts +1 -0
- package/api/resources/harbors/client/index.js +17 -0
- package/api/resources/harbors/client/requests/CreateHarborContextDraftRequest.d.ts +17 -0
- package/api/resources/harbors/client/requests/CreateHarborContextRequest.d.ts +15 -0
- package/api/resources/harbors/client/requests/CreateHarborRequest.d.ts +19 -0
- package/api/resources/harbors/client/requests/HarborsCloseSessionRequest.d.ts +12 -0
- package/api/resources/harbors/client/requests/HarborsDeleteContextDraftRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsDeleteContextDraftRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsDeleteContextRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsDeleteContextRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsGetAuthorizedSchemaRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsGetAuthorizedSchemaRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsGetContextDraftRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsGetContextDraftRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsGetContextRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsGetContextRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsGetContextVersionRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsGetContextVersionRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListAuthorizedConnectionsRequest.d.ts +13 -0
- package/api/resources/harbors/client/requests/HarborsListAuthorizedConnectionsRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListAuthorizedSchemasRequest.d.ts +13 -0
- package/api/resources/harbors/client/requests/HarborsListAuthorizedSchemasRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListContextDraftsRequest.d.ts +13 -0
- package/api/resources/harbors/client/requests/HarborsListContextDraftsRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListContextVersionsRequest.d.ts +15 -0
- package/api/resources/harbors/client/requests/HarborsListContextVersionsRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListContextsRequest.d.ts +15 -0
- package/api/resources/harbors/client/requests/HarborsListContextsRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListKeysRequest.d.ts +13 -0
- package/api/resources/harbors/client/requests/HarborsListKeysRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListRequest.d.ts +13 -0
- package/api/resources/harbors/client/requests/HarborsListRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListUsersRequest.d.ts +13 -0
- package/api/resources/harbors/client/requests/HarborsListUsersRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsPromoteContextDraftRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsPromoteContextDraftRequest.js +3 -0
- package/api/resources/harbors/client/requests/InviteHarborUserRequest.d.ts +10 -0
- package/api/resources/harbors/client/requests/InviteHarborUserRequest.js +3 -0
- package/api/resources/harbors/client/requests/RegisterHarborSessionRequest.d.ts +17 -0
- package/api/resources/harbors/client/requests/RegisterHarborSessionRequest.js +3 -0
- package/api/resources/harbors/client/requests/ResolveHarborSourceMappingsRequest.d.ts +9 -0
- package/api/resources/harbors/client/requests/ResolveHarborSourceMappingsRequest.js +3 -0
- package/api/resources/harbors/client/requests/SaveHarborContextDraftRequest.d.ts +19 -0
- package/api/resources/harbors/client/requests/SaveHarborContextDraftRequest.js +3 -0
- package/api/resources/harbors/client/requests/SaveHarborContextRequest.d.ts +19 -0
- package/api/resources/harbors/client/requests/SaveHarborContextRequest.js +3 -0
- package/api/resources/harbors/client/requests/UpdateHarborRequest.d.ts +12 -0
- package/api/resources/harbors/client/requests/UpdateHarborRequest.js +3 -0
- package/api/resources/harbors/client/requests/index.d.ts +25 -0
- package/api/resources/harbors/client/requests/index.js +2 -0
- package/api/resources/harbors/exports.d.ts +2 -0
- package/api/resources/harbors/exports.js +21 -0
- package/api/resources/harbors/index.d.ts +1 -0
- package/api/resources/harbors/index.js +17 -0
- package/api/resources/index.d.ts +6 -0
- package/api/resources/index.js +7 -1
- 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 +13 -10
- package/api/resources/modelSync/client/Client.js +33 -15
- package/api/resources/modelSync/client/requests/{CreateSyncRequest.d.ts → CreateModelSyncV5Request.d.ts} +8 -6
- package/api/resources/modelSync/client/requests/CreateModelSyncV5Request.js +3 -0
- package/api/resources/modelSync/client/requests/{UpdateSyncRequest.d.ts → UpdateModelSyncV5Request.d.ts} +8 -6
- package/api/resources/modelSync/client/requests/UpdateModelSyncV5Request.js +3 -0
- package/api/resources/modelSync/client/requests/index.d.ts +2 -2
- package/api/resources/modelSync/resources/errorHandling/client/Client.d.ts +47 -0
- package/api/resources/modelSync/resources/errorHandling/client/Client.js +179 -0
- package/api/resources/modelSync/resources/errorHandling/client/index.d.ts +1 -0
- package/api/resources/modelSync/resources/errorHandling/client/index.js +17 -0
- package/api/resources/modelSync/resources/errorHandling/client/requests/UpdateSyncErrorHandlingRequest.d.ts +14 -0
- package/api/resources/modelSync/resources/errorHandling/client/requests/UpdateSyncErrorHandlingRequest.js +3 -0
- package/api/resources/modelSync/resources/errorHandling/client/requests/index.d.ts +1 -0
- package/api/resources/modelSync/resources/errorHandling/client/requests/index.js +2 -0
- package/api/resources/modelSync/resources/errorHandling/exports.d.ts +2 -0
- package/api/resources/modelSync/resources/errorHandling/exports.js +21 -0
- package/api/resources/modelSync/resources/errorHandling/index.d.ts +1 -0
- package/api/resources/modelSync/resources/errorHandling/index.js +17 -0
- package/api/resources/modelSync/resources/executions/client/Client.d.ts +21 -6
- package/api/resources/modelSync/resources/executions/client/Client.js +60 -6
- package/api/resources/modelSync/resources/index.d.ts +2 -0
- package/api/resources/modelSync/resources/index.js +3 -1
- package/api/resources/modelSync/resources/targets/client/Client.d.ts +40 -5
- package/api/resources/modelSync/resources/targets/client/Client.js +59 -12
- package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.d.ts +5 -3
- package/api/resources/modelSync/resources/targets/client/requests/TargetsListRequest.d.ts +10 -0
- package/api/resources/modelSync/resources/targets/client/requests/TargetsListRequest.js +3 -0
- package/api/resources/modelSync/resources/targets/client/requests/index.d.ts +1 -0
- package/api/resources/models/client/Client.d.ts +4 -4
- package/api/resources/models/client/Client.js +5 -5
- package/api/resources/models/client/requests/{ModelsRemoveRequest.d.ts → ModelsDeleteRequest.d.ts} +1 -1
- package/api/resources/models/client/requests/ModelsDeleteRequest.js +3 -0
- package/api/resources/models/client/requests/index.d.ts +1 -1
- package/api/resources/organization/client/Client.d.ts +36 -3
- package/api/resources/organization/client/Client.js +133 -4
- package/api/resources/organization/client/requests/UpdateRecordLoggingSettingsRequest.d.ts +12 -0
- package/api/resources/organization/client/requests/UpdateRecordLoggingSettingsRequest.js +3 -0
- package/api/resources/organization/client/requests/index.d.ts +1 -0
- package/api/resources/permissions/resources/policies/client/Client.d.ts +3 -3
- package/api/resources/permissions/resources/policies/client/Client.js +4 -4
- package/api/resources/permissions/resources/roles/client/Client.d.ts +3 -3
- package/api/resources/permissions/resources/roles/client/Client.js +4 -4
- package/api/resources/recordViewLinks/client/Client.d.ts +59 -0
- package/api/resources/recordViewLinks/client/Client.js +210 -0
- package/api/resources/recordViewLinks/client/index.d.ts +1 -0
- package/api/resources/recordViewLinks/client/index.js +17 -0
- package/api/resources/recordViewLinks/client/requests/CreateRecordViewLinkRequest.d.ts +25 -0
- package/api/resources/recordViewLinks/client/requests/CreateRecordViewLinkRequest.js +3 -0
- package/api/resources/recordViewLinks/client/requests/RecordViewLinksGetCapabilitiesRequest.d.ts +15 -0
- package/api/resources/recordViewLinks/client/requests/RecordViewLinksGetCapabilitiesRequest.js +3 -0
- package/api/resources/recordViewLinks/client/requests/index.d.ts +2 -0
- package/api/resources/recordViewLinks/client/requests/index.js +2 -0
- package/api/resources/recordViewLinks/exports.d.ts +2 -0
- package/api/resources/recordViewLinks/exports.js +21 -0
- package/api/resources/recordViewLinks/index.d.ts +1 -0
- package/api/resources/recordViewLinks/index.js +17 -0
- package/api/resources/schemas/client/Client.d.ts +18 -0
- package/api/resources/schemas/client/Client.js +66 -0
- package/api/resources/schemas/client/requests/PatchSchemaFieldRequest.d.ts +16 -0
- package/api/resources/schemas/client/requests/PatchSchemaFieldRequest.js +3 -0
- package/api/resources/schemas/client/requests/index.d.ts +1 -0
- package/api/resources/temporaryCredentials/client/Client.d.ts +79 -0
- package/api/resources/temporaryCredentials/client/Client.js +177 -0
- package/api/resources/temporaryCredentials/client/index.d.ts +1 -0
- package/api/resources/temporaryCredentials/client/index.js +17 -0
- package/api/resources/temporaryCredentials/client/requests/CreateTemporaryCredentialRequest.d.ts +16 -0
- package/api/resources/temporaryCredentials/client/requests/CreateTemporaryCredentialRequest.js +3 -0
- package/api/resources/temporaryCredentials/client/requests/index.d.ts +1 -0
- package/api/resources/temporaryCredentials/client/requests/index.js +2 -0
- package/api/resources/temporaryCredentials/exports.d.ts +2 -0
- package/api/resources/temporaryCredentials/exports.js +21 -0
- package/api/resources/temporaryCredentials/index.d.ts +1 -0
- package/api/resources/temporaryCredentials/index.js +17 -0
- package/api/resources/users/client/Client.d.ts +8 -8
- package/api/resources/users/client/Client.js +12 -9
- package/api/resources/webhooks/client/Client.d.ts +3 -3
- package/api/resources/webhooks/client/Client.js +4 -4
- package/api/types/BackendConnectionCapabilities.d.ts +1 -0
- package/api/types/BulkSyncErrorHandling.d.ts +4 -0
- package/api/types/BulkSyncErrorHandling.js +3 -0
- package/api/types/BulkSyncErrorHandlingEnvelope.d.ts +4 -0
- package/api/types/BulkSyncErrorHandlingEnvelope.js +3 -0
- package/api/types/BulkSyncExecution.d.ts +2 -0
- package/api/types/BulkSyncSchemaExecution.d.ts +2 -0
- package/api/types/BulkSyncSourceCapabilities.d.ts +2 -0
- package/api/types/CloseHarborSessionEnvelope.d.ts +9 -0
- package/api/types/CloseHarborSessionEnvelope.js +3 -0
- package/api/types/ConnectCardResponse.d.ts +2 -2
- package/api/types/ConnectSessionResponse.d.ts +22 -0
- package/api/types/ConnectSessionResponse.js +3 -0
- package/api/types/ConnectSessionResponseEnvelope.d.ts +4 -0
- package/api/types/ConnectSessionResponseEnvelope.js +3 -0
- package/api/types/ConnectionParameterValue.d.ts +1 -0
- package/api/types/ConnectionProxyResponse.d.ts +7 -1
- package/api/types/ConnectionProxySettingsEnvelope.d.ts +4 -0
- package/api/types/ConnectionProxySettingsEnvelope.js +3 -0
- package/api/types/ConnectionProxySettingsResponse.d.ts +12 -0
- package/api/types/ConnectionProxySettingsResponse.js +3 -0
- package/api/types/ConnectionType.d.ts +1 -0
- package/api/types/ConnectionTypeSchema.d.ts +1 -0
- package/api/types/ConnectionUsageCategoryStats.d.ts +8 -0
- package/api/types/ConnectionUsageCategoryStats.js +3 -0
- package/api/types/ConnectionUsageResponse.d.ts +11 -0
- package/api/types/ConnectionUsageResponse.js +3 -0
- package/api/types/ConnectionUsageSyncStats.d.ts +15 -0
- package/api/types/ConnectionUsageSyncStats.js +3 -0
- package/api/types/CreateHarborEnvelope.d.ts +4 -0
- package/api/types/CreateHarborEnvelope.js +3 -0
- package/api/types/CreateHarborResponse.d.ts +5 -0
- package/api/types/CreateHarborResponse.js +3 -0
- package/api/types/CreateRecordViewLinkEnvelope.d.ts +4 -0
- package/api/types/CreateRecordViewLinkEnvelope.js +3 -0
- package/api/types/CreateRecordViewLinkResponse.d.ts +10 -0
- package/api/types/CreateRecordViewLinkResponse.js +3 -0
- package/api/types/CurrentOrgListUsersEnvelope.d.ts +4 -0
- package/api/types/CurrentOrgListUsersEnvelope.js +3 -0
- package/api/types/CurrentOrgUserEnvelope.d.ts +4 -0
- package/api/types/CurrentOrgUserEnvelope.js +3 -0
- package/api/types/CurrentOrgUserResponse.d.ts +16 -0
- package/api/types/CurrentOrgUserResponse.js +3 -0
- package/api/types/DeletedHarborContextDraftEnvelope.d.ts +9 -0
- package/api/types/DeletedHarborContextDraftEnvelope.js +3 -0
- package/api/types/DeletedHarborContextEnvelope.d.ts +9 -0
- package/api/types/DeletedHarborContextEnvelope.js +3 -0
- package/api/types/DeletedHarborEnvelope.d.ts +4 -0
- package/api/types/DeletedHarborEnvelope.js +3 -0
- package/api/types/DeletedHarborResponse.d.ts +4 -0
- package/api/types/DeletedHarborResponse.js +3 -0
- package/api/types/EntityResponse.d.ts +2 -2
- package/api/types/EventingBulkSyncCompletedEvent.d.ts +2 -0
- package/api/types/EventingBulkSyncCompletedWithErrorEvent.d.ts +2 -0
- package/api/types/EventingBulkSyncFailedEvent.d.ts +2 -0
- package/api/types/EventingBulkSyncSchedule.d.ts +4 -0
- package/api/types/EventingBulkSyncSchedule.js +3 -0
- package/api/types/EventingSyncCompletedEvent.d.ts +3 -0
- package/api/types/EventingSyncSchedule.d.ts +3 -0
- package/api/types/EventingSyncSchedule.js +3 -0
- package/api/types/Filter.d.ts +3 -2
- package/api/types/GetConnectionUsageEnvelope.d.ts +4 -0
- package/api/types/GetConnectionUsageEnvelope.js +3 -0
- package/api/types/GetExecutionResponseSchema.d.ts +2 -0
- package/api/types/GetIdentityResponseSchema.d.ts +2 -0
- package/api/types/GetRecordViewCapabilitiesEnvelope.d.ts +4 -0
- package/api/types/GetRecordViewCapabilitiesEnvelope.js +3 -0
- package/api/types/HarborApiKeyCreatedResponse.d.ts +10 -0
- package/api/types/HarborApiKeyCreatedResponse.js +3 -0
- package/api/types/HarborConnectionListEnvelope.d.ts +5 -0
- package/api/types/HarborConnectionListEnvelope.js +3 -0
- package/api/types/HarborConnectionResponse.d.ts +6 -0
- package/api/types/HarborConnectionResponse.js +3 -0
- package/api/types/HarborConnectionSchemaEnvelope.d.ts +4 -0
- package/api/types/HarborConnectionSchemaEnvelope.js +3 -0
- package/api/types/HarborContextDraftEnvelope.d.ts +4 -0
- package/api/types/HarborContextDraftEnvelope.js +3 -0
- package/api/types/HarborContextDraftListEnvelope.d.ts +5 -0
- package/api/types/HarborContextDraftListEnvelope.js +3 -0
- package/api/types/HarborContextDraftMetadataResponse.d.ts +26 -0
- package/api/types/HarborContextDraftMetadataResponse.js +3 -0
- package/api/types/HarborContextDraftResponse.d.ts +28 -0
- package/api/types/HarborContextDraftResponse.js +3 -0
- package/api/types/HarborContextEnvelope.d.ts +4 -0
- package/api/types/HarborContextEnvelope.js +3 -0
- package/api/types/HarborContextListEnvelope.d.ts +5 -0
- package/api/types/HarborContextListEnvelope.js +3 -0
- package/api/types/HarborContextMetadataResponse.d.ts +16 -0
- package/api/types/HarborContextMetadataResponse.js +3 -0
- package/api/types/HarborContextResponse.d.ts +18 -0
- package/api/types/HarborContextResponse.js +3 -0
- package/api/types/HarborContextVersionEnvelope.d.ts +4 -0
- package/api/types/HarborContextVersionEnvelope.js +3 -0
- package/api/types/HarborContextVersionListEnvelope.d.ts +5 -0
- package/api/types/HarborContextVersionListEnvelope.js +3 -0
- package/api/types/HarborContextVersionMetadataResponse.d.ts +18 -0
- package/api/types/HarborContextVersionMetadataResponse.js +3 -0
- package/api/types/HarborContextVersionResponse.d.ts +20 -0
- package/api/types/HarborContextVersionResponse.js +3 -0
- package/api/types/HarborDatasetStatusResponse.d.ts +8 -0
- package/api/types/HarborDatasetStatusResponse.js +3 -0
- package/api/types/HarborEnvelope.d.ts +4 -0
- package/api/types/HarborEnvelope.js +3 -0
- package/api/types/HarborKeyEnvelope.d.ts +4 -0
- package/api/types/HarborKeyEnvelope.js +3 -0
- package/api/types/HarborKeyListEnvelope.d.ts +5 -0
- package/api/types/HarborKeyListEnvelope.js +3 -0
- package/api/types/HarborKeyResponse.d.ts +16 -0
- package/api/types/HarborKeyResponse.js +3 -0
- package/api/types/HarborListEnvelope.d.ts +5 -0
- package/api/types/HarborListEnvelope.js +3 -0
- package/api/types/HarborPipelineStatusResponse.d.ts +21 -0
- package/api/types/HarborPipelineStatusResponse.js +12 -0
- package/api/types/HarborResponse.d.ts +20 -0
- package/api/types/HarborResponse.js +3 -0
- package/api/types/HarborSchemaListEnvelope.d.ts +6 -0
- package/api/types/HarborSchemaListEnvelope.js +3 -0
- package/api/types/HarborSchemaResponse.d.ts +4 -0
- package/api/types/HarborSchemaResponse.js +3 -0
- package/api/types/HarborSourceMappingResponse.d.ts +8 -0
- package/api/types/HarborSourceMappingResponse.js +3 -0
- package/api/types/HarborSourceReference.d.ts +8 -0
- package/api/types/HarborSourceReference.js +3 -0
- package/api/types/HarborStatusEnvelope.d.ts +4 -0
- package/api/types/HarborStatusEnvelope.js +3 -0
- package/api/types/HarborStatusResponse.d.ts +7 -0
- package/api/types/HarborStatusResponse.js +3 -0
- package/api/types/HarborStatusScheduleResponse.d.ts +28 -0
- package/api/types/HarborStatusScheduleResponse.js +3 -0
- package/api/types/HarborUserEnvelope.d.ts +4 -0
- package/api/types/HarborUserEnvelope.js +3 -0
- package/api/types/HarborUserListEnvelope.d.ts +5 -0
- package/api/types/HarborUserListEnvelope.js +3 -0
- package/api/types/HarborUserResponse.d.ts +16 -0
- package/api/types/HarborUserResponse.js +3 -0
- package/api/types/IdentityCredentialApiKeyProfileSchema.d.ts +12 -0
- package/api/types/IdentityCredentialApiKeyProfileSchema.js +3 -0
- package/api/types/IdentityCredentialCapabilitiesSchema.d.ts +5 -0
- package/api/types/IdentityCredentialCapabilitiesSchema.js +3 -0
- package/api/types/IdentityCredentialConnectionCapabilitySchema.d.ts +4 -0
- package/api/types/IdentityCredentialConnectionCapabilitySchema.js +3 -0
- package/api/types/IdentityCredentialHarborSchema.d.ts +10 -0
- package/api/types/IdentityCredentialHarborSchema.js +3 -0
- package/api/types/IdentityCredentialSchema.d.ts +13 -0
- package/api/types/IdentityCredentialSchema.js +3 -0
- package/api/types/IdentityFunction.d.ts +2 -0
- package/api/types/LogsIndexEntry.d.ts +6 -0
- package/api/types/LogsIndexEntry.js +3 -0
- package/api/types/LogsIndexResponse.d.ts +9 -0
- package/api/types/LogsIndexResponse.js +3 -0
- package/api/types/LogsIndexResponseEnvelope.d.ts +4 -0
- package/api/types/LogsIndexResponseEnvelope.js +3 -0
- package/api/types/Mode.d.ts +6 -0
- package/api/types/ModelFilterCondition.d.ts +11 -0
- package/api/types/ModelFilterCondition.js +3 -0
- package/api/types/ModelFilters.d.ts +10 -0
- package/api/types/ModelFilters.js +3 -0
- package/api/types/{SyncResponse.d.ts → ModelSyncV5Response.d.ts} +7 -3
- package/api/types/ModelSyncV5Response.js +3 -0
- package/api/types/ModelSyncV5ResponseEnvelope.d.ts +4 -0
- package/api/types/ModelSyncV5ResponseEnvelope.js +3 -0
- package/api/types/{Target.d.ts → ModelSyncV5Target.d.ts} +2 -1
- package/api/types/ModelSyncV5Target.js +3 -0
- package/api/types/OverrideField.d.ts +13 -0
- package/api/types/OverrideField.js +3 -0
- package/api/types/OverrideFieldInput.d.ts +18 -0
- package/api/types/OverrideFieldInput.js +3 -0
- package/api/types/RecordLoggingSettingsEnvelope.d.ts +4 -0
- package/api/types/RecordLoggingSettingsEnvelope.js +3 -0
- package/api/types/RecordLoggingSettingsResponse.d.ts +8 -0
- package/api/types/RecordLoggingSettingsResponse.js +3 -0
- package/api/types/RecordviewCapabilities.d.ts +12 -0
- package/api/types/RecordviewCapabilities.js +3 -0
- package/api/types/RegisterHarborSessionEnvelope.d.ts +4 -0
- package/api/types/RegisterHarborSessionEnvelope.js +3 -0
- package/api/types/RegisterHarborSessionResponse.d.ts +6 -0
- package/api/types/RegisterHarborSessionResponse.js +3 -0
- package/api/types/ResolveHarborSourceMappingsEnvelope.d.ts +12 -0
- package/api/types/ResolveHarborSourceMappingsEnvelope.js +3 -0
- package/api/types/RevokedHarborKeyEnvelope.d.ts +9 -0
- package/api/types/RevokedHarborKeyEnvelope.js +3 -0
- package/api/types/SchemaField.d.ts +5 -1
- package/api/types/SchemaFieldResponseEnvelope.d.ts +4 -0
- package/api/types/SchemaFieldResponseEnvelope.js +3 -0
- package/api/types/SyncDestinationProperties.d.ts +15 -0
- package/api/types/SyncErrorHandling.d.ts +10 -0
- package/api/types/SyncErrorHandling.js +3 -0
- package/api/types/SyncErrorHandlingEnvelope.d.ts +4 -0
- package/api/types/SyncErrorHandlingEnvelope.js +3 -0
- package/api/types/SyncField.d.ts +1 -1
- package/api/types/TargetCreator.d.ts +1 -1
- package/api/types/TargetField.d.ts +15 -0
- package/api/types/TargetFilterCondition.d.ts +13 -0
- package/api/types/TargetFilterCondition.js +3 -0
- package/api/types/TargetFilters.d.ts +10 -0
- package/api/types/TargetFilters.js +3 -0
- package/api/types/TargetResponse.d.ts +5 -0
- package/api/types/TemporaryCredentialResponse.d.ts +10 -0
- package/api/types/TemporaryCredentialResponse.js +3 -0
- package/api/types/TemporaryCredentialResponseEnvelope.d.ts +4 -0
- package/api/types/TemporaryCredentialResponseEnvelope.js +3 -0
- package/api/types/TemporaryCredentialSubject.d.ts +26 -0
- package/api/types/TemporaryCredentialSubject.js +17 -0
- package/api/types/TypesDefinition.d.ts +1 -0
- package/api/types/TypesDefinition.js +3 -0
- package/api/types/UnassignedHarborUserEnvelope.d.ts +9 -0
- package/api/types/UnassignedHarborUserEnvelope.js +3 -0
- package/api/types/index.d.ts +91 -4
- package/api/types/index.js +91 -4
- package/package.json +1 -1
- package/reference.md +5057 -1352
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/SyncResponseEnvelope.d.ts +0 -4
- package/api/types/TargetCreateInput.d.ts +0 -8
- /package/api/resources/bulkSync/client/requests/{BulkSyncRemoveRequest.js → BulkSyncDeleteRequest.js} +0 -0
- /package/api/resources/{connections/client/requests/ConnectionsRemoveRequest.js → bulkSync/resources/errorHandling/client/requests/UpdateBulkSyncErrorHandlingRequest.js} +0 -0
- /package/api/resources/{connections/client/requests/ExecuteConnectionProxyRequest.js → bulkSync/resources/executions/client/requests/ExecutionsGetIngestConsoleLogsRequest.js} +0 -0
- /package/api/resources/connections/client/requests/{PartnerCreateSharedConnectionRequestSchema.js → ConnectionsDeleteRequest.js} +0 -0
- /package/api/resources/{modelSync/client/requests/CreateSyncRequest.js → connections/resources/proxy/client/requests/ExecuteConnectionProxyRequest.js} +0 -0
- /package/api/resources/{modelSync/client/requests/UpdateSyncRequest.js → connections/resources/proxy/client/requests/UpdateConnectionProxySettingsRequest.js} +0 -0
- /package/api/resources/connections/{client → resources/sharedConnections/client}/requests/PartnerCreateSharedConnectionRequestSchema.d.ts +0 -0
- /package/api/resources/{models/client/requests/ModelsRemoveRequest.js → connections/resources/sharedConnections/client/requests/PartnerCreateSharedConnectionRequestSchema.js} +0 -0
- /package/api/{types/SyncResponse.js → resources/harbors/client/requests/CreateHarborContextDraftRequest.js} +0 -0
- /package/api/{types/SyncResponseEnvelope.js → resources/harbors/client/requests/CreateHarborContextRequest.js} +0 -0
- /package/api/{types/Target.js → resources/harbors/client/requests/CreateHarborRequest.js} +0 -0
- /package/api/{types/TargetCreateInput.js → resources/harbors/client/requests/HarborsCloseSessionRequest.js} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
export interface LogsIndexResponse {
|
|
3
|
+
deletes?: Polytomic.LogsIndexEntry | undefined;
|
|
4
|
+
errors?: Polytomic.LogsIndexEntry | undefined;
|
|
5
|
+
inserts?: Polytomic.LogsIndexEntry | undefined;
|
|
6
|
+
records?: Polytomic.LogsIndexEntry | undefined;
|
|
7
|
+
updates?: Polytomic.LogsIndexEntry | undefined;
|
|
8
|
+
warnings?: Polytomic.LogsIndexEntry | undefined;
|
|
9
|
+
}
|
package/api/types/Mode.d.ts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
export interface Mode {
|
|
2
|
+
/** Description of the operations performed in this mode. */
|
|
2
3
|
description?: string | undefined;
|
|
4
|
+
/** Human-readable label for the sync mode. */
|
|
3
5
|
label?: string | undefined;
|
|
6
|
+
/** Identifier of the sync mode; use this value when configuring a sync. */
|
|
4
7
|
mode?: string | undefined;
|
|
8
|
+
/** True if this mode requires a sync identity to match records on. */
|
|
5
9
|
requires_identity?: boolean | undefined;
|
|
10
|
+
/** True if per-field sync modes (e.g. write-once vs. always-update) may be configured under this mode. */
|
|
6
11
|
supports_field_sync_mode?: boolean | undefined;
|
|
12
|
+
/** True if this mode allows target filters to constrain which destination records are touched. */
|
|
7
13
|
supports_target_filters?: boolean | undefined;
|
|
8
14
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
export interface ModelFilterCondition {
|
|
3
|
+
/** Comparison this condition applies to the field's value. */
|
|
4
|
+
function: Polytomic.FilterFunction;
|
|
5
|
+
/** Handle naming this condition in 'logic'. Labels are scoped to this object, so a model condition and a target condition may share one. Optional: label every condition in the object or none of them, and an unlabelled object is labelled by position -- A, B, C -- which is how labels are always reported back. */
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
/** Model field this condition tests, named the same way as a field mapping's source. */
|
|
8
|
+
source: Polytomic.Source;
|
|
9
|
+
/** Value the field is compared against. Omitted for functions which take no value, such as 'IsNotNull'. */
|
|
10
|
+
value?: unknown | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Filters applied to the records read from the source.
|
|
4
|
+
*/
|
|
5
|
+
export interface ModelFilters {
|
|
6
|
+
/** Conditions a source record must satisfy to be read. An empty list reads every record. */
|
|
7
|
+
conditions?: Polytomic.ModelFilterCondition[] | undefined;
|
|
8
|
+
/** Expression combining the conditions in this object by their labels; 'and', 'or', and parentheses are supported. An empty expression means every condition must be satisfied. */
|
|
9
|
+
logic?: string | undefined;
|
|
10
|
+
}
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
import type * as Polytomic from "../index";
|
|
2
|
-
export interface
|
|
2
|
+
export interface ModelSyncV5Response {
|
|
3
3
|
active?: boolean | undefined;
|
|
4
4
|
created_at?: string | undefined;
|
|
5
5
|
created_by?: Polytomic.OutputActor | undefined;
|
|
6
6
|
encryption_passphrase?: string | undefined;
|
|
7
7
|
fields?: Polytomic.SyncField[] | undefined;
|
|
8
|
+
/** Deprecated. Use 'model_filters.logic'. */
|
|
8
9
|
filter_logic?: string | undefined;
|
|
10
|
+
/** Deprecated. Use 'model_filters.conditions' and 'target_filters.conditions'. Reports the same filters, with the two kinds interleaved and told apart by 'field_type'. */
|
|
9
11
|
filters?: Polytomic.Filter[] | undefined;
|
|
10
12
|
id?: string | undefined;
|
|
11
13
|
identity?: Polytomic.Identity | undefined;
|
|
12
14
|
mode?: Polytomic.ModelsyncSyncTargetMode | undefined;
|
|
15
|
+
model_filters?: Polytomic.ModelFilters | undefined;
|
|
13
16
|
/** Model IDs used in the sync. */
|
|
14
17
|
model_ids?: string[] | undefined;
|
|
15
18
|
name?: string | undefined;
|
|
16
19
|
only_enrich_updates?: boolean | undefined;
|
|
17
20
|
organization_id?: string | undefined;
|
|
18
|
-
override_fields?: Polytomic.
|
|
21
|
+
override_fields?: Polytomic.OverrideField[] | undefined;
|
|
19
22
|
overrides?: Polytomic.Override[] | undefined;
|
|
20
23
|
policies?: string[] | undefined;
|
|
21
24
|
schedule?: Polytomic.Schedule | undefined;
|
|
22
25
|
skip_initial_backfill?: boolean | undefined;
|
|
23
26
|
sync_all_records?: boolean | undefined;
|
|
24
|
-
target?: Polytomic.
|
|
27
|
+
target?: Polytomic.ModelSyncV5Target | undefined;
|
|
28
|
+
target_filters?: Polytomic.TargetFilters | undefined;
|
|
25
29
|
updated_at?: string | undefined;
|
|
26
30
|
updated_by?: Polytomic.OutputActor | undefined;
|
|
27
31
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface ModelSyncV5Target {
|
|
2
2
|
configuration?: Record<string, unknown> | undefined;
|
|
3
3
|
connection_id: string;
|
|
4
4
|
/** Create a new target object with these properties. */
|
|
5
5
|
create?: Record<string, string> | undefined;
|
|
6
|
+
/** Deprecated. Use 'target_filters.logic', which combines the conditions it is grouped with. */
|
|
6
7
|
filter_logic?: string | undefined;
|
|
7
8
|
/** Name for a new target object. */
|
|
8
9
|
new_name?: string | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A target field which is set to a fixed value for every record; unlike a field mapping, an override field has no source field.
|
|
3
|
+
*/
|
|
4
|
+
export interface OverrideField {
|
|
5
|
+
/** New is set to true if the target field should be created by Polytomic. This is not supported by all backends. */
|
|
6
|
+
"new"?: boolean | undefined;
|
|
7
|
+
/** Value written to the target field for every record. */
|
|
8
|
+
override_value: string;
|
|
9
|
+
/** Sync mode for the field; defaults to 'updateOrCreate'. If set to 'create', the field will not be synced if it already has a value. This is not supported by all backends. */
|
|
10
|
+
sync_mode?: string | undefined;
|
|
11
|
+
/** Target field ID the value will be written to. */
|
|
12
|
+
target: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* A target field which is set to a fixed value for every record; unlike a field mapping, an override field has no source field. The field mapping properties are accepted for backwards compatibility.
|
|
4
|
+
*/
|
|
5
|
+
export interface OverrideFieldInput {
|
|
6
|
+
/** Deprecated. Encryption is ignored for override fields. */
|
|
7
|
+
encryption_enabled?: boolean | undefined;
|
|
8
|
+
/** New is set to true if the target field should be created by Polytomic. This is not supported by all backends. */
|
|
9
|
+
"new"?: boolean | undefined;
|
|
10
|
+
/** Value written to the target field for every record; required unless a source is provided. */
|
|
11
|
+
override_value?: string | undefined;
|
|
12
|
+
/** Deprecated. Override fields have no source; entries which name one are stored as a field mapping instead. Use 'fields' to map a source field. */
|
|
13
|
+
source?: Polytomic.Source | undefined;
|
|
14
|
+
/** Sync mode for the field; defaults to 'updateOrCreate'. If set to 'create', the field will not be synced if it already has a value. This is not supported by all backends. */
|
|
15
|
+
sync_mode?: string | undefined;
|
|
16
|
+
/** Target field ID the value will be written to. */
|
|
17
|
+
target: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface RecordLoggingSettingsResponse {
|
|
2
|
+
/** Blobstorage connection receiving record log deliveries, if one is configured. */
|
|
3
|
+
deliveryConnectionId?: string | undefined;
|
|
4
|
+
/** Name of the destination connection, for display. Omitted when no destination is configured or the connection has been deleted. */
|
|
5
|
+
deliveryConnectionName?: string | undefined;
|
|
6
|
+
/** True when record logging is enabled for the organization. */
|
|
7
|
+
enabled?: boolean | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface RecordviewCapabilities {
|
|
2
|
+
connection_id?: string | undefined;
|
|
3
|
+
default_field_policy?: string | undefined;
|
|
4
|
+
default_ttl_seconds?: number | undefined;
|
|
5
|
+
lookup_key_field?: string | undefined;
|
|
6
|
+
max_ttl_seconds?: number | undefined;
|
|
7
|
+
reason?: string | undefined;
|
|
8
|
+
schema_id?: string | undefined;
|
|
9
|
+
supported?: boolean | undefined;
|
|
10
|
+
supports_live_refresh?: boolean | undefined;
|
|
11
|
+
supports_snapshot?: boolean | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
export interface ResolveHarborSourceMappingsEnvelope {
|
|
3
|
+
data?: ResolveHarborSourceMappingsEnvelope.Data | undefined;
|
|
4
|
+
}
|
|
5
|
+
export declare namespace ResolveHarborSourceMappingsEnvelope {
|
|
6
|
+
interface Data {
|
|
7
|
+
/** Connection the resolved names belong to. */
|
|
8
|
+
backing_connection_id?: string | undefined;
|
|
9
|
+
/** One result per requested source table, in request order. */
|
|
10
|
+
sources?: Polytomic.HarborSourceMappingResponse[] | undefined;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -2,12 +2,16 @@ import type * as Polytomic from "../index";
|
|
|
2
2
|
export interface SchemaField {
|
|
3
3
|
association?: Polytomic.SchemaAssociation | undefined;
|
|
4
4
|
id?: string | undefined;
|
|
5
|
-
/** Whether this field is part of the schema's primary key. */
|
|
5
|
+
/** Whether this field is part of the schema's primary key, including any user override. */
|
|
6
6
|
is_primary_key?: boolean | undefined;
|
|
7
7
|
name?: string | undefined;
|
|
8
|
+
/** JSONPath used to extract the field from each source record; only meaningful for document-style backends. */
|
|
9
|
+
path?: string | undefined;
|
|
8
10
|
/** The type of the field from the remote system. */
|
|
9
11
|
remote_type?: string | undefined;
|
|
10
12
|
type?: Polytomic.UtilFieldType | undefined;
|
|
11
13
|
type_spec?: Polytomic.TypesType | undefined;
|
|
14
|
+
/** True when the field's effective definition came from a user override. */
|
|
15
|
+
user_managed?: boolean | undefined;
|
|
12
16
|
values?: Polytomic.PickValue[] | undefined;
|
|
13
17
|
}
|
|
@@ -1,15 +1,30 @@
|
|
|
1
1
|
export interface SyncDestinationProperties {
|
|
2
|
+
/** True if execution reports for this destination will not break record counts out by operation (insert vs. update); typical for upsert-only destinations. */
|
|
2
3
|
does_not_report_operation_counts?: boolean | undefined;
|
|
4
|
+
/** True if a sync may be configured with only a target identity and no field mappings. */
|
|
3
5
|
mappings_not_required?: boolean | undefined;
|
|
6
|
+
/** Label to display when prompting for the name of a newly-created target (e.g. "Audience name", "Table name"). */
|
|
4
7
|
new_target_label?: string | undefined;
|
|
8
|
+
/** True if a sync may pick source fields without mapping each one to a specific target field (used by webhooks and target creators). */
|
|
5
9
|
optional_target_mappings?: boolean | undefined;
|
|
10
|
+
/** For destinations with multiple metadata dictionaries, identifies which dictionary new custom properties should be added to. */
|
|
6
11
|
primary_metadata_object?: string | undefined;
|
|
12
|
+
/** True if the destination requires target-level configuration before a sync can run. */
|
|
7
13
|
requires_configuration?: boolean | undefined;
|
|
14
|
+
/** True if a sync may create new fields on this target as part of mapping. */
|
|
8
15
|
supports_field_creation?: boolean | undefined;
|
|
16
|
+
/** True if the destination supports field-level encryption. */
|
|
9
17
|
supports_field_encryption?: boolean | undefined;
|
|
18
|
+
/** True if the type of a newly-created field can be chosen at sync configuration time. */
|
|
10
19
|
supports_field_type_selection?: boolean | undefined;
|
|
20
|
+
/** True if a target filter on this destination may compare against a model field's value, resolved separately for each record, rather than against a literal value. */
|
|
21
|
+
supports_filter_value_fields?: boolean | undefined;
|
|
22
|
+
/** True if a sync may create a new field on this target to use as the sync identity. */
|
|
11
23
|
supports_identity_field_creation?: boolean | undefined;
|
|
24
|
+
/** True if target filters are supported on this destination; the chosen sync mode may further constrain availability. */
|
|
12
25
|
supports_target_filters?: boolean | undefined;
|
|
26
|
+
/** True if writing to this target will create a new object in the destination system rather than write to an existing one. */
|
|
13
27
|
target_creator?: boolean | undefined;
|
|
28
|
+
/** True if field IDs (rather than display names) should be used when labeling records in previews and logs. */
|
|
14
29
|
use_field_names_as_labels?: boolean | undefined;
|
|
15
30
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface SyncErrorHandling {
|
|
2
|
+
/** Whether records that fail are automatically retried on the next run. */
|
|
3
|
+
auto_retry_record_errors?: boolean | undefined;
|
|
4
|
+
/** Whether subscribers are notified when individual records fail, in addition to whole-sync failures. */
|
|
5
|
+
notify_on_record_errors?: boolean | undefined;
|
|
6
|
+
/** Email addresses notified when this sync fails. */
|
|
7
|
+
subscribers?: string[] | undefined;
|
|
8
|
+
/** Whether subscribers are notified when the sync completes with warnings. */
|
|
9
|
+
warning_notifications?: boolean | undefined;
|
|
10
|
+
}
|
package/api/types/SyncField.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export interface SyncField {
|
|
|
4
4
|
encryption_enabled?: boolean | undefined;
|
|
5
5
|
/** New is set to true if the target field should be created by Polytomic. This is not supported by all backends. */
|
|
6
6
|
"new"?: boolean | undefined;
|
|
7
|
-
/** Value to set in the target field;
|
|
7
|
+
/** Value to set in the target field; a mapping with an override value and no source is stored as an override field. */
|
|
8
8
|
override_value?: string | undefined;
|
|
9
9
|
source?: Polytomic.Source | undefined;
|
|
10
10
|
/** Sync mode for the field; defaults to 'updateOrCreate'. If set to 'create', the field will not be synced if it already has a value. This is not supported by all backends. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as Polytomic from "../index";
|
|
2
2
|
export interface TargetCreator {
|
|
3
3
|
/** The properties that are required for target creation. */
|
|
4
|
-
properties?: Polytomic.
|
|
4
|
+
properties?: Polytomic.TargetPropertyValues[] | undefined;
|
|
5
5
|
/** True if the connection supports target creation. */
|
|
6
6
|
supported?: boolean | undefined;
|
|
7
7
|
}
|
|
@@ -1,16 +1,31 @@
|
|
|
1
1
|
import type * as Polytomic from "../index";
|
|
2
2
|
export interface TargetField {
|
|
3
|
+
/** True if this field is an association (foreign key) to another object rather than a value column. */
|
|
3
4
|
association?: boolean | undefined;
|
|
5
|
+
/** True if this field can be written when creating a new record. */
|
|
4
6
|
createable?: boolean | undefined;
|
|
7
|
+
/** Description of the field, when the backend provides one. */
|
|
5
8
|
description?: string | undefined;
|
|
9
|
+
/** True if this field supports field-level encryption. */
|
|
6
10
|
encryptable?: boolean | undefined;
|
|
11
|
+
/** True if this field can be used in a target filter. */
|
|
7
12
|
filterable?: boolean | undefined;
|
|
13
|
+
/** Backend-specific identifier of the field; use this value when configuring field mappings. */
|
|
8
14
|
id?: string | undefined;
|
|
15
|
+
/** Identity match functions supported when this field is used as the sync identity (e.g. exact match, hashed match). */
|
|
9
16
|
identity_functions?: Polytomic.IdentityFunction[] | undefined;
|
|
17
|
+
/** True if this association field holds a set of references rather than one; every value mapped to it is a member of the set. False for a field that is not an association, and for one whose destination has not declared how many references the relationship holds. */
|
|
18
|
+
multiple_associations?: boolean | undefined;
|
|
19
|
+
/** Human-readable name of the field. */
|
|
10
20
|
name?: string | undefined;
|
|
21
|
+
/** True if a model sync must map a value to this field for records to be accepted. */
|
|
11
22
|
required?: boolean | undefined;
|
|
23
|
+
/** Native type reported by the destination system. */
|
|
12
24
|
source_type?: string | undefined;
|
|
25
|
+
/** True if this field may be used as the identity (match key) for syncs that require one. */
|
|
13
26
|
supports_identity?: boolean | undefined;
|
|
27
|
+
/** Polytomic-normalized type used when mapping values to this field. */
|
|
14
28
|
type?: string | undefined;
|
|
29
|
+
/** True if this field can be written when updating an existing record. */
|
|
15
30
|
updateable?: boolean | undefined;
|
|
16
31
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
export interface TargetFilterCondition {
|
|
3
|
+
/** Destination field this condition tests, identified the same way as a field mapping's target. */
|
|
4
|
+
field: string;
|
|
5
|
+
/** Comparison this condition applies to the field's value. */
|
|
6
|
+
function: Polytomic.FilterFunction;
|
|
7
|
+
/** Handle naming this condition in 'logic'. Labels are scoped to this object, so a model condition and a target condition may share one. Optional: label every condition in the object or none of them, and an unlabelled object is labelled by position -- A, B, C -- which is how labels are always reported back. */
|
|
8
|
+
label?: string | undefined;
|
|
9
|
+
/** Value the field is compared against. Omitted for functions which take no value, such as 'IsNotNull'. */
|
|
10
|
+
value?: unknown | undefined;
|
|
11
|
+
/** Model field whose value the destination field is compared against, resolved separately for every record, named the way a model condition names its source. Mutually exclusive with 'value', and accepted only by destinations whose mode reports 'supports_filter_value_fields'. */
|
|
12
|
+
value_source?: Polytomic.Source | undefined;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Filters applied to the destination records the sync has matched. Only some destinations and sync modes support them; 'supports_target_filters' on the mode returned by GET /api/connections/{id}/modelsync/target/fields says which.
|
|
4
|
+
*/
|
|
5
|
+
export interface TargetFilters {
|
|
6
|
+
/** Conditions a destination record must satisfy to be written. An empty list writes every matched record. */
|
|
7
|
+
conditions?: Polytomic.TargetFilterCondition[] | undefined;
|
|
8
|
+
/** Expression combining the conditions in this object by their labels; 'and', 'or', and parentheses are supported. An empty expression means every condition must be satisfied. */
|
|
9
|
+
logic?: string | undefined;
|
|
10
|
+
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import type * as Polytomic from "../index";
|
|
2
2
|
export interface TargetResponse {
|
|
3
|
+
/** Fields available for mapping on this target. Empty for backends where the new target's columns are user-defined (e.g. SQL databases). */
|
|
3
4
|
fields?: Polytomic.TargetField[] | undefined;
|
|
5
|
+
/** Backend-specific identifier of the target object. For not-yet-created targets, this is an internal placeholder identifier that callers should not rely on. */
|
|
4
6
|
id?: string | undefined;
|
|
7
|
+
/** Sync modes the target supports (e.g. create, update, upsert). The chosen mode determines which operations the sync may perform. */
|
|
5
8
|
modes?: Polytomic.Mode[] | undefined;
|
|
9
|
+
/** Human-readable name of the target object. */
|
|
6
10
|
name?: string | undefined;
|
|
7
11
|
properties?: Polytomic.SyncDestinationProperties | undefined;
|
|
12
|
+
/** Timestamp the target's cached schema was last refreshed. Zero for targets that do not have a cached schema (including not-yet-created targets). */
|
|
8
13
|
refreshed_at?: string | undefined;
|
|
9
14
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface TemporaryCredentialResponse {
|
|
2
|
+
/** Temporary credential secret. This value is returned only once; store it securely. */
|
|
3
|
+
access_token?: string | undefined;
|
|
4
|
+
/** Timestamp after which the credential is rejected. */
|
|
5
|
+
expires_at?: string | undefined;
|
|
6
|
+
/** Temporary credential identifier used for usage attribution. */
|
|
7
|
+
id?: string | undefined;
|
|
8
|
+
/** Authorization scheme for the access token. Always Bearer. */
|
|
9
|
+
token_type?: string | undefined;
|
|
10
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface TemporaryCredentialSubject {
|
|
2
|
+
/** Authority mode for a user credential. Defaults to user. Profile subjects do not accept this field. */
|
|
3
|
+
mode?: TemporaryCredentialSubject.Mode | undefined;
|
|
4
|
+
/** Target organization for broker-issued credentials. Omit when the caller's organization determines the target. */
|
|
5
|
+
organization_id?: string | undefined;
|
|
6
|
+
/** Target Agent Data profile for a profile credential. */
|
|
7
|
+
profile_id?: string | undefined;
|
|
8
|
+
/** Authority subject type. Use user for current user authority or profile for an Agent Data profile. */
|
|
9
|
+
type: TemporaryCredentialSubject.Type;
|
|
10
|
+
/** Target user for broker-issued user credentials. Omit for user self-issuance. */
|
|
11
|
+
user_id?: string | undefined;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace TemporaryCredentialSubject {
|
|
14
|
+
/** Authority mode for a user credential. Defaults to user. Profile subjects do not accept this field. */
|
|
15
|
+
const Mode: {
|
|
16
|
+
readonly User: "user";
|
|
17
|
+
readonly ReadOnly: "read_only";
|
|
18
|
+
};
|
|
19
|
+
type Mode = (typeof Mode)[keyof typeof Mode];
|
|
20
|
+
/** Authority subject type. Use user for current user authority or profile for an Agent Data profile. */
|
|
21
|
+
const Type: {
|
|
22
|
+
readonly User: "user";
|
|
23
|
+
readonly Profile: "profile";
|
|
24
|
+
};
|
|
25
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
26
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TemporaryCredentialSubject = void 0;
|
|
5
|
+
var TemporaryCredentialSubject;
|
|
6
|
+
(function (TemporaryCredentialSubject) {
|
|
7
|
+
/** Authority mode for a user credential. Defaults to user. Profile subjects do not accept this field. */
|
|
8
|
+
TemporaryCredentialSubject.Mode = {
|
|
9
|
+
User: "user",
|
|
10
|
+
ReadOnly: "read_only",
|
|
11
|
+
};
|
|
12
|
+
/** Authority subject type. Use user for current user authority or profile for an Agent Data profile. */
|
|
13
|
+
TemporaryCredentialSubject.Type = {
|
|
14
|
+
User: "user",
|
|
15
|
+
Profile: "profile",
|
|
16
|
+
};
|
|
17
|
+
})(TemporaryCredentialSubject || (exports.TemporaryCredentialSubject = TemporaryCredentialSubject = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TypesDefinition = Record<string, unknown>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface UnassignedHarborUserEnvelope {
|
|
2
|
+
data?: UnassignedHarborUserEnvelope.Data | undefined;
|
|
3
|
+
}
|
|
4
|
+
export declare namespace UnassignedHarborUserEnvelope {
|
|
5
|
+
interface Data {
|
|
6
|
+
/** Unique identifier of the unassigned user. */
|
|
7
|
+
id?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
}
|