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
|
@@ -74,6 +74,8 @@ class ExecutionsClient {
|
|
|
74
74
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link Polytomic.NotFoundError}
|
|
77
|
+
* @throws {@link errors.PolytomicError}
|
|
78
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
77
79
|
*
|
|
78
80
|
* @example
|
|
79
81
|
* await client.bulkSync.executions.listStatus({
|
|
@@ -156,6 +158,8 @@ class ExecutionsClient {
|
|
|
156
158
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
157
159
|
*
|
|
158
160
|
* @throws {@link Polytomic.NotFoundError}
|
|
161
|
+
* @throws {@link errors.PolytomicError}
|
|
162
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
159
163
|
*
|
|
160
164
|
* @example
|
|
161
165
|
* await client.bulkSync.executions.list("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -231,6 +235,8 @@ class ExecutionsClient {
|
|
|
231
235
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
232
236
|
*
|
|
233
237
|
* @throws {@link Polytomic.NotFoundError}
|
|
238
|
+
* @throws {@link errors.PolytomicError}
|
|
239
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
234
240
|
*
|
|
235
241
|
* @example
|
|
236
242
|
* await client.bulkSync.executions.get("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -290,6 +296,8 @@ class ExecutionsClient {
|
|
|
290
296
|
* @throws {@link Polytomic.ForbiddenError}
|
|
291
297
|
* @throws {@link Polytomic.NotFoundError}
|
|
292
298
|
* @throws {@link Polytomic.InternalServerError}
|
|
299
|
+
* @throws {@link errors.PolytomicError}
|
|
300
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
293
301
|
*
|
|
294
302
|
* @example
|
|
295
303
|
* await client.bulkSync.executions.cancel("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -342,7 +350,7 @@ class ExecutionsClient {
|
|
|
342
350
|
});
|
|
343
351
|
}
|
|
344
352
|
/**
|
|
345
|
-
* Fetch the latest console log entries for a bulk sync execution. Returns
|
|
353
|
+
* Fetch the latest console log entries for a bulk sync execution. Returns the most recent 50 entries.
|
|
346
354
|
*
|
|
347
355
|
* @param {string} sync_id
|
|
348
356
|
* @param {string} execution_id
|
|
@@ -353,6 +361,8 @@ class ExecutionsClient {
|
|
|
353
361
|
* @throws {@link Polytomic.NotFoundError}
|
|
354
362
|
* @throws {@link Polytomic.RequestTimeoutError}
|
|
355
363
|
* @throws {@link Polytomic.InternalServerError}
|
|
364
|
+
* @throws {@link errors.PolytomicError}
|
|
365
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
356
366
|
*
|
|
357
367
|
* @example
|
|
358
368
|
* await client.bulkSync.executions.getConsoleLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "0ecd09c1-b901-4d27-9053-f0367c427254", {
|
|
@@ -434,6 +444,8 @@ class ExecutionsClient {
|
|
|
434
444
|
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
435
445
|
*
|
|
436
446
|
* @throws {@link Polytomic.NotFoundError}
|
|
447
|
+
* @throws {@link errors.PolytomicError}
|
|
448
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
437
449
|
*
|
|
438
450
|
* @example
|
|
439
451
|
* await client.bulkSync.executions.getLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -503,6 +515,8 @@ class ExecutionsClient {
|
|
|
503
515
|
* @throws {@link Polytomic.BadRequestError}
|
|
504
516
|
* @throws {@link Polytomic.NotFoundError}
|
|
505
517
|
* @throws {@link Polytomic.InternalServerError}
|
|
518
|
+
* @throws {@link errors.PolytomicError}
|
|
519
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
506
520
|
*
|
|
507
521
|
* @example
|
|
508
522
|
* await client.bulkSync.executions.exportLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -562,7 +576,7 @@ class ExecutionsClient {
|
|
|
562
576
|
});
|
|
563
577
|
}
|
|
564
578
|
/**
|
|
565
|
-
* Fetch the latest console log entries for a schema within a bulk sync execution.
|
|
579
|
+
* Fetch the latest console log entries for a schema within a bulk sync execution. Returnst the most recent 50 entries.
|
|
566
580
|
*
|
|
567
581
|
* @param {string} sync_id
|
|
568
582
|
* @param {string} execution_id
|
|
@@ -574,6 +588,8 @@ class ExecutionsClient {
|
|
|
574
588
|
* @throws {@link Polytomic.NotFoundError}
|
|
575
589
|
* @throws {@link Polytomic.RequestTimeoutError}
|
|
576
590
|
* @throws {@link Polytomic.InternalServerError}
|
|
591
|
+
* @throws {@link errors.PolytomicError}
|
|
592
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
577
593
|
*
|
|
578
594
|
* @example
|
|
579
595
|
* await client.bulkSync.executions.getSchemaConsoleLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "0ecd09c1-b901-4d27-9053-f0367c427254", "users", {
|
|
@@ -638,5 +654,84 @@ class ExecutionsClient {
|
|
|
638
654
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/bulk/syncs/{sync_id}/executions/{execution_id}/schemas/{schema_id}/consolelog");
|
|
639
655
|
});
|
|
640
656
|
}
|
|
657
|
+
/**
|
|
658
|
+
* Fetch the latest console log entries for ingestion scoped by connection and optional bulk sync. Returns the most recent 50 entries.
|
|
659
|
+
*
|
|
660
|
+
* @param {string} connection_id
|
|
661
|
+
* @param {Polytomic.bulkSync.ExecutionsGetIngestConsoleLogsRequest} request
|
|
662
|
+
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
663
|
+
*
|
|
664
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
665
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
666
|
+
* @throws {@link Polytomic.RequestTimeoutError}
|
|
667
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
668
|
+
* @throws {@link errors.PolytomicError}
|
|
669
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
670
|
+
*
|
|
671
|
+
* @example
|
|
672
|
+
* await client.bulkSync.executions.getIngestConsoleLogs("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
673
|
+
* sync_id: "248df4b7-aa70-47b8-a036-33ac447e668d",
|
|
674
|
+
* limit: 50,
|
|
675
|
+
* after: "1744311099250-0"
|
|
676
|
+
* })
|
|
677
|
+
*/
|
|
678
|
+
getIngestConsoleLogs(connection_id, request = {}, requestOptions) {
|
|
679
|
+
return core.HttpResponsePromise.fromPromise(this.__getIngestConsoleLogs(connection_id, request, requestOptions));
|
|
680
|
+
}
|
|
681
|
+
__getIngestConsoleLogs(connection_id_1) {
|
|
682
|
+
return __awaiter(this, arguments, void 0, function* (connection_id, request = {}, requestOptions) {
|
|
683
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
684
|
+
const { sync_id: syncId, limit, after } = request;
|
|
685
|
+
const _queryParams = {
|
|
686
|
+
sync_id: syncId,
|
|
687
|
+
limit,
|
|
688
|
+
after,
|
|
689
|
+
};
|
|
690
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
691
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
692
|
+
"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",
|
|
693
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
694
|
+
const _response = yield core.fetcher({
|
|
695
|
+
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`),
|
|
696
|
+
method: "GET",
|
|
697
|
+
headers: _headers,
|
|
698
|
+
queryString: core.url
|
|
699
|
+
.queryBuilder()
|
|
700
|
+
.addMany(_queryParams)
|
|
701
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
702
|
+
.build(),
|
|
703
|
+
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,
|
|
704
|
+
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,
|
|
705
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
706
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
707
|
+
logging: this._options.logging,
|
|
708
|
+
});
|
|
709
|
+
if (_response.ok) {
|
|
710
|
+
return {
|
|
711
|
+
data: _response.body,
|
|
712
|
+
rawResponse: _response.rawResponse,
|
|
713
|
+
};
|
|
714
|
+
}
|
|
715
|
+
if (_response.error.reason === "status-code") {
|
|
716
|
+
switch (_response.error.statusCode) {
|
|
717
|
+
case 400:
|
|
718
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
719
|
+
case 404:
|
|
720
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
721
|
+
case 408:
|
|
722
|
+
throw new Polytomic.RequestTimeoutError(_response.error.body, _response.rawResponse);
|
|
723
|
+
case 500:
|
|
724
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
725
|
+
default:
|
|
726
|
+
throw new errors.PolytomicError({
|
|
727
|
+
statusCode: _response.error.statusCode,
|
|
728
|
+
body: _response.error.body,
|
|
729
|
+
rawResponse: _response.rawResponse,
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/connections/{connection_id}/ingest/consolelog");
|
|
734
|
+
});
|
|
735
|
+
}
|
|
641
736
|
}
|
|
642
737
|
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"));
|
|
@@ -24,6 +24,8 @@ export declare class SchedulesClient {
|
|
|
24
24
|
* @throws {@link Polytomic.ForbiddenError}
|
|
25
25
|
* @throws {@link Polytomic.NotFoundError}
|
|
26
26
|
* @throws {@link Polytomic.InternalServerError}
|
|
27
|
+
* @throws {@link errors.PolytomicError}
|
|
28
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
27
29
|
*
|
|
28
30
|
* @example
|
|
29
31
|
* await client.bulkSync.schedules.list("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -48,6 +50,8 @@ export declare class SchedulesClient {
|
|
|
48
50
|
* @throws {@link Polytomic.ForbiddenError}
|
|
49
51
|
* @throws {@link Polytomic.NotFoundError}
|
|
50
52
|
* @throws {@link Polytomic.InternalServerError}
|
|
53
|
+
* @throws {@link errors.PolytomicError}
|
|
54
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
51
55
|
*
|
|
52
56
|
* @example
|
|
53
57
|
* await client.bulkSync.schedules.create("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -75,6 +79,8 @@ export declare class SchedulesClient {
|
|
|
75
79
|
* @throws {@link Polytomic.ForbiddenError}
|
|
76
80
|
* @throws {@link Polytomic.NotFoundError}
|
|
77
81
|
* @throws {@link Polytomic.InternalServerError}
|
|
82
|
+
* @throws {@link errors.PolytomicError}
|
|
83
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
78
84
|
*
|
|
79
85
|
* @example
|
|
80
86
|
* await client.bulkSync.schedules.get("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -97,6 +103,8 @@ export declare class SchedulesClient {
|
|
|
97
103
|
* @throws {@link Polytomic.ForbiddenError}
|
|
98
104
|
* @throws {@link Polytomic.NotFoundError}
|
|
99
105
|
* @throws {@link Polytomic.InternalServerError}
|
|
106
|
+
* @throws {@link errors.PolytomicError}
|
|
107
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
100
108
|
*
|
|
101
109
|
* @example
|
|
102
110
|
* await client.bulkSync.schedules.update("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -120,6 +128,8 @@ export declare class SchedulesClient {
|
|
|
120
128
|
* @throws {@link Polytomic.ForbiddenError}
|
|
121
129
|
* @throws {@link Polytomic.NotFoundError}
|
|
122
130
|
* @throws {@link Polytomic.InternalServerError}
|
|
131
|
+
* @throws {@link errors.PolytomicError}
|
|
132
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
123
133
|
*
|
|
124
134
|
* @example
|
|
125
135
|
* await client.bulkSync.schedules.delete("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -47,6 +47,7 @@ exports.SchedulesClient = void 0;
|
|
|
47
47
|
const BaseClient_1 = require("../../../../../../BaseClient");
|
|
48
48
|
const core = __importStar(require("../../../../../../core"));
|
|
49
49
|
const headers_1 = require("../../../../../../core/headers");
|
|
50
|
+
const requestBody_1 = require("../../../../../../core/requestBody");
|
|
50
51
|
const environments = __importStar(require("../../../../../../environments"));
|
|
51
52
|
const handleNonStatusCodeError_1 = require("../../../../../../errors/handleNonStatusCodeError");
|
|
52
53
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
@@ -67,6 +68,8 @@ class SchedulesClient {
|
|
|
67
68
|
* @throws {@link Polytomic.ForbiddenError}
|
|
68
69
|
* @throws {@link Polytomic.NotFoundError}
|
|
69
70
|
* @throws {@link Polytomic.InternalServerError}
|
|
71
|
+
* @throws {@link errors.PolytomicError}
|
|
72
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
70
73
|
*
|
|
71
74
|
* @example
|
|
72
75
|
* await client.bulkSync.schedules.list("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -132,6 +135,8 @@ class SchedulesClient {
|
|
|
132
135
|
* @throws {@link Polytomic.ForbiddenError}
|
|
133
136
|
* @throws {@link Polytomic.NotFoundError}
|
|
134
137
|
* @throws {@link Polytomic.InternalServerError}
|
|
138
|
+
* @throws {@link errors.PolytomicError}
|
|
139
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
135
140
|
*
|
|
136
141
|
* @example
|
|
137
142
|
* await client.bulkSync.schedules.create("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -158,7 +163,7 @@ class SchedulesClient {
|
|
|
158
163
|
contentType: "application/json",
|
|
159
164
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
160
165
|
requestType: "json",
|
|
161
|
-
body: request,
|
|
166
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
162
167
|
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,
|
|
163
168
|
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,
|
|
164
169
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -206,6 +211,8 @@ class SchedulesClient {
|
|
|
206
211
|
* @throws {@link Polytomic.ForbiddenError}
|
|
207
212
|
* @throws {@link Polytomic.NotFoundError}
|
|
208
213
|
* @throws {@link Polytomic.InternalServerError}
|
|
214
|
+
* @throws {@link errors.PolytomicError}
|
|
215
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
209
216
|
*
|
|
210
217
|
* @example
|
|
211
218
|
* await client.bulkSync.schedules.get("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -269,6 +276,8 @@ class SchedulesClient {
|
|
|
269
276
|
* @throws {@link Polytomic.ForbiddenError}
|
|
270
277
|
* @throws {@link Polytomic.NotFoundError}
|
|
271
278
|
* @throws {@link Polytomic.InternalServerError}
|
|
279
|
+
* @throws {@link errors.PolytomicError}
|
|
280
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
272
281
|
*
|
|
273
282
|
* @example
|
|
274
283
|
* await client.bulkSync.schedules.update("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -295,7 +304,7 @@ class SchedulesClient {
|
|
|
295
304
|
contentType: "application/json",
|
|
296
305
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
297
306
|
requestType: "json",
|
|
298
|
-
body: request,
|
|
307
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
299
308
|
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,
|
|
300
309
|
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,
|
|
301
310
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -339,6 +348,8 @@ class SchedulesClient {
|
|
|
339
348
|
* @throws {@link Polytomic.ForbiddenError}
|
|
340
349
|
* @throws {@link Polytomic.NotFoundError}
|
|
341
350
|
* @throws {@link Polytomic.InternalServerError}
|
|
351
|
+
* @throws {@link errors.PolytomicError}
|
|
352
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
342
353
|
*
|
|
343
354
|
* @example
|
|
344
355
|
* await client.bulkSync.schedules.delete("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -31,6 +31,8 @@ export declare class SchemasClient {
|
|
|
31
31
|
* @param {SchemasClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
32
|
*
|
|
33
33
|
* @throws {@link Polytomic.NotFoundError}
|
|
34
|
+
* @throws {@link errors.PolytomicError}
|
|
35
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
34
36
|
*
|
|
35
37
|
* @example
|
|
36
38
|
* await client.bulkSync.schemas.list("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -62,6 +64,8 @@ export declare class SchemasClient {
|
|
|
62
64
|
* @throws {@link Polytomic.ForbiddenError}
|
|
63
65
|
* @throws {@link Polytomic.NotFoundError}
|
|
64
66
|
* @throws {@link Polytomic.InternalServerError}
|
|
67
|
+
* @throws {@link errors.PolytomicError}
|
|
68
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
65
69
|
*
|
|
66
70
|
* @example
|
|
67
71
|
* await client.bulkSync.schemas.patch("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -85,6 +89,8 @@ export declare class SchemasClient {
|
|
|
85
89
|
* @param {SchemasClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
86
90
|
*
|
|
87
91
|
* @throws {@link Polytomic.NotFoundError}
|
|
92
|
+
* @throws {@link errors.PolytomicError}
|
|
93
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
88
94
|
*
|
|
89
95
|
* @example
|
|
90
96
|
* await client.bulkSync.schemas.get("248df4b7-aa70-47b8-a036-33ac447e668d", "Contact")
|
|
@@ -116,6 +122,8 @@ export declare class SchemasClient {
|
|
|
116
122
|
* @throws {@link Polytomic.ForbiddenError}
|
|
117
123
|
* @throws {@link Polytomic.NotFoundError}
|
|
118
124
|
* @throws {@link Polytomic.InternalServerError}
|
|
125
|
+
* @throws {@link errors.PolytomicError}
|
|
126
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
119
127
|
*
|
|
120
128
|
* @example
|
|
121
129
|
* await client.bulkSync.schemas.update("248df4b7-aa70-47b8-a036-33ac447e668d", "contact")
|
|
@@ -139,6 +147,8 @@ export declare class SchemasClient {
|
|
|
139
147
|
* @throws {@link Polytomic.ForbiddenError}
|
|
140
148
|
* @throws {@link Polytomic.NotFoundError}
|
|
141
149
|
* @throws {@link Polytomic.InternalServerError}
|
|
150
|
+
* @throws {@link errors.PolytomicError}
|
|
151
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
142
152
|
*
|
|
143
153
|
* @example
|
|
144
154
|
* await client.bulkSync.schemas.cancel("248df4b7-aa70-47b8-a036-33ac447e668d", "schema_id")
|
|
@@ -48,6 +48,7 @@ const BaseClient_1 = require("../../../../../../BaseClient");
|
|
|
48
48
|
const core = __importStar(require("../../../../../../core"));
|
|
49
49
|
const headers_1 = require("../../../../../../core/headers");
|
|
50
50
|
const json_1 = require("../../../../../../core/json");
|
|
51
|
+
const requestBody_1 = require("../../../../../../core/requestBody");
|
|
51
52
|
const environments = __importStar(require("../../../../../../environments"));
|
|
52
53
|
const handleNonStatusCodeError_1 = require("../../../../../../errors/handleNonStatusCodeError");
|
|
53
54
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
@@ -75,6 +76,8 @@ class SchemasClient {
|
|
|
75
76
|
* @param {SchemasClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
76
77
|
*
|
|
77
78
|
* @throws {@link Polytomic.NotFoundError}
|
|
79
|
+
* @throws {@link errors.PolytomicError}
|
|
80
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
78
81
|
*
|
|
79
82
|
* @example
|
|
80
83
|
* await client.bulkSync.schemas.list("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -151,6 +154,8 @@ class SchemasClient {
|
|
|
151
154
|
* @throws {@link Polytomic.ForbiddenError}
|
|
152
155
|
* @throws {@link Polytomic.NotFoundError}
|
|
153
156
|
* @throws {@link Polytomic.InternalServerError}
|
|
157
|
+
* @throws {@link errors.PolytomicError}
|
|
158
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
154
159
|
*
|
|
155
160
|
* @example
|
|
156
161
|
* await client.bulkSync.schemas.patch("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -173,7 +178,7 @@ class SchemasClient {
|
|
|
173
178
|
contentType: "application/json",
|
|
174
179
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
175
180
|
requestType: "json",
|
|
176
|
-
body: request,
|
|
181
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
177
182
|
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,
|
|
178
183
|
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,
|
|
179
184
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -224,6 +229,8 @@ class SchemasClient {
|
|
|
224
229
|
* @param {SchemasClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
225
230
|
*
|
|
226
231
|
* @throws {@link Polytomic.NotFoundError}
|
|
232
|
+
* @throws {@link errors.PolytomicError}
|
|
233
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
227
234
|
*
|
|
228
235
|
* @example
|
|
229
236
|
* await client.bulkSync.schemas.get("248df4b7-aa70-47b8-a036-33ac447e668d", "Contact")
|
|
@@ -292,6 +299,8 @@ class SchemasClient {
|
|
|
292
299
|
* @throws {@link Polytomic.ForbiddenError}
|
|
293
300
|
* @throws {@link Polytomic.NotFoundError}
|
|
294
301
|
* @throws {@link Polytomic.InternalServerError}
|
|
302
|
+
* @throws {@link errors.PolytomicError}
|
|
303
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
295
304
|
*
|
|
296
305
|
* @example
|
|
297
306
|
* await client.bulkSync.schemas.update("248df4b7-aa70-47b8-a036-33ac447e668d", "contact")
|
|
@@ -314,7 +323,7 @@ class SchemasClient {
|
|
|
314
323
|
contentType: "application/json",
|
|
315
324
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
316
325
|
requestType: "json",
|
|
317
|
-
body: request,
|
|
326
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
318
327
|
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,
|
|
319
328
|
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,
|
|
320
329
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -360,6 +369,8 @@ class SchemasClient {
|
|
|
360
369
|
* @throws {@link Polytomic.ForbiddenError}
|
|
361
370
|
* @throws {@link Polytomic.NotFoundError}
|
|
362
371
|
* @throws {@link Polytomic.InternalServerError}
|
|
372
|
+
* @throws {@link errors.PolytomicError}
|
|
373
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
363
374
|
*
|
|
364
375
|
* @example
|
|
365
376
|
* await client.bulkSync.schemas.cancel("248df4b7-aa70-47b8-a036-33ac447e668d", "schema_id")
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export interface SchemasListRequest {
|
|
6
6
|
/** Optional filters applied to the returned schemas. Supports enabled=true to return only enabled schemas and enabled=false to return only disabled schemas. */
|
|
7
|
-
filters?: Record<string, string>;
|
|
7
|
+
filters?: Record<string, string | undefined>;
|
|
8
8
|
}
|