@quantum-hub/qhub-api 1.0.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/README.md +9 -0
- package/dist/api/platform/BaseClient.d.ts +43 -0
- package/dist/api/platform/BaseClient.js +66 -0
- package/dist/api/platform/Client.d.ts +41 -0
- package/dist/api/platform/Client.js +62 -0
- package/dist/api/platform/api/errors/BadRequestError.d.ts +5 -0
- package/dist/api/platform/api/errors/BadRequestError.js +54 -0
- package/dist/api/platform/api/errors/ForbiddenError.d.ts +5 -0
- package/dist/api/platform/api/errors/ForbiddenError.js +54 -0
- package/dist/api/platform/api/errors/InternalServerError.d.ts +5 -0
- package/dist/api/platform/api/errors/InternalServerError.js +54 -0
- package/dist/api/platform/api/errors/NotFoundError.d.ts +5 -0
- package/dist/api/platform/api/errors/NotFoundError.js +54 -0
- package/dist/api/platform/api/errors/UnauthorizedError.d.ts +5 -0
- package/dist/api/platform/api/errors/UnauthorizedError.js +54 -0
- package/dist/api/platform/api/errors/index.d.ts +5 -0
- package/dist/api/platform/api/errors/index.js +21 -0
- package/dist/api/platform/api/index.d.ts +3 -0
- package/dist/api/platform/api/index.js +19 -0
- package/dist/api/platform/api/resources/applications/client/Client.d.ts +120 -0
- package/dist/api/platform/api/resources/applications/client/Client.js +425 -0
- package/dist/api/platform/api/resources/applications/client/index.d.ts +1 -0
- package/dist/api/platform/api/resources/applications/client/index.js +17 -0
- package/dist/api/platform/api/resources/applications/client/requests/CreateApplicationRequest.d.ts +7 -0
- package/dist/api/platform/api/resources/applications/client/requests/CreateApplicationRequest.js +3 -0
- package/dist/api/platform/api/resources/applications/client/requests/DeleteApplicationRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/applications/client/requests/DeleteApplicationRequest.js +3 -0
- package/dist/api/platform/api/resources/applications/client/requests/GetApplicationAccessKeysRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/applications/client/requests/GetApplicationAccessKeysRequest.js +3 -0
- package/dist/api/platform/api/resources/applications/client/requests/GetApplicationRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/applications/client/requests/GetApplicationRequest.js +3 -0
- package/dist/api/platform/api/resources/applications/client/requests/GetApplicationSubscriptionsRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/applications/client/requests/GetApplicationSubscriptionsRequest.js +3 -0
- package/dist/api/platform/api/resources/applications/client/requests/index.d.ts +5 -0
- package/dist/api/platform/api/resources/applications/client/requests/index.js +2 -0
- package/dist/api/platform/api/resources/applications/index.d.ts +1 -0
- package/dist/api/platform/api/resources/applications/index.js +17 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/Client.d.ts +163 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/Client.js +538 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/index.d.ts +1 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/index.js +17 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/AddConstraint1Request.d.ts +14 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/AddConstraint1Request.js +3 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/DeleteConstraint1Request.d.ts +13 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/DeleteConstraint1Request.js +3 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/DeleteShare1Request.d.ts +11 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/DeleteShare1Request.js +3 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/GetSharesForDataPoolRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/GetSharesForDataPoolRequest.js +3 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/ShareDataPoolRequest.d.ts +12 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/ShareDataPoolRequest.js +3 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/UpdateRole1Request.d.ts +14 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/UpdateRole1Request.js +3 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/UpdateTimeBasedConstraint1Request.d.ts +19 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/UpdateTimeBasedConstraint1Request.js +3 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/index.d.ts +7 -0
- package/dist/api/platform/api/resources/dataPoolShares/client/requests/index.js +2 -0
- package/dist/api/platform/api/resources/dataPoolShares/index.d.ts +2 -0
- package/dist/api/platform/api/resources/dataPoolShares/index.js +18 -0
- package/dist/api/platform/api/resources/dataPoolShares/types/AddConstraint1Response.d.ts +2 -0
- package/dist/api/platform/api/resources/dataPoolShares/types/AddConstraint1Response.js +3 -0
- package/dist/api/platform/api/resources/dataPoolShares/types/UpdateTimeBasedConstraint1RequestBody.d.ts +2 -0
- package/dist/api/platform/api/resources/dataPoolShares/types/UpdateTimeBasedConstraint1RequestBody.js +3 -0
- package/dist/api/platform/api/resources/dataPoolShares/types/UpdateTimeBasedConstraint1Response.d.ts +2 -0
- package/dist/api/platform/api/resources/dataPoolShares/types/UpdateTimeBasedConstraint1Response.js +3 -0
- package/dist/api/platform/api/resources/dataPoolShares/types/index.d.ts +3 -0
- package/dist/api/platform/api/resources/dataPoolShares/types/index.js +19 -0
- package/dist/api/platform/api/resources/dataPools/client/Client.d.ts +170 -0
- package/dist/api/platform/api/resources/dataPools/client/Client.js +624 -0
- package/dist/api/platform/api/resources/dataPools/client/index.d.ts +1 -0
- package/dist/api/platform/api/resources/dataPools/client/index.js +17 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/AddDataPoolFileRequest.d.ts +13 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/AddDataPoolFileRequest.js +3 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/CreateDataPoolRequest.d.ts +14 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/CreateDataPoolRequest.js +3 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/DeleteDataPoolFileRequest.d.ts +11 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/DeleteDataPoolFileRequest.js +3 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/DeleteDataPoolRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/DeleteDataPoolRequest.js +3 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/GetDataPoolFileRequest.d.ts +11 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/GetDataPoolFileRequest.js +3 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/GetDataPoolFilesRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/GetDataPoolFilesRequest.js +3 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/GetDataPoolRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/GetDataPoolRequest.js +3 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/UpdateDataPoolRequest.d.ts +17 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/UpdateDataPoolRequest.js +3 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/index.d.ts +8 -0
- package/dist/api/platform/api/resources/dataPools/client/requests/index.js +2 -0
- package/dist/api/platform/api/resources/dataPools/index.d.ts +1 -0
- package/dist/api/platform/api/resources/dataPools/index.js +17 -0
- package/dist/api/platform/api/resources/index.d.ts +23 -0
- package/dist/api/platform/api/resources/index.js +62 -0
- package/dist/api/platform/api/resources/organizations/client/Client.d.ts +33 -0
- package/dist/api/platform/api/resources/organizations/client/Client.js +119 -0
- package/dist/api/platform/api/resources/organizations/client/index.d.ts +1 -0
- package/dist/api/platform/api/resources/organizations/client/index.js +17 -0
- package/dist/api/platform/api/resources/organizations/client/requests/GetServiceExecutions1Request.d.ts +9 -0
- package/dist/api/platform/api/resources/organizations/client/requests/GetServiceExecutions1Request.js +3 -0
- package/dist/api/platform/api/resources/organizations/client/requests/index.d.ts +1 -0
- package/dist/api/platform/api/resources/organizations/client/requests/index.js +2 -0
- package/dist/api/platform/api/resources/organizations/index.d.ts +1 -0
- package/dist/api/platform/api/resources/organizations/index.js +17 -0
- package/dist/api/platform/api/resources/quantumJobs/client/Client.d.ts +31 -0
- package/dist/api/platform/api/resources/quantumJobs/client/Client.js +113 -0
- package/dist/api/platform/api/resources/quantumJobs/client/index.d.ts +1 -0
- package/dist/api/platform/api/resources/quantumJobs/client/index.js +17 -0
- package/dist/api/platform/api/resources/quantumJobs/client/requests/GetQuantumJobCostsRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/quantumJobs/client/requests/GetQuantumJobCostsRequest.js +3 -0
- package/dist/api/platform/api/resources/quantumJobs/client/requests/index.d.ts +1 -0
- package/dist/api/platform/api/resources/quantumJobs/client/requests/index.js +2 -0
- package/dist/api/platform/api/resources/quantumJobs/index.d.ts +1 -0
- package/dist/api/platform/api/resources/quantumJobs/index.js +17 -0
- package/dist/api/platform/api/resources/quantumWorkloads/client/Client.d.ts +31 -0
- package/dist/api/platform/api/resources/quantumWorkloads/client/Client.js +113 -0
- package/dist/api/platform/api/resources/quantumWorkloads/client/index.d.ts +1 -0
- package/dist/api/platform/api/resources/quantumWorkloads/client/index.js +17 -0
- package/dist/api/platform/api/resources/quantumWorkloads/client/requests/GetQuantumWorkloadCostsRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/quantumWorkloads/client/requests/GetQuantumWorkloadCostsRequest.js +3 -0
- package/dist/api/platform/api/resources/quantumWorkloads/client/requests/index.d.ts +1 -0
- package/dist/api/platform/api/resources/quantumWorkloads/client/requests/index.js +2 -0
- package/dist/api/platform/api/resources/quantumWorkloads/index.d.ts +1 -0
- package/dist/api/platform/api/resources/quantumWorkloads/index.js +17 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/Client.d.ts +167 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/Client.js +623 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/index.d.ts +1 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/index.js +17 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/CancelServiceExecutionRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/CancelServiceExecutionRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionCostsRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionCostsRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionLogsRequest.d.ts +13 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionLogsRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionMetricsRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionMetricsRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionResultFileRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionResultFileRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionResultRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionResultRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionsRequest.d.ts +24 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionsRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/HeadServiceExecutionRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/HeadServiceExecutionRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/index.d.ts +9 -0
- package/dist/api/platform/api/resources/serviceExecutions/client/requests/index.js +2 -0
- package/dist/api/platform/api/resources/serviceExecutions/index.d.ts +2 -0
- package/dist/api/platform/api/resources/serviceExecutions/index.js +18 -0
- package/dist/api/platform/api/resources/serviceExecutions/types/GetServiceExecutionResponse.d.ts +2 -0
- package/dist/api/platform/api/resources/serviceExecutions/types/GetServiceExecutionResponse.js +3 -0
- package/dist/api/platform/api/resources/serviceExecutions/types/index.d.ts +1 -0
- package/dist/api/platform/api/resources/serviceExecutions/types/index.js +17 -0
- package/dist/api/platform/api/resources/serviceJobs/client/Client.d.ts +87 -0
- package/dist/api/platform/api/resources/serviceJobs/client/Client.js +322 -0
- package/dist/api/platform/api/resources/serviceJobs/client/index.d.ts +1 -0
- package/dist/api/platform/api/resources/serviceJobs/client/index.js +17 -0
- package/dist/api/platform/api/resources/serviceJobs/client/requests/CreateServiceJobRequest.d.ts +14 -0
- package/dist/api/platform/api/resources/serviceJobs/client/requests/CreateServiceJobRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceJobs/client/requests/GetServiceJobRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/serviceJobs/client/requests/GetServiceJobRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceJobs/client/requests/GetServiceJobsRequest.d.ts +22 -0
- package/dist/api/platform/api/resources/serviceJobs/client/requests/GetServiceJobsRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceJobs/client/requests/RerunServiceJobRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/serviceJobs/client/requests/RerunServiceJobRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceJobs/client/requests/index.d.ts +4 -0
- package/dist/api/platform/api/resources/serviceJobs/client/requests/index.js +2 -0
- package/dist/api/platform/api/resources/serviceJobs/index.d.ts +1 -0
- package/dist/api/platform/api/resources/serviceJobs/index.js +17 -0
- package/dist/api/platform/api/resources/serviceShares/client/Client.d.ts +163 -0
- package/dist/api/platform/api/resources/serviceShares/client/Client.js +538 -0
- package/dist/api/platform/api/resources/serviceShares/client/index.d.ts +1 -0
- package/dist/api/platform/api/resources/serviceShares/client/index.js +17 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/AddConstraintRequest.d.ts +14 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/AddConstraintRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/DeleteConstraintRequest.d.ts +13 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/DeleteConstraintRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/DeleteShareRequest.d.ts +11 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/DeleteShareRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/GetSharesForServiceRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/GetSharesForServiceRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/ShareServiceRequest.d.ts +12 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/ShareServiceRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/UpdateRoleRequest.d.ts +14 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/UpdateRoleRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/UpdateTimeBasedConstraintRequest.d.ts +19 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/UpdateTimeBasedConstraintRequest.js +3 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/index.d.ts +7 -0
- package/dist/api/platform/api/resources/serviceShares/client/requests/index.js +2 -0
- package/dist/api/platform/api/resources/serviceShares/index.d.ts +2 -0
- package/dist/api/platform/api/resources/serviceShares/index.js +18 -0
- package/dist/api/platform/api/resources/serviceShares/types/AddConstraintResponse.d.ts +2 -0
- package/dist/api/platform/api/resources/serviceShares/types/AddConstraintResponse.js +3 -0
- package/dist/api/platform/api/resources/serviceShares/types/UpdateTimeBasedConstraintRequestBody.d.ts +2 -0
- package/dist/api/platform/api/resources/serviceShares/types/UpdateTimeBasedConstraintRequestBody.js +3 -0
- package/dist/api/platform/api/resources/serviceShares/types/UpdateTimeBasedConstraintResponse.d.ts +2 -0
- package/dist/api/platform/api/resources/serviceShares/types/UpdateTimeBasedConstraintResponse.js +3 -0
- package/dist/api/platform/api/resources/serviceShares/types/index.d.ts +3 -0
- package/dist/api/platform/api/resources/serviceShares/types/index.js +19 -0
- package/dist/api/platform/api/resources/subscriptions/client/Client.d.ts +87 -0
- package/dist/api/platform/api/resources/subscriptions/client/Client.js +305 -0
- package/dist/api/platform/api/resources/subscriptions/client/index.d.ts +1 -0
- package/dist/api/platform/api/resources/subscriptions/client/index.js +17 -0
- package/dist/api/platform/api/resources/subscriptions/client/requests/CreateSubscriptionRequest.d.ts +8 -0
- package/dist/api/platform/api/resources/subscriptions/client/requests/CreateSubscriptionRequest.js +3 -0
- package/dist/api/platform/api/resources/subscriptions/client/requests/DeleteSubscriptionRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/subscriptions/client/requests/DeleteSubscriptionRequest.js +3 -0
- package/dist/api/platform/api/resources/subscriptions/client/requests/GetSubscriptionRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/subscriptions/client/requests/GetSubscriptionRequest.js +3 -0
- package/dist/api/platform/api/resources/subscriptions/client/requests/GetSubscriptionServiceExecutionsRequest.d.ts +9 -0
- package/dist/api/platform/api/resources/subscriptions/client/requests/GetSubscriptionServiceExecutionsRequest.js +3 -0
- package/dist/api/platform/api/resources/subscriptions/client/requests/index.d.ts +4 -0
- package/dist/api/platform/api/resources/subscriptions/client/requests/index.js +2 -0
- package/dist/api/platform/api/resources/subscriptions/index.d.ts +1 -0
- package/dist/api/platform/api/resources/subscriptions/index.js +17 -0
- package/dist/api/platform/api/types/AccessKey.d.ts +12 -0
- package/dist/api/platform/api/types/AccessKey.js +11 -0
- package/dist/api/platform/api/types/ActivityInstance.d.ts +19 -0
- package/dist/api/platform/api/types/ActivityInstance.js +12 -0
- package/dist/api/platform/api/types/ApplicationDto.d.ts +19 -0
- package/dist/api/platform/api/types/ApplicationDto.js +13 -0
- package/dist/api/platform/api/types/CostEntry.d.ts +20 -0
- package/dist/api/platform/api/types/CostEntry.js +3 -0
- package/dist/api/platform/api/types/CreateShareConstraintDto.d.ts +7 -0
- package/dist/api/platform/api/types/CreateShareConstraintDto.js +3 -0
- package/dist/api/platform/api/types/CreateShareRequestDto.d.ts +13 -0
- package/dist/api/platform/api/types/CreateShareRequestDto.js +12 -0
- package/dist/api/platform/api/types/CreateTimeBasedConstraintDto.d.ts +4 -0
- package/dist/api/platform/api/types/CreateTimeBasedConstraintDto.js +3 -0
- package/dist/api/platform/api/types/DataPoolDto.d.ts +25 -0
- package/dist/api/platform/api/types/DataPoolDto.js +13 -0
- package/dist/api/platform/api/types/DataPoolFileDto.d.ts +16 -0
- package/dist/api/platform/api/types/DataPoolFileDto.js +3 -0
- package/dist/api/platform/api/types/Incident.d.ts +8 -0
- package/dist/api/platform/api/types/Incident.js +3 -0
- package/dist/api/platform/api/types/LogEntry.d.ts +19 -0
- package/dist/api/platform/api/types/LogEntry.js +15 -0
- package/dist/api/platform/api/types/MetricDataPoint.d.ts +9 -0
- package/dist/api/platform/api/types/MetricDataPoint.js +3 -0
- package/dist/api/platform/api/types/OauthScope.d.ts +4 -0
- package/dist/api/platform/api/types/OauthScope.js +7 -0
- package/dist/api/platform/api/types/OrganizationSearchResultDto.d.ts +4 -0
- package/dist/api/platform/api/types/OrganizationSearchResultDto.js +3 -0
- package/dist/api/platform/api/types/OrganizationTenant.d.ts +3 -0
- package/dist/api/platform/api/types/OrganizationTenant.js +3 -0
- package/dist/api/platform/api/types/PageResponseServiceExecutionDto.d.ts +28 -0
- package/dist/api/platform/api/types/PageResponseServiceExecutionDto.js +3 -0
- package/dist/api/platform/api/types/PageResponseServiceJobDto.d.ts +28 -0
- package/dist/api/platform/api/types/PageResponseServiceJobDto.js +3 -0
- package/dist/api/platform/api/types/PricingPlanDto.d.ts +14 -0
- package/dist/api/platform/api/types/PricingPlanDto.js +12 -0
- package/dist/api/platform/api/types/ProductDto.d.ts +36 -0
- package/dist/api/platform/api/types/ProductDto.js +32 -0
- package/dist/api/platform/api/types/QuantumJobCosts.d.ts +2 -0
- package/dist/api/platform/api/types/QuantumJobCosts.js +3 -0
- package/dist/api/platform/api/types/QuantumWorkloadCosts.d.ts +9 -0
- package/dist/api/platform/api/types/QuantumWorkloadCosts.js +3 -0
- package/dist/api/platform/api/types/ServiceConsumerDto.d.ts +24 -0
- package/dist/api/platform/api/types/ServiceConsumerDto.js +17 -0
- package/dist/api/platform/api/types/ServiceExecution.d.ts +4 -0
- package/dist/api/platform/api/types/ServiceExecution.js +3 -0
- package/dist/api/platform/api/types/ServiceExecutionCosts.d.ts +2 -0
- package/dist/api/platform/api/types/ServiceExecutionCosts.js +3 -0
- package/dist/api/platform/api/types/ServiceExecutionDto.d.ts +41 -0
- package/dist/api/platform/api/types/ServiceExecutionDto.js +22 -0
- package/dist/api/platform/api/types/ServiceExecutionLogs.d.ts +2 -0
- package/dist/api/platform/api/types/ServiceExecutionLogs.js +3 -0
- package/dist/api/platform/api/types/ServiceExecutionMetrics.d.ts +20 -0
- package/dist/api/platform/api/types/ServiceExecutionMetrics.js +3 -0
- package/dist/api/platform/api/types/ServiceJobDto.d.ts +42 -0
- package/dist/api/platform/api/types/ServiceJobDto.js +22 -0
- package/dist/api/platform/api/types/ShareConstraintDto.d.ts +13 -0
- package/dist/api/platform/api/types/ShareConstraintDto.js +3 -0
- package/dist/api/platform/api/types/ShareDto.d.ts +22 -0
- package/dist/api/platform/api/types/ShareDto.js +12 -0
- package/dist/api/platform/api/types/SortOrder.d.ts +17 -0
- package/dist/api/platform/api/types/SortOrder.js +12 -0
- package/dist/api/platform/api/types/SubscriptionDto.d.ts +8 -0
- package/dist/api/platform/api/types/SubscriptionDto.js +3 -0
- package/dist/api/platform/api/types/TenantId.d.ts +13 -0
- package/dist/api/platform/api/types/TenantId.js +3 -0
- package/dist/api/platform/api/types/TimeBasedConstraintDto.d.ts +5 -0
- package/dist/api/platform/api/types/TimeBasedConstraintDto.js +3 -0
- package/dist/api/platform/api/types/UpdateResourceShareRoleDto.d.ts +11 -0
- package/dist/api/platform/api/types/UpdateResourceShareRoleDto.js +12 -0
- package/dist/api/platform/api/types/UserTenant.d.ts +3 -0
- package/dist/api/platform/api/types/UserTenant.js +3 -0
- package/dist/api/platform/api/types/VariableInstance.d.ts +9 -0
- package/dist/api/platform/api/types/VariableInstance.js +3 -0
- package/dist/api/platform/api/types/WorkflowInstance.d.ts +21 -0
- package/dist/api/platform/api/types/WorkflowInstance.js +15 -0
- package/dist/api/platform/api/types/WorkflowServiceExecutionDto.d.ts +44 -0
- package/dist/api/platform/api/types/WorkflowServiceExecutionDto.js +22 -0
- package/dist/api/platform/api/types/index.d.ts +39 -0
- package/dist/api/platform/api/types/index.js +55 -0
- package/dist/api/platform/auth/HeaderAuthProvider.d.ts +20 -0
- package/dist/api/platform/auth/HeaderAuthProvider.js +70 -0
- package/dist/api/platform/auth/index.d.ts +1 -0
- package/dist/api/platform/auth/index.js +5 -0
- package/dist/api/platform/core/auth/AuthProvider.d.ts +7 -0
- package/dist/api/platform/core/auth/AuthProvider.js +2 -0
- package/dist/api/platform/core/auth/AuthRequest.d.ts +9 -0
- package/dist/api/platform/core/auth/AuthRequest.js +2 -0
- package/dist/api/platform/core/auth/BasicAuth.d.ts +8 -0
- package/dist/api/platform/core/auth/BasicAuth.js +27 -0
- package/dist/api/platform/core/auth/BearerToken.d.ts +7 -0
- package/dist/api/platform/core/auth/BearerToken.js +16 -0
- package/dist/api/platform/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/api/platform/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/api/platform/core/auth/index.d.ts +5 -0
- package/dist/api/platform/core/auth/index.js +9 -0
- package/dist/api/platform/core/base64.d.ts +2 -0
- package/dist/api/platform/core/base64.js +26 -0
- package/dist/api/platform/core/exports.d.ts +2 -0
- package/dist/api/platform/core/exports.js +18 -0
- package/dist/api/platform/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/api/platform/core/fetcher/APIResponse.js +2 -0
- package/dist/api/platform/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/api/platform/core/fetcher/BinaryResponse.js +17 -0
- package/dist/api/platform/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/api/platform/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/api/platform/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/api/platform/core/fetcher/EndpointSupplier.js +13 -0
- package/dist/api/platform/core/fetcher/Fetcher.d.ts +48 -0
- package/dist/api/platform/core/fetcher/Fetcher.js +305 -0
- package/dist/api/platform/core/fetcher/Headers.d.ts +2 -0
- package/dist/api/platform/core/fetcher/Headers.js +85 -0
- package/dist/api/platform/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/api/platform/core/fetcher/HttpResponsePromise.js +94 -0
- package/dist/api/platform/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/api/platform/core/fetcher/RawResponse.js +44 -0
- package/dist/api/platform/core/fetcher/Supplier.d.ts +4 -0
- package/dist/api/platform/core/fetcher/Supplier.js +13 -0
- package/dist/api/platform/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/api/platform/core/fetcher/createRequestUrl.js +8 -0
- package/dist/api/platform/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/api/platform/core/fetcher/getErrorResponseBody.js +33 -0
- package/dist/api/platform/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/api/platform/core/fetcher/getFetchFn.js +6 -0
- package/dist/api/platform/core/fetcher/getHeader.d.ts +1 -0
- package/dist/api/platform/core/fetcher/getHeader.js +11 -0
- package/dist/api/platform/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/api/platform/core/fetcher/getRequestBody.js +16 -0
- package/dist/api/platform/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/api/platform/core/fetcher/getResponseBody.js +58 -0
- package/dist/api/platform/core/fetcher/index.d.ts +11 -0
- package/dist/api/platform/core/fetcher/index.js +17 -0
- package/dist/api/platform/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/api/platform/core/fetcher/makeRequest.js +31 -0
- package/dist/api/platform/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/api/platform/core/fetcher/requestWithRetries.js +56 -0
- package/dist/api/platform/core/fetcher/signals.d.ts +5 -0
- package/dist/api/platform/core/fetcher/signals.js +24 -0
- package/dist/api/platform/core/file/exports.d.ts +1 -0
- package/dist/api/platform/core/file/exports.js +2 -0
- package/dist/api/platform/core/file/file.d.ts +10 -0
- package/dist/api/platform/core/file/file.js +202 -0
- package/dist/api/platform/core/file/index.d.ts +2 -0
- package/dist/api/platform/core/file/index.js +18 -0
- package/dist/api/platform/core/file/types.d.ts +66 -0
- package/dist/api/platform/core/file/types.js +2 -0
- package/dist/api/platform/core/form-data-utils/FormDataWrapper.d.ts +15 -0
- package/dist/api/platform/core/form-data-utils/FormDataWrapper.js +143 -0
- package/dist/api/platform/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
- package/dist/api/platform/core/form-data-utils/encodeAsFormParameter.js +12 -0
- package/dist/api/platform/core/form-data-utils/index.d.ts +2 -0
- package/dist/api/platform/core/form-data-utils/index.js +20 -0
- package/dist/api/platform/core/headers.d.ts +2 -0
- package/dist/api/platform/core/headers.js +31 -0
- package/dist/api/platform/core/index.d.ts +8 -0
- package/dist/api/platform/core/index.js +47 -0
- package/dist/api/platform/core/json.d.ts +15 -0
- package/dist/api/platform/core/json.js +24 -0
- package/dist/api/platform/core/logging/exports.d.ts +18 -0
- package/dist/api/platform/core/logging/exports.js +45 -0
- package/dist/api/platform/core/logging/index.d.ts +1 -0
- package/dist/api/platform/core/logging/index.js +17 -0
- package/dist/api/platform/core/logging/logger.d.ts +126 -0
- package/dist/api/platform/core/logging/logger.js +146 -0
- package/dist/api/platform/core/runtime/index.d.ts +1 -0
- package/dist/api/platform/core/runtime/index.js +5 -0
- package/dist/api/platform/core/runtime/runtime.d.ts +9 -0
- package/dist/api/platform/core/runtime/runtime.js +102 -0
- package/dist/api/platform/core/url/encodePathParam.d.ts +1 -0
- package/dist/api/platform/core/url/encodePathParam.js +21 -0
- package/dist/api/platform/core/url/index.d.ts +3 -0
- package/dist/api/platform/core/url/index.js +9 -0
- package/dist/api/platform/core/url/join.d.ts +1 -0
- package/dist/api/platform/core/url/join.js +68 -0
- package/dist/api/platform/core/url/qs.d.ts +6 -0
- package/dist/api/platform/core/url/qs.js +67 -0
- package/dist/api/platform/environments.d.ts +4 -0
- package/dist/api/platform/environments.js +7 -0
- package/dist/api/platform/errors/HubPlatformError.d.ts +12 -0
- package/dist/api/platform/errors/HubPlatformError.js +35 -0
- package/dist/api/platform/errors/HubPlatformTimeoutError.d.ts +3 -0
- package/dist/api/platform/errors/HubPlatformTimeoutError.js +15 -0
- package/dist/api/platform/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/api/platform/errors/handleNonStatusCodeError.js +65 -0
- package/dist/api/platform/errors/index.d.ts +2 -0
- package/dist/api/platform/errors/index.js +7 -0
- package/dist/api/platform/exports.d.ts +1 -0
- package/dist/api/platform/exports.js +17 -0
- package/dist/api/platform/index.d.ts +6 -0
- package/dist/api/platform/index.js +48 -0
- package/dist/api/service/BaseClient.d.ts +39 -0
- package/dist/api/service/BaseClient.js +65 -0
- package/dist/api/service/Client.d.ts +14 -0
- package/dist/api/service/Client.js +17 -0
- package/dist/api/service/api/index.d.ts +2 -0
- package/dist/api/service/api/index.js +18 -0
- package/dist/api/service/api/resources/index.d.ts +2 -0
- package/dist/api/service/api/resources/index.js +41 -0
- package/dist/api/service/api/resources/serviceApi/client/Client.d.ts +100 -0
- package/dist/api/service/api/resources/serviceApi/client/Client.js +356 -0
- package/dist/api/service/api/resources/serviceApi/client/index.d.ts +1 -0
- package/dist/api/service/api/resources/serviceApi/client/index.js +17 -0
- package/dist/api/service/api/resources/serviceApi/client/requests/CancelExecutionRequest.d.ts +10 -0
- package/dist/api/service/api/resources/serviceApi/client/requests/CancelExecutionRequest.js +3 -0
- package/dist/api/service/api/resources/serviceApi/client/requests/GetLogsRequest.d.ts +10 -0
- package/dist/api/service/api/resources/serviceApi/client/requests/GetLogsRequest.js +3 -0
- package/dist/api/service/api/resources/serviceApi/client/requests/GetResultFileRequest.d.ts +6 -0
- package/dist/api/service/api/resources/serviceApi/client/requests/GetResultFileRequest.js +3 -0
- package/dist/api/service/api/resources/serviceApi/client/requests/GetResultRequest.d.ts +10 -0
- package/dist/api/service/api/resources/serviceApi/client/requests/GetResultRequest.js +3 -0
- package/dist/api/service/api/resources/serviceApi/client/requests/GetStatusRequest.d.ts +10 -0
- package/dist/api/service/api/resources/serviceApi/client/requests/GetStatusRequest.js +3 -0
- package/dist/api/service/api/resources/serviceApi/client/requests/index.d.ts +5 -0
- package/dist/api/service/api/resources/serviceApi/client/requests/index.js +2 -0
- package/dist/api/service/api/resources/serviceApi/index.d.ts +1 -0
- package/dist/api/service/api/resources/serviceApi/index.js +17 -0
- package/dist/api/service/api/types/HalLink.d.ts +18 -0
- package/dist/api/service/api/types/HalLink.js +3 -0
- package/dist/api/service/api/types/LogEntry.d.ts +19 -0
- package/dist/api/service/api/types/LogEntry.js +15 -0
- package/dist/api/service/api/types/RequestBody.d.ts +1 -0
- package/dist/api/service/api/types/RequestBody.js +3 -0
- package/dist/api/service/api/types/ResultResponse.d.ts +15 -0
- package/dist/api/service/api/types/ResultResponse.js +3 -0
- package/dist/api/service/api/types/ServiceExecution.d.ts +38 -0
- package/dist/api/service/api/types/ServiceExecution.js +21 -0
- package/dist/api/service/api/types/index.d.ts +5 -0
- package/dist/api/service/api/types/index.js +21 -0
- package/dist/api/service/auth/BearerAuthProvider.d.ts +20 -0
- package/dist/api/service/auth/BearerAuthProvider.js +69 -0
- package/dist/api/service/auth/index.d.ts +1 -0
- package/dist/api/service/auth/index.js +5 -0
- package/dist/api/service/core/auth/AuthProvider.d.ts +7 -0
- package/dist/api/service/core/auth/AuthProvider.js +2 -0
- package/dist/api/service/core/auth/AuthRequest.d.ts +9 -0
- package/dist/api/service/core/auth/AuthRequest.js +2 -0
- package/dist/api/service/core/auth/BasicAuth.d.ts +8 -0
- package/dist/api/service/core/auth/BasicAuth.js +27 -0
- package/dist/api/service/core/auth/BearerToken.d.ts +7 -0
- package/dist/api/service/core/auth/BearerToken.js +16 -0
- package/dist/api/service/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/api/service/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/api/service/core/auth/index.d.ts +5 -0
- package/dist/api/service/core/auth/index.js +9 -0
- package/dist/api/service/core/base64.d.ts +2 -0
- package/dist/api/service/core/base64.js +26 -0
- package/dist/api/service/core/exports.d.ts +1 -0
- package/dist/api/service/core/exports.js +17 -0
- package/dist/api/service/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/api/service/core/fetcher/APIResponse.js +2 -0
- package/dist/api/service/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/api/service/core/fetcher/BinaryResponse.js +17 -0
- package/dist/api/service/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/api/service/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/api/service/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/api/service/core/fetcher/EndpointSupplier.js +13 -0
- package/dist/api/service/core/fetcher/Fetcher.d.ts +48 -0
- package/dist/api/service/core/fetcher/Fetcher.js +305 -0
- package/dist/api/service/core/fetcher/Headers.d.ts +2 -0
- package/dist/api/service/core/fetcher/Headers.js +85 -0
- package/dist/api/service/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/api/service/core/fetcher/HttpResponsePromise.js +94 -0
- package/dist/api/service/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/api/service/core/fetcher/RawResponse.js +44 -0
- package/dist/api/service/core/fetcher/Supplier.d.ts +4 -0
- package/dist/api/service/core/fetcher/Supplier.js +13 -0
- package/dist/api/service/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/api/service/core/fetcher/createRequestUrl.js +8 -0
- package/dist/api/service/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/api/service/core/fetcher/getErrorResponseBody.js +33 -0
- package/dist/api/service/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/api/service/core/fetcher/getFetchFn.js +6 -0
- package/dist/api/service/core/fetcher/getHeader.d.ts +1 -0
- package/dist/api/service/core/fetcher/getHeader.js +11 -0
- package/dist/api/service/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/api/service/core/fetcher/getRequestBody.js +16 -0
- package/dist/api/service/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/api/service/core/fetcher/getResponseBody.js +58 -0
- package/dist/api/service/core/fetcher/index.d.ts +11 -0
- package/dist/api/service/core/fetcher/index.js +17 -0
- package/dist/api/service/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/api/service/core/fetcher/makeRequest.js +31 -0
- package/dist/api/service/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/api/service/core/fetcher/requestWithRetries.js +56 -0
- package/dist/api/service/core/fetcher/signals.d.ts +5 -0
- package/dist/api/service/core/fetcher/signals.js +24 -0
- package/dist/api/service/core/headers.d.ts +2 -0
- package/dist/api/service/core/headers.js +31 -0
- package/dist/api/service/core/index.d.ts +6 -0
- package/dist/api/service/core/index.js +45 -0
- package/dist/api/service/core/json.d.ts +15 -0
- package/dist/api/service/core/json.js +24 -0
- package/dist/api/service/core/logging/exports.d.ts +18 -0
- package/dist/api/service/core/logging/exports.js +45 -0
- package/dist/api/service/core/logging/index.d.ts +1 -0
- package/dist/api/service/core/logging/index.js +17 -0
- package/dist/api/service/core/logging/logger.d.ts +126 -0
- package/dist/api/service/core/logging/logger.js +146 -0
- package/dist/api/service/core/runtime/index.d.ts +1 -0
- package/dist/api/service/core/runtime/index.js +5 -0
- package/dist/api/service/core/runtime/runtime.d.ts +9 -0
- package/dist/api/service/core/runtime/runtime.js +102 -0
- package/dist/api/service/core/url/encodePathParam.d.ts +1 -0
- package/dist/api/service/core/url/encodePathParam.js +21 -0
- package/dist/api/service/core/url/index.d.ts +3 -0
- package/dist/api/service/core/url/index.js +9 -0
- package/dist/api/service/core/url/join.d.ts +1 -0
- package/dist/api/service/core/url/join.js +68 -0
- package/dist/api/service/core/url/qs.d.ts +6 -0
- package/dist/api/service/core/url/qs.js +67 -0
- package/dist/api/service/environments.d.ts +4 -0
- package/dist/api/service/environments.js +7 -0
- package/dist/api/service/errors/HubServiceError.d.ts +12 -0
- package/dist/api/service/errors/HubServiceError.js +35 -0
- package/dist/api/service/errors/HubServiceTimeoutError.d.ts +3 -0
- package/dist/api/service/errors/HubServiceTimeoutError.js +15 -0
- package/dist/api/service/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/api/service/errors/handleNonStatusCodeError.js +65 -0
- package/dist/api/service/errors/index.d.ts +2 -0
- package/dist/api/service/errors/index.js +7 -0
- package/dist/api/service/exports.d.ts +1 -0
- package/dist/api/service/exports.js +17 -0
- package/dist/api/service/index.d.ts +6 -0
- package/dist/api/service/index.js +48 -0
- package/eslint.config.mjs +11 -0
- package/package.json +44 -0
- package/src/api/platform/BaseClient.ts +87 -0
- package/src/api/platform/Client.ts +78 -0
- package/src/api/platform/api/errors/BadRequestError.ts +21 -0
- package/src/api/platform/api/errors/ForbiddenError.ts +21 -0
- package/src/api/platform/api/errors/InternalServerError.ts +21 -0
- package/src/api/platform/api/errors/NotFoundError.ts +21 -0
- package/src/api/platform/api/errors/UnauthorizedError.ts +21 -0
- package/src/api/platform/api/errors/index.ts +5 -0
- package/src/api/platform/api/index.ts +3 -0
- package/src/api/platform/api/resources/applications/client/Client.ts +514 -0
- package/src/api/platform/api/resources/applications/client/index.ts +1 -0
- package/src/api/platform/api/resources/applications/client/requests/CreateApplicationRequest.ts +9 -0
- package/src/api/platform/api/resources/applications/client/requests/DeleteApplicationRequest.ts +11 -0
- package/src/api/platform/api/resources/applications/client/requests/GetApplicationAccessKeysRequest.ts +11 -0
- package/src/api/platform/api/resources/applications/client/requests/GetApplicationRequest.ts +11 -0
- package/src/api/platform/api/resources/applications/client/requests/GetApplicationSubscriptionsRequest.ts +11 -0
- package/src/api/platform/api/resources/applications/client/requests/index.ts +5 -0
- package/src/api/platform/api/resources/applications/index.ts +1 -0
- package/src/api/platform/api/resources/dataPoolShares/client/Client.ts +662 -0
- package/src/api/platform/api/resources/dataPoolShares/client/index.ts +1 -0
- package/src/api/platform/api/resources/dataPoolShares/client/requests/AddConstraint1Request.ts +17 -0
- package/src/api/platform/api/resources/dataPoolShares/client/requests/DeleteConstraint1Request.ts +15 -0
- package/src/api/platform/api/resources/dataPoolShares/client/requests/DeleteShare1Request.ts +13 -0
- package/src/api/platform/api/resources/dataPoolShares/client/requests/GetSharesForDataPoolRequest.ts +11 -0
- package/src/api/platform/api/resources/dataPoolShares/client/requests/ShareDataPoolRequest.ts +15 -0
- package/src/api/platform/api/resources/dataPoolShares/client/requests/UpdateRole1Request.ts +17 -0
- package/src/api/platform/api/resources/dataPoolShares/client/requests/UpdateTimeBasedConstraint1Request.ts +22 -0
- package/src/api/platform/api/resources/dataPoolShares/client/requests/index.ts +7 -0
- package/src/api/platform/api/resources/dataPoolShares/index.ts +2 -0
- package/src/api/platform/api/resources/dataPoolShares/types/AddConstraint1Response.ts +5 -0
- package/src/api/platform/api/resources/dataPoolShares/types/UpdateTimeBasedConstraint1RequestBody.ts +5 -0
- package/src/api/platform/api/resources/dataPoolShares/types/UpdateTimeBasedConstraint1Response.ts +5 -0
- package/src/api/platform/api/resources/dataPoolShares/types/index.ts +3 -0
- package/src/api/platform/api/resources/dataPools/client/Client.ts +767 -0
- package/src/api/platform/api/resources/dataPools/client/index.ts +1 -0
- package/src/api/platform/api/resources/dataPools/client/requests/AddDataPoolFileRequest.ts +16 -0
- package/src/api/platform/api/resources/dataPools/client/requests/CreateDataPoolRequest.ts +16 -0
- package/src/api/platform/api/resources/dataPools/client/requests/DeleteDataPoolFileRequest.ts +13 -0
- package/src/api/platform/api/resources/dataPools/client/requests/DeleteDataPoolRequest.ts +11 -0
- package/src/api/platform/api/resources/dataPools/client/requests/GetDataPoolFileRequest.ts +13 -0
- package/src/api/platform/api/resources/dataPools/client/requests/GetDataPoolFilesRequest.ts +11 -0
- package/src/api/platform/api/resources/dataPools/client/requests/GetDataPoolRequest.ts +11 -0
- package/src/api/platform/api/resources/dataPools/client/requests/UpdateDataPoolRequest.ts +19 -0
- package/src/api/platform/api/resources/dataPools/client/requests/index.ts +8 -0
- package/src/api/platform/api/resources/dataPools/index.ts +1 -0
- package/src/api/platform/api/resources/index.ts +23 -0
- package/src/api/platform/api/resources/organizations/client/Client.ts +110 -0
- package/src/api/platform/api/resources/organizations/client/index.ts +1 -0
- package/src/api/platform/api/resources/organizations/client/requests/GetServiceExecutions1Request.ts +11 -0
- package/src/api/platform/api/resources/organizations/client/requests/index.ts +1 -0
- package/src/api/platform/api/resources/organizations/index.ts +1 -0
- package/src/api/platform/api/resources/quantumJobs/client/Client.ts +104 -0
- package/src/api/platform/api/resources/quantumJobs/client/index.ts +1 -0
- package/src/api/platform/api/resources/quantumJobs/client/requests/GetQuantumJobCostsRequest.ts +11 -0
- package/src/api/platform/api/resources/quantumJobs/client/requests/index.ts +1 -0
- package/src/api/platform/api/resources/quantumJobs/index.ts +1 -0
- package/src/api/platform/api/resources/quantumWorkloads/client/Client.ts +104 -0
- package/src/api/platform/api/resources/quantumWorkloads/client/index.ts +1 -0
- package/src/api/platform/api/resources/quantumWorkloads/client/requests/GetQuantumWorkloadCostsRequest.ts +11 -0
- package/src/api/platform/api/resources/quantumWorkloads/client/requests/index.ts +1 -0
- package/src/api/platform/api/resources/quantumWorkloads/index.ts +1 -0
- package/src/api/platform/api/resources/serviceExecutions/client/Client.ts +788 -0
- package/src/api/platform/api/resources/serviceExecutions/client/index.ts +1 -0
- package/src/api/platform/api/resources/serviceExecutions/client/requests/CancelServiceExecutionRequest.ts +11 -0
- package/src/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionCostsRequest.ts +11 -0
- package/src/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionLogsRequest.ts +15 -0
- package/src/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionMetricsRequest.ts +11 -0
- package/src/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionRequest.ts +11 -0
- package/src/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionResultFileRequest.ts +11 -0
- package/src/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionResultRequest.ts +11 -0
- package/src/api/platform/api/resources/serviceExecutions/client/requests/GetServiceExecutionsRequest.ts +26 -0
- package/src/api/platform/api/resources/serviceExecutions/client/requests/HeadServiceExecutionRequest.ts +11 -0
- package/src/api/platform/api/resources/serviceExecutions/client/requests/index.ts +9 -0
- package/src/api/platform/api/resources/serviceExecutions/index.ts +2 -0
- package/src/api/platform/api/resources/serviceExecutions/types/GetServiceExecutionResponse.ts +5 -0
- package/src/api/platform/api/resources/serviceExecutions/types/index.ts +1 -0
- package/src/api/platform/api/resources/serviceJobs/client/Client.ts +367 -0
- package/src/api/platform/api/resources/serviceJobs/client/index.ts +1 -0
- package/src/api/platform/api/resources/serviceJobs/client/requests/CreateServiceJobRequest.ts +16 -0
- package/src/api/platform/api/resources/serviceJobs/client/requests/GetServiceJobRequest.ts +11 -0
- package/src/api/platform/api/resources/serviceJobs/client/requests/GetServiceJobsRequest.ts +24 -0
- package/src/api/platform/api/resources/serviceJobs/client/requests/RerunServiceJobRequest.ts +11 -0
- package/src/api/platform/api/resources/serviceJobs/client/requests/index.ts +4 -0
- package/src/api/platform/api/resources/serviceJobs/index.ts +1 -0
- package/src/api/platform/api/resources/serviceShares/client/Client.ts +662 -0
- package/src/api/platform/api/resources/serviceShares/client/index.ts +1 -0
- package/src/api/platform/api/resources/serviceShares/client/requests/AddConstraintRequest.ts +17 -0
- package/src/api/platform/api/resources/serviceShares/client/requests/DeleteConstraintRequest.ts +15 -0
- package/src/api/platform/api/resources/serviceShares/client/requests/DeleteShareRequest.ts +13 -0
- package/src/api/platform/api/resources/serviceShares/client/requests/GetSharesForServiceRequest.ts +11 -0
- package/src/api/platform/api/resources/serviceShares/client/requests/ShareServiceRequest.ts +15 -0
- package/src/api/platform/api/resources/serviceShares/client/requests/UpdateRoleRequest.ts +17 -0
- package/src/api/platform/api/resources/serviceShares/client/requests/UpdateTimeBasedConstraintRequest.ts +22 -0
- package/src/api/platform/api/resources/serviceShares/client/requests/index.ts +7 -0
- package/src/api/platform/api/resources/serviceShares/index.ts +2 -0
- package/src/api/platform/api/resources/serviceShares/types/AddConstraintResponse.ts +5 -0
- package/src/api/platform/api/resources/serviceShares/types/UpdateTimeBasedConstraintRequestBody.ts +5 -0
- package/src/api/platform/api/resources/serviceShares/types/UpdateTimeBasedConstraintResponse.ts +5 -0
- package/src/api/platform/api/resources/serviceShares/types/index.ts +3 -0
- package/src/api/platform/api/resources/subscriptions/client/Client.ts +355 -0
- package/src/api/platform/api/resources/subscriptions/client/index.ts +1 -0
- package/src/api/platform/api/resources/subscriptions/client/requests/CreateSubscriptionRequest.ts +10 -0
- package/src/api/platform/api/resources/subscriptions/client/requests/DeleteSubscriptionRequest.ts +11 -0
- package/src/api/platform/api/resources/subscriptions/client/requests/GetSubscriptionRequest.ts +11 -0
- package/src/api/platform/api/resources/subscriptions/client/requests/GetSubscriptionServiceExecutionsRequest.ts +11 -0
- package/src/api/platform/api/resources/subscriptions/client/requests/index.ts +4 -0
- package/src/api/platform/api/resources/subscriptions/index.ts +1 -0
- package/src/api/platform/api/types/AccessKey.ts +15 -0
- package/src/api/platform/api/types/ActivityInstance.ts +23 -0
- package/src/api/platform/api/types/ApplicationDto.ts +22 -0
- package/src/api/platform/api/types/CostEntry.ts +22 -0
- package/src/api/platform/api/types/CreateShareConstraintDto.ts +11 -0
- package/src/api/platform/api/types/CreateShareRequestDto.ts +17 -0
- package/src/api/platform/api/types/CreateTimeBasedConstraintDto.ts +6 -0
- package/src/api/platform/api/types/DataPoolDto.ts +28 -0
- package/src/api/platform/api/types/DataPoolFileDto.ts +18 -0
- package/src/api/platform/api/types/Incident.ts +10 -0
- package/src/api/platform/api/types/LogEntry.ts +22 -0
- package/src/api/platform/api/types/MetricDataPoint.ts +11 -0
- package/src/api/platform/api/types/OauthScope.ts +6 -0
- package/src/api/platform/api/types/OrganizationSearchResultDto.ts +6 -0
- package/src/api/platform/api/types/OrganizationTenant.ts +5 -0
- package/src/api/platform/api/types/PageResponseServiceExecutionDto.ts +31 -0
- package/src/api/platform/api/types/PageResponseServiceJobDto.ts +31 -0
- package/src/api/platform/api/types/PricingPlanDto.ts +18 -0
- package/src/api/platform/api/types/ProductDto.ts +39 -0
- package/src/api/platform/api/types/QuantumJobCosts.ts +5 -0
- package/src/api/platform/api/types/QuantumWorkloadCosts.ts +11 -0
- package/src/api/platform/api/types/ServiceConsumerDto.ts +27 -0
- package/src/api/platform/api/types/ServiceExecution.ts +6 -0
- package/src/api/platform/api/types/ServiceExecutionCosts.ts +5 -0
- package/src/api/platform/api/types/ServiceExecutionDto.ts +44 -0
- package/src/api/platform/api/types/ServiceExecutionLogs.ts +5 -0
- package/src/api/platform/api/types/ServiceExecutionMetrics.ts +23 -0
- package/src/api/platform/api/types/ServiceJobDto.ts +45 -0
- package/src/api/platform/api/types/ShareConstraintDto.ts +18 -0
- package/src/api/platform/api/types/ShareDto.ts +27 -0
- package/src/api/platform/api/types/SortOrder.ts +20 -0
- package/src/api/platform/api/types/SubscriptionDto.ts +11 -0
- package/src/api/platform/api/types/TenantId.ts +19 -0
- package/src/api/platform/api/types/TimeBasedConstraintDto.ts +7 -0
- package/src/api/platform/api/types/UpdateResourceShareRoleDto.ts +14 -0
- package/src/api/platform/api/types/UserTenant.ts +5 -0
- package/src/api/platform/api/types/VariableInstance.ts +11 -0
- package/src/api/platform/api/types/WorkflowInstance.ts +25 -0
- package/src/api/platform/api/types/WorkflowServiceExecutionDto.ts +48 -0
- package/src/api/platform/api/types/index.ts +39 -0
- package/src/api/platform/auth/HeaderAuthProvider.ts +48 -0
- package/src/api/platform/auth/index.ts +1 -0
- package/src/api/platform/core/auth/AuthProvider.ts +6 -0
- package/src/api/platform/core/auth/AuthRequest.ts +9 -0
- package/src/api/platform/core/auth/BasicAuth.ts +32 -0
- package/src/api/platform/core/auth/BearerToken.ts +20 -0
- package/src/api/platform/core/auth/NoOpAuthProvider.ts +8 -0
- package/src/api/platform/core/auth/index.ts +5 -0
- package/src/api/platform/core/base64.ts +27 -0
- package/src/api/platform/core/exports.ts +2 -0
- package/src/api/platform/core/fetcher/APIResponse.ts +23 -0
- package/src/api/platform/core/fetcher/BinaryResponse.ts +34 -0
- package/src/api/platform/core/fetcher/EndpointMetadata.ts +13 -0
- package/src/api/platform/core/fetcher/EndpointSupplier.ts +14 -0
- package/src/api/platform/core/fetcher/Fetcher.ts +397 -0
- package/src/api/platform/core/fetcher/Headers.ts +93 -0
- package/src/api/platform/core/fetcher/HttpResponsePromise.ts +116 -0
- package/src/api/platform/core/fetcher/RawResponse.ts +61 -0
- package/src/api/platform/core/fetcher/Supplier.ts +11 -0
- package/src/api/platform/core/fetcher/createRequestUrl.ts +6 -0
- package/src/api/platform/core/fetcher/getErrorResponseBody.ts +33 -0
- package/src/api/platform/core/fetcher/getFetchFn.ts +3 -0
- package/src/api/platform/core/fetcher/getHeader.ts +8 -0
- package/src/api/platform/core/fetcher/getRequestBody.ts +20 -0
- package/src/api/platform/core/fetcher/getResponseBody.ts +58 -0
- package/src/api/platform/core/fetcher/index.ts +11 -0
- package/src/api/platform/core/fetcher/makeRequest.ts +42 -0
- package/src/api/platform/core/fetcher/requestWithRetries.ts +64 -0
- package/src/api/platform/core/fetcher/signals.ts +26 -0
- package/src/api/platform/core/file/exports.ts +1 -0
- package/src/api/platform/core/file/file.ts +217 -0
- package/src/api/platform/core/file/index.ts +2 -0
- package/src/api/platform/core/file/types.ts +81 -0
- package/src/api/platform/core/form-data-utils/FormDataWrapper.ts +140 -0
- package/src/api/platform/core/form-data-utils/encodeAsFormParameter.ts +12 -0
- package/src/api/platform/core/form-data-utils/index.ts +2 -0
- package/src/api/platform/core/headers.ts +33 -0
- package/src/api/platform/core/index.ts +8 -0
- package/src/api/platform/core/json.ts +27 -0
- package/src/api/platform/core/logging/exports.ts +19 -0
- package/src/api/platform/core/logging/index.ts +1 -0
- package/src/api/platform/core/logging/logger.ts +203 -0
- package/src/api/platform/core/runtime/index.ts +1 -0
- package/src/api/platform/core/runtime/runtime.ts +134 -0
- package/src/api/platform/core/url/encodePathParam.ts +18 -0
- package/src/api/platform/core/url/index.ts +3 -0
- package/src/api/platform/core/url/join.ts +79 -0
- package/src/api/platform/core/url/qs.ts +74 -0
- package/src/api/platform/environments.ts +7 -0
- package/src/api/platform/errors/HubPlatformError.ts +58 -0
- package/src/api/platform/errors/HubPlatformTimeoutError.ts +13 -0
- package/src/api/platform/errors/handleNonStatusCodeError.ts +37 -0
- package/src/api/platform/errors/index.ts +2 -0
- package/src/api/platform/exports.ts +1 -0
- package/src/api/platform/index.ts +6 -0
- package/src/api/service/BaseClient.ts +82 -0
- package/src/api/service/Client.ts +24 -0
- package/src/api/service/api/index.ts +2 -0
- package/src/api/service/api/resources/index.ts +2 -0
- package/src/api/service/api/resources/serviceApi/client/Client.ts +443 -0
- package/src/api/service/api/resources/serviceApi/client/index.ts +1 -0
- package/src/api/service/api/resources/serviceApi/client/requests/CancelExecutionRequest.ts +12 -0
- package/src/api/service/api/resources/serviceApi/client/requests/GetLogsRequest.ts +12 -0
- package/src/api/service/api/resources/serviceApi/client/requests/GetResultFileRequest.ts +8 -0
- package/src/api/service/api/resources/serviceApi/client/requests/GetResultRequest.ts +12 -0
- package/src/api/service/api/resources/serviceApi/client/requests/GetStatusRequest.ts +12 -0
- package/src/api/service/api/resources/serviceApi/client/requests/index.ts +5 -0
- package/src/api/service/api/resources/serviceApi/index.ts +1 -0
- package/src/api/service/api/types/HalLink.ts +20 -0
- package/src/api/service/api/types/LogEntry.ts +22 -0
- package/src/api/service/api/types/RequestBody.ts +3 -0
- package/src/api/service/api/types/ResultResponse.ts +20 -0
- package/src/api/service/api/types/ServiceExecution.ts +41 -0
- package/src/api/service/api/types/index.ts +5 -0
- package/src/api/service/auth/BearerAuthProvider.ts +47 -0
- package/src/api/service/auth/index.ts +1 -0
- package/src/api/service/core/auth/AuthProvider.ts +6 -0
- package/src/api/service/core/auth/AuthRequest.ts +9 -0
- package/src/api/service/core/auth/BasicAuth.ts +32 -0
- package/src/api/service/core/auth/BearerToken.ts +20 -0
- package/src/api/service/core/auth/NoOpAuthProvider.ts +8 -0
- package/src/api/service/core/auth/index.ts +5 -0
- package/src/api/service/core/base64.ts +27 -0
- package/src/api/service/core/exports.ts +1 -0
- package/src/api/service/core/fetcher/APIResponse.ts +23 -0
- package/src/api/service/core/fetcher/BinaryResponse.ts +34 -0
- package/src/api/service/core/fetcher/EndpointMetadata.ts +13 -0
- package/src/api/service/core/fetcher/EndpointSupplier.ts +14 -0
- package/src/api/service/core/fetcher/Fetcher.ts +397 -0
- package/src/api/service/core/fetcher/Headers.ts +93 -0
- package/src/api/service/core/fetcher/HttpResponsePromise.ts +116 -0
- package/src/api/service/core/fetcher/RawResponse.ts +61 -0
- package/src/api/service/core/fetcher/Supplier.ts +11 -0
- package/src/api/service/core/fetcher/createRequestUrl.ts +6 -0
- package/src/api/service/core/fetcher/getErrorResponseBody.ts +33 -0
- package/src/api/service/core/fetcher/getFetchFn.ts +3 -0
- package/src/api/service/core/fetcher/getHeader.ts +8 -0
- package/src/api/service/core/fetcher/getRequestBody.ts +20 -0
- package/src/api/service/core/fetcher/getResponseBody.ts +58 -0
- package/src/api/service/core/fetcher/index.ts +11 -0
- package/src/api/service/core/fetcher/makeRequest.ts +42 -0
- package/src/api/service/core/fetcher/requestWithRetries.ts +64 -0
- package/src/api/service/core/fetcher/signals.ts +26 -0
- package/src/api/service/core/headers.ts +33 -0
- package/src/api/service/core/index.ts +6 -0
- package/src/api/service/core/json.ts +27 -0
- package/src/api/service/core/logging/exports.ts +19 -0
- package/src/api/service/core/logging/index.ts +1 -0
- package/src/api/service/core/logging/logger.ts +203 -0
- package/src/api/service/core/runtime/index.ts +1 -0
- package/src/api/service/core/runtime/runtime.ts +134 -0
- package/src/api/service/core/url/encodePathParam.ts +18 -0
- package/src/api/service/core/url/index.ts +3 -0
- package/src/api/service/core/url/join.ts +79 -0
- package/src/api/service/core/url/qs.ts +74 -0
- package/src/api/service/environments.ts +7 -0
- package/src/api/service/errors/HubServiceError.ts +58 -0
- package/src/api/service/errors/HubServiceTimeoutError.ts +13 -0
- package/src/api/service/errors/handleNonStatusCodeError.ts +37 -0
- package/src/api/service/errors/index.ts +2 -0
- package/src/api/service/exports.ts +1 -0
- package/src/api/service/index.ts +6 -0
- package/src/client.test.ts +29 -0
- package/tsconfig.json +18 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ServiceApiClient = void 0;
|
|
38
|
+
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
39
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
40
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
41
|
+
const environments = __importStar(require("../../../../environments.js"));
|
|
42
|
+
const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
|
|
43
|
+
const errors = __importStar(require("../../../../errors/index.js"));
|
|
44
|
+
class ServiceApiClient {
|
|
45
|
+
_options;
|
|
46
|
+
constructor(options) {
|
|
47
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Retrieves a list of all service executions.
|
|
51
|
+
* The response includes links to each service execution, allowing for further queries on their status and results.
|
|
52
|
+
*
|
|
53
|
+
* @param {ServiceApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* await client.serviceApi.getServiceExecutions()
|
|
57
|
+
*/
|
|
58
|
+
getServiceExecutions(requestOptions) {
|
|
59
|
+
return core.HttpResponsePromise.fromPromise(this.__getServiceExecutions(requestOptions));
|
|
60
|
+
}
|
|
61
|
+
async __getServiceExecutions(requestOptions) {
|
|
62
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
63
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
64
|
+
const _response = await core.fetcher({
|
|
65
|
+
url: (await core.Supplier.get(this._options.baseUrl)) ??
|
|
66
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
67
|
+
environments.HubServiceEnvironment.Default,
|
|
68
|
+
method: "GET",
|
|
69
|
+
headers: _headers,
|
|
70
|
+
queryParameters: requestOptions?.queryParams,
|
|
71
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
72
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
73
|
+
withCredentials: true,
|
|
74
|
+
abortSignal: requestOptions?.abortSignal,
|
|
75
|
+
fetchFn: this._options?.fetch,
|
|
76
|
+
logging: this._options.logging,
|
|
77
|
+
});
|
|
78
|
+
if (_response.ok) {
|
|
79
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
80
|
+
}
|
|
81
|
+
if (_response.error.reason === "status-code") {
|
|
82
|
+
throw new errors.HubServiceError({
|
|
83
|
+
statusCode: _response.error.statusCode,
|
|
84
|
+
body: _response.error.body,
|
|
85
|
+
rawResponse: _response.rawResponse,
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/");
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Starts a service execution, which in turn is processed asynchronously.
|
|
92
|
+
* The location header of the response contains the URL which can be used to query the status and the result of the service execution.
|
|
93
|
+
*
|
|
94
|
+
* @param {HubService.RequestBody} request
|
|
95
|
+
* @param {ServiceApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* await client.serviceApi.startExecution({
|
|
99
|
+
* "key": "value"
|
|
100
|
+
* })
|
|
101
|
+
*/
|
|
102
|
+
startExecution(request, requestOptions) {
|
|
103
|
+
return core.HttpResponsePromise.fromPromise(this.__startExecution(request, requestOptions));
|
|
104
|
+
}
|
|
105
|
+
async __startExecution(request, requestOptions) {
|
|
106
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
107
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
108
|
+
const _response = await core.fetcher({
|
|
109
|
+
url: (await core.Supplier.get(this._options.baseUrl)) ??
|
|
110
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
111
|
+
environments.HubServiceEnvironment.Default,
|
|
112
|
+
method: "POST",
|
|
113
|
+
headers: _headers,
|
|
114
|
+
contentType: "application/json",
|
|
115
|
+
queryParameters: requestOptions?.queryParams,
|
|
116
|
+
requestType: "json",
|
|
117
|
+
body: request,
|
|
118
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
119
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
120
|
+
withCredentials: true,
|
|
121
|
+
abortSignal: requestOptions?.abortSignal,
|
|
122
|
+
fetchFn: this._options?.fetch,
|
|
123
|
+
logging: this._options.logging,
|
|
124
|
+
});
|
|
125
|
+
if (_response.ok) {
|
|
126
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
127
|
+
}
|
|
128
|
+
if (_response.error.reason === "status-code") {
|
|
129
|
+
throw new errors.HubServiceError({
|
|
130
|
+
statusCode: _response.error.statusCode,
|
|
131
|
+
body: _response.error.body,
|
|
132
|
+
rawResponse: _response.rawResponse,
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/");
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Retrieves the status of a service execution.
|
|
139
|
+
* The status can be one of the following: UNKNOWN, PENDING, RUNNING, SUCCEEDED, CANCELLED, FAILED.
|
|
140
|
+
*
|
|
141
|
+
* @param {HubService.GetStatusRequest} request
|
|
142
|
+
* @param {ServiceApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* await client.serviceApi.getStatus({
|
|
146
|
+
* id: "id"
|
|
147
|
+
* })
|
|
148
|
+
*/
|
|
149
|
+
getStatus(request, requestOptions) {
|
|
150
|
+
return core.HttpResponsePromise.fromPromise(this.__getStatus(request, requestOptions));
|
|
151
|
+
}
|
|
152
|
+
async __getStatus(request, requestOptions) {
|
|
153
|
+
const { id } = request;
|
|
154
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
155
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
156
|
+
const _response = await core.fetcher({
|
|
157
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
158
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
159
|
+
environments.HubServiceEnvironment.Default, `${core.url.encodePathParam(id)}`),
|
|
160
|
+
method: "GET",
|
|
161
|
+
headers: _headers,
|
|
162
|
+
queryParameters: requestOptions?.queryParams,
|
|
163
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
164
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
165
|
+
withCredentials: true,
|
|
166
|
+
abortSignal: requestOptions?.abortSignal,
|
|
167
|
+
fetchFn: this._options?.fetch,
|
|
168
|
+
logging: this._options.logging,
|
|
169
|
+
});
|
|
170
|
+
if (_response.ok) {
|
|
171
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
172
|
+
}
|
|
173
|
+
if (_response.error.reason === "status-code") {
|
|
174
|
+
throw new errors.HubServiceError({
|
|
175
|
+
statusCode: _response.error.statusCode,
|
|
176
|
+
body: _response.error.body,
|
|
177
|
+
rawResponse: _response.rawResponse,
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/{id}");
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Retrieves the result of a service execution.
|
|
184
|
+
* The result is returned as a JSON object containing the status and any additional data.
|
|
185
|
+
* The result may include links to download specific result files.
|
|
186
|
+
*
|
|
187
|
+
* @param {HubService.GetResultRequest} request
|
|
188
|
+
* @param {ServiceApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
189
|
+
*
|
|
190
|
+
* @example
|
|
191
|
+
* await client.serviceApi.getResult({
|
|
192
|
+
* id: "id"
|
|
193
|
+
* })
|
|
194
|
+
*/
|
|
195
|
+
getResult(request, requestOptions) {
|
|
196
|
+
return core.HttpResponsePromise.fromPromise(this.__getResult(request, requestOptions));
|
|
197
|
+
}
|
|
198
|
+
async __getResult(request, requestOptions) {
|
|
199
|
+
const { id } = request;
|
|
200
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
201
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
202
|
+
const _response = await core.fetcher({
|
|
203
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
204
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
205
|
+
environments.HubServiceEnvironment.Default, `${core.url.encodePathParam(id)}/result`),
|
|
206
|
+
method: "GET",
|
|
207
|
+
headers: _headers,
|
|
208
|
+
queryParameters: requestOptions?.queryParams,
|
|
209
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
210
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
211
|
+
withCredentials: true,
|
|
212
|
+
abortSignal: requestOptions?.abortSignal,
|
|
213
|
+
fetchFn: this._options?.fetch,
|
|
214
|
+
logging: this._options.logging,
|
|
215
|
+
});
|
|
216
|
+
if (_response.ok) {
|
|
217
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
218
|
+
}
|
|
219
|
+
if (_response.error.reason === "status-code") {
|
|
220
|
+
throw new errors.HubServiceError({
|
|
221
|
+
statusCode: _response.error.statusCode,
|
|
222
|
+
body: _response.error.body,
|
|
223
|
+
rawResponse: _response.rawResponse,
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/{id}/result");
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Retrieves a specific result file of a service execution.
|
|
230
|
+
* The file name is provided in the path parameter.
|
|
231
|
+
* The result file is returned as a binary stream.
|
|
232
|
+
*/
|
|
233
|
+
getResultFile(request, requestOptions) {
|
|
234
|
+
return core.HttpResponsePromise.fromPromise(this.__getResultFile(request, requestOptions));
|
|
235
|
+
}
|
|
236
|
+
async __getResultFile(request, requestOptions) {
|
|
237
|
+
const { id, file } = request;
|
|
238
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
239
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
240
|
+
const _response = await core.fetcher({
|
|
241
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
242
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
243
|
+
environments.HubServiceEnvironment.Default, `${core.url.encodePathParam(id)}/result/${core.url.encodePathParam(file)}`),
|
|
244
|
+
method: "GET",
|
|
245
|
+
headers: _headers,
|
|
246
|
+
queryParameters: requestOptions?.queryParams,
|
|
247
|
+
responseType: "binary-response",
|
|
248
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
249
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
250
|
+
withCredentials: true,
|
|
251
|
+
abortSignal: requestOptions?.abortSignal,
|
|
252
|
+
fetchFn: this._options?.fetch,
|
|
253
|
+
logging: this._options.logging,
|
|
254
|
+
});
|
|
255
|
+
if (_response.ok) {
|
|
256
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
257
|
+
}
|
|
258
|
+
if (_response.error.reason === "status-code") {
|
|
259
|
+
throw new errors.HubServiceError({
|
|
260
|
+
statusCode: _response.error.statusCode,
|
|
261
|
+
body: _response.error.body,
|
|
262
|
+
rawResponse: _response.rawResponse,
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/{id}/result/{file}");
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Returns a list of log entries for a service execution in chronological order, where the first entry is the oldest.
|
|
269
|
+
*
|
|
270
|
+
* @param {HubService.GetLogsRequest} request
|
|
271
|
+
* @param {ServiceApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
272
|
+
*
|
|
273
|
+
* @example
|
|
274
|
+
* await client.serviceApi.getLogs({
|
|
275
|
+
* id: "id"
|
|
276
|
+
* })
|
|
277
|
+
*/
|
|
278
|
+
getLogs(request, requestOptions) {
|
|
279
|
+
return core.HttpResponsePromise.fromPromise(this.__getLogs(request, requestOptions));
|
|
280
|
+
}
|
|
281
|
+
async __getLogs(request, requestOptions) {
|
|
282
|
+
const { id } = request;
|
|
283
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
284
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
285
|
+
const _response = await core.fetcher({
|
|
286
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
287
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
288
|
+
environments.HubServiceEnvironment.Default, `${core.url.encodePathParam(id)}/log`),
|
|
289
|
+
method: "GET",
|
|
290
|
+
headers: _headers,
|
|
291
|
+
queryParameters: requestOptions?.queryParams,
|
|
292
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
293
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
294
|
+
withCredentials: true,
|
|
295
|
+
abortSignal: requestOptions?.abortSignal,
|
|
296
|
+
fetchFn: this._options?.fetch,
|
|
297
|
+
logging: this._options.logging,
|
|
298
|
+
});
|
|
299
|
+
if (_response.ok) {
|
|
300
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
301
|
+
}
|
|
302
|
+
if (_response.error.reason === "status-code") {
|
|
303
|
+
throw new errors.HubServiceError({
|
|
304
|
+
statusCode: _response.error.statusCode,
|
|
305
|
+
body: _response.error.body,
|
|
306
|
+
rawResponse: _response.rawResponse,
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/{id}/log");
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Cancel a pending or running service execution.
|
|
313
|
+
*
|
|
314
|
+
* @param {HubService.CancelExecutionRequest} request
|
|
315
|
+
* @param {ServiceApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
316
|
+
*
|
|
317
|
+
* @example
|
|
318
|
+
* await client.serviceApi.cancelExecution({
|
|
319
|
+
* id: "id"
|
|
320
|
+
* })
|
|
321
|
+
*/
|
|
322
|
+
cancelExecution(request, requestOptions) {
|
|
323
|
+
return core.HttpResponsePromise.fromPromise(this.__cancelExecution(request, requestOptions));
|
|
324
|
+
}
|
|
325
|
+
async __cancelExecution(request, requestOptions) {
|
|
326
|
+
const { id } = request;
|
|
327
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
328
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
329
|
+
const _response = await core.fetcher({
|
|
330
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
331
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
332
|
+
environments.HubServiceEnvironment.Default, `${core.url.encodePathParam(id)}/cancel`),
|
|
333
|
+
method: "PUT",
|
|
334
|
+
headers: _headers,
|
|
335
|
+
queryParameters: requestOptions?.queryParams,
|
|
336
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
337
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
338
|
+
withCredentials: true,
|
|
339
|
+
abortSignal: requestOptions?.abortSignal,
|
|
340
|
+
fetchFn: this._options?.fetch,
|
|
341
|
+
logging: this._options.logging,
|
|
342
|
+
});
|
|
343
|
+
if (_response.ok) {
|
|
344
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
345
|
+
}
|
|
346
|
+
if (_response.error.reason === "status-code") {
|
|
347
|
+
throw new errors.HubServiceError({
|
|
348
|
+
statusCode: _response.error.statusCode,
|
|
349
|
+
body: _response.error.body,
|
|
350
|
+
rawResponse: _response.rawResponse,
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PUT", "/{id}/cancel");
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
exports.ServiceApiClient = ServiceApiClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { CancelExecutionRequest } from "./CancelExecutionRequest.js";
|
|
2
|
+
export type { GetLogsRequest } from "./GetLogsRequest.js";
|
|
3
|
+
export type { GetResultFileRequest } from "./GetResultFileRequest.js";
|
|
4
|
+
export type { GetResultRequest } from "./GetResultRequest.js";
|
|
5
|
+
export type { GetStatusRequest } from "./GetStatusRequest.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface HalLink {
|
|
2
|
+
/** The URL of the link */
|
|
3
|
+
href?: string | undefined;
|
|
4
|
+
/** Whether the link is templated (optional) */
|
|
5
|
+
templated?: boolean | undefined;
|
|
6
|
+
/** The media type of the link (optional) */
|
|
7
|
+
type?: string | undefined;
|
|
8
|
+
/** A URL that provides further information about the deprecation of the link (optional) */
|
|
9
|
+
deprecation?: string | undefined;
|
|
10
|
+
/** The name of the link (optional) */
|
|
11
|
+
name?: string | undefined;
|
|
12
|
+
/** A URL that provides further information about the profile of the link (optional) */
|
|
13
|
+
profile?: string | undefined;
|
|
14
|
+
/** The title of the link (optional) */
|
|
15
|
+
title?: string | undefined;
|
|
16
|
+
/** The language of the link's target resource (optional) */
|
|
17
|
+
hreflang?: string | undefined;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface LogEntry {
|
|
2
|
+
/** Log message content. */
|
|
3
|
+
message?: string | undefined;
|
|
4
|
+
/** Severity of the log entry. */
|
|
5
|
+
severity?: LogEntry.Severity | undefined;
|
|
6
|
+
/** Timestamp when the entry was logged. */
|
|
7
|
+
timestamp?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace LogEntry {
|
|
10
|
+
/** Severity of the log entry. */
|
|
11
|
+
const Severity: {
|
|
12
|
+
readonly Debug: "DEBUG";
|
|
13
|
+
readonly Notice: "NOTICE";
|
|
14
|
+
readonly Info: "INFO";
|
|
15
|
+
readonly Warning: "WARNING";
|
|
16
|
+
readonly Error: "ERROR";
|
|
17
|
+
};
|
|
18
|
+
type Severity = (typeof Severity)[keyof typeof Severity];
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.LogEntry = void 0;
|
|
5
|
+
var LogEntry;
|
|
6
|
+
(function (LogEntry) {
|
|
7
|
+
/** Severity of the log entry. */
|
|
8
|
+
LogEntry.Severity = {
|
|
9
|
+
Debug: "DEBUG",
|
|
10
|
+
Notice: "NOTICE",
|
|
11
|
+
Info: "INFO",
|
|
12
|
+
Warning: "WARNING",
|
|
13
|
+
Error: "ERROR",
|
|
14
|
+
};
|
|
15
|
+
})(LogEntry || (exports.LogEntry = LogEntry = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type RequestBody = Record<string, any>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as HubService from "../index.js";
|
|
2
|
+
export interface ResultResponse {
|
|
3
|
+
_links?: ResultResponse.Links | undefined;
|
|
4
|
+
_embedded?: ResultResponse.Embedded | undefined;
|
|
5
|
+
/** Accepts any additional properties */
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
export declare namespace ResultResponse {
|
|
9
|
+
interface Links {
|
|
10
|
+
status?: HubService.HalLink | undefined;
|
|
11
|
+
}
|
|
12
|
+
interface Embedded {
|
|
13
|
+
status?: HubService.ServiceExecution | undefined;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface ServiceExecution {
|
|
2
|
+
/** Unique identifier of the service execution. */
|
|
3
|
+
id?: string | undefined;
|
|
4
|
+
/** Timestamp when the service execution was created. */
|
|
5
|
+
createdAt?: string | undefined;
|
|
6
|
+
/** Timestamp when the service execution started. */
|
|
7
|
+
startedAt?: string | undefined;
|
|
8
|
+
/** Timestamp when the service execution ended. */
|
|
9
|
+
endedAt?: string | undefined;
|
|
10
|
+
/** Status of the service execution. */
|
|
11
|
+
status?: ServiceExecution.Status | undefined;
|
|
12
|
+
/** Type identifier indicating whether the underlying service is a 'managed' or 'workflow' service. */
|
|
13
|
+
type?: ServiceExecution.Type | undefined;
|
|
14
|
+
/** The ID of the service for which this service execution was created. */
|
|
15
|
+
serviceId?: string | undefined;
|
|
16
|
+
/** The ID of the service definition for which this service execution was created. */
|
|
17
|
+
serviceDefinitionId?: string | undefined;
|
|
18
|
+
/** The ID of the application for which this service execution was created. */
|
|
19
|
+
applicationId?: string | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace ServiceExecution {
|
|
22
|
+
/** Status of the service execution. */
|
|
23
|
+
const Status: {
|
|
24
|
+
readonly Unknown: "UNKNOWN";
|
|
25
|
+
readonly Pending: "PENDING";
|
|
26
|
+
readonly Running: "RUNNING";
|
|
27
|
+
readonly Succeeded: "SUCCEEDED";
|
|
28
|
+
readonly Cancelled: "CANCELLED";
|
|
29
|
+
readonly Failed: "FAILED";
|
|
30
|
+
};
|
|
31
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
32
|
+
/** Type identifier indicating whether the underlying service is a 'managed' or 'workflow' service. */
|
|
33
|
+
const Type: {
|
|
34
|
+
readonly Managed: "MANAGED";
|
|
35
|
+
readonly Workflow: "WORKFLOW";
|
|
36
|
+
};
|
|
37
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
38
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ServiceExecution = void 0;
|
|
5
|
+
var ServiceExecution;
|
|
6
|
+
(function (ServiceExecution) {
|
|
7
|
+
/** Status of the service execution. */
|
|
8
|
+
ServiceExecution.Status = {
|
|
9
|
+
Unknown: "UNKNOWN",
|
|
10
|
+
Pending: "PENDING",
|
|
11
|
+
Running: "RUNNING",
|
|
12
|
+
Succeeded: "SUCCEEDED",
|
|
13
|
+
Cancelled: "CANCELLED",
|
|
14
|
+
Failed: "FAILED",
|
|
15
|
+
};
|
|
16
|
+
/** Type identifier indicating whether the underlying service is a 'managed' or 'workflow' service. */
|
|
17
|
+
ServiceExecution.Type = {
|
|
18
|
+
Managed: "MANAGED",
|
|
19
|
+
Workflow: "WORKFLOW",
|
|
20
|
+
};
|
|
21
|
+
})(ServiceExecution || (exports.ServiceExecution = ServiceExecution = {}));
|