polytomic 25.9.2 → 25.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.js +2 -2
- package/Client.d.ts +9 -0
- package/Client.js +37 -22
- package/api/errors/ServiceUnavailableError.d.ts +6 -0
- package/api/errors/ServiceUnavailableError.js +54 -0
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.js +1 -0
- package/api/resources/bulkSync/client/Client.d.ts +3 -0
- package/api/resources/bulkSync/client/Client.js +11 -6
- package/api/resources/bulkSync/client/requests/StartBulkSyncRequest.d.ts +1 -1
- package/api/resources/bulkSync/resources/errorHandling/client/Client.d.ts +47 -0
- package/api/resources/bulkSync/resources/errorHandling/client/Client.js +185 -0
- package/api/resources/bulkSync/resources/errorHandling/client/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/errorHandling/client/index.js +17 -0
- package/api/resources/bulkSync/resources/errorHandling/client/requests/UpdateBulkSyncErrorHandlingRequest.d.ts +8 -0
- package/api/resources/bulkSync/resources/errorHandling/client/requests/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/errorHandling/client/requests/index.js +2 -0
- package/api/resources/bulkSync/resources/errorHandling/exports.d.ts +2 -0
- package/api/resources/bulkSync/resources/errorHandling/exports.js +21 -0
- package/api/resources/bulkSync/resources/errorHandling/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/errorHandling/index.js +17 -0
- package/api/resources/bulkSync/resources/executions/client/Client.d.ts +23 -2
- package/api/resources/bulkSync/resources/executions/client/Client.js +79 -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/connections/client/Client.d.ts +47 -136
- package/api/resources/connections/client/Client.js +99 -345
- 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 +153 -0
- package/api/resources/connections/resources/proxy/client/Client.js +399 -0
- package/api/resources/connections/resources/proxy/client/index.d.ts +1 -0
- package/api/resources/connections/resources/proxy/client/index.js +17 -0
- package/api/resources/connections/{client → resources/proxy/client}/requests/ExecuteConnectionProxyRequest.d.ts +3 -1
- package/api/resources/connections/resources/proxy/client/requests/UpdateConnectionProxySettingsRequest.d.ts +10 -0
- package/api/resources/connections/resources/proxy/client/requests/index.d.ts +2 -0
- package/api/resources/connections/resources/proxy/client/requests/index.js +2 -0
- package/api/resources/connections/resources/proxy/exports.d.ts +2 -0
- package/api/resources/connections/resources/proxy/exports.js +21 -0
- package/api/resources/connections/resources/proxy/index.d.ts +1 -0
- package/api/resources/connections/resources/proxy/index.js +17 -0
- package/api/resources/connections/resources/sharedConnections/client/Client.d.ts +83 -0
- package/api/resources/connections/resources/sharedConnections/client/Client.js +267 -0
- package/api/resources/connections/resources/sharedConnections/client/index.d.ts +1 -0
- package/api/resources/connections/resources/sharedConnections/client/index.js +17 -0
- package/api/resources/connections/resources/sharedConnections/client/requests/index.d.ts +1 -0
- package/api/resources/connections/resources/sharedConnections/client/requests/index.js +2 -0
- package/api/resources/connections/resources/sharedConnections/exports.d.ts +2 -0
- package/api/resources/connections/resources/sharedConnections/exports.js +21 -0
- package/api/resources/connections/resources/sharedConnections/index.d.ts +1 -0
- package/api/resources/connections/resources/sharedConnections/index.js +17 -0
- package/api/resources/entities/client/Client.d.ts +11 -2
- package/api/resources/entities/client/Client.js +11 -2
- package/api/resources/harbors/client/Client.d.ts +786 -0
- package/api/resources/harbors/client/Client.js +2358 -0
- package/api/resources/harbors/client/index.d.ts +1 -0
- package/api/resources/harbors/client/index.js +17 -0
- package/api/resources/harbors/client/requests/CreateHarborContextDraftRequest.d.ts +17 -0
- package/api/resources/harbors/client/requests/CreateHarborContextRequest.d.ts +15 -0
- package/api/resources/harbors/client/requests/CreateHarborRequest.d.ts +19 -0
- package/api/resources/harbors/client/requests/HarborsCloseSessionRequest.d.ts +12 -0
- package/api/resources/harbors/client/requests/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/index.d.ts +6 -0
- package/api/resources/index.js +7 -1
- package/api/resources/jobs/client/Client.d.ts +1 -1
- package/api/resources/jobs/client/Client.js +1 -1
- package/api/resources/modelSync/client/Client.d.ts +10 -5
- package/api/resources/modelSync/client/Client.js +29 -9
- package/api/resources/modelSync/client/requests/{CreateSyncRequest.d.ts → CreateModelSyncV5Request.d.ts} +8 -6
- package/api/resources/modelSync/client/requests/CreateModelSyncV5Request.js +3 -0
- package/api/resources/modelSync/client/requests/{UpdateSyncRequest.d.ts → UpdateModelSyncV5Request.d.ts} +8 -6
- package/api/resources/modelSync/client/requests/UpdateModelSyncV5Request.js +3 -0
- package/api/resources/modelSync/client/requests/index.d.ts +2 -2
- package/api/resources/modelSync/resources/errorHandling/client/Client.d.ts +47 -0
- package/api/resources/modelSync/resources/errorHandling/client/Client.js +179 -0
- package/api/resources/modelSync/resources/errorHandling/client/index.d.ts +1 -0
- package/api/resources/modelSync/resources/errorHandling/client/index.js +17 -0
- package/api/resources/modelSync/resources/errorHandling/client/requests/UpdateSyncErrorHandlingRequest.d.ts +14 -0
- package/api/resources/modelSync/resources/errorHandling/client/requests/UpdateSyncErrorHandlingRequest.js +3 -0
- package/api/resources/modelSync/resources/errorHandling/client/requests/index.d.ts +1 -0
- package/api/resources/modelSync/resources/errorHandling/client/requests/index.js +2 -0
- package/api/resources/modelSync/resources/errorHandling/exports.d.ts +2 -0
- package/api/resources/modelSync/resources/errorHandling/exports.js +21 -0
- package/api/resources/modelSync/resources/errorHandling/index.d.ts +1 -0
- package/api/resources/modelSync/resources/errorHandling/index.js +17 -0
- package/api/resources/modelSync/resources/executions/client/Client.d.ts +21 -4
- package/api/resources/modelSync/resources/executions/client/Client.js +60 -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 +40 -5
- package/api/resources/modelSync/resources/targets/client/Client.js +59 -12
- package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.d.ts +5 -3
- package/api/resources/modelSync/resources/targets/client/requests/TargetsListRequest.d.ts +10 -0
- package/api/resources/modelSync/resources/targets/client/requests/TargetsListRequest.js +3 -0
- package/api/resources/modelSync/resources/targets/client/requests/index.d.ts +1 -0
- package/api/resources/organization/client/Client.d.ts +33 -0
- package/api/resources/organization/client/Client.js +129 -0
- 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/recordViewLinks/client/Client.d.ts +59 -0
- package/api/resources/recordViewLinks/client/Client.js +210 -0
- package/api/resources/recordViewLinks/client/index.d.ts +1 -0
- package/api/resources/recordViewLinks/client/index.js +17 -0
- package/api/resources/recordViewLinks/client/requests/CreateRecordViewLinkRequest.d.ts +25 -0
- package/api/resources/recordViewLinks/client/requests/CreateRecordViewLinkRequest.js +3 -0
- package/api/resources/recordViewLinks/client/requests/RecordViewLinksGetCapabilitiesRequest.d.ts +15 -0
- package/api/resources/recordViewLinks/client/requests/RecordViewLinksGetCapabilitiesRequest.js +3 -0
- package/api/resources/recordViewLinks/client/requests/index.d.ts +2 -0
- package/api/resources/recordViewLinks/client/requests/index.js +2 -0
- package/api/resources/recordViewLinks/exports.d.ts +2 -0
- package/api/resources/recordViewLinks/exports.js +21 -0
- package/api/resources/recordViewLinks/index.d.ts +1 -0
- package/api/resources/recordViewLinks/index.js +17 -0
- package/api/resources/schemas/client/Client.d.ts +18 -0
- package/api/resources/schemas/client/Client.js +66 -0
- package/api/resources/schemas/client/requests/PatchSchemaFieldRequest.d.ts +16 -0
- package/api/resources/schemas/client/requests/PatchSchemaFieldRequest.js +3 -0
- package/api/resources/schemas/client/requests/index.d.ts +1 -0
- package/api/resources/temporaryCredentials/client/Client.d.ts +79 -0
- package/api/resources/temporaryCredentials/client/Client.js +177 -0
- package/api/resources/temporaryCredentials/client/index.d.ts +1 -0
- package/api/resources/temporaryCredentials/client/index.js +17 -0
- package/api/resources/temporaryCredentials/client/requests/CreateTemporaryCredentialRequest.d.ts +16 -0
- package/api/resources/temporaryCredentials/client/requests/CreateTemporaryCredentialRequest.js +3 -0
- package/api/resources/temporaryCredentials/client/requests/index.d.ts +1 -0
- package/api/resources/temporaryCredentials/client/requests/index.js +2 -0
- package/api/resources/temporaryCredentials/exports.d.ts +2 -0
- package/api/resources/temporaryCredentials/exports.js +21 -0
- package/api/resources/temporaryCredentials/index.d.ts +1 -0
- package/api/resources/temporaryCredentials/index.js +17 -0
- package/api/resources/users/client/Client.d.ts +2 -2
- package/api/resources/users/client/Client.js +4 -1
- package/api/types/BackendConnectionCapabilities.d.ts +1 -0
- package/api/types/BulkSyncErrorHandling.d.ts +4 -0
- package/api/types/BulkSyncErrorHandling.js +3 -0
- package/api/types/BulkSyncErrorHandlingEnvelope.d.ts +4 -0
- package/api/types/BulkSyncErrorHandlingEnvelope.js +3 -0
- package/api/types/BulkSyncExecution.d.ts +2 -0
- package/api/types/BulkSyncSchemaExecution.d.ts +2 -0
- package/api/types/BulkSyncSourceCapabilities.d.ts +2 -0
- package/api/types/CloseHarborSessionEnvelope.d.ts +9 -0
- package/api/types/CloseHarborSessionEnvelope.js +3 -0
- package/api/types/ConnectCardResponse.d.ts +2 -2
- package/api/types/ConnectSessionResponse.d.ts +22 -0
- package/api/types/ConnectSessionResponse.js +3 -0
- package/api/types/ConnectSessionResponseEnvelope.d.ts +4 -0
- package/api/types/ConnectSessionResponseEnvelope.js +3 -0
- package/api/types/ConnectionParameterValue.d.ts +1 -0
- package/api/types/ConnectionProxyResponse.d.ts +7 -1
- package/api/types/ConnectionProxySettingsEnvelope.d.ts +4 -0
- package/api/types/ConnectionProxySettingsEnvelope.js +3 -0
- package/api/types/ConnectionProxySettingsResponse.d.ts +12 -0
- package/api/types/ConnectionProxySettingsResponse.js +3 -0
- package/api/types/ConnectionType.d.ts +1 -0
- package/api/types/ConnectionTypeSchema.d.ts +1 -0
- package/api/types/ConnectionUsageCategoryStats.d.ts +8 -0
- package/api/types/ConnectionUsageCategoryStats.js +3 -0
- package/api/types/ConnectionUsageResponse.d.ts +11 -0
- package/api/types/ConnectionUsageResponse.js +3 -0
- package/api/types/ConnectionUsageSyncStats.d.ts +15 -0
- package/api/types/ConnectionUsageSyncStats.js +3 -0
- package/api/types/CreateHarborEnvelope.d.ts +4 -0
- package/api/types/CreateHarborEnvelope.js +3 -0
- package/api/types/CreateHarborResponse.d.ts +5 -0
- package/api/types/CreateHarborResponse.js +3 -0
- package/api/types/CreateRecordViewLinkEnvelope.d.ts +4 -0
- package/api/types/CreateRecordViewLinkEnvelope.js +3 -0
- package/api/types/CreateRecordViewLinkResponse.d.ts +10 -0
- package/api/types/CreateRecordViewLinkResponse.js +3 -0
- package/api/types/CurrentOrgListUsersEnvelope.d.ts +4 -0
- package/api/types/CurrentOrgListUsersEnvelope.js +3 -0
- package/api/types/CurrentOrgUserEnvelope.d.ts +4 -0
- package/api/types/CurrentOrgUserEnvelope.js +3 -0
- package/api/types/CurrentOrgUserResponse.d.ts +16 -0
- package/api/types/CurrentOrgUserResponse.js +3 -0
- package/api/types/DeletedHarborContextDraftEnvelope.d.ts +9 -0
- package/api/types/DeletedHarborContextDraftEnvelope.js +3 -0
- package/api/types/DeletedHarborContextEnvelope.d.ts +9 -0
- package/api/types/DeletedHarborContextEnvelope.js +3 -0
- package/api/types/DeletedHarborEnvelope.d.ts +4 -0
- package/api/types/DeletedHarborEnvelope.js +3 -0
- package/api/types/DeletedHarborResponse.d.ts +4 -0
- package/api/types/DeletedHarborResponse.js +3 -0
- package/api/types/EntityResponse.d.ts +2 -2
- package/api/types/EventingBulkSyncCompletedEvent.d.ts +2 -0
- package/api/types/EventingBulkSyncCompletedWithErrorEvent.d.ts +2 -0
- package/api/types/EventingBulkSyncFailedEvent.d.ts +2 -0
- package/api/types/EventingBulkSyncSchedule.d.ts +4 -0
- package/api/types/EventingBulkSyncSchedule.js +3 -0
- package/api/types/EventingSyncCompletedEvent.d.ts +3 -0
- package/api/types/EventingSyncSchedule.d.ts +3 -0
- package/api/types/EventingSyncSchedule.js +3 -0
- package/api/types/Filter.d.ts +3 -2
- package/api/types/GetConnectionUsageEnvelope.d.ts +4 -0
- package/api/types/GetConnectionUsageEnvelope.js +3 -0
- package/api/types/GetExecutionResponseSchema.d.ts +2 -0
- package/api/types/GetIdentityResponseSchema.d.ts +2 -0
- package/api/types/GetRecordViewCapabilitiesEnvelope.d.ts +4 -0
- package/api/types/GetRecordViewCapabilitiesEnvelope.js +3 -0
- package/api/types/HarborApiKeyCreatedResponse.d.ts +10 -0
- package/api/types/HarborApiKeyCreatedResponse.js +3 -0
- package/api/types/HarborConnectionListEnvelope.d.ts +5 -0
- package/api/types/HarborConnectionListEnvelope.js +3 -0
- package/api/types/HarborConnectionResponse.d.ts +6 -0
- package/api/types/HarborConnectionResponse.js +3 -0
- package/api/types/HarborConnectionSchemaEnvelope.d.ts +4 -0
- package/api/types/HarborConnectionSchemaEnvelope.js +3 -0
- package/api/types/HarborContextDraftEnvelope.d.ts +4 -0
- package/api/types/HarborContextDraftEnvelope.js +3 -0
- package/api/types/HarborContextDraftListEnvelope.d.ts +5 -0
- package/api/types/HarborContextDraftListEnvelope.js +3 -0
- package/api/types/HarborContextDraftMetadataResponse.d.ts +26 -0
- package/api/types/HarborContextDraftMetadataResponse.js +3 -0
- package/api/types/HarborContextDraftResponse.d.ts +28 -0
- package/api/types/HarborContextDraftResponse.js +3 -0
- package/api/types/HarborContextEnvelope.d.ts +4 -0
- package/api/types/HarborContextEnvelope.js +3 -0
- package/api/types/HarborContextListEnvelope.d.ts +5 -0
- package/api/types/HarborContextListEnvelope.js +3 -0
- package/api/types/HarborContextMetadataResponse.d.ts +16 -0
- package/api/types/HarborContextMetadataResponse.js +3 -0
- package/api/types/HarborContextResponse.d.ts +18 -0
- package/api/types/HarborContextResponse.js +3 -0
- package/api/types/HarborContextVersionEnvelope.d.ts +4 -0
- package/api/types/HarborContextVersionEnvelope.js +3 -0
- package/api/types/HarborContextVersionListEnvelope.d.ts +5 -0
- package/api/types/HarborContextVersionListEnvelope.js +3 -0
- package/api/types/HarborContextVersionMetadataResponse.d.ts +18 -0
- package/api/types/HarborContextVersionMetadataResponse.js +3 -0
- package/api/types/HarborContextVersionResponse.d.ts +20 -0
- package/api/types/HarborContextVersionResponse.js +3 -0
- package/api/types/HarborDatasetStatusResponse.d.ts +8 -0
- package/api/types/HarborDatasetStatusResponse.js +3 -0
- package/api/types/HarborEnvelope.d.ts +4 -0
- package/api/types/HarborEnvelope.js +3 -0
- package/api/types/HarborKeyEnvelope.d.ts +4 -0
- package/api/types/HarborKeyEnvelope.js +3 -0
- package/api/types/HarborKeyListEnvelope.d.ts +5 -0
- package/api/types/HarborKeyListEnvelope.js +3 -0
- package/api/types/HarborKeyResponse.d.ts +16 -0
- package/api/types/HarborKeyResponse.js +3 -0
- package/api/types/HarborListEnvelope.d.ts +5 -0
- package/api/types/HarborListEnvelope.js +3 -0
- package/api/types/HarborPipelineStatusResponse.d.ts +21 -0
- package/api/types/HarborPipelineStatusResponse.js +12 -0
- package/api/types/HarborResponse.d.ts +20 -0
- package/api/types/HarborResponse.js +3 -0
- package/api/types/HarborSchemaListEnvelope.d.ts +6 -0
- package/api/types/HarborSchemaListEnvelope.js +3 -0
- package/api/types/HarborSchemaResponse.d.ts +4 -0
- package/api/types/HarborSchemaResponse.js +3 -0
- package/api/types/HarborSourceMappingResponse.d.ts +8 -0
- package/api/types/HarborSourceMappingResponse.js +3 -0
- package/api/types/HarborSourceReference.d.ts +8 -0
- package/api/types/HarborSourceReference.js +3 -0
- package/api/types/HarborStatusEnvelope.d.ts +4 -0
- package/api/types/HarborStatusEnvelope.js +3 -0
- package/api/types/HarborStatusResponse.d.ts +7 -0
- package/api/types/HarborStatusResponse.js +3 -0
- package/api/types/HarborStatusScheduleResponse.d.ts +28 -0
- package/api/types/HarborStatusScheduleResponse.js +3 -0
- package/api/types/HarborUserEnvelope.d.ts +4 -0
- package/api/types/HarborUserEnvelope.js +3 -0
- package/api/types/HarborUserListEnvelope.d.ts +5 -0
- package/api/types/HarborUserListEnvelope.js +3 -0
- package/api/types/HarborUserResponse.d.ts +16 -0
- package/api/types/HarborUserResponse.js +3 -0
- package/api/types/IdentityCredentialApiKeyProfileSchema.d.ts +12 -0
- package/api/types/IdentityCredentialApiKeyProfileSchema.js +3 -0
- package/api/types/IdentityCredentialCapabilitiesSchema.d.ts +5 -0
- package/api/types/IdentityCredentialCapabilitiesSchema.js +3 -0
- package/api/types/IdentityCredentialConnectionCapabilitySchema.d.ts +4 -0
- package/api/types/IdentityCredentialConnectionCapabilitySchema.js +3 -0
- package/api/types/IdentityCredentialHarborSchema.d.ts +10 -0
- package/api/types/IdentityCredentialHarborSchema.js +3 -0
- package/api/types/IdentityCredentialSchema.d.ts +13 -0
- package/api/types/IdentityCredentialSchema.js +3 -0
- package/api/types/IdentityFunction.d.ts +2 -0
- package/api/types/LogsIndexEntry.d.ts +6 -0
- package/api/types/LogsIndexEntry.js +3 -0
- package/api/types/LogsIndexResponse.d.ts +9 -0
- package/api/types/LogsIndexResponse.js +3 -0
- package/api/types/LogsIndexResponseEnvelope.d.ts +4 -0
- package/api/types/LogsIndexResponseEnvelope.js +3 -0
- package/api/types/Mode.d.ts +6 -0
- package/api/types/ModelFilterCondition.d.ts +11 -0
- package/api/types/ModelFilterCondition.js +3 -0
- package/api/types/ModelFilters.d.ts +10 -0
- package/api/types/ModelFilters.js +3 -0
- package/api/types/{SyncResponse.d.ts → ModelSyncV5Response.d.ts} +7 -3
- package/api/types/ModelSyncV5Response.js +3 -0
- package/api/types/ModelSyncV5ResponseEnvelope.d.ts +4 -0
- package/api/types/ModelSyncV5ResponseEnvelope.js +3 -0
- package/api/types/{Target.d.ts → ModelSyncV5Target.d.ts} +2 -1
- package/api/types/ModelSyncV5Target.js +3 -0
- package/api/types/OverrideField.d.ts +13 -0
- package/api/types/OverrideField.js +3 -0
- package/api/types/OverrideFieldInput.d.ts +18 -0
- package/api/types/OverrideFieldInput.js +3 -0
- package/api/types/RecordLoggingSettingsEnvelope.d.ts +4 -0
- package/api/types/RecordLoggingSettingsEnvelope.js +3 -0
- package/api/types/RecordLoggingSettingsResponse.d.ts +8 -0
- package/api/types/RecordLoggingSettingsResponse.js +3 -0
- package/api/types/RecordviewCapabilities.d.ts +12 -0
- package/api/types/RecordviewCapabilities.js +3 -0
- package/api/types/RegisterHarborSessionEnvelope.d.ts +4 -0
- package/api/types/RegisterHarborSessionEnvelope.js +3 -0
- package/api/types/RegisterHarborSessionResponse.d.ts +6 -0
- package/api/types/RegisterHarborSessionResponse.js +3 -0
- package/api/types/ResolveHarborSourceMappingsEnvelope.d.ts +12 -0
- package/api/types/ResolveHarborSourceMappingsEnvelope.js +3 -0
- package/api/types/RevokedHarborKeyEnvelope.d.ts +9 -0
- package/api/types/RevokedHarborKeyEnvelope.js +3 -0
- package/api/types/SchemaField.d.ts +5 -1
- package/api/types/SchemaFieldResponseEnvelope.d.ts +4 -0
- package/api/types/SchemaFieldResponseEnvelope.js +3 -0
- package/api/types/SyncDestinationProperties.d.ts +15 -0
- package/api/types/SyncErrorHandling.d.ts +10 -0
- package/api/types/SyncErrorHandling.js +3 -0
- package/api/types/SyncErrorHandlingEnvelope.d.ts +4 -0
- package/api/types/SyncErrorHandlingEnvelope.js +3 -0
- package/api/types/SyncField.d.ts +1 -1
- package/api/types/TargetCreator.d.ts +1 -1
- package/api/types/TargetField.d.ts +15 -0
- package/api/types/TargetFilterCondition.d.ts +13 -0
- package/api/types/TargetFilterCondition.js +3 -0
- package/api/types/TargetFilters.d.ts +10 -0
- package/api/types/TargetFilters.js +3 -0
- package/api/types/TargetResponse.d.ts +5 -0
- package/api/types/TemporaryCredentialResponse.d.ts +10 -0
- package/api/types/TemporaryCredentialResponse.js +3 -0
- package/api/types/TemporaryCredentialResponseEnvelope.d.ts +4 -0
- package/api/types/TemporaryCredentialResponseEnvelope.js +3 -0
- package/api/types/TemporaryCredentialSubject.d.ts +26 -0
- package/api/types/TemporaryCredentialSubject.js +17 -0
- package/api/types/TypesDefinition.d.ts +1 -0
- package/api/types/TypesDefinition.js +3 -0
- package/api/types/UnassignedHarborUserEnvelope.d.ts +9 -0
- package/api/types/UnassignedHarborUserEnvelope.js +3 -0
- package/api/types/index.d.ts +91 -4
- package/api/types/index.js +91 -4
- package/package.json +1 -1
- package/reference.md +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,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -116,7 +116,7 @@ export declare class ExecutionsClient {
|
|
|
116
116
|
cancel(id: string, exec_id: string, requestOptions?: ExecutionsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.CancelBulkSyncResponseEnvelope>;
|
|
117
117
|
private __cancel;
|
|
118
118
|
/**
|
|
119
|
-
* Fetch the latest console log entries for a bulk sync execution. Returns
|
|
119
|
+
* Fetch the latest console log entries for a bulk sync execution. Returns the most recent 50 entries.
|
|
120
120
|
*
|
|
121
121
|
* @param {string} sync_id
|
|
122
122
|
* @param {string} execution_id
|
|
@@ -191,7 +191,7 @@ export declare class ExecutionsClient {
|
|
|
191
191
|
exportLogs(sync_id: string, execution_id: string, request?: Polytomic.bulkSync.ExecutionsExportLogsRequest, requestOptions?: ExecutionsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.ExportSyncLogsEnvelope>;
|
|
192
192
|
private __exportLogs;
|
|
193
193
|
/**
|
|
194
|
-
* Fetch the latest console log entries for a schema within a bulk sync execution.
|
|
194
|
+
* Fetch the latest console log entries for a schema within a bulk sync execution. Returnst the most recent 50 entries.
|
|
195
195
|
*
|
|
196
196
|
* @param {string} sync_id
|
|
197
197
|
* @param {string} execution_id
|
|
@@ -212,4 +212,25 @@ export declare class ExecutionsClient {
|
|
|
212
212
|
*/
|
|
213
213
|
getSchemaConsoleLogs(sync_id: string, execution_id: string, schema_id: string, request?: Polytomic.bulkSync.ExecutionsGetSchemaConsoleLogsRequest, requestOptions?: ExecutionsClient.RequestOptions): core.HttpResponsePromise<Polytomic.ExecutionConsoleLogsResponseEnvelope>;
|
|
214
214
|
private __getSchemaConsoleLogs;
|
|
215
|
+
/**
|
|
216
|
+
* Fetch the latest console log entries for ingestion scoped by connection and optional bulk sync. Returns the most recent 50 entries.
|
|
217
|
+
*
|
|
218
|
+
* @param {string} connection_id
|
|
219
|
+
* @param {Polytomic.bulkSync.ExecutionsGetIngestConsoleLogsRequest} request
|
|
220
|
+
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
221
|
+
*
|
|
222
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
223
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
224
|
+
* @throws {@link Polytomic.RequestTimeoutError}
|
|
225
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
226
|
+
*
|
|
227
|
+
* @example
|
|
228
|
+
* await client.bulkSync.executions.getIngestConsoleLogs("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
229
|
+
* sync_id: "248df4b7-aa70-47b8-a036-33ac447e668d",
|
|
230
|
+
* limit: 50,
|
|
231
|
+
* after: "1744311099250-0"
|
|
232
|
+
* })
|
|
233
|
+
*/
|
|
234
|
+
getIngestConsoleLogs(connection_id: string, request?: Polytomic.bulkSync.ExecutionsGetIngestConsoleLogsRequest, requestOptions?: ExecutionsClient.RequestOptions): core.HttpResponsePromise<Polytomic.ExecutionConsoleLogsResponseEnvelope>;
|
|
235
|
+
private __getIngestConsoleLogs;
|
|
215
236
|
}
|
|
@@ -342,7 +342,7 @@ class ExecutionsClient {
|
|
|
342
342
|
});
|
|
343
343
|
}
|
|
344
344
|
/**
|
|
345
|
-
* Fetch the latest console log entries for a bulk sync execution. Returns
|
|
345
|
+
* Fetch the latest console log entries for a bulk sync execution. Returns the most recent 50 entries.
|
|
346
346
|
*
|
|
347
347
|
* @param {string} sync_id
|
|
348
348
|
* @param {string} execution_id
|
|
@@ -562,7 +562,7 @@ class ExecutionsClient {
|
|
|
562
562
|
});
|
|
563
563
|
}
|
|
564
564
|
/**
|
|
565
|
-
* Fetch the latest console log entries for a schema within a bulk sync execution.
|
|
565
|
+
* Fetch the latest console log entries for a schema within a bulk sync execution. Returnst the most recent 50 entries.
|
|
566
566
|
*
|
|
567
567
|
* @param {string} sync_id
|
|
568
568
|
* @param {string} execution_id
|
|
@@ -638,5 +638,82 @@ class ExecutionsClient {
|
|
|
638
638
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/bulk/syncs/{sync_id}/executions/{execution_id}/schemas/{schema_id}/consolelog");
|
|
639
639
|
});
|
|
640
640
|
}
|
|
641
|
+
/**
|
|
642
|
+
* Fetch the latest console log entries for ingestion scoped by connection and optional bulk sync. Returns the most recent 50 entries.
|
|
643
|
+
*
|
|
644
|
+
* @param {string} connection_id
|
|
645
|
+
* @param {Polytomic.bulkSync.ExecutionsGetIngestConsoleLogsRequest} request
|
|
646
|
+
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
647
|
+
*
|
|
648
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
649
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
650
|
+
* @throws {@link Polytomic.RequestTimeoutError}
|
|
651
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
652
|
+
*
|
|
653
|
+
* @example
|
|
654
|
+
* await client.bulkSync.executions.getIngestConsoleLogs("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
655
|
+
* sync_id: "248df4b7-aa70-47b8-a036-33ac447e668d",
|
|
656
|
+
* limit: 50,
|
|
657
|
+
* after: "1744311099250-0"
|
|
658
|
+
* })
|
|
659
|
+
*/
|
|
660
|
+
getIngestConsoleLogs(connection_id, request = {}, requestOptions) {
|
|
661
|
+
return core.HttpResponsePromise.fromPromise(this.__getIngestConsoleLogs(connection_id, request, requestOptions));
|
|
662
|
+
}
|
|
663
|
+
__getIngestConsoleLogs(connection_id_1) {
|
|
664
|
+
return __awaiter(this, arguments, void 0, function* (connection_id, request = {}, requestOptions) {
|
|
665
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
666
|
+
const { sync_id: syncId, limit, after } = request;
|
|
667
|
+
const _queryParams = {
|
|
668
|
+
sync_id: syncId,
|
|
669
|
+
limit,
|
|
670
|
+
after,
|
|
671
|
+
};
|
|
672
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
673
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
674
|
+
"X-Polytomic-Version": (_d = (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.version) !== null && _d !== void 0 ? _d : "2025-09-18",
|
|
675
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
676
|
+
const _response = yield core.fetcher({
|
|
677
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.PolytomicEnvironment.Default, `api/connections/${core.url.encodePathParam(connection_id)}/ingest/consolelog`),
|
|
678
|
+
method: "GET",
|
|
679
|
+
headers: _headers,
|
|
680
|
+
queryString: core.url
|
|
681
|
+
.queryBuilder()
|
|
682
|
+
.addMany(_queryParams)
|
|
683
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
684
|
+
.build(),
|
|
685
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
|
|
686
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
687
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
688
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
689
|
+
logging: this._options.logging,
|
|
690
|
+
});
|
|
691
|
+
if (_response.ok) {
|
|
692
|
+
return {
|
|
693
|
+
data: _response.body,
|
|
694
|
+
rawResponse: _response.rawResponse,
|
|
695
|
+
};
|
|
696
|
+
}
|
|
697
|
+
if (_response.error.reason === "status-code") {
|
|
698
|
+
switch (_response.error.statusCode) {
|
|
699
|
+
case 400:
|
|
700
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
701
|
+
case 404:
|
|
702
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
703
|
+
case 408:
|
|
704
|
+
throw new Polytomic.RequestTimeoutError(_response.error.body, _response.rawResponse);
|
|
705
|
+
case 500:
|
|
706
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
707
|
+
default:
|
|
708
|
+
throw new errors.PolytomicError({
|
|
709
|
+
statusCode: _response.error.statusCode,
|
|
710
|
+
body: _response.error.body,
|
|
711
|
+
rawResponse: _response.rawResponse,
|
|
712
|
+
});
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/connections/{connection_id}/ingest/consolelog");
|
|
716
|
+
});
|
|
717
|
+
}
|
|
641
718
|
}
|
|
642
719
|
exports.ExecutionsClient = ExecutionsClient;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* sync_id: "248df4b7-aa70-47b8-a036-33ac447e668d",
|
|
5
|
+
* limit: 50,
|
|
6
|
+
* after: "1744311099250-0"
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface ExecutionsGetIngestConsoleLogsRequest {
|
|
10
|
+
/** Optional bulk sync ID for sync-scoped ingestion logs. */
|
|
11
|
+
sync_id?: string;
|
|
12
|
+
/** Maximum number of entries to return. Values above the logger retention limit are capped to 50. */
|
|
13
|
+
limit?: number;
|
|
14
|
+
/** Return only entries newer than this cursor. */
|
|
15
|
+
after?: string;
|
|
16
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type { ExecutionsExportLogsRequest } from "./ExecutionsExportLogsRequest";
|
|
2
2
|
export type { ExecutionsGetConsoleLogsRequest } from "./ExecutionsGetConsoleLogsRequest";
|
|
3
|
+
export type { ExecutionsGetIngestConsoleLogsRequest } from "./ExecutionsGetIngestConsoleLogsRequest";
|
|
3
4
|
export type { ExecutionsGetSchemaConsoleLogsRequest } from "./ExecutionsGetSchemaConsoleLogsRequest";
|
|
4
5
|
export type { ExecutionsListRequest } from "./ExecutionsListRequest";
|
|
5
6
|
export type { ExecutionsListStatusRequest } from "./ExecutionsListStatusRequest";
|
|
@@ -36,7 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.schemas = exports.schedules = exports.executions = void 0;
|
|
39
|
+
exports.schemas = exports.schedules = exports.executions = exports.errorHandling = void 0;
|
|
40
|
+
exports.errorHandling = __importStar(require("./errorHandling"));
|
|
41
|
+
__exportStar(require("./errorHandling/client/requests"), exports);
|
|
40
42
|
exports.executions = __importStar(require("./executions"));
|
|
41
43
|
__exportStar(require("./executions/client/requests"), exports);
|
|
42
44
|
exports.schedules = __importStar(require("./schedules"));
|
|
@@ -2,6 +2,8 @@ import type { BaseClientOptions, BaseIdempotentRequestOptions, BaseRequestOption
|
|
|
2
2
|
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient";
|
|
3
3
|
import * as core from "../../../../core";
|
|
4
4
|
import * as Polytomic from "../../../index";
|
|
5
|
+
import { ProxyClient } from "../resources/proxy/client/Client";
|
|
6
|
+
import { SharedConnectionsClient } from "../resources/sharedConnections/client/Client";
|
|
5
7
|
export declare namespace ConnectionsClient {
|
|
6
8
|
type Options = BaseClientOptions;
|
|
7
9
|
interface RequestOptions extends BaseRequestOptions {
|
|
@@ -11,7 +13,11 @@ export declare namespace ConnectionsClient {
|
|
|
11
13
|
}
|
|
12
14
|
export declare class ConnectionsClient {
|
|
13
15
|
protected readonly _options: NormalizedClientOptionsWithAuth<ConnectionsClient.Options>;
|
|
16
|
+
protected _proxy: ProxyClient | undefined;
|
|
17
|
+
protected _sharedConnections: SharedConnectionsClient | undefined;
|
|
14
18
|
constructor(options?: ConnectionsClient.Options);
|
|
19
|
+
get proxy(): ProxyClient;
|
|
20
|
+
get sharedConnections(): SharedConnectionsClient;
|
|
15
21
|
/**
|
|
16
22
|
* Lists all connection types supported by this deployment.
|
|
17
23
|
*
|
|
@@ -137,7 +143,13 @@ export declare class ConnectionsClient {
|
|
|
137
143
|
create(request: Polytomic.CreateConnectionRequestSchema, requestOptions?: ConnectionsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.CreateConnectionResponseEnvelope>;
|
|
138
144
|
private __create;
|
|
139
145
|
/**
|
|
140
|
-
* Creates a Polytomic Connect session and returns a
|
|
146
|
+
* Creates a Polytomic Connect session and returns a URL for creating or reconnecting a Connection.
|
|
147
|
+
*
|
|
148
|
+
* Open the returned URL, or send it to the person who will set up the Connection.
|
|
149
|
+
* Polytomic Connect guides them through authentication and configuration, then
|
|
150
|
+
* redirects them to `redirect_url`.
|
|
151
|
+
*
|
|
152
|
+
* Each session can create or reconnect one Connection.
|
|
141
153
|
*
|
|
142
154
|
* See also:
|
|
143
155
|
*
|
|
@@ -148,6 +160,8 @@ export declare class ConnectionsClient {
|
|
|
148
160
|
*
|
|
149
161
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
150
162
|
* @throws {@link Polytomic.ForbiddenError}
|
|
163
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
164
|
+
* @throws {@link Polytomic.ConflictError}
|
|
151
165
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
152
166
|
* @throws {@link Polytomic.InternalServerError}
|
|
153
167
|
*
|
|
@@ -159,6 +173,22 @@ export declare class ConnectionsClient {
|
|
|
159
173
|
*/
|
|
160
174
|
connect(request: Polytomic.ConnectCardRequest, requestOptions?: ConnectionsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.ConnectCardResponseEnvelope>;
|
|
161
175
|
private __connect;
|
|
176
|
+
/**
|
|
177
|
+
* Returns trusted metadata for the authenticated Polytomic Connect session.
|
|
178
|
+
*
|
|
179
|
+
* Returns the trusted metadata stored for a Polytomic Connect session. Authenticate with the opaque Connect token in the `token` query parameter.
|
|
180
|
+
*
|
|
181
|
+
* The response includes the server-enforced connection name, fixed type or whitelist, bound connection ID, completion redirect, branding, and absolute expiration time.
|
|
182
|
+
*
|
|
183
|
+
* @param {ConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
184
|
+
*
|
|
185
|
+
* @throws {@link Polytomic.UnauthorizedError}
|
|
186
|
+
*
|
|
187
|
+
* @example
|
|
188
|
+
* await client.connections.getConnectSession()
|
|
189
|
+
*/
|
|
190
|
+
getConnectSession(requestOptions?: ConnectionsClient.RequestOptions): core.HttpResponsePromise<Polytomic.ConnectSessionResponseEnvelope>;
|
|
191
|
+
private __getConnectSession;
|
|
162
192
|
/**
|
|
163
193
|
* Tests a connection configuration.
|
|
164
194
|
*
|
|
@@ -303,151 +333,32 @@ export declare class ConnectionsClient {
|
|
|
303
333
|
getParameterValues(id: string, requestOptions?: ConnectionsClient.RequestOptions): core.HttpResponsePromise<Polytomic.ConnectionParameterValuesResponseEnvelope>;
|
|
304
334
|
private __getParameterValues;
|
|
305
335
|
/**
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
* This endpoint is intended for controlled passthrough use, not as a general
|
|
309
|
-
* replacement for Polytomic's modeled endpoints. The request is executed with the
|
|
310
|
-
* connection's stored credentials and inherited base URL, headers, and query
|
|
311
|
-
* parameters.
|
|
336
|
+
* Returns the connection's API consumption over the last 24 hours, broken down by sync when the backend supports it.
|
|
312
337
|
*
|
|
313
|
-
*
|
|
314
|
-
* [`GET /api/connections/{id}/proxy/info`](../../../../api-reference/connections/get-proxy-info)
|
|
315
|
-
* to inspect the inherited base URL, blocked headers, accepted body types, and
|
|
316
|
-
* size and rate limits.
|
|
338
|
+
* Not all integrations support usage reporting.
|
|
317
339
|
*
|
|
318
|
-
*
|
|
340
|
+
* - `callsLast24h` is null when the backend does not expose a usage count.
|
|
341
|
+
* - `reportsSyncStats` is `false`, and `bySync` is empty, when the backend
|
|
342
|
+
* reports a total but cannot attribute calls to individual syncs.
|
|
319
343
|
*
|
|
320
|
-
* -
|
|
321
|
-
*
|
|
322
|
-
*
|
|
323
|
-
*
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
-
*
|
|
344
|
+
* When per-sync stats are available, each entry in `bySync` carries a
|
|
345
|
+
* `categories` breakdown. **Category keys and labels are integration-specific.**
|
|
346
|
+
* For example, Salesforce reports `rest` and `bulk` categories
|
|
347
|
+
* (collapsing Bulk API v1 and v2 into a single `bulk` bucket), while another
|
|
348
|
+
* integration may report an entirely different set or none at all. Treat `key`
|
|
349
|
+
* as an opaque, backend-defined identifier and use `label` for display; do not
|
|
350
|
+
* assume a fixed vocabulary across connection types.
|
|
327
351
|
*
|
|
328
|
-
*
|
|
329
|
-
* with audit logs.
|
|
330
|
-
*
|
|
331
|
-
* @param {string} id - Unique identifier of the connection to proxy the request through.
|
|
332
|
-
* @param {Polytomic.ExecuteConnectionProxyRequest} request
|
|
333
|
-
* @param {ConnectionsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
334
|
-
*
|
|
335
|
-
* @throws {@link Polytomic.BadRequestError}
|
|
336
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
337
|
-
* @throws {@link Polytomic.ForbiddenError}
|
|
338
|
-
* @throws {@link Polytomic.NotFoundError}
|
|
339
|
-
* @throws {@link Polytomic.TooManyRequestsError}
|
|
340
|
-
* @throws {@link Polytomic.InternalServerError}
|
|
341
|
-
* @throws {@link Polytomic.BadGatewayError}
|
|
342
|
-
* @throws {@link Polytomic.GatewayTimeoutError}
|
|
343
|
-
*
|
|
344
|
-
* @example
|
|
345
|
-
* await client.connections.executeProxy("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
346
|
-
* request: {
|
|
347
|
-
* method: "GET",
|
|
348
|
-
* path: "/v1/objects"
|
|
349
|
-
* }
|
|
350
|
-
* })
|
|
351
|
-
*/
|
|
352
|
-
executeProxy(id: string, request: Polytomic.ExecuteConnectionProxyRequest, requestOptions?: ConnectionsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.ExecuteConnectionProxyEnvelope>;
|
|
353
|
-
private __executeProxy;
|
|
354
|
-
/**
|
|
355
|
-
* Returns the proxy contract for a connection.
|
|
356
|
-
*
|
|
357
|
-
* Use this endpoint before calling
|
|
358
|
-
* [`POST /api/connections/{id}/proxy`](../../../../../api-reference/connections/execute-proxy)
|
|
359
|
-
* when you need to build requests programmatically. The response shows:
|
|
360
|
-
*
|
|
361
|
-
* - the inherited base URL that all proxied requests are sent to
|
|
362
|
-
* - locked headers and query parameters that are attached automatically
|
|
363
|
-
* - blocked request and response headers
|
|
364
|
-
* - allowed HTTP methods and body shapes
|
|
365
|
-
* - timeout, rate-limit, and payload-size limits
|
|
366
|
-
*
|
|
367
|
-
* Sensitive inherited header and query values are redacted in the response. The
|
|
368
|
-
* contract is still useful for discovering which keys are fixed by the
|
|
369
|
-
* connection, even though their raw values are not exposed.
|
|
370
|
-
*
|
|
371
|
-
* @param {string} id - Unique identifier of the connection whose proxy contract should be returned.
|
|
352
|
+
* @param {string} id - Unique identifier of the connection whose API consumption should be returned.
|
|
372
353
|
* @param {ConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
373
354
|
*
|
|
374
|
-
* @throws {@link Polytomic.BadRequestError}
|
|
375
355
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
376
|
-
* @throws {@link Polytomic.ForbiddenError}
|
|
377
|
-
* @throws {@link Polytomic.NotFoundError}
|
|
378
|
-
* @throws {@link Polytomic.InternalServerError}
|
|
379
|
-
*
|
|
380
|
-
* @example
|
|
381
|
-
* await client.connections.getProxyInfo("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
382
|
-
*/
|
|
383
|
-
getProxyInfo(id: string, requestOptions?: ConnectionsClient.RequestOptions): core.HttpResponsePromise<Polytomic.GetConnectionProxyInfoEnvelope>;
|
|
384
|
-
private __getProxyInfo;
|
|
385
|
-
/**
|
|
386
|
-
* Lists shared copies of a connection that the caller's organization owns.
|
|
387
|
-
*
|
|
388
|
-
* The returned connections are the child copies, not the parent connection
|
|
389
|
-
* itself. This is useful when a partner workflow needs to confirm which
|
|
390
|
-
* downstream organizations have already received a shared copy.
|
|
391
|
-
*
|
|
392
|
-
* Creating a new shared copy is a separate operation. Use
|
|
393
|
-
* [`POST /api/organizations/{org_id}/connections/{connection_id}/share`](../../../../api-reference/connections/create-shared-connection)
|
|
394
|
-
* for the v5 partner-scoped flow.
|
|
395
|
-
*
|
|
396
|
-
* @param {string} id - Unique identifier of the parent connection whose shared copies should be listed.
|
|
397
|
-
* @param {ConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
398
|
-
*
|
|
399
|
-
* @throws {@link Polytomic.ForbiddenError}
|
|
400
356
|
* @throws {@link Polytomic.NotFoundError}
|
|
401
|
-
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
402
357
|
* @throws {@link Polytomic.InternalServerError}
|
|
403
358
|
*
|
|
404
359
|
* @example
|
|
405
|
-
* await client.connections.
|
|
406
|
-
*/
|
|
407
|
-
listSharedConnections(id: string, requestOptions?: ConnectionsClient.RequestOptions): core.HttpResponsePromise<Polytomic.ConnectionListResponseEnvelope>;
|
|
408
|
-
private __listSharedConnections;
|
|
409
|
-
/**
|
|
410
|
-
* Lists shared copies of a connection owned by a specific organization in the partner account.
|
|
411
|
-
*
|
|
412
|
-
* The `org_id` must match the organization that owns the parent connection. If it
|
|
413
|
-
* does not, the endpoint returns `404` rather than exposing information about the
|
|
414
|
-
* parent connection.
|
|
415
|
-
*
|
|
416
|
-
* This endpoint is useful in partner workflows where the parent connection is in
|
|
417
|
-
* the partner owner organization and the caller needs to audit which child
|
|
418
|
-
* organizations already have a shared copy.
|
|
419
|
-
*
|
|
420
|
-
* @param {string} org_id - Unique identifier of the organization that owns the parent connection.
|
|
421
|
-
* @param {string} connection_id - Unique identifier of the parent connection whose shared copies should be listed.
|
|
422
|
-
* @param {ConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
423
|
-
*
|
|
424
|
-
* @throws {@link Polytomic.ForbiddenError}
|
|
425
|
-
* @throws {@link Polytomic.NotFoundError}
|
|
426
|
-
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
427
|
-
* @throws {@link Polytomic.InternalServerError}
|
|
428
|
-
*
|
|
429
|
-
* @example
|
|
430
|
-
* await client.connections.listSharedConnectionsForPartner("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
431
|
-
*/
|
|
432
|
-
listSharedConnectionsForPartner(org_id: string, connection_id: string, requestOptions?: ConnectionsClient.RequestOptions): core.HttpResponsePromise<Polytomic.ConnectionListResponseEnvelope>;
|
|
433
|
-
private __listSharedConnectionsForPartner;
|
|
434
|
-
/**
|
|
435
|
-
* Shares a connection with another organization in the caller's partner account.
|
|
436
|
-
*
|
|
437
|
-
* @param {string} org_id - Unique identifier of the organization that owns the parent connection.
|
|
438
|
-
* @param {string} connection_id - Unique identifier of the parent connection to share.
|
|
439
|
-
* @param {Polytomic.PartnerCreateSharedConnectionRequestSchema} request
|
|
440
|
-
* @param {ConnectionsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
441
|
-
*
|
|
442
|
-
* @throws {@link Polytomic.ForbiddenError}
|
|
443
|
-
* @throws {@link Polytomic.NotFoundError}
|
|
444
|
-
* @throws {@link Polytomic.InternalServerError}
|
|
445
|
-
*
|
|
446
|
-
* @example
|
|
447
|
-
* await client.connections.createSharedConnection("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
448
|
-
* child_organization_id: "248df4b7-aa70-47b8-a036-33ac447e668d"
|
|
449
|
-
* })
|
|
360
|
+
* await client.connections.getUsage("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
450
361
|
*/
|
|
451
|
-
|
|
452
|
-
private
|
|
362
|
+
getUsage(id: string, requestOptions?: ConnectionsClient.RequestOptions): core.HttpResponsePromise<Polytomic.GetConnectionUsageEnvelope>;
|
|
363
|
+
private __getUsage;
|
|
453
364
|
}
|