polytomic 25.9.2 → 25.9.4
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.d.ts +15 -0
- package/BaseClient.js +17 -2
- package/Client.d.ts +9 -0
- package/Client.js +37 -22
- package/api/errors/BadGatewayError.d.ts +1 -0
- package/api/errors/BadGatewayError.js +1 -1
- package/api/errors/BadRequestError.d.ts +1 -0
- package/api/errors/BadRequestError.js +1 -1
- package/api/errors/ConflictError.d.ts +1 -0
- package/api/errors/ConflictError.js +1 -1
- package/api/errors/ForbiddenError.d.ts +1 -0
- package/api/errors/ForbiddenError.js +1 -1
- package/api/errors/GatewayTimeoutError.d.ts +1 -0
- package/api/errors/GatewayTimeoutError.js +1 -1
- package/api/errors/InternalServerError.d.ts +1 -0
- package/api/errors/InternalServerError.js +1 -1
- package/api/errors/NotFoundError.d.ts +1 -0
- package/api/errors/NotFoundError.js +1 -1
- package/api/errors/RequestTimeoutError.d.ts +1 -0
- package/api/errors/RequestTimeoutError.js +1 -1
- package/api/errors/ServiceUnavailableError.d.ts +7 -0
- package/api/errors/ServiceUnavailableError.js +54 -0
- package/api/errors/TooManyRequestsError.d.ts +1 -0
- package/api/errors/TooManyRequestsError.js +1 -1
- package/api/errors/UnauthorizedError.d.ts +1 -0
- package/api/errors/UnauthorizedError.js +1 -1
- package/api/errors/UnprocessableEntityError.d.ts +1 -0
- package/api/errors/UnprocessableEntityError.js +1 -1
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.js +1 -0
- package/api/resources/bulkSync/client/Client.d.ts +25 -0
- package/api/resources/bulkSync/client/Client.js +38 -10
- package/api/resources/bulkSync/client/requests/StartBulkSyncRequest.d.ts +1 -1
- package/api/resources/bulkSync/resources/errorHandling/client/Client.d.ts +51 -0
- package/api/resources/bulkSync/resources/errorHandling/client/Client.js +190 -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 +41 -2
- package/api/resources/bulkSync/resources/executions/client/Client.js +97 -2
- 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/bulkSync/resources/schedules/client/Client.d.ts +10 -0
- package/api/resources/bulkSync/resources/schedules/client/Client.js +13 -2
- package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +10 -0
- package/api/resources/bulkSync/resources/schemas/client/Client.js +13 -2
- package/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.d.ts +1 -1
- package/api/resources/connections/client/Client.d.ts +73 -136
- package/api/resources/connections/client/Client.js +131 -350
- package/api/resources/connections/client/requests/ConnectCardRequest.d.ts +4 -0
- package/api/resources/connections/client/requests/index.d.ts +0 -2
- 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 +161 -0
- package/api/resources/connections/resources/proxy/client/Client.js +408 -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 +89 -0
- package/api/resources/connections/resources/sharedConnections/client/Client.js +274 -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 +15 -2
- package/api/resources/entities/client/Client.js +15 -2
- package/api/resources/events/client/Client.d.ts +5 -0
- package/api/resources/events/client/Client.js +5 -0
- package/api/resources/harbors/client/Client.d.ts +789 -0
- package/api/resources/harbors/client/Client.js +2362 -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/HarborsCloseSessionRequest.js +3 -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/identity/client/Client.d.ts +2 -0
- package/api/resources/identity/client/Client.js +2 -0
- package/api/resources/index.d.ts +6 -0
- package/api/resources/index.js +7 -1
- package/api/resources/jobs/client/Client.d.ts +3 -1
- package/api/resources/jobs/client/Client.js +3 -1
- package/api/resources/modelSync/client/Client.d.ts +34 -5
- package/api/resources/modelSync/client/Client.js +58 -13
- 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/ModelSyncGetSourceFieldsRequest.d.ts +1 -1
- package/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.d.ts +1 -1
- 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 +51 -0
- package/api/resources/modelSync/resources/errorHandling/client/Client.js +184 -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 +35 -4
- package/api/resources/modelSync/resources/executions/client/Client.js +74 -4
- 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 +46 -5
- package/api/resources/modelSync/resources/targets/client/Client.js +65 -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 +18 -0
- package/api/resources/models/client/Client.js +23 -4
- package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +1 -1
- package/api/resources/notifications/client/Client.d.ts +4 -0
- package/api/resources/notifications/client/Client.js +6 -1
- package/api/resources/organization/client/Client.d.ts +49 -0
- package/api/resources/organization/client/Client.js +148 -2
- 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 +10 -0
- package/api/resources/permissions/resources/policies/client/Client.js +13 -2
- package/api/resources/permissions/resources/roles/client/Client.d.ts +10 -0
- package/api/resources/permissions/resources/roles/client/Client.js +13 -2
- package/api/resources/queryRunner/client/Client.d.ts +4 -0
- package/api/resources/queryRunner/client/Client.js +6 -1
- package/api/resources/recordViewLinks/client/Client.d.ts +59 -0
- package/api/resources/recordViewLinks/client/Client.js +211 -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 +36 -0
- package/api/resources/schemas/client/Client.js +87 -2
- 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 +178 -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 +24 -2
- package/api/resources/users/client/Client.js +31 -5
- package/api/resources/webhooks/client/Client.d.ts +14 -0
- package/api/resources/webhooks/client/Client.js +17 -2
- 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/ConnectionParameterValuesResponseEnvelope.d.ts +1 -1
- package/api/types/ConnectionProxyResponse.d.ts +8 -2
- 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/SyncSourceMetaResponse.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/core/auth/AuthProvider.d.ts +1 -0
- package/core/auth/AuthProvider.js +7 -0
- package/core/auth/index.d.ts +1 -1
- package/core/auth/index.js +3 -1
- package/core/fetcher/Fetcher.js +9 -92
- package/core/fetcher/getResponseBody.js +11 -0
- package/core/fetcher/makePassthroughRequest.js +26 -4
- package/core/fetcher/redactUrl.d.ts +2 -0
- package/core/fetcher/redactUrl.js +88 -0
- package/core/fetcher/requestWithRetries.js +4 -1
- package/core/fetcher/signals.js +9 -1
- package/core/requestBody.d.ts +12 -0
- package/core/requestBody.js +26 -0
- package/core/runtime/index.d.ts +1 -1
- package/core/runtime/index.js +2 -1
- package/core/runtime/runtime.d.ts +19 -0
- package/core/runtime/runtime.js +74 -2
- package/core/url/qs.js +2 -2
- package/errors/PolytomicError.d.ts +1 -0
- package/errors/PolytomicError.js +5 -1
- package/errors/PolytomicTimeoutError.d.ts +2 -2
- package/errors/PolytomicTimeoutError.js +40 -6
- package/package.json +2 -2
- package/reference.md +5034 -1329
- 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/{connections/client/requests/ExecuteConnectionProxyRequest.js → bulkSync/resources/errorHandling/client/requests/UpdateBulkSyncErrorHandlingRequest.js} +0 -0
- /package/api/resources/{connections/client/requests/PartnerCreateSharedConnectionRequestSchema.js → bulkSync/resources/executions/client/requests/ExecutionsGetIngestConsoleLogsRequest.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/{types/SyncResponse.js → resources/connections/resources/sharedConnections/client/requests/PartnerCreateSharedConnectionRequestSchema.js} +0 -0
- /package/api/{types/SyncResponseEnvelope.js → resources/harbors/client/requests/CreateHarborContextDraftRequest.js} +0 -0
- /package/api/{types/Target.js → resources/harbors/client/requests/CreateHarborContextRequest.js} +0 -0
- /package/api/{types/TargetCreateInput.js → resources/harbors/client/requests/CreateHarborRequest.js} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface HarborKeyResponse {
|
|
2
|
+
/** Recorded API calls made with this credential in the last 24 hours. */
|
|
3
|
+
calls_last_24_hours?: number | undefined;
|
|
4
|
+
/** OAuth client that issued this credential, when applicable. */
|
|
5
|
+
client_name?: string | undefined;
|
|
6
|
+
/** When the credential was created. */
|
|
7
|
+
created_at?: string | undefined;
|
|
8
|
+
/** When the credential expires. Omitted for durable credentials. */
|
|
9
|
+
expires_at?: string | undefined;
|
|
10
|
+
/** Unique identifier of the credential. */
|
|
11
|
+
id?: string | undefined;
|
|
12
|
+
/** Masked credential hint. Never contains the plaintext credential. */
|
|
13
|
+
key_hint?: string | undefined;
|
|
14
|
+
/** Credential authorization mode. */
|
|
15
|
+
mode?: string | undefined;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
export interface HarborPipelineStatusResponse {
|
|
3
|
+
/** Dataset refresh evidence keyed by the effective destination name visible to Harbor queries. */
|
|
4
|
+
datasets?: Record<string, Polytomic.HarborDatasetStatusResponse | undefined> | undefined;
|
|
5
|
+
/** Unique identifier of the Polytomic pipeline. */
|
|
6
|
+
id: string;
|
|
7
|
+
/** Whether this pipeline is enabled. */
|
|
8
|
+
refresh_enabled: boolean;
|
|
9
|
+
/** Exact Polytomic schedules that can select datasets in this pipeline. */
|
|
10
|
+
schedules: Polytomic.HarborStatusScheduleResponse[];
|
|
11
|
+
/** Type of Polytomic pipeline. */
|
|
12
|
+
type: HarborPipelineStatusResponse.Type;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace HarborPipelineStatusResponse {
|
|
15
|
+
/** Type of Polytomic pipeline. */
|
|
16
|
+
const Type: {
|
|
17
|
+
readonly Bulk: "bulk";
|
|
18
|
+
readonly Model: "model";
|
|
19
|
+
};
|
|
20
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.HarborPipelineStatusResponse = void 0;
|
|
5
|
+
var HarborPipelineStatusResponse;
|
|
6
|
+
(function (HarborPipelineStatusResponse) {
|
|
7
|
+
/** Type of Polytomic pipeline. */
|
|
8
|
+
HarborPipelineStatusResponse.Type = {
|
|
9
|
+
Bulk: "bulk",
|
|
10
|
+
Model: "model",
|
|
11
|
+
};
|
|
12
|
+
})(HarborPipelineStatusResponse || (exports.HarborPipelineStatusResponse = HarborPipelineStatusResponse = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface HarborResponse {
|
|
2
|
+
/** Connection that provides the Harbor's queryable data store. */
|
|
3
|
+
backing_connection_id?: string | undefined;
|
|
4
|
+
/** How the Harbor's queryable data store is provided. */
|
|
5
|
+
backing_mode?: string | undefined;
|
|
6
|
+
/** When the Harbor was created. */
|
|
7
|
+
created_at?: string | undefined;
|
|
8
|
+
/** Short description of the Harbor. */
|
|
9
|
+
description?: string | undefined;
|
|
10
|
+
/** Unique identifier of the Harbor. */
|
|
11
|
+
id?: string | undefined;
|
|
12
|
+
/** MCP server URL for the Harbor. */
|
|
13
|
+
mcp_server_url?: string | undefined;
|
|
14
|
+
/** Human-readable Harbor name. */
|
|
15
|
+
name?: string | undefined;
|
|
16
|
+
/** Organization that owns the Harbor. */
|
|
17
|
+
organization_id?: string | undefined;
|
|
18
|
+
/** When the Harbor was last updated. */
|
|
19
|
+
updated_at?: string | undefined;
|
|
20
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface HarborSourceMappingResponse {
|
|
2
|
+
/** Qualified table name in the Harbor's backing Connection. Empty unless status is resolved. */
|
|
3
|
+
destination_schema_id?: string | undefined;
|
|
4
|
+
/** Requested source field identifiers mapped to their destination names. A requested field that was not materialized is absent. */
|
|
5
|
+
fields?: Record<string, string | undefined> | undefined;
|
|
6
|
+
/** resolved when exactly one completed materialization was found, unresolved when none was, ambiguous when more than one was. */
|
|
7
|
+
status?: string | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface HarborSourceReference {
|
|
2
|
+
/** Source Connection the documented table belongs to. */
|
|
3
|
+
connection_id: string;
|
|
4
|
+
/** Source field identifiers to translate. Fields not listed are not returned. */
|
|
5
|
+
fields?: string[] | undefined;
|
|
6
|
+
/** Source schema identifier, exactly as source schema discovery reports it. */
|
|
7
|
+
schema_id: string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
export interface HarborStatusResponse {
|
|
3
|
+
/** UTC time at which Polytomic assembled this status snapshot. */
|
|
4
|
+
as_of: string;
|
|
5
|
+
/** Polytomic pipelines that populate datasets in the Harbor backing Connection. Unmanaged tables are excluded. */
|
|
6
|
+
pipelines?: Polytomic.HarborPipelineStatusResponse[] | undefined;
|
|
7
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
export interface HarborStatusScheduleResponse {
|
|
3
|
+
/** External schedule Connection ID, when configured. */
|
|
4
|
+
connection_id?: string | undefined;
|
|
5
|
+
/** Raw day-of-month schedule expression for an advanced schedule, when configured. */
|
|
6
|
+
day_of_month?: string | undefined;
|
|
7
|
+
/** Raw day-of-week schedule expression, when configured. */
|
|
8
|
+
day_of_week?: string | undefined;
|
|
9
|
+
frequency: Polytomic.ScheduleFrequency;
|
|
10
|
+
/** Raw hour schedule expression, when configured. */
|
|
11
|
+
hour?: string | undefined;
|
|
12
|
+
/** Whether this is the bulk sync's default schedule. */
|
|
13
|
+
is_default?: boolean | undefined;
|
|
14
|
+
/** External job ID for an event-driven model sync schedule, when configured. */
|
|
15
|
+
job_id?: number | undefined;
|
|
16
|
+
/** Raw minute schedule expression, when configured. */
|
|
17
|
+
minute?: string | undefined;
|
|
18
|
+
/** Raw month schedule expression for an advanced schedule, when configured. */
|
|
19
|
+
month?: string | undefined;
|
|
20
|
+
/** Next scheduled run time in UTC. Continuous schedules use persisted scheduler state. Omitted for disabled, manual, event-driven, otherwise non-cron, or unavailable scheduler state. */
|
|
21
|
+
next_run_at?: string | undefined;
|
|
22
|
+
/** Whether a run-after model schedule requires the upstream execution to succeed. */
|
|
23
|
+
run_after_success_only?: boolean | undefined;
|
|
24
|
+
/** Source schema IDs explicitly selected by this bulk schedule. */
|
|
25
|
+
schemas?: string[] | undefined;
|
|
26
|
+
selective_mode?: Polytomic.BulkSelectiveMode | undefined;
|
|
27
|
+
sync_mode?: Polytomic.BulkScheduleSyncMode | undefined;
|
|
28
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface HarborUserResponse {
|
|
2
|
+
/** When the user was invited. */
|
|
3
|
+
created_at?: string | undefined;
|
|
4
|
+
/** Email address used to sign in. */
|
|
5
|
+
email?: string | undefined;
|
|
6
|
+
/** Harbors assigned to this user. */
|
|
7
|
+
harbor_ids?: string[] | undefined;
|
|
8
|
+
/** Whether the account is restricted to assigned Harbors. */
|
|
9
|
+
harbor_only?: boolean | undefined;
|
|
10
|
+
/** Unique identifier of the user. */
|
|
11
|
+
id?: string | undefined;
|
|
12
|
+
/** Organization the user belongs to. */
|
|
13
|
+
organization_id?: string | undefined;
|
|
14
|
+
/** Current account status. */
|
|
15
|
+
status?: string | undefined;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
export interface IdentityCredentialApiKeyProfileSchema {
|
|
3
|
+
capabilities?: Polytomic.IdentityCredentialCapabilitiesSchema | undefined;
|
|
4
|
+
/** Organization-provided summary of the data and questions this scoped profile supports. */
|
|
5
|
+
description?: string | undefined;
|
|
6
|
+
/** Stable API key profile ID. */
|
|
7
|
+
id?: string | undefined;
|
|
8
|
+
/** API key profile kind. */
|
|
9
|
+
kind?: string | undefined;
|
|
10
|
+
/** Stable API key profile name. */
|
|
11
|
+
name?: string | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface IdentityCredentialHarborSchema {
|
|
2
|
+
/** Organization-provided summary of the Harbor. */
|
|
3
|
+
description?: string | undefined;
|
|
4
|
+
/** Immutable Harbor ID. */
|
|
5
|
+
id?: string | undefined;
|
|
6
|
+
/** Readable MCP resource URL for authorizing this Harbor independently. The credential's Harbor ID remains authoritative. */
|
|
7
|
+
mcp_server_url?: string | undefined;
|
|
8
|
+
/** Current Harbor display name. */
|
|
9
|
+
name?: string | undefined;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
export interface IdentityCredentialSchema {
|
|
3
|
+
api_key_profile?: Polytomic.IdentityCredentialApiKeyProfileSchema | undefined;
|
|
4
|
+
harbor?: Polytomic.IdentityCredentialHarborSchema | undefined;
|
|
5
|
+
/** Authentication method used for the request. */
|
|
6
|
+
method?: string | undefined;
|
|
7
|
+
/** API key mode applied to the credential when available. */
|
|
8
|
+
mode?: string | undefined;
|
|
9
|
+
/** OAuth client ID for OAuth-issued API keys. */
|
|
10
|
+
oauth_client_id?: string | undefined;
|
|
11
|
+
/** Protected resource URL this OAuth-issued credential is bound to. */
|
|
12
|
+
oauth_resource?: string | undefined;
|
|
13
|
+
}
|
|
@@ -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
|
+
}
|