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
|
@@ -21,11 +21,13 @@ export declare class UsersClient {
|
|
|
21
21
|
*
|
|
22
22
|
* @throws {@link Polytomic.ForbiddenError}
|
|
23
23
|
* @throws {@link Polytomic.NotFoundError}
|
|
24
|
+
* @throws {@link errors.PolytomicError}
|
|
25
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
24
26
|
*
|
|
25
27
|
* @example
|
|
26
28
|
* await client.users.listCurrentOrgUsers()
|
|
27
29
|
*/
|
|
28
|
-
listCurrentOrgUsers(requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<Polytomic.
|
|
30
|
+
listCurrentOrgUsers(requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<Polytomic.CurrentOrgListUsersEnvelope>;
|
|
29
31
|
private __listCurrentOrgUsers;
|
|
30
32
|
/**
|
|
31
33
|
* Creates a new user in the caller's current organization and assigns the requested permissions roles.
|
|
@@ -39,6 +41,8 @@ export declare class UsersClient {
|
|
|
39
41
|
* @throws {@link Polytomic.ForbiddenError}
|
|
40
42
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
41
43
|
* @throws {@link Polytomic.InternalServerError}
|
|
44
|
+
* @throws {@link errors.PolytomicError}
|
|
45
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
42
46
|
*
|
|
43
47
|
* @example
|
|
44
48
|
* await client.users.createCurrentOrgUser({
|
|
@@ -56,11 +60,13 @@ export declare class UsersClient {
|
|
|
56
60
|
* @throws {@link Polytomic.ForbiddenError}
|
|
57
61
|
* @throws {@link Polytomic.NotFoundError}
|
|
58
62
|
* @throws {@link Polytomic.InternalServerError}
|
|
63
|
+
* @throws {@link errors.PolytomicError}
|
|
64
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
59
65
|
*
|
|
60
66
|
* @example
|
|
61
67
|
* await client.users.getCurrentOrgUser("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
62
68
|
*/
|
|
63
|
-
getCurrentOrgUser(id: string, requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<Polytomic.
|
|
69
|
+
getCurrentOrgUser(id: string, requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<Polytomic.CurrentOrgUserEnvelope>;
|
|
64
70
|
private __getCurrentOrgUser;
|
|
65
71
|
/**
|
|
66
72
|
* Updates the permissions roles assigned to a user in the caller's current organization.
|
|
@@ -75,6 +81,8 @@ export declare class UsersClient {
|
|
|
75
81
|
* @throws {@link Polytomic.ForbiddenError}
|
|
76
82
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
77
83
|
* @throws {@link Polytomic.InternalServerError}
|
|
84
|
+
* @throws {@link errors.PolytomicError}
|
|
85
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
78
86
|
*
|
|
79
87
|
* @example
|
|
80
88
|
* await client.users.updateCurrentOrgUser("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -94,6 +102,8 @@ export declare class UsersClient {
|
|
|
94
102
|
* @throws {@link Polytomic.ForbiddenError}
|
|
95
103
|
* @throws {@link Polytomic.NotFoundError}
|
|
96
104
|
* @throws {@link Polytomic.InternalServerError}
|
|
105
|
+
* @throws {@link errors.PolytomicError}
|
|
106
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
97
107
|
*
|
|
98
108
|
* @example
|
|
99
109
|
* await client.users.deleteCurrentOrgUser("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -114,6 +124,8 @@ export declare class UsersClient {
|
|
|
114
124
|
*
|
|
115
125
|
* @throws {@link Polytomic.ForbiddenError}
|
|
116
126
|
* @throws {@link Polytomic.NotFoundError}
|
|
127
|
+
* @throws {@link errors.PolytomicError}
|
|
128
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
117
129
|
*
|
|
118
130
|
* @example
|
|
119
131
|
* await client.users.list("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -137,6 +149,8 @@ export declare class UsersClient {
|
|
|
137
149
|
* @throws {@link Polytomic.ForbiddenError}
|
|
138
150
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
139
151
|
* @throws {@link Polytomic.InternalServerError}
|
|
152
|
+
* @throws {@link errors.PolytomicError}
|
|
153
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
140
154
|
*
|
|
141
155
|
* @example
|
|
142
156
|
* await client.users.create("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -159,6 +173,8 @@ export declare class UsersClient {
|
|
|
159
173
|
* @throws {@link Polytomic.ForbiddenError}
|
|
160
174
|
* @throws {@link Polytomic.NotFoundError}
|
|
161
175
|
* @throws {@link Polytomic.InternalServerError}
|
|
176
|
+
* @throws {@link errors.PolytomicError}
|
|
177
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
162
178
|
*
|
|
163
179
|
* @example
|
|
164
180
|
* await client.users.get("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -183,6 +199,8 @@ export declare class UsersClient {
|
|
|
183
199
|
* @throws {@link Polytomic.ForbiddenError}
|
|
184
200
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
185
201
|
* @throws {@link Polytomic.InternalServerError}
|
|
202
|
+
* @throws {@link errors.PolytomicError}
|
|
203
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
186
204
|
*
|
|
187
205
|
* @example
|
|
188
206
|
* await client.users.update("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -209,6 +227,8 @@ export declare class UsersClient {
|
|
|
209
227
|
* @throws {@link Polytomic.ForbiddenError}
|
|
210
228
|
* @throws {@link Polytomic.NotFoundError}
|
|
211
229
|
* @throws {@link Polytomic.InternalServerError}
|
|
230
|
+
* @throws {@link errors.PolytomicError}
|
|
231
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
212
232
|
*
|
|
213
233
|
* @example
|
|
214
234
|
* await client.users.delete("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -229,6 +249,8 @@ export declare class UsersClient {
|
|
|
229
249
|
* @throws {@link Polytomic.ForbiddenError}
|
|
230
250
|
* @throws {@link Polytomic.NotFoundError}
|
|
231
251
|
* @throws {@link Polytomic.InternalServerError}
|
|
252
|
+
* @throws {@link errors.PolytomicError}
|
|
253
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
232
254
|
*
|
|
233
255
|
* @example
|
|
234
256
|
* await client.users.createApiKey("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -47,6 +47,7 @@ exports.UsersClient = 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"));
|
|
@@ -64,6 +65,8 @@ class UsersClient {
|
|
|
64
65
|
*
|
|
65
66
|
* @throws {@link Polytomic.ForbiddenError}
|
|
66
67
|
* @throws {@link Polytomic.NotFoundError}
|
|
68
|
+
* @throws {@link errors.PolytomicError}
|
|
69
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
67
70
|
*
|
|
68
71
|
* @example
|
|
69
72
|
* await client.users.listCurrentOrgUsers()
|
|
@@ -90,7 +93,10 @@ class UsersClient {
|
|
|
90
93
|
logging: this._options.logging,
|
|
91
94
|
});
|
|
92
95
|
if (_response.ok) {
|
|
93
|
-
return {
|
|
96
|
+
return {
|
|
97
|
+
data: _response.body,
|
|
98
|
+
rawResponse: _response.rawResponse,
|
|
99
|
+
};
|
|
94
100
|
}
|
|
95
101
|
if (_response.error.reason === "status-code") {
|
|
96
102
|
switch (_response.error.statusCode) {
|
|
@@ -121,6 +127,8 @@ class UsersClient {
|
|
|
121
127
|
* @throws {@link Polytomic.ForbiddenError}
|
|
122
128
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
123
129
|
* @throws {@link Polytomic.InternalServerError}
|
|
130
|
+
* @throws {@link errors.PolytomicError}
|
|
131
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
124
132
|
*
|
|
125
133
|
* @example
|
|
126
134
|
* await client.users.createCurrentOrgUser({
|
|
@@ -145,7 +153,7 @@ class UsersClient {
|
|
|
145
153
|
contentType: "application/json",
|
|
146
154
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
147
155
|
requestType: "json",
|
|
148
|
-
body: request,
|
|
156
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
149
157
|
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,
|
|
150
158
|
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,
|
|
151
159
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -183,6 +191,8 @@ class UsersClient {
|
|
|
183
191
|
* @throws {@link Polytomic.ForbiddenError}
|
|
184
192
|
* @throws {@link Polytomic.NotFoundError}
|
|
185
193
|
* @throws {@link Polytomic.InternalServerError}
|
|
194
|
+
* @throws {@link errors.PolytomicError}
|
|
195
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
186
196
|
*
|
|
187
197
|
* @example
|
|
188
198
|
* await client.users.getCurrentOrgUser("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -243,6 +253,8 @@ class UsersClient {
|
|
|
243
253
|
* @throws {@link Polytomic.ForbiddenError}
|
|
244
254
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
245
255
|
* @throws {@link Polytomic.InternalServerError}
|
|
256
|
+
* @throws {@link errors.PolytomicError}
|
|
257
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
246
258
|
*
|
|
247
259
|
* @example
|
|
248
260
|
* await client.users.updateCurrentOrgUser("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -265,7 +277,7 @@ class UsersClient {
|
|
|
265
277
|
contentType: "application/json",
|
|
266
278
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
267
279
|
requestType: "json",
|
|
268
|
-
body: request,
|
|
280
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
269
281
|
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,
|
|
270
282
|
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,
|
|
271
283
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -307,6 +319,8 @@ class UsersClient {
|
|
|
307
319
|
* @throws {@link Polytomic.ForbiddenError}
|
|
308
320
|
* @throws {@link Polytomic.NotFoundError}
|
|
309
321
|
* @throws {@link Polytomic.InternalServerError}
|
|
322
|
+
* @throws {@link errors.PolytomicError}
|
|
323
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
310
324
|
*
|
|
311
325
|
* @example
|
|
312
326
|
* await client.users.deleteCurrentOrgUser("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -369,6 +383,8 @@ class UsersClient {
|
|
|
369
383
|
*
|
|
370
384
|
* @throws {@link Polytomic.ForbiddenError}
|
|
371
385
|
* @throws {@link Polytomic.NotFoundError}
|
|
386
|
+
* @throws {@link errors.PolytomicError}
|
|
387
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
372
388
|
*
|
|
373
389
|
* @example
|
|
374
390
|
* await client.users.list("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -431,6 +447,8 @@ class UsersClient {
|
|
|
431
447
|
* @throws {@link Polytomic.ForbiddenError}
|
|
432
448
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
433
449
|
* @throws {@link Polytomic.InternalServerError}
|
|
450
|
+
* @throws {@link errors.PolytomicError}
|
|
451
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
434
452
|
*
|
|
435
453
|
* @example
|
|
436
454
|
* await client.users.create("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -455,7 +473,7 @@ class UsersClient {
|
|
|
455
473
|
contentType: "application/json",
|
|
456
474
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
457
475
|
requestType: "json",
|
|
458
|
-
body: request,
|
|
476
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
459
477
|
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,
|
|
460
478
|
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,
|
|
461
479
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -498,6 +516,8 @@ class UsersClient {
|
|
|
498
516
|
* @throws {@link Polytomic.ForbiddenError}
|
|
499
517
|
* @throws {@link Polytomic.NotFoundError}
|
|
500
518
|
* @throws {@link Polytomic.InternalServerError}
|
|
519
|
+
* @throws {@link errors.PolytomicError}
|
|
520
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
501
521
|
*
|
|
502
522
|
* @example
|
|
503
523
|
* await client.users.get("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -563,6 +583,8 @@ class UsersClient {
|
|
|
563
583
|
* @throws {@link Polytomic.ForbiddenError}
|
|
564
584
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
565
585
|
* @throws {@link Polytomic.InternalServerError}
|
|
586
|
+
* @throws {@link errors.PolytomicError}
|
|
587
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
566
588
|
*
|
|
567
589
|
* @example
|
|
568
590
|
* await client.users.update("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -587,7 +609,7 @@ class UsersClient {
|
|
|
587
609
|
contentType: "application/json",
|
|
588
610
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
589
611
|
requestType: "json",
|
|
590
|
-
body: request,
|
|
612
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
591
613
|
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,
|
|
592
614
|
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,
|
|
593
615
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -634,6 +656,8 @@ class UsersClient {
|
|
|
634
656
|
* @throws {@link Polytomic.ForbiddenError}
|
|
635
657
|
* @throws {@link Polytomic.NotFoundError}
|
|
636
658
|
* @throws {@link Polytomic.InternalServerError}
|
|
659
|
+
* @throws {@link errors.PolytomicError}
|
|
660
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
637
661
|
*
|
|
638
662
|
* @example
|
|
639
663
|
* await client.users.delete("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -696,6 +720,8 @@ class UsersClient {
|
|
|
696
720
|
* @throws {@link Polytomic.ForbiddenError}
|
|
697
721
|
* @throws {@link Polytomic.NotFoundError}
|
|
698
722
|
* @throws {@link Polytomic.InternalServerError}
|
|
723
|
+
* @throws {@link errors.PolytomicError}
|
|
724
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
699
725
|
*
|
|
700
726
|
* @example
|
|
701
727
|
* await client.users.createApiKey("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -25,6 +25,8 @@ export declare class WebhooksClient {
|
|
|
25
25
|
* @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
26
26
|
*
|
|
27
27
|
* @throws {@link Polytomic.InternalServerError}
|
|
28
|
+
* @throws {@link errors.PolytomicError}
|
|
29
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
28
30
|
*
|
|
29
31
|
* @example
|
|
30
32
|
* await client.webhooks.list()
|
|
@@ -47,6 +49,8 @@ export declare class WebhooksClient {
|
|
|
47
49
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
48
50
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
49
51
|
* @throws {@link Polytomic.InternalServerError}
|
|
52
|
+
* @throws {@link errors.PolytomicError}
|
|
53
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
50
54
|
*
|
|
51
55
|
* @example
|
|
52
56
|
* await client.webhooks.create({
|
|
@@ -70,6 +74,8 @@ export declare class WebhooksClient {
|
|
|
70
74
|
* @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
71
75
|
*
|
|
72
76
|
* @throws {@link Polytomic.NotFoundError}
|
|
77
|
+
* @throws {@link errors.PolytomicError}
|
|
78
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
73
79
|
*
|
|
74
80
|
* @example
|
|
75
81
|
* await client.webhooks.get("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -93,6 +99,8 @@ export declare class WebhooksClient {
|
|
|
93
99
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
94
100
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
95
101
|
* @throws {@link Polytomic.InternalServerError}
|
|
102
|
+
* @throws {@link errors.PolytomicError}
|
|
103
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
96
104
|
*
|
|
97
105
|
* @example
|
|
98
106
|
* await client.webhooks.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -121,6 +129,8 @@ export declare class WebhooksClient {
|
|
|
121
129
|
*
|
|
122
130
|
* @throws {@link Polytomic.NotFoundError}
|
|
123
131
|
* @throws {@link Polytomic.InternalServerError}
|
|
132
|
+
* @throws {@link errors.PolytomicError}
|
|
133
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
124
134
|
*
|
|
125
135
|
* @example
|
|
126
136
|
* await client.webhooks.delete("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -148,6 +158,8 @@ export declare class WebhooksClient {
|
|
|
148
158
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
149
159
|
* @throws {@link Polytomic.NotFoundError}
|
|
150
160
|
* @throws {@link Polytomic.InternalServerError}
|
|
161
|
+
* @throws {@link errors.PolytomicError}
|
|
162
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
151
163
|
*
|
|
152
164
|
* @example
|
|
153
165
|
* await client.webhooks.disable("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -173,6 +185,8 @@ export declare class WebhooksClient {
|
|
|
173
185
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
174
186
|
* @throws {@link Polytomic.NotFoundError}
|
|
175
187
|
* @throws {@link Polytomic.InternalServerError}
|
|
188
|
+
* @throws {@link errors.PolytomicError}
|
|
189
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
176
190
|
*
|
|
177
191
|
* @example
|
|
178
192
|
* await client.webhooks.enable("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -47,6 +47,7 @@ exports.WebhooksClient = 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"));
|
|
@@ -68,6 +69,8 @@ class WebhooksClient {
|
|
|
68
69
|
* @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
70
|
*
|
|
70
71
|
* @throws {@link Polytomic.InternalServerError}
|
|
72
|
+
* @throws {@link errors.PolytomicError}
|
|
73
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
71
74
|
*
|
|
72
75
|
* @example
|
|
73
76
|
* await client.webhooks.list()
|
|
@@ -127,6 +130,8 @@ class WebhooksClient {
|
|
|
127
130
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
128
131
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
129
132
|
* @throws {@link Polytomic.InternalServerError}
|
|
133
|
+
* @throws {@link errors.PolytomicError}
|
|
134
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
130
135
|
*
|
|
131
136
|
* @example
|
|
132
137
|
* await client.webhooks.create({
|
|
@@ -152,7 +157,7 @@ class WebhooksClient {
|
|
|
152
157
|
contentType: "application/json",
|
|
153
158
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
154
159
|
requestType: "json",
|
|
155
|
-
body: request,
|
|
160
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
156
161
|
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,
|
|
157
162
|
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,
|
|
158
163
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -195,6 +200,8 @@ class WebhooksClient {
|
|
|
195
200
|
* @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
196
201
|
*
|
|
197
202
|
* @throws {@link Polytomic.NotFoundError}
|
|
203
|
+
* @throws {@link errors.PolytomicError}
|
|
204
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
198
205
|
*
|
|
199
206
|
* @example
|
|
200
207
|
* await client.webhooks.get("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -255,6 +262,8 @@ class WebhooksClient {
|
|
|
255
262
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
256
263
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
257
264
|
* @throws {@link Polytomic.InternalServerError}
|
|
265
|
+
* @throws {@link errors.PolytomicError}
|
|
266
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
258
267
|
*
|
|
259
268
|
* @example
|
|
260
269
|
* await client.webhooks.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
@@ -280,7 +289,7 @@ class WebhooksClient {
|
|
|
280
289
|
contentType: "application/json",
|
|
281
290
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
282
291
|
requestType: "json",
|
|
283
|
-
body: request,
|
|
292
|
+
body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
284
293
|
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,
|
|
285
294
|
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,
|
|
286
295
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -328,6 +337,8 @@ class WebhooksClient {
|
|
|
328
337
|
*
|
|
329
338
|
* @throws {@link Polytomic.NotFoundError}
|
|
330
339
|
* @throws {@link Polytomic.InternalServerError}
|
|
340
|
+
* @throws {@link errors.PolytomicError}
|
|
341
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
331
342
|
*
|
|
332
343
|
* @example
|
|
333
344
|
* await client.webhooks.delete("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -395,6 +406,8 @@ class WebhooksClient {
|
|
|
395
406
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
396
407
|
* @throws {@link Polytomic.NotFoundError}
|
|
397
408
|
* @throws {@link Polytomic.InternalServerError}
|
|
409
|
+
* @throws {@link errors.PolytomicError}
|
|
410
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
398
411
|
*
|
|
399
412
|
* @example
|
|
400
413
|
* await client.webhooks.disable("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -462,6 +475,8 @@ class WebhooksClient {
|
|
|
462
475
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
463
476
|
* @throws {@link Polytomic.NotFoundError}
|
|
464
477
|
* @throws {@link Polytomic.InternalServerError}
|
|
478
|
+
* @throws {@link errors.PolytomicError}
|
|
479
|
+
* @throws {@link errors.PolytomicTimeoutError}
|
|
465
480
|
*
|
|
466
481
|
* @example
|
|
467
482
|
* await client.webhooks.enable("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -16,5 +16,7 @@ export interface BulkSyncExecution {
|
|
|
16
16
|
status_message?: string | undefined;
|
|
17
17
|
type?: string | undefined;
|
|
18
18
|
updated_at?: string | undefined;
|
|
19
|
+
/** Polytomic version which last ran this execution. */
|
|
20
|
+
version?: string | undefined;
|
|
19
21
|
warning_count?: number | undefined;
|
|
20
22
|
}
|
|
@@ -10,5 +10,7 @@ export interface BulkSyncSchemaExecution {
|
|
|
10
10
|
status?: Polytomic.BulkSchemaExecutionStatus | undefined;
|
|
11
11
|
status_message?: string | undefined;
|
|
12
12
|
updated_at?: string | undefined;
|
|
13
|
+
/** Polytomic version which last ran this schema execution. */
|
|
14
|
+
version?: string | undefined;
|
|
13
15
|
warning_count?: number | undefined;
|
|
14
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface ConnectCardResponse {
|
|
2
|
-
/** URL
|
|
2
|
+
/** URL that opens the Polytomic Connect flow for creating or reconnecting a Connection. */
|
|
3
3
|
redirect_url?: string | undefined;
|
|
4
|
-
/**
|
|
4
|
+
/** Token for the Polytomic Connect session. */
|
|
5
5
|
token?: string | undefined;
|
|
6
6
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface ConnectSessionResponse {
|
|
2
|
+
/** Existing or newly-created connection bound to this session. */
|
|
3
|
+
connection_id?: string | undefined;
|
|
4
|
+
/** Whether the Connect modal uses the dark theme. */
|
|
5
|
+
dark?: boolean | undefined;
|
|
6
|
+
/** Absolute time when the Connect session expires. */
|
|
7
|
+
expires_at?: string | undefined;
|
|
8
|
+
/** Stable identifier for this Connect session. */
|
|
9
|
+
id?: string | undefined;
|
|
10
|
+
/** Trusted logo URL displayed by the Connect modal. */
|
|
11
|
+
logo?: string | undefined;
|
|
12
|
+
/** Trusted connection name for this session. */
|
|
13
|
+
name?: string | undefined;
|
|
14
|
+
/** Trusted organization or partner name displayed by the Connect modal. */
|
|
15
|
+
organization_name?: string | undefined;
|
|
16
|
+
/** URL to redirect to after the Connect flow finishes. */
|
|
17
|
+
redirect_url?: string | undefined;
|
|
18
|
+
/** Fixed connection type for this session, if any. */
|
|
19
|
+
type?: string | undefined;
|
|
20
|
+
/** Connection types allowed for this session when type is empty. */
|
|
21
|
+
whitelist?: string[] | undefined;
|
|
22
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type * as Polytomic from "../index";
|
|
2
2
|
export interface ConnectionParameterValuesResponseEnvelope {
|
|
3
|
-
data?: Record<string, Polytomic.ConnectionParameterValuesResp> | undefined;
|
|
3
|
+
data?: Record<string, Polytomic.ConnectionParameterValuesResp | undefined> | undefined;
|
|
4
4
|
}
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
1
2
|
export interface ConnectionProxyResponse {
|
|
2
3
|
/** Upstream response body. If the upstream returned JSON, the body is returned as-is; otherwise it is returned as a string. */
|
|
3
4
|
body?: string | undefined;
|
|
4
5
|
/** Content-Type of the upstream response. */
|
|
5
6
|
contentType?: string | undefined;
|
|
6
7
|
/** Response headers returned by the upstream service. Headers listed in blockedResponseHeaders are removed. */
|
|
7
|
-
headers?: Record<string, string> | undefined;
|
|
8
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
9
|
+
/** Identifier for the async proxy job when async is true. */
|
|
10
|
+
jobId?: string | undefined;
|
|
11
|
+
jobStatus?: Polytomic.WorkTaskStatus | undefined;
|
|
12
|
+
/** Polling URL for the async proxy job when async is true. */
|
|
13
|
+
jobUrl?: string | undefined;
|
|
8
14
|
/** End-to-end latency of the proxied request in milliseconds. */
|
|
9
15
|
latencyMs?: number | undefined;
|
|
10
16
|
/** Identifier for this proxy call, suitable for correlating with audit logs. */
|
|
11
17
|
proxyCallId?: string | undefined;
|
|
12
|
-
/** HTTP status code returned by the upstream service. */
|
|
18
|
+
/** HTTP status code returned by the upstream service for synchronous calls, or 202 when an async proxy job is accepted. */
|
|
13
19
|
status?: number | undefined;
|
|
14
20
|
/** True if the response body was truncated because it exceeded maxResponseBodyBytes. */
|
|
15
21
|
truncated?: boolean | undefined;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ConnectionProxySettingsResponse {
|
|
2
|
+
/** Connection backend identifier (e.g. hubspot, salesforce). */
|
|
3
|
+
backendType?: string | undefined;
|
|
4
|
+
/** Unique identifier of the requested connection. */
|
|
5
|
+
connectionId?: string | undefined;
|
|
6
|
+
/** True when the connection can currently be used through the Connection Proxy API. */
|
|
7
|
+
enabled?: boolean | undefined;
|
|
8
|
+
/** Unique identifier of the parent connection where proxy settings are stored. Omitted for non-shared connections. */
|
|
9
|
+
parentConnectionId?: string | undefined;
|
|
10
|
+
/** True when the connection backend supports the Connection Proxy API. */
|
|
11
|
+
supported?: boolean | undefined;
|
|
12
|
+
}
|
|
@@ -5,6 +5,7 @@ export interface ConnectionType {
|
|
|
5
5
|
envConfig?: Record<string, unknown> | undefined;
|
|
6
6
|
id?: string | undefined;
|
|
7
7
|
initialConfiguration?: Record<string, unknown> | undefined;
|
|
8
|
+
logo_dark_url?: string | undefined;
|
|
8
9
|
logo_url?: string | undefined;
|
|
9
10
|
name?: string | undefined;
|
|
10
11
|
oauth_prompt?: Polytomic.BackendOAuthPrompt | undefined;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface ConnectionUsageCategoryStats {
|
|
2
|
+
/** Calls the sync spent in this category over the last 24 hours. */
|
|
3
|
+
calls?: number | undefined;
|
|
4
|
+
/** Backend-defined category identifier (e.g. rest, bulk). */
|
|
5
|
+
key?: string | undefined;
|
|
6
|
+
/** Human-readable category name for display. */
|
|
7
|
+
label?: string | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
export interface ConnectionUsageResponse {
|
|
3
|
+
/** Per-sync breakdown of API calls spent against this connection in the last 24 hours, sorted by total calls descending. */
|
|
4
|
+
bySync?: Polytomic.ConnectionUsageSyncStats[] | undefined;
|
|
5
|
+
/** Total backend API calls made through this connection over the last 24 hours, or null if the backend does not report usage. */
|
|
6
|
+
callsLast24h?: number | undefined;
|
|
7
|
+
/** Unique identifier of the connection the usage applies to. */
|
|
8
|
+
connectionId?: string | undefined;
|
|
9
|
+
/** True when the backend can break its API consumption down per sync; otherwise only the 24h total is reported. */
|
|
10
|
+
reportsSyncStats?: boolean | undefined;
|
|
11
|
+
}
|