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,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. */
|
|
@@ -3,7 +3,7 @@ export interface SyncSourceMetaResponse {
|
|
|
3
3
|
/** Additional configuration fields available for this source, keyed by field name. */
|
|
4
4
|
configuration?: Record<string, Polytomic.ConfigurationValue> | undefined;
|
|
5
5
|
/** Map of configuration item name to its metadata (available values, required-one-of groups). */
|
|
6
|
-
items?: Record<string, Polytomic.SourceMeta> | undefined;
|
|
6
|
+
items?: Record<string, Polytomic.SourceMeta | undefined> | undefined;
|
|
7
7
|
/** Configuration items where exactly one must be selected by the caller. */
|
|
8
8
|
requires_one_of?: string[] | undefined;
|
|
9
9
|
}
|
|
@@ -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
|
+
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ export * from "./BulkSyncDefaultScheduleRequest";
|
|
|
27
27
|
export * from "./BulkSyncDefaultScheduleResponse";
|
|
28
28
|
export * from "./BulkSyncDest";
|
|
29
29
|
export * from "./BulkSyncDestEnvelope";
|
|
30
|
+
export * from "./BulkSyncErrorHandling";
|
|
31
|
+
export * from "./BulkSyncErrorHandlingEnvelope";
|
|
30
32
|
export * from "./BulkSyncExecution";
|
|
31
33
|
export * from "./BulkSyncExecutionEnvelope";
|
|
32
34
|
export * from "./BulkSyncExecutionLogs";
|
|
@@ -54,6 +56,7 @@ export * from "./CancelSyncExecutionResponse";
|
|
|
54
56
|
export * from "./CancelSyncExecutionResponseEnvelope";
|
|
55
57
|
export * from "./CancelSyncResponse";
|
|
56
58
|
export * from "./CancelSyncResponseEnvelope";
|
|
59
|
+
export * from "./CloseHarborSessionEnvelope";
|
|
57
60
|
export * from "./ConfigurationValue";
|
|
58
61
|
export * from "./ConnectCardResponse";
|
|
59
62
|
export * from "./ConnectCardResponseEnvelope";
|
|
@@ -69,17 +72,35 @@ export * from "./ConnectionProxyInheritedBase";
|
|
|
69
72
|
export * from "./ConnectionProxyLockedHeader";
|
|
70
73
|
export * from "./ConnectionProxyMergeRules";
|
|
71
74
|
export * from "./ConnectionProxyResponse";
|
|
75
|
+
export * from "./ConnectionProxySettingsEnvelope";
|
|
76
|
+
export * from "./ConnectionProxySettingsResponse";
|
|
72
77
|
export * from "./ConnectionProxyStats";
|
|
73
78
|
export * from "./ConnectionResponseEnvelope";
|
|
74
79
|
export * from "./ConnectionResponseSchema";
|
|
75
80
|
export * from "./ConnectionType";
|
|
76
81
|
export * from "./ConnectionTypeResponseEnvelope";
|
|
77
82
|
export * from "./ConnectionTypeSchema";
|
|
83
|
+
export * from "./ConnectionUsageCategoryStats";
|
|
84
|
+
export * from "./ConnectionUsageResponse";
|
|
85
|
+
export * from "./ConnectionUsageSyncStats";
|
|
86
|
+
export * from "./ConnectSessionResponse";
|
|
87
|
+
export * from "./ConnectSessionResponseEnvelope";
|
|
78
88
|
export * from "./CreateConnectionResponseEnvelope";
|
|
79
89
|
export * from "./CreateConnectionResponseSchema";
|
|
90
|
+
export * from "./CreateHarborEnvelope";
|
|
91
|
+
export * from "./CreateHarborResponse";
|
|
80
92
|
export * from "./CreateModelRequest";
|
|
93
|
+
export * from "./CreateRecordViewLinkEnvelope";
|
|
94
|
+
export * from "./CreateRecordViewLinkResponse";
|
|
81
95
|
export * from "./CreateSharedConnectionResponseEnvelope";
|
|
82
96
|
export * from "./CreateSharedConnectionResponseSchema";
|
|
97
|
+
export * from "./CurrentOrgListUsersEnvelope";
|
|
98
|
+
export * from "./CurrentOrgUserEnvelope";
|
|
99
|
+
export * from "./CurrentOrgUserResponse";
|
|
100
|
+
export * from "./DeletedHarborContextDraftEnvelope";
|
|
101
|
+
export * from "./DeletedHarborContextEnvelope";
|
|
102
|
+
export * from "./DeletedHarborEnvelope";
|
|
103
|
+
export * from "./DeletedHarborResponse";
|
|
83
104
|
export * from "./EnricherConfiguration";
|
|
84
105
|
export * from "./EnricherMapping";
|
|
85
106
|
export * from "./Enrichment";
|
|
@@ -92,11 +113,13 @@ export * from "./EventingBulkSyncCompletedEvent";
|
|
|
92
113
|
export * from "./EventingBulkSyncCompletedWithErrorEvent";
|
|
93
114
|
export * from "./EventingBulkSyncFailedEvent";
|
|
94
115
|
export * from "./EventingBulkSyncRunningEvent";
|
|
116
|
+
export * from "./EventingBulkSyncSchedule";
|
|
95
117
|
export * from "./EventingSyncCanceledEvent";
|
|
96
118
|
export * from "./EventingSyncCompletedEvent";
|
|
97
119
|
export * from "./EventingSyncCompletedWithErrorsEvent";
|
|
98
120
|
export * from "./EventingSyncFailedEvent";
|
|
99
121
|
export * from "./EventingSyncRunningEvent";
|
|
122
|
+
export * from "./EventingSyncSchedule";
|
|
100
123
|
export * from "./EventPayload";
|
|
101
124
|
export * from "./EventsEnvelope";
|
|
102
125
|
export * from "./EventTypesEnvelope";
|
|
@@ -115,14 +138,55 @@ export * from "./Filter";
|
|
|
115
138
|
export * from "./FilterFieldReferenceType";
|
|
116
139
|
export * from "./FilterFunction";
|
|
117
140
|
export * from "./GetConnectionProxyInfoEnvelope";
|
|
141
|
+
export * from "./GetConnectionUsageEnvelope";
|
|
118
142
|
export * from "./GetEnrichmentInputFieldsResponseEnvelope";
|
|
119
143
|
export * from "./GetExecutionResponseEnvelope";
|
|
120
144
|
export * from "./GetExecutionResponseSchema";
|
|
121
145
|
export * from "./GetIdentityResponseEnvelope";
|
|
122
146
|
export * from "./GetIdentityResponseSchema";
|
|
147
|
+
export * from "./GetRecordViewCapabilitiesEnvelope";
|
|
123
148
|
export * from "./GetSyncSourceMetaEnvelope";
|
|
124
149
|
export * from "./GlobalErrorSubscribersResponse";
|
|
150
|
+
export * from "./HarborApiKeyCreatedResponse";
|
|
151
|
+
export * from "./HarborConnectionListEnvelope";
|
|
152
|
+
export * from "./HarborConnectionResponse";
|
|
153
|
+
export * from "./HarborConnectionSchemaEnvelope";
|
|
154
|
+
export * from "./HarborContextDraftEnvelope";
|
|
155
|
+
export * from "./HarborContextDraftListEnvelope";
|
|
156
|
+
export * from "./HarborContextDraftMetadataResponse";
|
|
157
|
+
export * from "./HarborContextDraftResponse";
|
|
158
|
+
export * from "./HarborContextEnvelope";
|
|
159
|
+
export * from "./HarborContextListEnvelope";
|
|
160
|
+
export * from "./HarborContextMetadataResponse";
|
|
161
|
+
export * from "./HarborContextResponse";
|
|
162
|
+
export * from "./HarborContextVersionEnvelope";
|
|
163
|
+
export * from "./HarborContextVersionListEnvelope";
|
|
164
|
+
export * from "./HarborContextVersionMetadataResponse";
|
|
165
|
+
export * from "./HarborContextVersionResponse";
|
|
166
|
+
export * from "./HarborDatasetStatusResponse";
|
|
167
|
+
export * from "./HarborEnvelope";
|
|
168
|
+
export * from "./HarborKeyEnvelope";
|
|
169
|
+
export * from "./HarborKeyListEnvelope";
|
|
170
|
+
export * from "./HarborKeyResponse";
|
|
171
|
+
export * from "./HarborListEnvelope";
|
|
172
|
+
export * from "./HarborPipelineStatusResponse";
|
|
173
|
+
export * from "./HarborResponse";
|
|
174
|
+
export * from "./HarborSchemaListEnvelope";
|
|
175
|
+
export * from "./HarborSchemaResponse";
|
|
176
|
+
export * from "./HarborSourceMappingResponse";
|
|
177
|
+
export * from "./HarborSourceReference";
|
|
178
|
+
export * from "./HarborStatusEnvelope";
|
|
179
|
+
export * from "./HarborStatusResponse";
|
|
180
|
+
export * from "./HarborStatusScheduleResponse";
|
|
181
|
+
export * from "./HarborUserEnvelope";
|
|
182
|
+
export * from "./HarborUserListEnvelope";
|
|
183
|
+
export * from "./HarborUserResponse";
|
|
125
184
|
export * from "./Identity";
|
|
185
|
+
export * from "./IdentityCredentialApiKeyProfileSchema";
|
|
186
|
+
export * from "./IdentityCredentialCapabilitiesSchema";
|
|
187
|
+
export * from "./IdentityCredentialConnectionCapabilitySchema";
|
|
188
|
+
export * from "./IdentityCredentialHarborSchema";
|
|
189
|
+
export * from "./IdentityCredentialSchema";
|
|
126
190
|
export * from "./IdentityFunction";
|
|
127
191
|
export * from "./IngestionStatusLevel";
|
|
128
192
|
export * from "./JobResponse";
|
|
@@ -139,9 +203,14 @@ export * from "./ListPoliciesResponseEnvelope";
|
|
|
139
203
|
export * from "./ListSyncItem";
|
|
140
204
|
export * from "./ListSyncResponseEnvelope";
|
|
141
205
|
export * from "./ListUsersEnvelope";
|
|
206
|
+
export * from "./LogsIndexEntry";
|
|
207
|
+
export * from "./LogsIndexResponse";
|
|
208
|
+
export * from "./LogsIndexResponseEnvelope";
|
|
142
209
|
export * from "./Mode";
|
|
143
210
|
export * from "./ModelField";
|
|
144
211
|
export * from "./ModelFieldResponse";
|
|
212
|
+
export * from "./ModelFilterCondition";
|
|
213
|
+
export * from "./ModelFilters";
|
|
145
214
|
export * from "./ModelListResponseEnvelope";
|
|
146
215
|
export * from "./ModelModelFieldRequest";
|
|
147
216
|
export * from "./ModelRelation";
|
|
@@ -150,6 +219,9 @@ export * from "./ModelResponse";
|
|
|
150
219
|
export * from "./ModelResponseEnvelope";
|
|
151
220
|
export * from "./ModelSample";
|
|
152
221
|
export * from "./ModelSampleResponseEnvelope";
|
|
222
|
+
export * from "./ModelSyncV5Response";
|
|
223
|
+
export * from "./ModelSyncV5ResponseEnvelope";
|
|
224
|
+
export * from "./ModelSyncV5Target";
|
|
153
225
|
export * from "./ModelsyncSyncTargetMode";
|
|
154
226
|
export * from "./OrderedMapStringGithubComInvopopJsonschemaSchema";
|
|
155
227
|
export * from "./Organization";
|
|
@@ -157,14 +229,23 @@ export * from "./OrganizationEnvelope";
|
|
|
157
229
|
export * from "./OrganizationsEnvelope";
|
|
158
230
|
export * from "./OutputActor";
|
|
159
231
|
export * from "./Override";
|
|
232
|
+
export * from "./OverrideField";
|
|
233
|
+
export * from "./OverrideFieldInput";
|
|
160
234
|
export * from "./PaginationDetails";
|
|
161
235
|
export * from "./PickValue";
|
|
162
236
|
export * from "./PolicyAction";
|
|
163
237
|
export * from "./PolicyResponse";
|
|
164
238
|
export * from "./PolicyResponseEnvelope";
|
|
165
239
|
export * from "./QueryResultsEnvelope";
|
|
240
|
+
export * from "./RecordLoggingSettingsEnvelope";
|
|
241
|
+
export * from "./RecordLoggingSettingsResponse";
|
|
242
|
+
export * from "./RecordviewCapabilities";
|
|
243
|
+
export * from "./RegisterHarborSessionEnvelope";
|
|
244
|
+
export * from "./RegisterHarborSessionResponse";
|
|
166
245
|
export * from "./Relation";
|
|
167
246
|
export * from "./RelationTo";
|
|
247
|
+
export * from "./ResolveHarborSourceMappingsEnvelope";
|
|
248
|
+
export * from "./RevokedHarborKeyEnvelope";
|
|
168
249
|
export * from "./RoleListResponseEnvelope";
|
|
169
250
|
export * from "./RoleResponse";
|
|
170
251
|
export * from "./RoleResponseEnvelope";
|
|
@@ -184,6 +265,7 @@ export * from "./Schema";
|
|
|
184
265
|
export * from "./SchemaAssociation";
|
|
185
266
|
export * from "./SchemaConfiguration";
|
|
186
267
|
export * from "./SchemaField";
|
|
268
|
+
export * from "./SchemaFieldResponseEnvelope";
|
|
187
269
|
export * from "./SchemaIdentityFunction";
|
|
188
270
|
export * from "./SchemaPrimaryKeyOverrideInput";
|
|
189
271
|
export * from "./SchemaRecordsResponseEnvelope";
|
|
@@ -194,23 +276,28 @@ export * from "./StartSyncResponseSchema";
|
|
|
194
276
|
export * from "./SupportedBulkMode";
|
|
195
277
|
export * from "./SupportedMode";
|
|
196
278
|
export * from "./SyncDestinationProperties";
|
|
279
|
+
export * from "./SyncErrorHandling";
|
|
280
|
+
export * from "./SyncErrorHandlingEnvelope";
|
|
197
281
|
export * from "./SyncField";
|
|
198
|
-
export * from "./SyncResponse";
|
|
199
|
-
export * from "./SyncResponseEnvelope";
|
|
200
282
|
export * from "./SyncSourceMetaResponse";
|
|
201
283
|
export * from "./SyncStatusEnvelope";
|
|
202
284
|
export * from "./SyncStatusResponse";
|
|
203
|
-
export * from "./Target";
|
|
204
|
-
export * from "./TargetCreateInput";
|
|
205
285
|
export * from "./TargetCreator";
|
|
206
286
|
export * from "./TargetField";
|
|
287
|
+
export * from "./TargetFilterCondition";
|
|
288
|
+
export * from "./TargetFilters";
|
|
207
289
|
export * from "./TargetObject";
|
|
208
290
|
export * from "./TargetObjectsResponseEnvelope";
|
|
209
291
|
export * from "./TargetPropertyValues";
|
|
210
292
|
export * from "./TargetPropertyValuesEnvelope";
|
|
211
293
|
export * from "./TargetResponse";
|
|
212
294
|
export * from "./TargetResponseEnvelope";
|
|
295
|
+
export * from "./TemporaryCredentialResponse";
|
|
296
|
+
export * from "./TemporaryCredentialResponseEnvelope";
|
|
297
|
+
export * from "./TemporaryCredentialSubject";
|
|
298
|
+
export * from "./TypesDefinition";
|
|
213
299
|
export * from "./TypesType";
|
|
300
|
+
export * from "./UnassignedHarborUserEnvelope";
|
|
214
301
|
export * from "./UpdateBulkField";
|
|
215
302
|
export * from "./UpdateBulkSyncSchemasEnvelope";
|
|
216
303
|
export * from "./User";
|